40 lines
1.2 KiB
SCSS
40 lines
1.2 KiB
SCSS
// In electron, we have a sidebar besides the content, so the media queries
|
|
// need to shrink to reflect that
|
|
$screen-xs: 512px;
|
|
$screen-sm: 820px;
|
|
$screen-md: 1060px;
|
|
$screen-lg: 1280px;
|
|
$screen-xl: 1440px;
|
|
@if ($is-electron) {
|
|
$screen-xs: $screen-xs + $electron-sidebar-width;
|
|
$screen-sm: $screen-sm + $electron-sidebar-width;
|
|
$screen-md: $screen-md + $electron-sidebar-width;
|
|
$screen-lg: $screen-lg + $electron-sidebar-width;
|
|
$screen-xl: $screen-xl + $electron-sidebar-width;
|
|
}
|
|
|
|
$screen-xs-min: $screen-xs;
|
|
$screen-sm-min: $screen-sm;
|
|
$screen-md-min: $screen-md;
|
|
$screen-lg-min: $screen-lg;
|
|
$screen-xl-min: $screen-xl;
|
|
$screen-xs-max: ($screen-sm-min - 1);
|
|
$screen-sm-max: ($screen-md-min - 1);
|
|
$screen-md-max: ($screen-lg-min - 1);
|
|
$screen-lg-max: ($screen-xl-min - 1);
|
|
|
|
$grid-columns: 12;
|
|
$grid-gutter-width: 2rem;
|
|
$grid-float-breakpoint: $screen-sm-min;
|
|
$grid-float-breakpoint-max: ($grid-float-breakpoint - 1);
|
|
|
|
$cont-padding: 1%;
|
|
$cont-padding-lg: 3%;
|
|
$cont-width: 113rem;
|
|
$container-tablet: (48rem + $grid-gutter-width);
|
|
$container-sm: $container-tablet;
|
|
$container-desktop: (62rem + $grid-gutter-width);
|
|
$container-md: $container-desktop;
|
|
$container-large-desktop: (76rem + $grid-gutter-width);
|
|
$container-lg: $container-large-desktop;
|