John Cowen 82a62cd2ed
ui: Sidebar navigation / redesign (#9553)
* CSS for moving from a horizontal main menu to a side/vertical one
* Add <App /> Component and rearrange <HashcorpConsul /> to use it

1. HashicorpConsul now uses <App />
2. <App /> is now translated and adds 'skip to main content' functionality
3. Adds ember-in-viewport addon in order to visibly hide main navigation
items in order to take them out of focus/tabbing
4. Slight amends to the dom service while I was there
2021-01-26 17:40:33 +00:00

108 lines
1.4 KiB
SCSS

a {
text-decoration: none;
}
td,
th,
span,
strong {
color: inherit;
}
/* %typo-body */
body {
color: var(--gray-900);
}
/* TODO: Consider changing this to 'p a, dd a, td a' etc etc*/
a {
color: $color-action;
}
html {
background-color: $white;
}
hr {
background-color: $gray-500;
}
button {
background-color: $transparent;
}
html {
font-size: $typo-size-000;
}
/* %typo-body */
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;
}