Remove text-transform CSS effects from OPAC user/dbs/remove-text-transforms
authorDan Scott <dscott@laurentian.ca>
Sat, 26 Oct 2013 04:02:50 +0000 (00:02 -0400)
committerDan Scott <dscott@laurentian.ca>
Sat, 26 Oct 2013 04:02:50 +0000 (00:02 -0400)
Using CSS to force text to upper case is an anti-pattern; not only
because all-caps (although traditional in library systems) is generally
associated with shouting in the modern world, but also because it masks
the text that actually appears to translators.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/src/templates/opac/css/style.css.tt2

index a617803..8c6d8eb 100644 (file)
@@ -117,7 +117,6 @@ div.select-box-wrapper {
 
 #dash_user {
     font-weight: bold;
-    text-transform: capitalize;
 }
 
 #logout_link { left: 1px; }
@@ -478,7 +477,6 @@ div.format_icon {
     background-color: [% css_colors.accent_lighter2 %];
     padding: 13px 0px 13px 13px;
     font-size: [% css_fonts.size_smaller %];
-    text-transform: uppercase;
     font-weight: bold;
     text-align: left;
 }
@@ -515,7 +513,6 @@ div.format_icon {
 .rdetail_extras_link {
     padding: 6px 12px;
     font-size: [% css_fonts.size_smaller %];
-    text-transform: uppercase;
     font-weight: bold;
 }
 
@@ -735,10 +732,6 @@ div.result_table_utils_cont {
     float: left;
 }
 
-.icon_text {
-    text-transform:capitalize;
-}
-
 #myopac_summary_div p {
     margin:0;
     margin-bottom: 10px;
@@ -756,16 +749,10 @@ div.result_table_utils_cont {
 }
 
 #zero_hits_term {
-    text-transform: uppercase;
     font-weight: bold;
 }
 
 #zero_search_hits #spell_check_link {
-    text-transform: uppercase;
-}
-
-#zero_search_hits #zero_hits_suggestions {
-    text-transform: uppercase;
 }
 
 #lowhits_help {
@@ -823,7 +810,6 @@ div.result_table_utils_cont {
     background: [% css_colors.accent_ultralight %];
     font-size: [% css_fonts.size_smaller %];
     font-weight: bold;
-    text-transform: uppercase;
 }
 
 .acct_sum_table tr {
@@ -835,7 +821,6 @@ div.result_table_utils_cont {
 }
 
 .acct_sum_table a {
-    text-transform: none;
     position:relative;
     top:-1px;
 }
@@ -879,7 +864,6 @@ table.acct_notes th {
 
 #acct_checked_main_header, #acct_holds_main_header, #acct_checked_hist_header, #acct_list_header, #acct_list_header_anon, #temp_list_holds {
     font-weight:bold;
-    text-transform:uppercase;
     font-size: [% css_fonts.size_smaller %];
     border-collapse: collapse;
 }
@@ -896,13 +880,11 @@ table.acct_notes th {
 
 #acct_list_header select, #acct_list_header_anon select {
     font-weight:normal;
-    text-transform:none;
 }
 
 #acct_holds_activates_table label {
     font-weight: bold;
     font-size: [% css_fonts.size_small %];
-    text-transform:uppercase;
     padding-right: 5px;
 }
 
@@ -1115,7 +1097,6 @@ div#facet_sidebar {
 }
 
 .color_4 {
-    text-transform: uppercase;
     font-weight: bold;
     font-size: [% css_fonts.size_smaller %];
 }