Skip to content
Extraits de code Groupes Projets
Valider f9c2e0e7 rédigé par Daniel Vincent Grippi's avatar Daniel Vincent Grippi
Parcourir les fichiers

moved publisher down.wn. header is now a dark grey instead of black.

parent 5e34506d
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
%h1
stream for
= link_to 'everybody', root_path
= render "shared/publisher", :group_ids => :all
%ul#stream %ul#stream
- for post in @posts - for post in @posts
= render type_partial(post), :post => post unless post.class == Album = render type_partial(post), :post => post unless post.class == Album
......
%h1
stream for
= link_to @group.name, @group
= render "shared/publisher", :group_ids => :all
%ul#stream %ul#stream
- for post in @posts - for post in @posts
= render type_partial(post), :post => post = render type_partial(post), :post => post
......
...@@ -51,17 +51,10 @@ ...@@ -51,17 +51,10 @@
%li.settings= link_to "settings", edit_user_path(current_user) %li.settings= link_to "settings", edit_user_path(current_user)
%li.logout= link_to "logout", destroy_user_session_path %li.logout= link_to "logout", destroy_user_session_path
#sub_header
.container
.span-19.append-5.last
= render "shared/publisher", :group_ids => :all
= render "shared/group_nav" = render "shared/group_nav"
.container .container
.span-19.last .span-5.last
= yield
.span-4.prepend-1.last
%h1 %h1
- if @group == :all - if @group == :all
= link_to "Everybody", root_path = link_to "Everybody", root_path
...@@ -70,6 +63,9 @@ ...@@ -70,6 +63,9 @@
= render "shared/group_friends" = render "shared/group_friends"
.span-24.last .span-19.last
= yield
.span-19.prepend-5.last
= render "posts/debug" = render "posts/debug"
...@@ -71,11 +71,11 @@ header { ...@@ -71,11 +71,11 @@ header {
z-index: 4; z-index: 4;
position: relative; position: relative;
margin: -2em; margin: -2em;
margin-bottom: 0; margin-bottom: 2em;
color: black; color: black;
background-color: #333333; background-color: #333333;
border-bottom: 1px solid #666666; padding: 0;
padding: 0; } border-bottom: 1px solid #555555; }
header #diaspora_text { header #diaspora_text {
position: absolute; position: absolute;
display: inline; display: inline;
...@@ -83,10 +83,9 @@ header { ...@@ -83,10 +83,9 @@ header {
font-size: 16px; font-size: 16px;
border: none; border: none;
color: white; color: white;
text-shadow: 0 2px 0 black;
top: 3px; } top: 3px; }
header #diaspora_text a { header #diaspora_text a {
color: #666666; } color: #999999; }
header #diaspora_text a:hover { header #diaspora_text a:hover {
color: white; color: white;
background: none; } background: none; }
...@@ -100,13 +99,6 @@ header { ...@@ -100,13 +99,6 @@ header {
header #session_action a.new_requests { header #session_action a.new_requests {
color: #df0101; } color: #df0101; }
#sub_header {
border-bottom: 1px solid #444444;
margin: 0 -2em;
padding: 0.5em 0;
background-color: #111111;
margin-bottom: 2em; }
#show_filters { #show_filters {
z-index: 100; z-index: 100;
position: absolute; position: absolute;
...@@ -318,7 +310,6 @@ label { ...@@ -318,7 +310,6 @@ label {
font-weight: normal; } font-weight: normal; }
#publisher { #publisher {
padding-top: 20px;
padding-bottom: 20px; padding-bottom: 20px;
color: #999999; color: #999999;
position: relative; position: relative;
...@@ -427,8 +418,9 @@ h1.big_text { ...@@ -427,8 +418,9 @@ h1.big_text {
#content_bottom { #content_bottom {
position: relative; position: relative;
line-height: 36px; line-height: 36px;
margin-top: 25px; margin: 0 25px;
margin-bottom: 25px; margin-top: 25px;
margin-bottom: 25px;
min-height: 36px; min-height: 36px;
border-top: 1px solid #999999; border-top: 1px solid #999999;
border-bottom: 2px solid #eeeeee; } border-bottom: 2px solid #eeeeee; }
...@@ -458,19 +450,18 @@ h1.big_text { ...@@ -458,19 +450,18 @@ h1.big_text {
#group_nav { #group_nav {
color: black; } color: black; }
#group_nav ul { #group_nav ul {
margin: 0; margin-bottom: 0;
margin-bottom: -5px;
padding: 0; padding: 0;
padding-left: 65px; padding-bottom: 0px;
padding-top: 35px;
list-style: none; list-style: none;
font-size: 14px; } font-size: 14px; }
#group_nav ul > li { #group_nav ul > li {
border-radius: 3px 3px 0 0; background-color: #444444;
background-color: #333333;
display: inline; display: inline;
margin-right: 0.5em; margin-right: 0.5em;
padding: 0.3em 0.5em; padding: 3px 8px;
border: 1px solid #444444; } border: 1px solid #555555; }
#group_nav ul > li:hover { #group_nav ul > li:hover {
background-color: #444444; } background-color: #444444; }
#group_nav ul > li:hover a { #group_nav ul > li:hover a {
...@@ -487,12 +478,14 @@ h1.big_text { ...@@ -487,12 +478,14 @@ h1.big_text {
#group_nav ul . a { #group_nav ul . a {
color: black; } color: black; }
#group_nav ul .selected { #group_nav ul .selected {
opacity: 1; font-weight: bold;
background-color: white; background-color: white;
border-bottom: 1px solid white; border-bottom: 1px solid white;
color: black; } color: black; }
#group_nav ul .selected:hover { #group_nav ul .selected:hover {
background-color: #eeeeee; } background-color: #eeeeee; }
#group_nav ul .selected a {
color: black; }
#group_nav ul .selected . a { #group_nav ul .selected . a {
color: #333333; } color: #333333; }
......
...@@ -76,13 +76,13 @@ header ...@@ -76,13 +76,13 @@ header
:z-index 4 :z-index 4
:position relative :position relative
:margin -2em :margin -2em
:bottom 0 :bottom 2em
:color #000 :color #000
:background :background
:color #333 :color #333
:border
:bottom 1px solid #666
:padding 0 :padding 0
:border
:bottom 1px solid #555
#diaspora_text #diaspora_text
:position absolute :position absolute
...@@ -92,12 +92,10 @@ header ...@@ -92,12 +92,10 @@ header
:size 16px :size 16px
:border none :border none
:color #fff :color #fff
:text
:shadow 0 2px 0 #000
:top 3px :top 3px
a a
:color #666 :color #999
a:hover a:hover
:color #fff :color #fff
...@@ -116,16 +114,6 @@ header ...@@ -116,16 +114,6 @@ header
:color #DF0101 :color #DF0101
:padding-right 10px :padding-right 10px
#sub_header
:border
:bottom 1px solid #444
:margin 0 -2em
:padding 0.5em 0
:background
:color #111
:margin
:bottom 2em
#show_filters #show_filters
:z-index 100 :z-index 100
:position absolute :position absolute
...@@ -394,7 +382,6 @@ label ...@@ -394,7 +382,6 @@ label
#publisher #publisher
:padding :padding
:top 20px
:bottom 20px :bottom 20px
:color #999 :color #999
:position relative :position relative
...@@ -541,7 +528,7 @@ h1.big_text ...@@ -541,7 +528,7 @@ h1.big_text
:position relative :position relative
:line-height 36px :line-height 36px
:margin :margin 0 25px
:top 25px :top 25px
:bottom 25px :bottom 25px
...@@ -581,24 +568,24 @@ h1.big_text ...@@ -581,24 +568,24 @@ h1.big_text
#group_nav #group_nav
:color #000 :color #000
ul ul
:margin 0 :margin
:bottom -5px :bottom 0
:padding 0 :padding 0
:left 65px :bottom 0px
:top 35px
:list :list
:style none :style none
:font :font
:size 14px :size 14px
> li > li
:border-radius 3px 3px 0 0
:background :background
:color #333 :color #444
:display inline :display inline
:margin :margin
:right 0.5em :right 0.5em
:padding 0.3em 0.5em :padding 3px 8px
:border 1px solid #444 :border 1px solid #555
&:hover &:hover
:background :background
...@@ -621,7 +608,8 @@ h1.big_text ...@@ -621,7 +608,8 @@ h1.big_text
:color #000 :color #000
.selected .selected
:opacity 1 :font
:weight bold
:background :background
:color #fff :color #fff
:border :border
...@@ -630,6 +618,9 @@ h1.big_text ...@@ -630,6 +618,9 @@ h1.big_text
&:hover &:hover
:background :background
:color #eee :color #eee
a
:color #000
. .
a a
:color #333 :color #333
......
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