open-consul/ui-v2/app/styles/base/reset/system.scss
John Cowen 99070f2983 UI: CSS Refactor (#4919)
- Adds full set of svg icons as CSS/Sass variables to the source
- Starts picking out some frame-grays, whilst commenting in possibles
- Remove color prefixing

The prefixes `ui-` and `brand-` for colors hav been removed. This makes
colors slightly easier to type.
In order to differentiate between brand colors and 'normal' colors, normal
colors are named as 'true colors' i.e. blue, red, green etc etc
whereas the brand colors used a more premium sounding name such as
'steel' for vault gray, 'magenta' for consul, 'cobalt' for vagrant etc etc.
2019-05-01 18:21:38 +00:00

102 lines
1.3 KiB
SCSS

a {
text-decoration: none;
}
td,
th,
span,
strong {
color: inherit;
}
body {
color: $gray-900;
}
a {
color: $color-action;
}
html {
background-color: $white;
}
hr {
background-color: $gray-500;
}
html {
font-size: $typo-size-000;
}
body {
line-height: 1.5;
}
body,
button,
input,
select,
textarea {
font-family: $typo-family-sans;
}
code,
pre {
font-family: $typo-family-mono;
}
strong {
font-style: inherit;
font-weight: $typo-weight-bold;
}
html {
text-rendering: optimizeLegibility;
text-size-adjust: 100%;
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
}
code,
pre {
-moz-osx-font-smoothing: auto;
-webkit-font-smoothing: auto;
}
pre {
-webkit-overflow-scrolling: touch;
overflow-x: auto;
white-space: pre;
word-wrap: normal;
}
html {
overflow-x: hidden;
overflow-y: scroll;
}
html {
box-sizing: border-box;
}
*,
*::before,
*::after {
box-sizing: inherit;
}
fieldset {
border: none;
width: 100%;
}
a,
input[type='checkbox'],
input[type='radio'] {
cursor: pointer;
}
hr {
border: none;
display: block;
}
input[type='checkbox'],
input[type='radio'] {
vertical-align: baseline;
}
td,
th {
text-align: left;
vertical-align: top;
}
html {
min-width: 300px;
}
hr {
height: 1px;
margin: 1.5rem 0;
}