2015-03-04 11:47:46 +01:00
// Config file and project variables
2014-05-04 15:48:00 +02:00
2017-10-31 12:01:39 +01:00
// ----------------
// breakpoints zone
// ----------------
2017-10-13 17:06:38 +02:00
// warning: you should use your own values, regardless of the devices
2017-10-13 17:05:37 +02:00
// best practise is Mobile First: (min-width: $breakpoint)
2017-10-16 16:11:53 +02:00
$tiny : 480 px !default ; // or 'em' if you prefer, of course
$small : 576 px !default ;
$medium : 768 px !default ;
$large : 992 px !default ;
$extra-large : 1200 px !default ;
2017-10-13 17:05:37 +02:00
2017-10-31 12:01:39 +01:00
// ----------
// fonts zone
// ----------
2017-10-23 14:55:37 +02:00
// font families
2017-10-31 12:01:39 +01:00
$font-family-base : - apple-system , BlinkMacSystemFont , " Segoe UI " , Roboto , Oxygen-Sans , Ubuntu , Cantarell , " Helvetica Neue " , sans-serif !default ; // system font stack
$font-family-headings : sans-serif !default ; // font for h1, h2.. h6
$font-family-monospace : consolas , courier , monospace !default ; // font for code and samples
2017-10-23 14:55:37 +02:00
2017-10-30 15:42:32 +01:00
// font sizes (1.6rem value is "16px" equivalent)
2017-10-31 12:01:39 +01:00
$font-size-base : 1 .6 rem !default ;
2017-10-17 17:06:15 +02:00
2017-10-30 18:23:28 +01:00
$font-sizes : (
base : (
mobile : 1 .4 rem ,
desktop : $ font-size-base
) ,
h1 : (
mobile : 2 .8 rem ,
desktop : 3 . 2rem
) ,
h2 : (
mobile : 2 .4 rem ,
desktop : 3 . 8rem
) ,
h3 : (
mobile : 2 .0 rem ,
desktop : 2 . 4rem
) ,
h4 : (
mobile : 1 .8 rem ,
desktop : 2 . 0rem
) ,
h5 : (
mobile : 1 .6 rem ,
desktop : 1 . 8rem
) ,
h6 : (
mobile : 1 .4 rem ,
desktop : 1 . 6rem
)
) ! default ;
2014-05-04 15:48:00 +02:00
2017-10-16 16:15:03 +02:00
// line heights
2017-10-18 08:24:39 +02:00
$line-height-s : 1 .3 !default ;
$line-height-base : 1 .5 !default ;
$line-height-l : 1 .7 !default ;
2017-10-16 16:15:03 +02:00
2017-10-18 08:40:26 +02:00
// default margin-bottom
2017-10-31 12:01:39 +01:00
$margin-bottom-base : 1 rem !default ;
2017-10-18 08:40:26 +02:00
$headings-margin-bottom : $margin-bottom-base / 2 !default ;
2017-10-31 12:01:39 +01:00
$paragraph-margin-bottom : $margin-bottom-base !default ;
2017-10-18 08:40:26 +02:00
2017-10-16 16:15:03 +02:00
// font weights
2017-10-18 08:24:39 +02:00
$weight-light : 200 !default ;
$weight-book : 300 !default ;
$weight-regular : 400 !default ;
$weight-medium : 500 !default ;
$weight-bold : 700 !default ;
2017-10-16 16:15:03 +02:00
2017-10-31 12:01:39 +01:00
// ------------
// spacing zone
// ------------
2017-10-13 17:05:37 +02:00
// grid gutters (for .has-gutter-* classes)
2017-10-30 15:42:32 +01:00
$grid-gutters : (
'' : 1 rem ,
'-l' : 2 rem ,
2017-10-31 12:01:39 +01:00
' -xl ' : 4rem
) ! default ;
2017-10-13 17:05:37 +02:00
2017-10-31 12:01:39 +01:00
// spacings
2017-11-02 16:07:27 +01:00
$spacer-tiny : .5 rem !default ;
$spacer-tiny-plus : .7 rem !default ;
$spacer-small : 1 rem !default ;
$spacer-small-plus : 1 .5 rem !default ;
$spacer-medium : 2 rem !default ;
$spacer-medium-plus : 3 rem !default ;
$spacer-large : 4 rem !default ;
$spacer-large-plus : 6 rem !default ;
$spacer-extra-large : 8 rem !default ;
$spacer-extra-large-plus : 12 rem !default ;
$spacer-ultra-large : 16 rem !default ;
$spacer-ultra-large-plus : 20 rem !default ;
2017-10-13 17:05:37 +02:00
2017-10-16 16:23:56 +02:00
// z-indexes
$zindex-navigation : 1000 !default ;
$zindex-dropdown : 2000 !default ;
$zindex-popover : 3000 !default ;
$zindex-tooltip : 4000 !default ;
$zindex-modal : 5000 !default ;
$zindex-notification : 6000 !default ;
$zindex-debug : 7000 !default ;
2017-10-31 12:01:39 +01:00
// ----------
// color zone
// ----------
2017-10-13 10:59:40 +02:00
// color names
$white : #fff !default ;
$gray-100 : #f8f9fa !default ;
$gray-200 : #e7e9ed !default ;
$gray-300 : #dee2e6 !default ;
$gray-400 : #ced4da !default ;
$gray-500 : #acb3c2 !default ;
$gray-600 : #727e96 !default ;
$gray-700 : #454d5d !default ;
$gray-800 : #333 !default ;
$gray-900 : #212529 !default ;
$black : #000 !default ;
$blue-300 : #5BC0DE !default ;
$blue-500 : #0275D8 !default ;
$green-500 : #5CB85C !default ;
$orange-500 : #F0AD4E !default ;
$red-500 : #D9534F !default ;
// semantic color scheme
$color-brand : $green-500 ;
$color-primary : $blue-500 ;
$color-success : $green-500 ;
$color-info : $blue-300 ;
$color-warning : $orange-500 ;
$color-danger : $red-500 ;
$color-inverse : $gray-800 ;
2017-07-31 14:00:06 +02:00
$color-ghost : transparent ;
2017-10-13 10:59:40 +02:00
$color-muted : $gray-200 ;
2016-11-22 14:47:41 +01:00
2017-10-17 17:06:15 +02:00
$color-base : $gray-900 ;
2017-10-13 10:59:40 +02:00
$background-base : $white ;
2017-10-17 17:06:15 +02:00
$link-color : $gray-800 ;
$link-color-hover : darken ( $link-color , 15 % ) ;
$link-decoration : none ;
$link-decoration-hover : underline ;
2017-10-13 10:59:40 +02:00
$forms-color : $gray-800 ;
2017-07-31 20:34:26 +02:00
2017-10-31 12:01:39 +01:00
// ---------------
// components zone
// ---------------
// global border-radius
$border-radius : 0 !default ;
2017-10-13 10:59:40 +02:00
// component: quotes
$quote-color : $gray-200 ;
2017-09-08 15:42:46 +02:00
2017-10-13 10:59:40 +02:00
// component: arrows
$arrow-color : $black ;
2017-09-08 16:49:44 +02:00
2017-10-17 17:06:15 +02:00
// component: checkboxes, radios, switches
$checkbox-color : $gray-800 ;
$checkbox-size : 2 rem ;
$checkbox-border-radius : 4 px ;
$switch-color : $gray-800 ;
$switch-size : 2 rem ;
$switch-border-radius : 3 em ;
2017-09-08 15:45:48 +02:00
2017-10-13 10:59:40 +02:00
// component: tables
2017-10-16 15:53:36 +02:00
$table-border : $gray-500 ;
$table-caption-color : $gray-800 ;
$table-background : transparent ;
$table-head-color : $color-base ;
$table-head-background : transparent ;
$table-footer-color : $color-base ;
$table-footer-background : transparent ;
2017-09-20 16:50:49 +02:00
2017-10-13 10:59:40 +02:00
// component: buttons, badges, alerts color variants list
2017-07-31 16:01:20 +02:00
// name - background-color - color - border
$variants-list : (
2017-10-13 10:59:40 +02:00
( primary , $ color-primary , $ white , none ) ,
( success , $ color-success , $ white , none ) ,
( info , $ color-info , $ white , none ) ,
( warning , $ color-warning , $ white , none ) ,
( danger , $ color-danger , $ white , none ) ,
( inverse , $ color-inverse , $ white , none ) ,
( ghost , $ color-ghost , $ white , 0 0 0 1px $ white inset )
2017-10-31 12:01:39 +01:00
) ! default ;
2017-07-31 16:01:20 +02:00
2017-10-13 10:59:40 +02:00
// component: tabs
$tabs-border : $gray-200 ;
$tabs-active-border : $gray-800 ;
2017-09-26 11:42:46 +02:00
$tabs-color : $color-base ;
2017-10-13 10:59:40 +02:00
$tabs-active-color : $gray-800 ;
2017-09-26 11:42:46 +02:00
$tabs-background : transparent ;
$tabs-active-background : transparent ;
$tabs-border-radius : 0 ;
2017-09-07 15:54:20 +02:00
2017-10-13 10:59:40 +02:00
// component: nav burger button
$burger-color : $gray-800 ;
2017-09-26 11:42:46 +02:00
$burger-background : transparent ;
$burger-hover-background : transparent ;
$burger-size : 2 .6 rem ;
$burger-weight : 5 px ; // size of stripes
$burger-padding : 0 ;