From 4d240f97d50b1495314e928b9c04d70e3ea17b0e Mon Sep 17 00:00:00 2001 From: mb863 Date: Mon, 14 Mar 2011 19:20:33 +0000 Subject: [PATCH] NIHVIVO-2163: Added markup and styles for verbose mode in individual admin panel. --- productMods/js/individual/individualUtils.js | 2 ++ themes/wilma/css/wilma.css | 12 ++++++++++++ 2 files changed, 14 insertions(+) diff --git a/productMods/js/individual/individualUtils.js b/productMods/js/individual/individualUtils.js index 04d2ffae..632b2de4 100644 --- a/productMods/js/individual/individualUtils.js +++ b/productMods/js/individual/individualUtils.js @@ -5,4 +5,6 @@ $(document).ready(function(){ // "more"/"less" HTML truncator for showing more or less content in data property core:overview $('.overview-value').truncate({max_length: 500}); + // Change background color button when verbose mode is off + $('#verbosePropertyForm input#submit[value="Turn off"]').addClass("verbose-off") }); \ No newline at end of file diff --git a/themes/wilma/css/wilma.css b/themes/wilma/css/wilma.css index 17fcc0b7..21bbcdaa 100644 --- a/themes/wilma/css/wilma.css +++ b/themes/wilma/css/wilma.css @@ -122,6 +122,18 @@ input#submit:visited { margin-top: .5em; margin-bottom: .5em; } +#verbosePropertyForm span { + color: #888C8C; +} +#verbosePropertyForm b { + color: #595B5B; +} +#verbosePropertyForm .small { + font-size: 12px; +} +#verbosePropertyForm .verbose-off{ + background: #706a66; +} input.delete, input.delete:visited, input#delete,