myexperiment-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[myexperiment-hackers] [2335] trunk: changed user tab style to match res


From: noreply
Subject: [myexperiment-hackers] [2335] trunk: changed user tab style to match rest of website
Date: Tue, 16 Feb 2010 11:24:02 -0500 (EST)

Revision
2335
Author
dgc
Date
2010-02-16 11:24:02 -0500 (Tue, 16 Feb 2010)

Log Message

changed user tab style to match rest of website

Modified Paths

Diff

Modified: trunk/public/stylesheets/styles.css (2334 => 2335)


--- trunk/public/stylesheets/styles.css	2010-02-12 12:30:25 UTC (rev 2334)
+++ trunk/public/stylesheets/styles.css	2010-02-16 16:24:02 UTC (rev 2335)
@@ -1626,7 +1626,6 @@
 	border-bottom: 1px solid #999999;
 	font-size: 100%;
 	padding-left: 0px;
-	font-weight: bold;
 	z-index: 1;
 }
 
@@ -1640,36 +1639,39 @@
 	display: inline;
 	list-style-type: none;
 	overflow: hidden;
+  color: black;
+  position: relative;
+  top: -1px;
 }
 
 .tabnav2 li a {
 	padding: 3px 6px 4px 6px;
 	border: 1px solid #999999;
 	text-decoration: none;
-	background-color: #EEF6FF;
-	color: #000099;
-}
+	background-color: #D8D8D8;
+	color: #404040;
 
-.tabnav2 li a:link {
-	color: #000099;
+  -moz-border-radius: 6px 6px 0px 0px;
+  -webkit-border-top-left-radius: 6px;
+  -webkit-border-top-right-radius: 6px;
 }
 
-.tabnav2 li a:visited {
-	color: #000099;
+.tabnav2 li a:hover {
+	background-color: #E8E8E8;
 }
 
-.tabnav2 li a:hover,
 .tabnav2 li.active a {
+  color: black;
 	border-bottom: 1px solid #FFFFFF;
 	background-color: #FFFFFF;
-	color: #000000;
 }
 
 .tabnav2_content {
-	border: 0px solid #BBBBBB;
+	border: 0px solid #999999;
 	border-width: 0 1px 1px 1px;
 	padding: 0.5em;
 	z-index: 2;
+    background: white;
 }
 
 /* End new tabs styles */

Modified: trunk/vendor/plugins/widgets/lib/widgets/tabnav_helper.rb (2334 => 2335)


--- trunk/vendor/plugins/widgets/lib/widgets/tabnav_helper.rb	2010-02-12 12:30:25 UTC (rev 2334)
+++ trunk/vendor/plugins/widgets/lib/widgets/tabnav_helper.rb	2010-02-16 16:24:02 UTC (rev 2335)
@@ -69,6 +69,8 @@
     def render_tabnav_tabs
       out tag('ul', {} , true)
     
+      offset = 0
+
       @_tabnav.tabs.each do |tab|      
         li_options = {}
         li_options[:id] = "#{tab.html[:id]}_container" if tab.html[:id] 
@@ -80,6 +82,9 @@
           li_options[:class] = "active" 
         end
                 
+        li_options[:style] = "position: relative; left: #{offset}px"
+        offset -= 1
+
         out tag('li', li_options, true)
         if tab.disabled? || (tab.link.empty? && tab.remote_link.nil?)
           out content_tag('span', tab.name, tab.html) 
@@ -100,7 +105,7 @@
         else
           raise "WHAT THE HELL?"
         end 
-        out "</li> \n"
+        out "</li>"
       end 
       out '</ul>'
     end  

reply via email to

[Prev in Thread] Current Thread [Next in Thread]