Browse Source

Merge pull request #301 from anotherZero/css

header.less color variables
pull/340/head
Jack Lukic 11 years ago
parent
commit
1e7b4a99ec
2 changed files with 72 additions and 45 deletions
  1. 86
      src/elements/header.less
  2. 31
      src/global.variables

86
src/elements/header.less

@ -9,6 +9,33 @@
* *
*/ */
/*******************************
Variables
*******************************/
@import "../global.variables";
/*-------------------
Globals Used
--------------------*/
// @white
// @blue
// @red
// @green
// @purple
// @teal
// @midGrey
/*-------------------
Modified Globals
--------------------*/
/*-------------------
Header Variables
--------------------*/
/******************************* /*******************************
Header Header
*******************************/ *******************************/
@ -167,41 +194,41 @@ h5.ui.header {
--------------------*/ --------------------*/
.ui.blue.header { .ui.blue.header {
color: #6ECFF5 !important;
color: @blue !important;
} }
.ui.black.header { .ui.black.header {
color: #5C6166 !important;
color: @midGrey !important;
} }
.ui.green.header { .ui.green.header {
color: #A1CF64 !important;
color: @green !important;
} }
.ui.red.header { .ui.red.header {
color: #D95C5C !important;
color: @red !important;
} }
.ui.purple.header { .ui.purple.header {
color: #564F8A !important;
color: @purple !important;
} }
.ui.teal.header { .ui.teal.header {
color: #00B5AD !important;
color: @teal !important;
} }
.ui.blue.dividing.header { .ui.blue.dividing.header {
border-bottom: 3px solid #6ECFF5;
border-bottom: 3px solid @blue;
} }
.ui.black.dividing.header { .ui.black.dividing.header {
border-bottom: 3px solid #5C6166;
border-bottom: 3px solid @midGrey;
} }
.ui.green.dividing.header { .ui.green.dividing.header {
border-bottom: 3px solid #A1CF64;
border-bottom: 3px solid @green;
} }
.ui.red.dividing.header { .ui.red.dividing.header {
border-bottom: 3px solid #D95C5C;
border-bottom: 3px solid @red;
} }
.ui.purple.dividing.header { .ui.purple.dividing.header {
border-bottom: 3px solid #564F8A;
border-bottom: 3px solid @purple;
} }
.ui.teal.dividing.header { .ui.teal.dividing.header {
border-bottom: 3px solid #00B5AD;
border-bottom: 3px solid @teal;
} }
/*------------------- /*-------------------
@ -209,7 +236,7 @@ h5.ui.header {
--------------------*/ --------------------*/
.ui.inverted.header { .ui.inverted.header {
color: #FFFFFF;
color: @white;
} }
.ui.inverted.header .sub.header { .ui.inverted.header .sub.header {
color: rgba(255, 255, 255, 0.85); color: rgba(255, 255, 255, 0.85);
@ -221,28 +248,28 @@ h5.ui.header {
--------------------*/ --------------------*/
.ui.inverted.black.header { .ui.inverted.black.header {
background-color: #5C6166 !important;
color: #FFFFFF !important;
background-color: @midGrey !important;
color: @white !important;
} }
.ui.inverted.blue.header { .ui.inverted.blue.header {
background-color: #6ECFF5 !important;
color: #FFFFFF !important;
background-color: @blue !important;
color: @white !important;
} }
.ui.inverted.green.header { .ui.inverted.green.header {
background-color: #A1CF64 !important;
color: #FFFFFF !important;
background-color: @green !important;
color: @white !important;
} }
.ui.inverted.red.header { .ui.inverted.red.header {
background-color: #D95C5C !important;
color: #FFFFFF !important;
background-color: @red !important;
color: @white !important;
} }
.ui.inverted.purple.header { .ui.inverted.purple.header {
background-color: #564F8A !important;
color: #FFFFFF !important;
background-color: @purple !important;
color: @white !important;
} }
.ui.inverted.teal.header { .ui.inverted.teal.header {
background-color: #00B5AD !important;
color: #FFFFFF !important;
background-color: @teal !important;
color: @white !important;
} }
.ui.inverted.block.header { .ui.inverted.block.header {
@ -320,23 +347,14 @@ h5.ui.header {
.ui.attached.header { .ui.attached.header {
background-color: #E0E0E0; background-color: #E0E0E0;
padding: 0.5em 1rem; padding: 0.5em 1rem;
-webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1);
-moz-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1);
box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1); box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1);
} }
.ui.top.attached.header { .ui.top.attached.header {
margin-bottom: 0em; margin-bottom: 0em;
-webkit-border-radius: 0.3125em 0.3125em 0em 0em;
-moz-border-radius: 0.3125em 0.3125em 0em 0em;
border-radius: 0.3125em 0.3125em 0em 0em; border-radius: 0.3125em 0.3125em 0em 0em;
} }
.ui.bottom.attached.header { .ui.bottom.attached.header {
margin-top: 0em; margin-top: 0em;
-webkit-border-radius: 0em 0em 0.3125em 0.3125em;
-moz-border-radius: 0em 0em 0.3125em 0.3125em;
border-radius: 0em 0em 0.3125em 0.3125em; border-radius: 0em 0em 0.3125em 0.3125em;
} }

31
src/global.variables

@ -44,14 +44,14 @@
@orange : #E96633; @orange : #E96633;
@pink : #D9499A; @pink : #D9499A;
@purple : #564F8A; @purple : #564F8A;
@red : #F00000;
@red : #D95C5C;
@teal : #00B5AD; @teal : #00B5AD;
@white : #FFFFFF; @white : #FFFFFF;
@yellow : #F6F3D5; @yellow : #F6F3D5;
/*--- Emotive ---*/ /*--- Emotive ---*/
@positiveColor : #5BBD72;
@negativeColor : #D95C5C;
@positiveColor : @green;
@negativeColor : @red;
@infoColor : #E6F4F9; @infoColor : #E6F4F9;
@warningColor : #96904D; @warningColor : #96904D;
@ -94,14 +94,23 @@
Sizes Sizes
--------------------*/ --------------------*/
@mini : 0.7;
@tiny : 0.8;
@small : 0.875;
@medium : 1;
@large : 1.125;
@big : 1.25;
@huge : 1.375;
@massive : 1.5;
@mini : 0.7em;
@tiny : 0.8em;
@small : 0.875em;
@medium : 1em;
@large : 1.125em;
@big : 1.25em;
@huge : 1.375em;
@massive : 1.5em;
@rootMini : 0.7rem;
@rootTiny : 0.8rem;
@rootSmall : 0.875rem;
@rootMedium : 1rem;
@rootLarge : 1.125rem;
@rootBig : 1.25rem;
@rootHuge : 1.375rem;
@rootMassive : 1.5em;
/*------------------- /*-------------------

Loading…
Cancel
Save