MyCrypto/common/sass/styles/scaffolding.scss
William O'Beirne aa0f9cd455 Electron Redesign (#1505)
* 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
2018-04-16 18:30:58 -05:00

78 lines
1.2 KiB
SCSS

* {
box-sizing: border-box;
}
*:before,
*:after {
box-sizing: border-box;
}
html {
// Why comment this out you might ask? A bug in v3 set font-size to `15 px`
// which was invalid syntax, so it went with the browser default of 16px.
// But many things use $font-size-base as 15px, so I can't just change that
// to 16px. Neat-o.
// font-size: $font-size-pixels;
font-size: 16px;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
@media screen and (min-width: $screen-xl) {
font-size: $font-size-pixels-xl;
}
@media screen and (max-width: $grid-float-breakpoint-max) {
font-size: $font-size-pixels-sm;
}
height: 100%;
}
body {
font-family: $font-family-base;
font-size: $font-size-base;
line-height: $line-height-base;
color: $text-color;
background-color: $body-bg;
height: 100%;
}
#app {
height: 100%;
}
input,
button,
select,
textarea {
font-family: inherit;
font-size: inherit;
line-height: inherit;
}
textarea {
resize: vertical;
}
figure {
margin: 0;
}
img {
max-width: 100%;
height: auto;
vertical-align: middle;
}
hr {
margin-top: $space;
margin-bottom: $space;
border: 0;
border-top: 1px solid $hr-border;
}
a {
text-decoration-skip-ink: none;
}
#app {
overflow-x: hidden;
}