MyCrypto/common/sass/styles/scaffolding.scss
William O'Beirne de7d4fbaa2 v3 Style Import (#151)
* Convert bootstrap to sass instead of checked in and less

* Darken body, adjust header.

* First pass at tab styles, each tab will need a lot of individual love tho.

* Update footer to main site content, improve responsiveness.

* Missing key added.

* Fix dropdowns.

* Convert GenerateWallet HTML over, still needs styling.

* Send form.

* Current rates styled.

* CurrencySwap form styles.

* SwapInfoHeader styled.

* Finish up swap restyling, minor usability improvements for mobile.

* Fix up notifications / alert customizations

* Import v3 variables.

* Fix notification spacing.

* Align input height base with buttons.

* Revert height base, add additional bootstrap overrides.

* Grid overrides.

* Move overrides to their own folder. Adjust naming.

* Fix inconsistencies.

* Style generate wallet pt 1.

* Style generate wallet pt 2

* Style generate wallet pt 3

* Fix swap

* Added some missing overries, fixed the fallout.

* Remove header text, indicate alpha version.

* Fix radio / checkbox weights.

* Bind => arrow

* Convert simpledropdown to proper form select, instead of weirdly implemented nonfuncitoning dropdown.

* Fix token balances buttons, footr icons.
2017-09-05 14:52:01 -05:00

60 lines
1.1 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%;
}
input,
button,
select,
textarea {
font-family: inherit;
font-size: inherit;
line-height: inherit;
}
figure {
margin: 0;
}
img {
vertical-align: middle;
}
hr {
margin-top: $space;
margin-bottom: $space;
border: 0;
border-top: 1px solid $hr-border;
}