81637e2138
Migrate roughly half of the base components into base Adds a target for easily formatting CSS Further CSS amends/migration (#5921) 1. tooltips within tables where a slightly bit troublesome due to a mix of `inline-flex`, `overflow` and the need for truncation. This refineds tooltips a slight bit more to work 'everywhere'. 2. We also move tooltip to use the correct color and min-width from structure, but we overwrite the min-width here until we get confirmation on widths/alignment of text within a tooltip. 3. Tiny fixes for breadcrumbs and toggle-buttons in tabular listings 4. Now we inline-flex our table cells, it means it is impossible to truncate text without wrapping it in another element. This wraps all Description like text in `<p>` tags. Generally the first column of text is already wrapped in an `<a>` tag. Other items such as consul tags and policy names etc get 'cutoff' rather than truncated. 5. We are now using all the icons from `@hashicorp/structure-icons`
53 lines
1.1 KiB
SCSS
53 lines
1.1 KiB
SCSS
@import './app-view/index';
|
|
@import './filter-bar/index';
|
|
@import '../base/components/buttons/index';
|
|
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: 9px;
|
|
}
|
|
}
|
|
// TODO: This should be its own component
|
|
%app-view h1 span[data-tooltip] {
|
|
@extend %with-external-source-icon;
|
|
margin-top: 13px;
|
|
}
|
|
%app-view h1 span.kind-proxy {
|
|
@extend %frame-gray-900;
|
|
@extend %pill;
|
|
}
|
|
%app-view h1 span.kind-proxy::before {
|
|
width: 0.3em !important;
|
|
}
|
|
%app-view h1 em {
|
|
color: $gray-600;
|
|
}
|
|
%app-view header .actions a,
|
|
%app-view header .actions button {
|
|
@extend %button-compact;
|
|
}
|
|
%app-content div > dl {
|
|
@extend %form-row;
|
|
}
|
|
[role='tabpanel'] > p:only-child,
|
|
.template-error > div,
|
|
%app-content > p:only-child,
|
|
%app-view > div.disabled > div,
|
|
%app-view.empty > div {
|
|
@extend %app-content-empty;
|
|
}
|
|
[role='tabpanel'] > *:first-child {
|
|
margin-top: 1.25em;
|
|
}
|
|
%app-view > div.disabled > div {
|
|
margin-top: 0 !important;
|
|
}
|