Browse Source

Colors to variables.

pull/29/head^2
Evan Theurer 12 years ago
parent
commit
be355600c8
  1. 12
      src/styles/components/_fileinfo.scss
  2. 5
      src/styles/global/_variables.scss

12
src/styles/components/_fileinfo.scss

@ -20,8 +20,8 @@
*/ */
.file-info { .file-info {
background: #fff; background: $fileinfo-background;
border: 1px solid #ddd; border: 1px solid $fileinfo-border;
border-radius: 4px; border-radius: 4px;
padding: 1em; padding: 1em;
position: relative; position: relative;
@ -35,7 +35,7 @@
z-index: 3; z-index: 3;
} }
.file-info-bg { .file-info-bg {
bottom: 0px; bottom: 0;
left: 41px; left: 41px;
right: 0; right: 0;
overflow: hidden; overflow: hidden;
@ -43,7 +43,7 @@
top: -17px; top: -17px;
z-index: 2; z-index: 2;
.#{$fa-css-prefix} { .#{$fa-css-prefix} {
color: #eee; color: $fileinfo-icon-background-color;
font-size: 20em; font-size: 20em;
} }
} }
@ -64,7 +64,7 @@
} }
.file-info-size { .file-info-size {
font-size: 0.8em; font-size: .8em;
height: 20px; height: 20px;
position: relative; position: relative;
> span { > span {
@ -141,6 +141,6 @@
.file-info.downloading { .file-info.downloading {
.file-info-size{ .file-info-size{
border-color: #ddd; border-color: $fileinfo-downloading-size-border;
} }
} }

5
src/styles/global/_variables.scss

@ -80,6 +80,11 @@ $chat-bottom-background: $chat-background;
$chat-typing: $chat-meta; $chat-typing: $chat-meta;
$chat-input-border-color: #66afe9; $chat-input-border-color: #66afe9;
$fileinfo-background: white;
$fileinfo-border: #ddd;
$fileinfo-icon-background-color: #eee;
$fileinfo-downloading-size-border: #ddd;
$tap-highlight: rgba(0, 0, 0, 0); $tap-highlight: rgba(0, 0, 0, 0);
$breakpoint-small: 480px; $breakpoint-small: 480px;

Loading…
Cancel
Save