fleet/frontend/styles/global/_global.scss

123 lines
1.8 KiB
SCSS

html {
position: relative;
height: 100%;
// 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-fleet-black;
padding: 0;
margin: 0;
font-family: "Nunito Sans", sans-serif;
font-size: $medium;
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-fleet-black;
margin: 0;
}
a {
color: $core-fleet-purple;
}
.wrapper {
background: $gradients-dark-gradient-vertical;
margin: 0;
}
.body-wrap {
padding: $pad-xxlarge;
border-radius: 3px;
background-color: $core-white;
min-width: 798px;
}
.has-sidebar {
display: flex;
flex-grow: 1;
& > *:first-child {
flex-grow: 1;
}
}
.cf {
@include clearfix;
}
input,
textarea,
button {
font-family: "Nunito Sans", sans-serif;
&:-webkit-autofill {
-webkit-box-shadow: 0 0 0 1000px #fff inset;
-webkit-text-fill-color: $core-fleet-black !important; //sass-lint:disable-line no-important
}
}
input {
&[type="number"] {
&::-webkit-inner-spin-button,
&::-webkit-outer-spin-button {
-webkit-appearance: none;
margin: 0;
}
}
}
// syntax highlighting for pretty-printed JSON
pre {
padding: 15px;
background-color: $core-fleet-black;
color: $core-white;
border-radius: 4px;
white-space: pre-wrap;
.string {
color: $rainbow-green;
}
.number {
color: $rainbow-orange;
}
.boolean {
color: blue;
}
.null {
color: magenta;
}
.key {
color: $core-white;
}
}
hr {
margin-top: $pad-xlarge;
margin-bottom: $pad-xlarge;
border: none;
border-bottom: 1px solid $ui-fleet-blue-15;
}