Move hard-coded style out of the copy status layout.
authorPasi Kallinen <pasi.kallinen@pttk.fi>
Tue, 18 Jun 2013 06:01:30 +0000 (09:01 +0300)
committerDan Scott <dscott@laurentian.ca>
Sun, 19 Jan 2014 19:22:34 +0000 (14:22 -0500)
Signed-off-by: Pasi Kallinen <pasi.kallinen@pttk.fi>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/xul/staff_client/server/circ/copy_status_overlay.xul
Open-ILS/xul/staff_client/server/skin/circ.css

index 0e991aa..7dbc3c2 100644 (file)
     <vbox id="cmvb1" flex="1"/>
 </box>
 
-<vbox id="cmvb1" flex="1">
-    <hbox id="background" style="background-color: yellow">
+<vbox id="cmvb1" flex="1" class="copystatus_header_bar">
+    <hbox id="background">
         <spacer flex="1"/>
-        <label value="&staff.circ.copy_status_overlay.item_status.label;" style="font-size: x-large; font-weight: bold;"/>
+        <label value="&staff.circ.copy_status_overlay.item_status.label;"/>
         <spacer flex="1"/>
     </hbox>
-    <hbox id="last_scanned_hbox" style="background-color: yellow">
+    <hbox id="last_scanned_hbox">
         <spacer flex="1"/>
-        <label id="last_scanned" style="font-weight: bold;"/>
+        <label id="last_scanned"/>
         <spacer flex="1"/>
     </hbox>
     <groupbox id="cmgb1" flex="2">
index aebf50b..27ae6ca 100644 (file)
@@ -70,6 +70,12 @@ treechildren::-moz-tree-row(backdate_failed,selected) {
     background-color: #ffc0ff ! important;
 }
 
+
+.copystatus_header_bar #background,
+.copystatus_header_bar #last_scanned_hbox { background-color: yellow; }
+.copystatus_header_bar #background label { font-size: x-large; font-weight: bold; }
+.copystatus_header_bar #last_scanned_hbox label { font-weight: bold; }
+
 .checkin_screen_normal { background-color: green; }
 .checkin_screen_backdating { background-color: red; }
 .checkin_screen_do_not_alert_on_precat { }