Skip to content
Extraits de code Groupes Projets
Valider 8b4f0473 rédigé par danielgrippi's avatar danielgrippi
Parcourir les fichiers

mobile header gradient reflects the desktop gradient; added background texture to mobile

parent 1ab9520b
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -50,7 +50,8 @@ ...@@ -50,7 +50,8 @@
= yield = yield
%header %header
= link_to(image_tag('white@2x.png', :height => 20, :width => 127, :id => 'header_title'), multi_stream_path) = link_to(image_tag('header-logo2x.png', :height => 40, :width => 40, :id => 'header_title'), multi_stream_path)
- if user_signed_in? - if user_signed_in?
- if yield(:header_action).present? - if yield(:header_action).present?
= yield(:header_action) = yield(:header_action)
......
public/images/hatched-bg-small.jpg

4,44 ko

public/images/hatched-bg.jpg

22,3 ko

public/images/header-bg-long.jpg

571 octets

public/images/header-logo2x.png

3,52 ko

...@@ -225,7 +225,12 @@ a { ...@@ -225,7 +225,12 @@ a {
} }
body { body {
background: #555555; background: {
image: url('/images/hatched-bg.jpg');
position: fixed;
/* scale background image down for iOS retina display */
size: 50%;
}
max-width: 100%; max-width: 100%;
margin-top: 55px; margin-top: 55px;
} }
...@@ -253,6 +258,8 @@ body { ...@@ -253,6 +258,8 @@ body {
max-width: 100%; } max-width: 100%; }
min-height: 34px; min-height: 34px;
.avatar { .avatar {
@include border-radius(4px);
float: left; float: left;
height: 35px; height: 35px;
width: 35px; width: 35px;
...@@ -318,13 +325,8 @@ body { ...@@ -318,13 +325,8 @@ body {
} }
#login_form { #login_form {
@include border-radius(3px);
@include box-shadow(0, 1px, 5px, rgba(0, 0, 0, 1));
padding: 0; padding: 0;
padding-bottom: 10px; padding-bottom: 10px;
background: {
color: #fff;
}
margin: auto 20px; margin: auto 20px;
...@@ -358,13 +360,15 @@ body { ...@@ -358,13 +360,15 @@ body {
} }
} }
.stream_element { .stream_element, #login_form {
@include border-radius(3px); @include border-radius(5px);
@include box-shadow(0, 1px, 5px, rgba(0, 0, 0, 1)); @include box-shadow(0, 1px, 2px, rgba(0, 0, 0, 0.2));
background: {
color: #fff; }; background-color: #fff;
border: {
bottom: 1px solid black; }; border: 1px solid #bbb;
border-top: 1px solid #ddd;
border-bottom: 1px solid #aaa;
} }
.photo_attachments { .photo_attachments {
...@@ -388,18 +392,21 @@ body { ...@@ -388,18 +392,21 @@ body {
size: larger; }; } size: larger; }; }
.more-link { .more-link {
-webkit-box-shadow: inset 0 1px 5px #111, 0 1px 1px #999; -webkit-box-shadow: inset 0 1px 5px #777, 0 1px 1px rgba(0,0,0,0.4);
display: block; display: block;
text-align: center; text-align: center;
padding: 0 10px; padding: 0 10px;
margin: 0 10px; margin: 0 10px;
border-radius: 3px; border-radius: 5px;
background: { background: {
color: #333333; }; color: rgba(220,220,220,0.8);
}
h1 { h1 {
color: #cccccc; color: #999;
padding: 20px; padding: 20px;
text-shadow: 0 -2px 0 black; } } text-shadow: 0 2px 0 #fff; } }
.info { .info {
color: #ccc; color: #ccc;
...@@ -507,8 +514,12 @@ body { ...@@ -507,8 +514,12 @@ body {
float: right; } float: right; }
header { header {
@include linear-gradient(#444444, black); @include box-shadow(0,1px,2px,#333);
@include box-shadow(0,1px,1px,rgba(0,0,0,0.7));
background: {
image: url("/images/header-bg-long.jpg");
}
width: 100%; width: 100%;
position: fixed; position: fixed;
z-index: 10; z-index: 10;
...@@ -521,7 +532,7 @@ header { ...@@ -521,7 +532,7 @@ header {
border: { border: {
bottom: 1px solid #222; bottom: 1px solid #222;
} }
padding: 12px 5px; padding: 2px 5px;
.right { .right {
float: right; } } float: right; } }
...@@ -545,15 +556,21 @@ footer { ...@@ -545,15 +556,21 @@ footer {
} }
.bottom_bar { .bottom_bar {
@include border-radius(0, 0, 3px, 3px); @include border-radius(0, 0, 5px, 5px);
box-shadow: inset 0 2px 5px -3px #999;
display: block; display: block;
position: relative; position: relative;
padding: 10px; padding: 10px;
background: #eeeeee; background: #eee;
margin: { margin: {
top: 10px; }; top: 10px; };
border: { border: {
top: 1px solid #dddddd; }; top: 1px solid #ccc;
};
min-height: 24px; min-height: 24px;
> a, > a,
......
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