NxTIC/public_html/css/constants.scss

58 lines
1.3 KiB
SCSS
Raw Permalink Normal View History

/* [1] COULEURS
=========================================================*/
/* (1) COULEURS DU THEME $DEFAULT */
$theme-bg: #e8e8e8;
$theme-bg-primary: #ffffff;
$theme-fg: #515151;
2016-09-25 10:25:34 +00:00
$theme-fg-primary: #0e6dbf;
/* (2) COULEURS DE THEME $DARK */
2016-04-14 08:02:44 +00:00
$dark-bg: #313541;
$dark-bg-primary: #29282e;
2016-04-14 08:02:44 +00:00
$dark-fg: #939393;
$dark-fg-primary: #ffffff;
2016-05-25 15:27:18 +00:00
$header-dark: #F8F8FA;
2016-04-22 08:27:58 +00:00
/* (3) Couleurs du theme pour la timeline */
2016-04-25 08:43:33 +00:00
$timeline-color: #738394;
2016-09-25 10:25:34 +00:00
$timeline-0: #0e6dbf;
2016-04-25 08:39:04 +00:00
$timeline-1: #e64e3e;
$timeline-2: #d54b28;
2016-04-25 08:39:04 +00:00
$timeline-3: #b14be7;
$timeline-4: #053b5d;
$timeline-fb: #3b5998;
/* [2] DIMENSIONS
=========================================================*/
/* (1) Layout de base */
$menu-side-width: 15em;
$header-height: 4em;
2016-04-22 08:27:58 +00:00
/* [3] Mixins
=========================================================*/
@mixin transform($value...) {
2016-05-25 15:27:18 +00:00
transform: $value;
2016-04-22 08:27:58 +00:00
-moz-transform: $value;
-o-transform: $value;
-ms-transform: $value;
-webkit-transform: $value;
}
@mixin transition($value...) {
2016-05-25 15:27:18 +00:00
-webkit-transition: $value;
transition: $value;
2016-04-22 08:27:58 +00:00
}
/* [4] Functions
=========================================================*/
// Transforme une couleur hex en string sans le #
@function color-str($color){
2016-05-25 15:27:18 +00:00
@return str-slice(#{$color}, 2, str-length(#{$color}));
}