You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ma...@apache.org on 2014/05/31 01:01:46 UTC

svn commit: r1598769 - /openoffice/ooo-site/trunk/content/download/test/download_droplist.js

Author: marcus
Date: Fri May 30 23:01:46 2014
New Revision: 1598769

URL: http://svn.apache.org/r1598769
Log:
Updated styles for sub-green box

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=1598769&r1=1598768&r2=1598769&view=diff
==============================================================================
--- openoffice/ooo-site/trunk/content/download/test/download_droplist.js (original)
+++ openoffice/ooo-site/trunk/content/download/test/download_droplist.js Fri May 30 23:01:46 2014
@@ -937,13 +937,14 @@ 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	= "#F87E7E"; // LightRed
+	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( "dl_err"	 ).style.display	= "inline";
-	document.getElementById( "dl_err"	 ).style.textDecoration	= "none";
+	document.getElementById( "dl_err"	 ).innerHTML		= "<br />" + error_text;
 	document.getElementById( "dl_err"	 ).style.fontSize	= "1.2em";
 	document.getElementById( "dl_err"	 ).style.cursor		= "default";
-	document.getElementById( "dl_err"	 ).innerHTML		= "<br />" + error_text;
+	document.getElementById( "dl_err"	 ).style.display	= "inline";
 
 	SF	= false;
 	OTHER	= false;
@@ -1350,6 +1351,9 @@ function getLinkSel( rel_mode ) {
 
 		// 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( "dl_err"	    ).style.display    = "none";
 
 		// Change CSS styles for all elements with ID in the green and sub-green colored boxes.