top nav for groups partially there.
This commit is contained in:
parent
dc1a164b67
commit
19b633d3a3
3 changed files with 70 additions and 15 deletions
|
|
@ -42,6 +42,28 @@
|
||||||
- else
|
- else
|
||||||
= link_to "login", new_user_session_path
|
= link_to "login", new_user_session_path
|
||||||
|
|
||||||
|
#group
|
||||||
|
%ul
|
||||||
|
%li.selected ACM
|
||||||
|
%li FAMILY
|
||||||
|
%li WORK
|
||||||
|
%li HIGH SCHOOL
|
||||||
|
#user_pictures
|
||||||
|
= link_to(person_image_tag(current_user), root_path)
|
||||||
|
= link_to(person_image_tag(current_user), root_path)
|
||||||
|
= link_to(person_image_tag(current_user), root_path)
|
||||||
|
= link_to(person_image_tag(current_user), root_path)
|
||||||
|
= link_to(person_image_tag(current_user), root_path)
|
||||||
|
= link_to(person_image_tag(current_user), root_path)
|
||||||
|
= link_to(person_image_tag(current_user), root_path)
|
||||||
|
= link_to(person_image_tag(current_user), root_path)
|
||||||
|
= link_to(person_image_tag(current_user), root_path)
|
||||||
|
= link_to(person_image_tag(current_user), root_path)
|
||||||
|
= link_to(person_image_tag(current_user), root_path)
|
||||||
|
= link_to(person_image_tag(current_user), root_path)
|
||||||
|
- for friend in @friends
|
||||||
|
= person_image_link(friend)
|
||||||
|
|
||||||
.container
|
.container
|
||||||
- if user_signed_in?
|
- if user_signed_in?
|
||||||
#user_name
|
#user_name
|
||||||
|
|
@ -63,12 +85,9 @@
|
||||||
|
|
||||||
.container
|
.container
|
||||||
.span-24.last
|
.span-24.last
|
||||||
.span-20.append-1.last
|
|
||||||
|
|
||||||
= yield
|
= yield
|
||||||
|
|
||||||
.span-3.last
|
|
||||||
= render 'people/sidebar' if user_signed_in?
|
|
||||||
|
|
||||||
.span-24.last
|
.span-24.last
|
||||||
= render "posts/debug"
|
= render "posts/debug"
|
||||||
|
|
|
||||||
|
|
@ -67,24 +67,24 @@ header {
|
||||||
margin-bottom: 30px;
|
margin-bottom: 30px;
|
||||||
color: #555555;
|
color: #555555;
|
||||||
background-color: #2b2726;
|
background-color: #2b2726;
|
||||||
|
background-color: black;
|
||||||
border-bottom: 3px solid #333333;
|
border-bottom: 3px solid #333333;
|
||||||
padding: 6px 0;
|
padding: 6px 0;
|
||||||
padding-top: 0; }
|
padding-top: 0; }
|
||||||
header #diaspora_text {
|
header #diaspora_text {
|
||||||
|
margin-bottom: 1em;
|
||||||
font-family: "BrandonGrotesqueLightRegular";
|
font-family: "BrandonGrotesqueLightRegular";
|
||||||
font-size: 24px;
|
font-size: 16px;
|
||||||
position: absolute;
|
|
||||||
border: none;
|
border: none;
|
||||||
color: white;
|
color: white;
|
||||||
text-shadow: 0 2px 0 black; }
|
text-shadow: 0 2px 0 black; }
|
||||||
header #diaspora_text a {
|
header #diaspora_text a {
|
||||||
color: #666666; }
|
color: #666666; }
|
||||||
header #diaspora_text span.sub_text {
|
header #diaspora_text span.sub_text {
|
||||||
color: black;
|
|
||||||
text-shadow: none; }
|
text-shadow: none; }
|
||||||
header #session_action {
|
header #session_action {
|
||||||
float: right;
|
float: right;
|
||||||
margin-top: 9px;
|
top: 0;
|
||||||
text-shadow: 0 1px 0 black;
|
text-shadow: 0 1px 0 black;
|
||||||
padding-right: 10px; }
|
padding-right: 10px; }
|
||||||
header #session_action a {
|
header #session_action a {
|
||||||
|
|
@ -412,3 +412,19 @@ h1.big_text {
|
||||||
|
|
||||||
.image_cycle img {
|
.image_cycle img {
|
||||||
display: none; }
|
display: none; }
|
||||||
|
|
||||||
|
#group {
|
||||||
|
color: #333333; }
|
||||||
|
#group ul {
|
||||||
|
font-size: 18px;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0; }
|
||||||
|
#group ul > li {
|
||||||
|
display: inline;
|
||||||
|
margin-right: 10px; }
|
||||||
|
#group ul > li.selected {
|
||||||
|
color: white;
|
||||||
|
font-weight: bold; }
|
||||||
|
#group #user_pictures img {
|
||||||
|
display: inline-block;
|
||||||
|
height: 40px; }
|
||||||
|
|
|
||||||
|
|
@ -72,16 +72,18 @@ header
|
||||||
:color #555
|
:color #555
|
||||||
:background
|
:background
|
||||||
:color #2B2726
|
:color #2B2726
|
||||||
|
:color #000
|
||||||
:border
|
:border
|
||||||
:bottom 3px solid #333
|
:bottom 3px solid #333
|
||||||
:padding 6px 0
|
:padding 6px 0
|
||||||
:top 0
|
:top 0
|
||||||
|
|
||||||
#diaspora_text
|
#diaspora_text
|
||||||
|
:margin
|
||||||
|
:bottom 1em
|
||||||
:font
|
:font
|
||||||
:family 'BrandonGrotesqueLightRegular'
|
:family 'BrandonGrotesqueLightRegular'
|
||||||
:size 24px
|
:size 16px
|
||||||
:position absolute
|
|
||||||
:border none
|
:border none
|
||||||
:color #fff
|
:color #fff
|
||||||
:text
|
:text
|
||||||
|
|
@ -90,14 +92,12 @@ header
|
||||||
:color #666
|
:color #666
|
||||||
|
|
||||||
span.sub_text
|
span.sub_text
|
||||||
:color #000
|
|
||||||
:text
|
:text
|
||||||
:shadow none
|
:shadow none
|
||||||
|
|
||||||
#session_action
|
#session_action
|
||||||
:float right
|
:float right
|
||||||
:margin
|
:top 0
|
||||||
:top 9px
|
|
||||||
:text-shadow 0 1px 0 #000
|
:text-shadow 0 1px 0 #000
|
||||||
a
|
a
|
||||||
:color #777
|
:color #777
|
||||||
|
|
@ -513,3 +513,23 @@ h1.big_text
|
||||||
.image_cycle
|
.image_cycle
|
||||||
img
|
img
|
||||||
:display none
|
:display none
|
||||||
|
|
||||||
|
#group
|
||||||
|
:color #333
|
||||||
|
ul
|
||||||
|
:font-size 18px
|
||||||
|
:margin 0
|
||||||
|
:padding 0
|
||||||
|
> li
|
||||||
|
:display inline
|
||||||
|
:margin
|
||||||
|
:right 10px
|
||||||
|
|
||||||
|
&.selected
|
||||||
|
:color #fff
|
||||||
|
:font-weight bold
|
||||||
|
|
||||||
|
#user_pictures
|
||||||
|
img
|
||||||
|
:display inline-block
|
||||||
|
:height 40px
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue