changeset 109:7b778f90a871

html updates
author Marcin Kuzminski <marcin@python-works.com>
date Mon, 26 Apr 2010 21:03:04 +0200
parents 68e574905860
children ad2500720b02
files pylons_app/public/css/monoblue_custom.css pylons_app/templates/base/base.html
diffstat 2 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pylons_app/public/css/monoblue_custom.css	Mon Apr 26 00:46:28 2010 +0200
+++ b/pylons_app/public/css/monoblue_custom.css	Mon Apr 26 21:03:04 2010 +0200
@@ -537,4 +537,9 @@
 .current_submenu{
 	border-bottom: 2px solid;
 
+}
+#repos_list{
+border:1px solid #556CB5;
+background: #FFFFFF;
+
 }
\ No newline at end of file
--- a/pylons_app/templates/base/base.html	Mon Apr 26 00:46:28 2010 +0200
+++ b/pylons_app/templates/base/base.html	Mon Apr 26 21:03:04 2010 +0200
@@ -56,10 +56,12 @@
 				YAHOO.util.Event.addListener('repo_switcher','click',function(){
 					if(YAHOO.util.Dom.hasClass('repo_switcher','selected')){
 						YAHOO.util.Dom.setStyle('switch_repos','display','none');
+						YAHOO.util.Dom.setStyle('repo_switcher','background','');
 						YAHOO.util.Dom.removeClass('repo_switcher','selected');
 					}
 					else{
 						YAHOO.util.Dom.setStyle('switch_repos','display','');
+						YAHOO.util.Dom.setStyle('repo_switcher','background','#FFFFFF');
 						YAHOO.util.Dom.addClass('repo_switcher','selected');
 					}
 					});
@@ -73,7 +75,7 @@
         	</script>
 			<li>
 				<a id="repo_switcher" title="${_('Switch repository')}" href="#">&darr;</a>
-				<div id="switch_repos" style="display:none;position: absolute;width: 150px;height: 25px;background-color: #DDDDDD">
+				<div id="switch_repos" style="display:none;position: absolute;width: 150px;height: 25px">
 					<select id="repos_list">
 					%for repo in c.repo_list:
 						<option value="${repo}">${repo}</option>