Author: marcus
Date: Tue Jun  3 20:20:35 2014
New Revision: 1599785

URL: http://svn.apache.org/r1599785
Log:
Updated styles

Modified:
    openoffice/ooo-site/trunk/content/download/test/download_droplist.js

Modified: openoffice/ooo-site/trunk/content/download/test/download_droplist.js
URL: 
http://svn.apache.org/viewvc/openoffice/ooo-site/trunk/content/download/test/download_droplist.js?rev=1599785&r1=1599784&r2=1599785&view=diff
==============================================================================
--- openoffice/ooo-site/trunk/content/download/test/download_droplist.js 
(original)
+++ openoffice/ooo-site/trunk/content/download/test/download_droplist.js Tue 
Jun  3 20:20:35 2014
@@ -948,9 +948,7 @@ function showErrorMessage( error_text ) 
        document.getElementById( "dl_lp_link"    ).innerHTML            = "No 
language pack available";
        document.getElementById( "dl_lp_link"    ).title                = 
"Please select another language, platform or version.";
 
-       document.getElementById( "sub_green_box" ).style.background     = 
"#FECBCB";            // LightRed
-       document.getElementById( "sub_green_box" ).style.borderTop      = "1px 
solid #C00000";  // Darker red
-       document.getElementById( "sub_green_box" ).style.borderBottom   = "1px 
solid #C00000";  // Darker red
+       document.getElementById( "sub_green_box" ).className            = 
"sub-green-sel_error";
 
        document.getElementById( "dl_err_img"    ).src                  = 
"../cachedimages/exclamation-icon.png";
        document.getElementById( "dl_err_img"    ).title                = "The 
selected download file is not available";
@@ -1401,10 +1399,7 @@ function getLinkSel() {
                document.getElementById( "dl_rpt"           ).title     = 
"Broken download link? Click here to report.";
 
                // Reset the CSS styles for the elements in the sub-green 
colored boxes.
-               document.getElementById( "sub_green_box"    ).style.background 
= "#E9FEBE";             // LightGreen
-               document.getElementById( "sub_green_box"    ).style.borderTop  
= "1px solid #C3E480";   // Darker green
-               document.getElementById( "sub_green_box"    
).style.borderBottom = "1px solid #C3E480"; // Darker green
-               document.getElementById( "sub_green_box"    ).style.fontSize   
= "0.8em";
+               document.getElementById( "sub_green_box"    ).className        
= "sub-green-sel";
                document.getElementById( "dl_err_img"       ).style.display    
= "none";
                document.getElementById( "dl_err"           ).style.display    
= "none";
 


Reply via email to