mirror of
https://github.com/empayre/fleet.git
synced 2024-11-07 09:18:59 +00:00
efb35b537a
* add prettier and have it format all js code except website: : * trying running prettier check in CI * fix runs on in CI * change CI job name * fix prettier erros and fix CI
108 lines
1.6 KiB
SCSS
108 lines
1.6 KiB
SCSS
html {
|
|
position: relative;
|
|
min-width: $min-width;
|
|
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-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;
|
|
border: solid 1px $white;
|
|
min-width: 910px;
|
|
|
|
@at-root {
|
|
.has-sidebar & {
|
|
margin-right: 0;
|
|
min-width: 610px;
|
|
max-width: calc(
|
|
100vw - #{$pad-body} - #{$pad-body} - #{$pad-borders} - #{$sidepanel-width}
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
.has-sidebar {
|
|
display: flex;
|
|
flex-grow: 1;
|
|
|
|
> * {
|
|
&:first-child {
|
|
flex-grow: 1;
|
|
align-self: flex-start;
|
|
margin-right: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
.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-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;
|
|
}
|
|
}
|
|
}
|