mirror of
https://github.com/status-im/MyCrypto.git
synced 2025-01-10 02:55:41 +00:00
aa0f9cd455
* Frameless Electron. Separate electron template. Generecize navigation link. Move nav info to config. * Add controls for language and node, network status to sidebar. * Sticky headers * Move custom node modal into standalone component. Render modals via portal. Add custom node modal opening to electron node list. * Conditional styling based on environment. * Fix active node highlight * Add frame back in, draggable only on OSX, fix sidebar scroll. * Remove panel content after delay. * Adjust window sizes * Style desktop help nav icon * Remove unused var * Move style to param * Remove unused * Update snapshot * Fix oversized stretching, zindex fighting * Make electron work better with various screen sizes * Remove not-working https option for electron * Add beta banner * Fix web footer * Address changes
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;
|