minor changes
This commit is contained in:
parent
a7eab9e50c
commit
c81ea5a632
4 changed files with 60 additions and 54 deletions
|
|
@ -24,7 +24,7 @@ class ImageUploader < CarrierWave::Uploader::Base
|
||||||
end
|
end
|
||||||
|
|
||||||
version :thumb_large do
|
version :thumb_large do
|
||||||
process :resize_to_fill => [300,200]
|
process :resize_to_fill => [300,300]
|
||||||
end
|
end
|
||||||
|
|
||||||
version :scaled_full do
|
version :scaled_full do
|
||||||
|
|
|
||||||
|
|
@ -29,45 +29,28 @@
|
||||||
= javascript_include_tag 'jquery.html5_upload'
|
= javascript_include_tag 'jquery.html5_upload'
|
||||||
|
|
||||||
%body
|
%body
|
||||||
|
- flash.each do |name, msg|
|
||||||
|
= content_tag :div, msg, :id => "flash_#{name}"
|
||||||
|
|
||||||
%header
|
%header
|
||||||
.container
|
.container
|
||||||
- flash.each do |name, msg|
|
#session_action
|
||||||
= content_tag :div, msg, :id => "flash_#{name}"
|
- if user_signed_in?
|
||||||
|
%ul#user_menu
|
||||||
|
%li.name= link_to current_user.real_name, current_user.person
|
||||||
|
%li= link_to "requests (#{@request_count})", requests_path, :class => new_request(@request_count)
|
||||||
|
%li= link_to "settings", edit_user_path(current_user)
|
||||||
|
%li= link_to "logout", destroy_user_session_path
|
||||||
|
- else
|
||||||
|
= link_to "login", new_user_session_path
|
||||||
|
|
||||||
#diaspora_text{:href => root_path}
|
#diaspora_text{:href => root_path}
|
||||||
= link_to "DIASPORA*", root_path
|
= link_to "DIASPORA*", root_path
|
||||||
%span.sub_text
|
%span.sub_text
|
||||||
PREVIEW
|
PREVIEW
|
||||||
|
|
||||||
#session_action
|
|
||||||
- if user_signed_in?
|
|
||||||
= link_to current_user.real_name, current_user.person
|
|
||||||
|
|
|
||||||
= link_to "requests (#{@request_count})", requests_path, :class => new_request(@request_count)
|
|
||||||
|
|
|
||||||
= link_to "logout", destroy_user_session_path
|
|
||||||
- else
|
|
||||||
= link_to "login", new_user_session_path
|
|
||||||
|
|
||||||
= render "shared/group_nav"
|
= render "shared/group_nav"
|
||||||
|
|
||||||
|
= link_to "photos", albums_path
|
||||||
.container
|
|
||||||
- if user_signed_in?
|
|
||||||
#user_name
|
|
||||||
= link_to(person_image_tag(current_user), root_path)
|
|
||||||
%h1
|
|
||||||
= link_to current_user.real_name, root_path
|
|
||||||
%span#latest_message
|
|
||||||
= my_latest_message
|
|
||||||
%span{:style => "font-size: small", :id => 'latest_message_time'}
|
|
||||||
- unless @latest_status_message.nil?
|
|
||||||
= "- #{how_long_ago @latest_status_message}"
|
|
||||||
|
|
||||||
%ul.nav
|
|
||||||
%li= link_to "home", root_path
|
|
||||||
%li= link_to "photos", albums_path
|
|
||||||
%li= "|"
|
|
||||||
%li= link_to "edit profile", edit_user_path(current_user)
|
|
||||||
|
|
||||||
.container
|
.container
|
||||||
.span-24.last
|
.span-24.last
|
||||||
|
|
|
||||||
|
|
@ -66,7 +66,7 @@ a {
|
||||||
header {
|
header {
|
||||||
position: relative;
|
position: relative;
|
||||||
margin: -2em;
|
margin: -2em;
|
||||||
margin-bottom: 30px;
|
margin-bottom: 20px;
|
||||||
color: #555555;
|
color: #555555;
|
||||||
background-color: #2b2726;
|
background-color: #2b2726;
|
||||||
background-color: black;
|
background-color: black;
|
||||||
|
|
@ -88,11 +88,8 @@ header {
|
||||||
float: right;
|
float: right;
|
||||||
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.new_requests {
|
||||||
color: #777777;
|
color: #df0101; }
|
||||||
border: none; }
|
|
||||||
header #session_action a.new_requests {
|
|
||||||
color: #df0101; }
|
|
||||||
|
|
||||||
#show_filters {
|
#show_filters {
|
||||||
z-index: 100;
|
z-index: 100;
|
||||||
|
|
@ -144,10 +141,9 @@ h1 {
|
||||||
font-size: 21px;
|
font-size: 21px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
line-height: 36px; }
|
line-height: 36px; }
|
||||||
h1 p.description, h1 span.description {
|
h1 p.description, h1 span.description, h1 .description {
|
||||||
font-weight: 200;
|
font-weight: 200;
|
||||||
color: #999999;
|
color: #999999; }
|
||||||
padding: 0.1em; }
|
|
||||||
|
|
||||||
h3 {
|
h3 {
|
||||||
position: relativex;
|
position: relativex;
|
||||||
|
|
@ -352,7 +348,7 @@ ul#publisher_content_pickers li {
|
||||||
/* cycle it! */
|
/* cycle it! */
|
||||||
.album {
|
.album {
|
||||||
position: relative;
|
position: relative;
|
||||||
height: 200px;
|
height: 300px;
|
||||||
width: 300px;
|
width: 300px;
|
||||||
display: inline-block; }
|
display: inline-block; }
|
||||||
.album .name {
|
.album .name {
|
||||||
|
|
@ -378,9 +374,8 @@ h1.big_text {
|
||||||
position: relative;
|
position: relative;
|
||||||
line-height: auto;
|
line-height: auto;
|
||||||
border-bottom: 1px solid #666666; }
|
border-bottom: 1px solid #666666; }
|
||||||
|
h1.big_text .right {
|
||||||
.big_text .right {
|
top: -6px; }
|
||||||
top: -8px; }
|
|
||||||
|
|
||||||
#content_bottom .right {
|
#content_bottom .right {
|
||||||
top: -5px; }
|
top: -5px; }
|
||||||
|
|
@ -462,3 +457,16 @@ h1.big_text {
|
||||||
display: none;
|
display: none;
|
||||||
left: -25px;
|
left: -25px;
|
||||||
top: 4px; }
|
top: 4px; }
|
||||||
|
|
||||||
|
#user_menu {
|
||||||
|
background: #333333;
|
||||||
|
padding: 5px;
|
||||||
|
margin: 0;
|
||||||
|
list-style: none; }
|
||||||
|
#user_menu a {
|
||||||
|
color: #999999; }
|
||||||
|
#user_menu > li {
|
||||||
|
display: inline;
|
||||||
|
margin-right: 1em; }
|
||||||
|
#user_menu > li:last-child {
|
||||||
|
margin-right: 0; }
|
||||||
|
|
|
||||||
|
|
@ -70,7 +70,7 @@ a
|
||||||
header
|
header
|
||||||
:position relative
|
:position relative
|
||||||
:margin -2em
|
:margin -2em
|
||||||
:bottom 30px
|
:bottom 20px
|
||||||
:color #555
|
:color #555
|
||||||
:background
|
:background
|
||||||
:color #2B2726
|
:color #2B2726
|
||||||
|
|
@ -101,8 +101,6 @@ header
|
||||||
:float right
|
:float right
|
||||||
:text-shadow 0 1px 0 #000
|
:text-shadow 0 1px 0 #000
|
||||||
a
|
a
|
||||||
:color #777
|
|
||||||
:border none
|
|
||||||
&.new_requests
|
&.new_requests
|
||||||
:color #DF0101
|
:color #DF0101
|
||||||
:padding-right 10px
|
:padding-right 10px
|
||||||
|
|
@ -168,11 +166,10 @@ h1
|
||||||
:weight bold
|
:weight bold
|
||||||
:line-height 36px
|
:line-height 36px
|
||||||
|
|
||||||
p.description, span.description
|
p.description, span.description, .description
|
||||||
:font
|
:font
|
||||||
:weight 200
|
:weight 200
|
||||||
:color #999
|
:color #999
|
||||||
:padding 0.1em
|
|
||||||
|
|
||||||
h3
|
h3
|
||||||
:position relativex
|
:position relativex
|
||||||
|
|
@ -432,7 +429,7 @@ ul#publisher_content_pickers li
|
||||||
|
|
||||||
.album
|
.album
|
||||||
:position relative
|
:position relative
|
||||||
:height 200px
|
:height 300px
|
||||||
:width 300px
|
:width 300px
|
||||||
:display inline-block
|
:display inline-block
|
||||||
|
|
||||||
|
|
@ -467,12 +464,11 @@ h1.big_text
|
||||||
:position relative
|
:position relative
|
||||||
:line-height auto
|
:line-height auto
|
||||||
:border
|
:border
|
||||||
//:top 2px solid #666
|
|
||||||
:bottom 1px solid #666
|
:bottom 1px solid #666
|
||||||
|
|
||||||
.big_text
|
|
||||||
.right
|
.right
|
||||||
:top -8px
|
:top -6px
|
||||||
|
|
||||||
#content_bottom
|
#content_bottom
|
||||||
.right
|
.right
|
||||||
:top -5px
|
:top -5px
|
||||||
|
|
@ -577,3 +573,22 @@ h1.big_text
|
||||||
:left -25px
|
:left -25px
|
||||||
:top 4px
|
:top 4px
|
||||||
|
|
||||||
|
#user_menu
|
||||||
|
:background #333
|
||||||
|
:padding 5px
|
||||||
|
:margin 0
|
||||||
|
:list-style none
|
||||||
|
|
||||||
|
a
|
||||||
|
:color #999
|
||||||
|
|
||||||
|
> li
|
||||||
|
:display inline
|
||||||
|
:margin
|
||||||
|
:right 1em
|
||||||
|
|
||||||
|
&:last-child
|
||||||
|
:margin
|
||||||
|
:right 0
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue