Move variables to sass/variables.scss

This commit is contained in:
JC Brand 2014-12-31 11:54:33 +01:00
parent 96d904f38e
commit e03d22580e
3 changed files with 53 additions and 41 deletions

View File

@ -305,14 +305,30 @@
padding-right: 22px; }
@-webkit-keyframes spin {
from {
-webkit-transform: rotate(0deg); }
-webkit-transform: rotate(0deg);
-moz-transform: rotate(0deg);
-ms-transform: rotate(0deg);
-o-transform: rotate(0deg);
transform: rotate(0deg); }
to {
-webkit-transform: rotate(359deg); } }
-webkit-transform: rotate(359deg);
-moz-transform: rotate(359deg);
-ms-transform: rotate(359deg);
-o-transform: rotate(359deg);
transform: rotate(359deg); } }
@-moz-keyframes spin {
from {
-moz-transform: rotate(0deg); }
-webkit-transform: rotate(0deg);
-moz-transform: rotate(0deg);
-ms-transform: rotate(0deg);
-o-transform: rotate(0deg);
transform: rotate(0deg); }
to {
-moz-transform: rotate(359deg); } }
-webkit-transform: rotate(359deg);
-moz-transform: rotate(359deg);
-ms-transform: rotate(359deg);
-o-transform: rotate(359deg);
transform: rotate(359deg); } }
@keyframes spin {
from {
-webkit-transform: rotate(0deg);

View File

@ -6,8 +6,6 @@
* Licensed under the Mozilla Public License
*/
@import "bourbon/bourbon";
@font-face {
font-family: 'Converse-js';
src: url('../fonticons/fonts/icomoon.eot?-mnoxh0');
@ -33,37 +31,9 @@
}
#conversejs {
@import "components/neat/app/assets/stylesheets/neat";
// XXX: These should be moved to a separate file
$link-color: #436F64;
$inverse-link-color: white;
$link-shadow-color: #FAFAFA;
$text-shadow-color: #FAFAFA;
$text-color: #6C4C44;
$border-color: #CCC;
$warning-color: #681F2C;
$light-background-border-color: #F1DCD6;
$light-background-color: #F1E2DD;
$icon-color: #114327;
$highlight-color: #E3C9C1;
$chat-head-color: #436F64;
$chatroom-head-color: #0F592F;
$chat-head-text-color: white;
$chat-head-inverse-text-color: white;
$chat-head-height: 44px;
$save-button-color: #436F64;
$chat-textarea-height: 64px;
$toolbar-height: 20px;
$message-them-color: #4B7003;
$roster-height: 194px;
$controlbox-dropdown-height: 25px;
$font-size: 14px;
$legend-font-size: 16px;
$chat-width: 200px;
$chat-height: 400px;
@import "../bourbon/bourbon";
@import "../components/neat/app/assets/stylesheets/neat";
@import "variables";
color: $text-color;
font-size: $font-size;
@ -77,9 +47,6 @@
display: block;
@include box-sizing(border-box);
$font-size: 14px;
$legend-font-size: 16px;
a, a:visited {
text-decoration: none;
color: $link-color;
@ -1190,7 +1157,7 @@
margin: 0;
padding: 6px;
&.controlbox-head {
background-color: $link-color;
background-color: $chat-head-color;
border-top-left-radius: 4px;
border-top-right-radius: 4px;
color: $chat-head-inverse-text-color;

29
sass/variables.scss Normal file
View File

@ -0,0 +1,29 @@
$link-color: #436F64;
$inverse-link-color: white;
$link-shadow-color: #FAFAFA;
$text-shadow-color: #FAFAFA;
$text-color: #6C4C44;
$border-color: #CCC;
$warning-color: #681F2C;
$light-background-border-color: #F1DCD6;
$light-background-color: #F1E2DD;
$icon-color: #114327;
$highlight-color: #E3C9C1;
$chat-head-color: #436F64;
$chatroom-head-color: #0F592F;
$chat-head-text-color: white;
$chat-head-inverse-text-color: white;
$chat-head-height: 44px;
$save-button-color: #436F64;
$chat-textarea-height: 64px;
$toolbar-height: 20px;
$message-them-color: #4B7003;
$roster-height: 194px;
$controlbox-dropdown-height: 25px;
$font-size: 14px;
$legend-font-size: 16px;
$chat-width: 200px;
$chat-height: 400px;