|
1 |
| -/*TODO: Rename this to %app-view-brand-icon or similar */ |
2 |
| -%with-external-source-icon { |
3 |
| - background-repeat: no-repeat; |
4 |
| - background-size: contain; |
5 |
| - width: 18px; |
6 |
| - height: 18px; |
7 |
| - |
8 |
| - --kubernetes-icon: #{$kubernetes-logo-color-svg}; |
9 |
| - --terraform-icon: #{$terraform-logo-color-svg}; |
10 |
| - --nomad-icon: #{$nomad-logo-color-svg}; |
11 |
| - --consul-icon: #{$consul-logo-color-svg}; |
12 |
| - --aws-icon: #{$aws-logo-color-svg}; |
13 |
| -} |
14 |
| -%app-view h2, |
15 |
| -%app-view fieldset { |
| 1 | +%app-view-content-empty { |
| 2 | + @extend %frame-gray-500; |
| 3 | +} |
| 4 | +%app-view-title { |
| 5 | + border-bottom: $decor-border-200; |
| 6 | +} |
| 7 | +%app-view-content h2, |
| 8 | +%app-view-content fieldset { |
16 | 9 | border-bottom: $decor-border-200;
|
17 | 10 | }
|
18 |
| -%app-view fieldset h2 { |
| 11 | +%app-view-content fieldset h2 { |
19 | 12 | border-bottom: none;
|
20 | 13 | }
|
21 |
| -@media #{$--horizontal-selects} { |
22 |
| - %app-view header h1, |
23 |
| - %app-view-header .title-bar { |
24 |
| - border-bottom: $decor-border-200; |
25 |
| - } |
26 |
| -} |
27 |
| -@media #{$--lt-horizontal-selects} { |
28 |
| - %app-view header > div > div:last-child { |
29 |
| - border-bottom: $decor-border-200; |
30 |
| - } |
31 |
| -} |
32 |
| -%app-view header > div > div:last-child, |
33 |
| -%app-view header h1, |
34 |
| -%app-view-header .title-bar, |
35 |
| -%app-view h2, |
36 |
| -%app-view fieldset { |
37 |
| - border-color: $gray-200; |
| 14 | +%app-view-header h1 > em { |
| 15 | + color: $gray-600; |
38 | 16 | }
|
39 |
| -%app-view-header .with-nav { |
40 |
| - border: 0; |
41 |
| -} |
42 |
| -// We know that any sibling navs might have a top border |
43 |
| -// by default. As its squashed up to a h1, in this |
44 |
| -// case hide its border to avoid double border |
45 |
| -@media #{$--horizontal-selects} { |
46 |
| - %app-view header h1 ~ nav { |
47 |
| - border-top: 0 !important; |
48 |
| - } |
| 17 | +%app-view-header dd > a { |
| 18 | + color: $black; |
49 | 19 | }
|
50 | 20 | %app-view-content div > dl > dd {
|
51 | 21 | color: $gray-400;
|
52 | 22 | }
|
53 |
| -[role='tabpanel'] > p:only-child, |
54 |
| -.template-error > div, |
55 |
| -%app-view-content > p:only-child { |
56 |
| - @extend %frame-gray-500; |
| 23 | +%app-view-title, |
| 24 | +%app-view-content h2, |
| 25 | +%app-view-content fieldset { |
| 26 | + border-color: $gray-200; |
| 27 | +} |
| 28 | +// We know that any sibling navs might have a top border |
| 29 | +// by default. As its squashed up to a %app-view-title, in this |
| 30 | +// case hide its border to avoid double border |
| 31 | +%app-view-title ~ nav { |
| 32 | + border-top: 0 !important; |
57 | 33 | }
|
0 commit comments