fleet/frontend/styles/global/_global.scss

108 lines
1.6 KiB
SCSS
Raw Normal View History

html {
position: relative;
2016-12-01 18:57:19 +00:00
min-width: $min-width;
height: 100%;
2016-11-18 15:41:52 +00:00
// Because iOS hates us we must fight to the death!
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
// End Apple War
}
body {
color: $core-black;
padding: 0;
margin: 0;
font-family: "Nunito Sans", sans-serif;
font-size: $medium;
min-width: $medium-width;
height: 100%;
}
html,
body {
height: 100%;
}
.wrapper,
.wrapper > div {
min-height: 100vh;
}
h1,
h2,
h3 {
line-height: 1.2;
}
h1 {
font-size: $large;
font-weight: $regular;
letter-spacing: -0.5px;
color: $core-black;
margin: 0;
}
a {
color: $core-purple;
}
.wrapper {
background: $core-gradient;
margin: 0;
}
.body-wrap {
padding: 40px 30px 0;
border-radius: 3px;
background-color: $white;
2018-09-18 21:14:13 +00:00
border: solid 1px $white;
min-width: 910px;
2017-02-24 23:01:43 +00:00
@at-root {
.has-sidebar & {
margin-right: 0;
min-width: 610px;
max-width: calc(
100vw - #{$pad-body} - #{$pad-body} - #{$pad-borders} - #{$sidepanel-width}
);
2017-01-10 19:10:15 +00:00
}
}
}
.has-sidebar {
display: flex;
flex-grow: 1;
> * {
&:first-child {
flex-grow: 1;
align-self: flex-start;
margin-right: 0;
}
}
}
.cf {
@include clearfix;
}
input,
2016-12-01 18:57:19 +00:00
textarea,
button {
font-family: "Nunito Sans", sans-serif;
&:-webkit-autofill {
2016-12-16 15:54:49 +00:00
-webkit-box-shadow: 0 0 0 1000px #fff inset;
-webkit-text-fill-color: $core-dark-blue-grey !important; //sass-lint:disable-line no-important
}
}
input {
&[type="number"] {
&::-webkit-inner-spin-button,
&::-webkit-outer-spin-button {
-webkit-appearance: none;
margin: 0;
}
}
}