mirror of
https://github.com/empayre/fleet.git
synced 2024-11-07 01:15:22 +00:00
139 lines
2.2 KiB
SCSS
139 lines
2.2 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: "Inter", sans-serif;
|
|
font-size: $medium;
|
|
height: 100%;
|
|
}
|
|
|
|
html,
|
|
body {
|
|
height: 100%;
|
|
|
|
.__react_component_tooltip {
|
|
text-align: center;
|
|
padding: 6px;
|
|
max-width: 320px;
|
|
height: auto;
|
|
|
|
&.show {
|
|
opacity: 1; // Overrides 0.9 default opacity
|
|
}
|
|
}
|
|
}
|
|
|
|
h1,
|
|
h2,
|
|
h3 {
|
|
line-height: 1.2;
|
|
}
|
|
|
|
p {
|
|
// Desired default line-height for text is 1.5x the font size for paragrah text.
|
|
// This allows for a comfortable reading experience by adding space between
|
|
// multiline paragraphs.
|
|
line-height: 1.5;
|
|
}
|
|
|
|
h1 {
|
|
font-size: $large;
|
|
font-weight: $regular;
|
|
letter-spacing: -0.5px;
|
|
color: $core-fleet-black;
|
|
margin: 0;
|
|
}
|
|
|
|
a {
|
|
color: $core-vibrant-blue;
|
|
font-weight: $bold;
|
|
font-size: $x-small;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.__react_component_tooltip {
|
|
a {
|
|
color: $core-white;
|
|
}
|
|
}
|
|
|
|
.body-wrap {
|
|
padding: $pad-xlarge;
|
|
border-radius: 3px;
|
|
background-color: $core-white;
|
|
}
|
|
|
|
.has-sidebar {
|
|
display: flex;
|
|
flex-grow: 1;
|
|
|
|
& > *:first-child {
|
|
flex-grow: 1;
|
|
}
|
|
}
|
|
|
|
.cf {
|
|
@include clearfix;
|
|
}
|
|
|
|
input,
|
|
textarea,
|
|
button {
|
|
font-family: "Inter", 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: $pad-large;
|
|
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: $rainbow-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-black-10;
|
|
}
|