2015-01-21 17:20:59 +01:00
|
|
|
|
2015-02-02 20:43:53 +01:00
|
|
|
// Path variables for seamless imports
|
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
$version: '3.alpha';
|
|
|
|
|
2015-01-21 17:20:59 +01:00
|
|
|
|
|
|
|
// palettes import -
|
|
|
|
// ------------------------------------------------------------------------------
|
|
|
|
// fixme : consolidate all settings and imports in a decent 'settings' file
|
2015-02-06 01:16:49 +01:00
|
|
|
//@import '../themes/color-palette'; // fixme : clarify if it is needed or assure by javascript
|
|
|
|
@import 'components/palette'; // fixme : The maps in color-palettes are more js then scss
|
2015-01-21 17:20:59 +01:00
|
|
|
|
2015-01-16 13:52:29 +01:00
|
|
|
// Font Variables
|
2015-02-02 20:43:53 +01:00
|
|
|
$font-family: 'Fira sans', 'Helvetica Neue', sans-serif !default;
|
2015-02-02 00:09:48 +01:00
|
|
|
|
2015-02-06 01:16:49 +01:00
|
|
|
$primary-color: sg-color($sogoBlue, 300) !default;
|
|
|
|
//$foreground-primary-color: rgba($foreground-base-color, 0.73) !default;
|
2015-02-02 00:09:48 +01:00
|
|
|
$foreground-primary-color: rgba($primary-color, 0.87);//override
|
2015-02-06 01:16:49 +01:00
|
|
|
|
2015-01-16 13:52:29 +01:00
|
|
|
|
2015-03-03 19:33:22 +01:00
|
|
|
// Layout and grid
|
2015-01-16 13:52:29 +01:00
|
|
|
// ------------------------------
|
|
|
|
|
2015-02-11 10:04:09 +01:00
|
|
|
$baseline-grid: 8px !default;
|
2015-02-06 01:16:49 +01:00
|
|
|
// shortcut aliases for $baseline-grid
|
|
|
|
$bl: $baseline-grid;
|
|
|
|
$line: $baseline-grid;
|
2015-03-03 19:33:22 +01:00
|
|
|
|
2015-02-03 22:03:36 +01:00
|
|
|
$sg-md-grid-pitch: 8 * $baseline-grid;
|
2015-02-06 01:16:49 +01:00
|
|
|
// shortcut alias for $sg-md-grid-pitch
|
|
|
|
$pitch: $sg-md-grid-pitch;
|
2015-03-03 19:33:22 +01:00
|
|
|
|
|
|
|
// touch and pointers
|
|
|
|
// ----------------------------------------------------------------------------
|
2015-02-27 04:32:22 +01:00
|
|
|
$touch-zone-width: 48px;
|
2015-03-03 19:33:22 +01:00
|
|
|
// shortcut alias for $touch-zone-width
|
2015-02-27 04:32:22 +01:00
|
|
|
$touch-zone: $touch-zone-width;
|
|
|
|
|
2015-02-06 01:16:49 +01:00
|
|
|
// Google specifies dimensions in grid pitch
|
|
|
|
// This is a small utility function
|
|
|
|
// Return dimension in px
|
|
|
|
@function grid-step($nb) {
|
|
|
|
@return ($pitch * $nb)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Margins
|
|
|
|
$layout-gutter-width: ($baseline-grid * 2) !default;
|
|
|
|
$md-base-margin: $layout-gutter-width;
|
|
|
|
// alias
|
|
|
|
$mg: $layout-gutter-width;
|
|
|
|
|
2015-01-16 13:52:29 +01:00
|
|
|
$layout-breakpoint-sm: 600px !default;
|
|
|
|
$layout-breakpoint-md: 960px !default;
|
|
|
|
$layout-breakpoint-lg: 1200px !default;
|
|
|
|
|
2015-03-19 08:40:46 +01:00
|
|
|
// Redefinitions
|
|
|
|
// $layout-breakpoint-sm: 360px;
|
|
|
|
$layout-breakpoint-md: 1025px;
|
|
|
|
$layout-breakpoint-lg: 1280px;
|
|
|
|
|
2015-01-16 13:52:29 +01:00
|
|
|
// App bar variables
|
2015-02-27 04:32:22 +01:00
|
|
|
$app-bar-height: $sg-md-grid-pitch;
|
2015-01-16 13:52:29 +01:00
|
|
|
|
2015-02-27 04:32:22 +01:00
|
|
|
$listView-width: grid-step(6);
|
|
|
|
$detailView-width: grid-step(8);
|
2015-02-16 08:15:01 +01:00
|
|
|
|
2015-01-16 13:52:29 +01:00
|
|
|
$toast-height: $baseline-grid * 3 !default;
|
|
|
|
$toast-margin: $baseline-grid * 1 !default;
|
|
|
|
|
|
|
|
// Whiteframes
|
|
|
|
|
|
|
|
$whiteframe-shadow-z1: 0px 2px 5px 0 rgba(0,0,0,0.26) !default;
|
|
|
|
$whiteframe-zindex-z1: 1 !default;
|
|
|
|
$whiteframe-shadow-z2: 0px 8px 17px rgba(0,0,0,0.2) !default;
|
|
|
|
$whiteframe-zindex-z2: 2 !default;
|
|
|
|
$whiteframe-shadow-z3: 0px 17px 50px rgba(0,0,0,0.19) !default;
|
|
|
|
$whiteframe-zindex-z3: 3 !default;
|
|
|
|
$whiteframe-shadow-z4: 0px 16px 28px 0 rgba(0,0,0,0.22) !default;
|
|
|
|
$whiteframe-zindex-z4: 4 !default;
|
|
|
|
$whiteframe-shadow-z5: 0px 27px 24px 0 rgba(0,0,0,0.2) !default;
|
|
|
|
$whiteframe-zindex-z5: 5 !default;
|
|
|
|
|
|
|
|
|
|
|
|
// Z-indexes
|
|
|
|
//--------------------------------------------
|
|
|
|
|
|
|
|
$z-index-tooltip: 100 !default;
|
|
|
|
$z-index-dialog: 80 !default;
|
|
|
|
$z-index-toast: 90 !default;
|
|
|
|
$z-index-bottom-sheet: 70 !default;
|
|
|
|
$z-index-sidenav: 60 !default;
|
|
|
|
$z-index-backdrop: 50 !default;
|
|
|
|
$z-index-fab: 20 !default;
|
|
|
|
|
|
|
|
// Easing Curves
|
|
|
|
//--------------------------------------------
|
|
|
|
|
|
|
|
$swift-ease-out-duration: 0.4s !default;
|
|
|
|
$swift-ease-out-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1) !default;
|
|
|
|
$swift-ease-out: all $swift-ease-out-duration $swift-ease-out-timing-function !default;
|
|
|
|
|
|
|
|
$swift-ease-in-duration: 0.3s !default;
|
|
|
|
$swift-ease-in-timing-function: cubic-bezier(0.55, 0, 0.55, 0.2) !default;
|
|
|
|
$swift-ease-in: all $swift-ease-in-duration $swift-ease-in-timing-function !default;
|
|
|
|
|
|
|
|
$swift-ease-in-out-duration: 0.5s !default;
|
|
|
|
$swift-ease-in-out-timing-function: cubic-bezier(0.35, 0, 0.25, 1) !default;
|
|
|
|
$swift-ease-in-out: all $swift-ease-in-out-duration $swift-ease-in-out-timing-function !default;
|