From 5cbcf40d1c5f9d3fe3eeff0cbce9bb8c34b847c5 Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Thu, 1 Aug 2013 11:21:17 +0300 Subject: [PATCH] LP#1205190: quiet some CSS Mozilla extensions warnings. * -moz-dialog-text is actually -moz-dialogtext * -moz-outline is deprecated, use outline * -moz-border-radius has been removed, use border-radius * -moz-border-radius-topleft (etc) are now border-top-left-radius * Fix some other CSS errors. Signed-off-by: Pasi Kallinen Signed-off-by: Galen Charlton Conflicts: Open-ILS/src/templates/opac/css/style.css.tt2 Open-ILS/web/css/skin/default/register.css Open-ILS/web/opac/skin/default/xml/home/homesearch.xml Open-ILS/web/reports/oils_rpt.css Open-ILS/xul/staff_client/server/admin/org_unit_settings.xhtml Open-ILS/xul/staff_client/server/serial/notes.xul Open-ILS/xul/staff_client/server/skin/circ.css Signed-off-by: Mike Rylander --- Open-ILS/src/templates/opac/css/style.css.tt2 | 3 -- Open-ILS/web/css/skin/default/selfcheck.css | 1 - .../web/opac/extras/slimpac/advanced.html | 2 +- Open-ILS/web/opac/extras/slimpac/start.html | 2 +- Open-ILS/web/opac/skin/default/css/layout.css | 6 +-- Open-ILS/web/reports/oils_rpt.css | 2 +- .../xul/staff_client/chrome/skin/browser.css | 38 +++++++++---------- .../server/admin/org_unit_settings.xhtml | 2 +- .../xul/staff_client/server/skin/circ.css | 16 ++++---- 9 files changed, 34 insertions(+), 38 deletions(-) diff --git a/Open-ILS/src/templates/opac/css/style.css.tt2 b/Open-ILS/src/templates/opac/css/style.css.tt2 index 4c4e13f4c3..00aebf1c92 100644 --- a/Open-ILS/src/templates/opac/css/style.css.tt2 +++ b/Open-ILS/src/templates/opac/css/style.css.tt2 @@ -1470,9 +1470,7 @@ div#facet_sidebar { .facet_box_temp .header { height: 2.3em; background:[% css_colors.primary %]; - -moz-border-top-left-radius: 5px; border-top-left-radius: 5px; - -moz-border-top-right-radius: 5px; border-top-right-radius: 5px; font-weight:bold; color:[% css_colors.text_invert %]; @@ -1825,7 +1823,6 @@ a.dash-link:hover { text-decoration: underline !important; } font-weight: bold; text-decoration: none; cursor: pointer !important; - -moz-border-radius: 5px; border-radius: 5px; border: 1px solid [% css_colors.primary %]; background: [% css_colors.primary_fade %]; diff --git a/Open-ILS/web/css/skin/default/selfcheck.css b/Open-ILS/web/css/skin/default/selfcheck.css index ad36885f66..37b8dff62a 100644 --- a/Open-ILS/web/css/skin/default/selfcheck.css +++ b/Open-ILS/web/css/skin/default/selfcheck.css @@ -166,7 +166,6 @@ body { font-size: 94%; text-shadow: 1px 1px 1px #555555; cursor: pointer !important; - -moz-border-radius: 12px; border-radius: 12px; border: 1px solid #007a54; background: linear-gradient(#007a54, #00593d); diff --git a/Open-ILS/web/opac/extras/slimpac/advanced.html b/Open-ILS/web/opac/extras/slimpac/advanced.html index fcff938ea9..f3b831e44c 100644 --- a/Open-ILS/web/opac/extras/slimpac/advanced.html +++ b/Open-ILS/web/opac/extras/slimpac/advanced.html @@ -13,7 +13,7 @@ .maintable { border-collapse: collapse; border: 3px solid #A7EA9D; - -moz-border-radius: 6px; + border-radius: 6px; padding: 6px; margin-top: 65px; } diff --git a/Open-ILS/web/opac/extras/slimpac/start.html b/Open-ILS/web/opac/extras/slimpac/start.html index e5cc48abb6..bb04f63ab9 100644 --- a/Open-ILS/web/opac/extras/slimpac/start.html +++ b/Open-ILS/web/opac/extras/slimpac/start.html @@ -13,7 +13,7 @@ .maintable { border-collapse: collapse; border: 3px solid #A7EA9D; - -moz-border-radius: 6px; + border-radius: 6px; padding: 6px; margin-top: 65px; } diff --git a/Open-ILS/web/opac/skin/default/css/layout.css b/Open-ILS/web/opac/skin/default/css/layout.css index b977d0bb8c..f2f2e7256f 100644 --- a/Open-ILS/web/opac/skin/default/css/layout.css +++ b/Open-ILS/web/opac/skin/default/css/layout.css @@ -41,7 +41,7 @@ table { border-collapse: collapse; } #content { min-height: 300px; } -.canvas { min-height: 300px; padding-left: 4px; -moz-border-radius: 6px;} +.canvas { min-height: 300px; padding-left: 4px; border-radius: 6px;} #canvas_main { padding-bottom: 4px; } #loading_div { width: 100%;} @@ -140,7 +140,7 @@ a.authority-content { font-weight: bold; } .tor_pic { width: 17px; height: 17px; border: none;} -.dim2_border { border: 1px solid #F06000; -moz-border-radius: 3px;} +.dim2_border { border: 1px solid #F06000; border-radius: 3px;} .dim2 { filter:alpha(opacity=50); @@ -162,7 +162,7 @@ a.authority-content { font-weight: bold; } .myopac_table td { padding: 3px; } .myopac_form_pic { width: 20px; height: 20px; } -.tips { padding: 2px; text-align: center; border: solid #E0E0E0 3px; -moz-border-radius: 3px; width: 99%; } +.tips { padding: 2px; text-align: center; border: solid #E0E0E0 3px; border-radius: 3px; width: 99%; } .holds_cell { border: 1px solid #E0E0E0; padding: 5px; width: 50%;} .myopac_update_cell { border: 3px solid #E0E0E0; width:100%; padding-top: 4px; padding-bottom: 4px;} diff --git a/Open-ILS/web/reports/oils_rpt.css b/Open-ILS/web/reports/oils_rpt.css index 2bbbc19b68..17a71ed9b5 100644 --- a/Open-ILS/web/reports/oils_rpt.css +++ b/Open-ILS/web/reports/oils_rpt.css @@ -33,7 +33,7 @@ table { border-collapse: collapse; } } #oils_rpt_table tr { - border-radius: 5px 5px 5px 5px; + border-radius: 5px 5px 5px 5px; } #oils_rpt_table td { diff --git a/Open-ILS/xul/staff_client/chrome/skin/browser.css b/Open-ILS/xul/staff_client/chrome/skin/browser.css index 378a9541bd..75416e8212 100644 --- a/Open-ILS/xul/staff_client/chrome/skin/browser.css +++ b/Open-ILS/xul/staff_client/chrome/skin/browser.css @@ -1338,8 +1338,8 @@ statusbarpanel#statusbar-display { border: 2px solid; border-right-width: 1px; border-bottom: none; - -moz-border-radius-topleft: 2px; - -moz-border-radius-topright: 2px; + border-top-left-radius: 2px; + border-top-right-radius: 2px; -moz-border-top-colors: ThreeDShadow rgba(255,255,255,.3); -moz-border-right-colors: rgba(0,0,0,.1); -moz-border-left-colors: ThreeDShadow rgba(255,255,255,.3); @@ -1348,8 +1348,8 @@ statusbarpanel#statusbar-display { .tabbrowser-tab:hover, .tabbrowser-tab[selected="true"] { border-width: 1px; - -moz-border-radius-topleft: 4px; - -moz-border-radius-topright: 4px; + border-top-left-radius: 4px; + border-top-right-radius: 4px; -moz-border-top-colors: ThreeDShadow; -moz-border-right-colors: ThreeDShadow; -moz-border-left-colors: ThreeDShadow; @@ -1506,14 +1506,14 @@ tabpanels { .tabbrowser-arrowscrollbox > .scrollbutton-up { border-left-style: none; list-style-image: url("chrome://browser/skin/tabbrowser/tab-arrow-start.png"); - -moz-border-radius-topright: 2px; + border-top-right-radius: 2px; } .tabbrowser-arrowscrollbox > .scrollbutton-up[chromedir="rtl"] { border-left-style: solid; border-right-style: none; - -moz-border-radius-topleft: 2px; - -moz-border-radius-topright: 0px; + border-top-left-radius: 2px; + border-top-right-radius: 0px; list-style-image: url("chrome://browser/skin/tabbrowser/tab-arrow-end.png"); } @@ -1525,7 +1525,7 @@ tabpanels { .tabs-container > .tabs-newtab-button, .tabs-alltabs-button { border-right-style: none; - -moz-border-radius-topleft: 2px; + border-top-left-radius: 2px; } .tabbrowser-arrowscrollbox > .scrollbutton-down { @@ -1537,8 +1537,8 @@ tabpanels { .tabs-container > stack[chromedir="rtl"] > .tabs-alltabs-button { border-left-style: none; border-right-style: solid; - -moz-border-radius-topleft: 0px; - -moz-border-radius-topright: 2px; + border-top-left-radius: 0px; + border-top-right-radius: 2px; } .tabbrowser-arrowscrollbox > .scrollbutton-down[chromedir="rtl"] { @@ -1557,8 +1557,8 @@ tabpanels { .tabbrowser-arrowscrollbox > .tabs-newtab-button { width: 32px; - -moz-border-radius-topright: 2px; - -moz-border-radius-topleft: 2px; + border-top-right-radius: 2px; + border-top-left-radius: 2px; } .tabs-newtab-button > .toolbarbutton-icon { @@ -1619,14 +1619,14 @@ stack[chromedir="rtl"] > hbox > .tabs-alltabs-box-animate { background: -moz-dialog url("chrome://browser/skin/tabbrowser/tab-active-bkgnd.png") repeat-x; border-left: 1px solid threedshadow; border-top: 1px solid threedshadow; - -moz-border-radius-topleft: 2px; + border-top-left-radius: 2px; } .tabs-container > .tabs-closebutton[chromedir="rtl"] { border-left: none; border-right: 1px solid threedshadow; - -moz-border-radius-topleft: 0px; - -moz-border-radius-topright: 2px; + border-top-left-radius: 0px; + border-top-right-radius: 2px; } #sidebar-box .tabs-closebutton { @@ -1817,8 +1817,8 @@ toolbarbutton.bookmark-item[dragover="true"][open="true"] { border-top: 1px solid ThreeDDarkShadow; border-bottom: 1px solid ThreeDDarkShadow; border-right-style: none; - -moz-border-radius-topleft: 21px; - -moz-border-radius-bottomleft: 21px; + border-top-left-radius: 21px; + border-bottom-left-radius: 21px; -moz-border-left-colors: ThreeDDarkShadow rgba(255, 255, 255, 0.4); background-position: 0 10px; } @@ -2013,7 +2013,7 @@ toolbarbutton.bookmark-item[dragover="true"][open="true"] { background: rgba(68, 68, 68, .9) url(KUI-background.png) repeat-x; color: white; border: 1px solid rgba(255, 255, 255, 0.15); - -moz-border-radius: 10px; + border-radius: 10px; margin-top: -1px; margin-left: -1px; } @@ -2058,7 +2058,7 @@ toolbarbutton.bookmark-item[dragover="true"][open="true"] { margin: 0 1em 1em; width: 1.5em; height: 1.5em; - -moz-border-radius: .75em; + border-radius: .75em; background: rgba(0, 0, 0, .5); border: 1px solid rgba(255, 255, 255, .3); cursor: pointer; diff --git a/Open-ILS/xul/staff_client/server/admin/org_unit_settings.xhtml b/Open-ILS/xul/staff_client/server/admin/org_unit_settings.xhtml index da3f4ae032..82271c7dc1 100644 --- a/Open-ILS/xul/staff_client/server/admin/org_unit_settings.xhtml +++ b/Open-ILS/xul/staff_client/server/admin/org_unit_settings.xhtml @@ -55,7 +55,7 @@ /*Standards compliant*/ border-bottom-left-radius:5px; - border-bottom-right-radius:5px; + border-bottom-right-radius:5px; } .message_container { diff --git a/Open-ILS/xul/staff_client/server/skin/circ.css b/Open-ILS/xul/staff_client/server/skin/circ.css index 27ae6cadb2..fa6210df04 100644 --- a/Open-ILS/xul/staff_client/server/skin/circ.css +++ b/Open-ILS/xul/staff_client/server/skin/circ.css @@ -88,15 +88,15 @@ treechildren::-moz-tree-row(backdate_failed,selected) { .checkin_screen_checkin_local_hold_as_transit { } #background-text { font-size: x-large; font-weight: bold; } -#do_not_alert_on_precat_indicator { background-color: -moz-dialog; color: -moz-dialog-text; font-size: large; font-weight: bold; } -#suppress_holds_and_transits_indicator { background-color: -moz-dialog; color: -moz-dialog-text; font-size: large; font-weight: bold; } +#do_not_alert_on_precat_indicator { background-color: -moz-dialog; color: -moz-dialogtext; font-size: large; font-weight: bold; } +#suppress_holds_and_transits_indicator { background-color: -moz-dialog; color: -moz-dialogtext; font-size: large; font-weight: bold; } #amnesty_mode_indicator { border: thick solid white; background-color: red; color: white; font-size: large; font-weight: bold; padding: 10px; padding-bottom: 25px; margin: 10px; } -#checkin_auto_print_slips_indicator { background-color: -moz-dialog; color: -moz-dialog-text; font-size: large; font-weight: bold; } -#checkin_clear_shelf_expired_indicator { background-color: -moz-dialog; color: -moz-dialog-text; font-size: large; font-weight: bold; } -#checkin_auto_retarget_indicator { background-color: -moz-dialog; color: -moz-dialog-text; font-size: large; font-weight: bold; } -#checkin_auto_retarget_all_indicator { background-color: -moz-dialog; color: -moz-dialog-text; font-size: large; font-weight: bold; } -#checkin_local_hold_as_transit_indicator { background-color: -moz-dialog; color: -moz-dialog-text; font-size: large; font-weight: bold; } -#checkin_manual_float_indicator { background-color: -moz-dialog; color: -moz-dialog-text; font-size: large; font-weight: bold; } +#checkin_auto_print_slips_indicator { background-color: -moz-dialog; color: -moz-dialogtext; font-size: large; font-weight: bold; } +#checkin_clear_shelf_expired_indicator { background-color: -moz-dialog; color: -moz-dialogtext; font-size: large; font-weight: bold; } +#checkin_auto_retarget_indicator { background-color: -moz-dialog; color: -moz-dialogtext; font-size: large; font-weight: bold; } +#checkin_auto_retarget_all_indicator { background-color: -moz-dialog; color: -moz-dialogtext; font-size: large; font-weight: bold; } +#checkin_local_hold_as_transit_indicator { background-color: -moz-dialog; color: -moz-dialogtext; font-size: large; font-weight: bold; } +#checkin_manual_float_indicator { background-color: -moz-dialog; color: -moz-dialogtext; font-size: large; font-weight: bold; } .big_emphasis1 { font-weight: bold; font-size: x-large; } .big_emphasis2 { font-weight: bold; font-size: large; } -- 2.43.2