Skip to content
Extraits de code Groupes Projets
Valider 4627c533 rédigé par danielvincent's avatar danielvincent
Parcourir les fichiers

found placement of all aspects tab confusing; moved it to be the first tab

parent 0a34c24f
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -4,11 +4,11 @@ ...@@ -4,11 +4,11 @@
#aspect_nav #aspect_nav
%ul %ul
%li{:class => ("selected" if @aspect == :all)}
= link_to t('.all_aspects'), root_url
- for aspect in @aspects - for aspect in @aspects
%li{:class => ("selected" if current_aspect?(aspect))} %li{:class => ("selected" if current_aspect?(aspect))}
= link_for_aspect aspect = link_for_aspect aspect
%li{:class => ("selected" if @aspect == :all)}
= link_to t('.all_aspects'), root_url
%ul{ :style => "position:absolute;right:0;bottom:0.01em;"} %ul{ :style => "position:absolute;right:0;bottom:0.01em;"}
%li{:class => ("selected" if @aspect == :public)} %li{:class => ("selected" if @aspect == :public)}
......
...@@ -118,6 +118,10 @@ header { ...@@ -118,6 +118,10 @@ header {
header #session_action ul li:last-child { header #session_action ul li:last-child {
margin-right: 0; } margin-right: 0; }
header #aspect_header { header #aspect_header {
-webkit-box-shadow: 0px -4px 6px -2px #777777;
-moz-box-shadow: 0px -4px 6px -2px #777777;
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#f7f7f7), to(#eeeeee));
background: -moz-linear-gradient(19% 75% 90deg, #eeeeee, #f7f7f7);
background-color: #eeeeee; background-color: #eeeeee;
border-top: 1px solid white; border-top: 1px solid white;
padding: 20px 0; } padding: 20px 0; }
...@@ -529,10 +533,10 @@ h1.big_text { ...@@ -529,10 +533,10 @@ h1.big_text {
line-height: 18px; line-height: 18px;
font-weight: bold; font-weight: bold;
background-color: #eeeeee; background-color: #eeeeee;
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(white), to(#eeeeee)); background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(white), to(#f7f7f7));
background: -moz-linear-gradient(19% 75% 90deg, #eeeeee, white); background: -moz-linear-gradient(19% 75% 90deg, #f7f7f7, white);
border: 1px solid white; border: 1px solid white;
border-bottom: 1px solid #eeeeee; border-bottom: 1px solid #f7f7f7;
color: black; } color: black; }
#aspect_nav ul > li.selected a:hover { #aspect_nav ul > li.selected a:hover {
background-color: #efefef; } background-color: #efefef; }
......
...@@ -146,6 +146,12 @@ header ...@@ -146,6 +146,12 @@ header
:right 0 :right 0
#aspect_header #aspect_header
:-webkit-box-shadow 0px -4px 6px -2px #777
:-moz-box-shadow 0px -4px 6px -2px #777
:background -webkit-gradient(linear, 0% 0%, 0% 100%, from(#F7F7F7), to(#EEEEEE))
:background -moz-linear-gradient(19% 75% 90deg, #eee, #f7f7f7)
:background :background
:color #eee :color #eee
:border :border
...@@ -713,11 +719,11 @@ h1.big_text ...@@ -713,11 +719,11 @@ h1.big_text
:background :background
:color #eee :color #eee
:background -webkit-gradient(linear, 0% 0%, 0% 100%, from(#fff), to(#eee)) :background -webkit-gradient(linear, 0% 0%, 0% 100%, from(#fff), to(#F7F7F7))
:background -moz-linear-gradient(19% 75% 90deg, #eee, #fff) :background -moz-linear-gradient(19% 75% 90deg, #f7f7f7, #fff)
:border 1px solid #fff :border 1px solid #fff
:bottom 1px solid #eee :bottom 1px solid #F7F7F7
:color #000 :color #000
&:hover &:hover
:background :background
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter