Move hard-coded style out of the copy status layout. user/paxed/copy_status-external-style
authorPasi Kallinen <pasi.kallinen@pttk.fi>
Tue, 18 Jun 2013 06:01:30 +0000 (09:01 +0300)
committerPasi Kallinen <pasi.kallinen@pttk.fi>
Tue, 18 Jun 2013 07:07:58 +0000 (10:07 +0300)
Signed-off-by: Pasi Kallinen <pasi.kallinen@pttk.fi>
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 3472515..fd185a7 100644 (file)
@@ -39,6 +39,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 { }