577dbef70a
* Move almost everything to use %frames * Fix pill styles of ACL types * Remove horizontal scrollbars from dom recycling scroller component * Make text areas look ok in Firefox * Remove ember-bulma-css * New form elements, break out %toggle * %button design tweaks * %form-element design tweaks * Better hashicorp logo * Small screen CSS improvements (#4624) 1. Reduce header size when there are no breadcrumbs 2. Make the filters toggleable, closed by default 3. Reduce the size of the footer on small screens 4. Hide all non-primary columns for forms 5. Slightly change the layout of various items, mainly buttons within forms 6. Make some confirmation dialogs work vertically on small screens. Guessing we might be better just using native confirmations on small screens
83 lines
1.5 KiB
SCSS
83 lines
1.5 KiB
SCSS
@import './product/index';
|
|
@import './filter-bar';
|
|
html body > svg {
|
|
display: none;
|
|
}
|
|
html.ember-loading body > svg {
|
|
@extend %brand-loader;
|
|
}
|
|
html.template-loading main > div {
|
|
@extend %loader;
|
|
}
|
|
main {
|
|
@extend %app-view;
|
|
}
|
|
%app-view > div > div {
|
|
@extend %app-content;
|
|
}
|
|
%app-view header form {
|
|
@extend %filter-bar;
|
|
}
|
|
@media #{$--lt-spacious-page-header} {
|
|
%app-view header .actions {
|
|
margin-top: 5px;
|
|
}
|
|
}
|
|
%loader circle {
|
|
fill: $brand-magenta-100;
|
|
}
|
|
%main-header::before {
|
|
background-color: $brand-magenta-600;
|
|
}
|
|
%header-nav a,
|
|
%header-nav-toggle-button {
|
|
color: $brand-magenta-050;
|
|
}
|
|
@media #{$--lt-horizontal-nav} {
|
|
%header-nav-panel {
|
|
background-color: $brand-magenta-600;
|
|
}
|
|
}
|
|
@media #{$--horizontal-nav} {
|
|
%header-nav > ul > li:not(:first-child).is-active > a {
|
|
background-color: $brand-magenta-800;
|
|
}
|
|
}
|
|
#wrapper > footer {
|
|
@extend %footer;
|
|
}
|
|
/*TODO: This should go in reset, and probably needs select etc adding */
|
|
@media (max-width: 420px) and (-webkit-min-device-pixel-ratio: 0) {
|
|
input {
|
|
font-size: 16px !important;
|
|
}
|
|
}
|
|
/* toggleable toolbar for short screens */
|
|
[for='toolbar-toggle'] {
|
|
@extend %with-magnifier;
|
|
color: $ui-blue-500;
|
|
width: 20px;
|
|
height: 20px;
|
|
margin-left: 15px;
|
|
top: -3px;
|
|
}
|
|
#toolbar-toggle {
|
|
display: none;
|
|
}
|
|
@media #{$--expanded-filters} {
|
|
[for='toolbar-toggle'] {
|
|
display: none;
|
|
}
|
|
}
|
|
@media #{$--lt-expanded-filters} {
|
|
%app-view header h1 {
|
|
display: inline-block;
|
|
}
|
|
#toolbar-toggle + * {
|
|
display: none;
|
|
}
|
|
#toolbar-toggle:checked + * {
|
|
display: block;
|
|
}
|
|
}
|