mirror of https://github.com/hashicorp/consul
54 lines
1.3 KiB
SCSS
54 lines
1.3 KiB
SCSS
/*TODO: Rename this to %app-view-brand-icon or similar */
|
|
%with-external-source-icon {
|
|
background-repeat: no-repeat;
|
|
background-size: contain;
|
|
width: 18px;
|
|
height: 18px;
|
|
|
|
--kubernetes-icon: #{$kubernetes-logo-color-svg};
|
|
--terraform-icon: #{$terraform-logo-color-svg};
|
|
--nomad-icon: #{$nomad-logo-color-svg};
|
|
--consul-icon: #{$consul-logo-color-svg};
|
|
--aws-icon: #{$aws-logo-color-svg};
|
|
}
|
|
%app-view h2,
|
|
%app-view fieldset {
|
|
border-bottom: $decor-border-200;
|
|
}
|
|
%app-view fieldset h2 {
|
|
border-bottom: none;
|
|
}
|
|
@media #{$--horizontal-selects} {
|
|
%app-view header h1 {
|
|
border-bottom: $decor-border-200;
|
|
}
|
|
}
|
|
@media #{$--lt-horizontal-selects} {
|
|
%app-view header > div > div:last-child {
|
|
border-bottom: $decor-border-200;
|
|
}
|
|
}
|
|
%app-view header > div > div:last-child,
|
|
%app-view header h1,
|
|
%app-view h2,
|
|
%app-view fieldset {
|
|
border-color: $gray-200;
|
|
}
|
|
// We know that any sibling navs might have a top border
|
|
// by default. As its squashed up to a h1, in this
|
|
// case hide its border to avoid double border
|
|
@media #{$--horizontal-selects} {
|
|
%app-view header h1 ~ nav {
|
|
border-top: 0 !important;
|
|
}
|
|
}
|
|
%app-view-content div > dl > dd {
|
|
color: $gray-400;
|
|
}
|
|
[role='tabpanel'] > p:only-child,
|
|
.template-error > div,
|
|
%app-view-content > p:only-child,
|
|
%app-view > div.disabled > div {
|
|
@extend %frame-gray-500;
|
|
}
|