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

minor changes

parent a7eab9e5
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -24,7 +24,7 @@ class ImageUploader < CarrierWave::Uploader::Base
end
version :thumb_large do
process :resize_to_fill => [300,200]
process :resize_to_fill => [300,300]
end
version :scaled_full do
......
......@@ -29,45 +29,28 @@
= javascript_include_tag 'jquery.html5_upload'
%body
- flash.each do |name, msg|
= content_tag :div, msg, :id => "flash_#{name}"
%header
.container
- flash.each do |name, msg|
= content_tag :div, msg, :id => "flash_#{name}"
#diaspora_text{:href => root_path}
= link_to "DIASPORA*", root_path
%span.sub_text
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
%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
= render "shared/group_nav"
#diaspora_text{:href => root_path}
= link_to "DIASPORA*", root_path
%span.sub_text
PREVIEW
= render "shared/group_nav"
.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)
= link_to "photos", albums_path
.container
.span-24.last
......
......@@ -66,7 +66,7 @@ a {
header {
position: relative;
margin: -2em;
margin-bottom: 30px;
margin-bottom: 20px;
color: #555555;
background-color: #2b2726;
background-color: black;
......@@ -88,11 +88,8 @@ header {
float: right;
text-shadow: 0 1px 0 black;
padding-right: 10px; }
header #session_action a {
color: #777777;
border: none; }
header #session_action a.new_requests {
color: #df0101; }
header #session_action a.new_requests {
color: #df0101; }
#show_filters {
z-index: 100;
......@@ -144,10 +141,9 @@ h1 {
font-size: 21px;
font-weight: bold;
line-height: 36px; }
h1 p.description, h1 span.description {
h1 p.description, h1 span.description, h1 .description {
font-weight: 200;
color: #999999;
padding: 0.1em; }
color: #999999; }
h3 {
position: relativex;
......@@ -352,7 +348,7 @@ ul#publisher_content_pickers li {
/* cycle it! */
.album {
position: relative;
height: 200px;
height: 300px;
width: 300px;
display: inline-block; }
.album .name {
......@@ -378,9 +374,8 @@ h1.big_text {
position: relative;
line-height: auto;
border-bottom: 1px solid #666666; }
.big_text .right {
top: -8px; }
h1.big_text .right {
top: -6px; }
#content_bottom .right {
top: -5px; }
......@@ -462,3 +457,16 @@ h1.big_text {
display: none;
left: -25px;
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
:position relative
:margin -2em
:bottom 30px
:bottom 20px
:color #555
:background
:color #2B2726
......@@ -101,8 +101,6 @@ header
:float right
:text-shadow 0 1px 0 #000
a
:color #777
:border none
&.new_requests
:color #DF0101
:padding-right 10px
......@@ -168,11 +166,10 @@ h1
:weight bold
:line-height 36px
p.description, span.description
p.description, span.description, .description
:font
:weight 200
:color #999
:padding 0.1em
h3
:position relativex
......@@ -432,7 +429,7 @@ ul#publisher_content_pickers li
.album
:position relative
:height 200px
:height 300px
:width 300px
:display inline-block
......@@ -467,12 +464,11 @@ h1.big_text
:position relative
:line-height auto
:border
//:top 2px solid #666
:bottom 1px solid #666
.big_text
.right
:top -8px
:top -6px
#content_bottom
.right
:top -5px
......@@ -577,3 +573,22 @@ h1.big_text
:left -25px
: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
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