|
4 | 4 |
|
5 | 5 | @import '../base/components/popover-menu/index';
|
6 | 6 |
|
7 |
| -%app-view-header .actions > [type='checkbox'] { |
8 |
| - @extend %more-popover-menu; |
9 |
| -} |
10 |
| -%more-popover-menu-panel [type='checkbox']:checked ~ * { |
11 |
| - /* this needs to autocalculate */ |
12 |
| - min-height: 143px; |
13 |
| - max-height: 143px; |
14 |
| -} |
15 |
| -%more-popover-menu-panel [id$='logout']:checked ~ * { |
16 |
| - /* this needs to autocalculate */ |
17 |
| - min-height: 163px; |
18 |
| - max-height: 163px; |
19 |
| -} |
20 |
| -%more-popover-menu-panel [id$='delete']:checked ~ ul label[for$='delete'] + [role='menu'], |
21 |
| -%more-popover-menu-panel [id$='logout']:checked ~ ul label[for$='logout'] + [role='menu'], |
22 |
| -%more-popover-menu-panel [id$='use']:checked ~ ul label[for$='use'] + [role='menu'] { |
23 |
| - display: block; |
24 |
| -} |
25 |
| -%app-view-header .actions label + div { |
26 |
| - // We need this extra to allow tooltips to show |
| 7 | +%app-view-actions label + div { |
| 8 | + /* We need this extra to allow tooltips to show */ |
27 | 9 | overflow: visible !important;
|
28 | 10 | }
|
29 | 11 |
|
30 | 12 | main {
|
31 | 13 | @extend %app-view;
|
32 | 14 | }
|
33 |
| -%app-view > div > header { |
34 |
| - @extend %app-view-header; |
35 |
| -} |
36 |
| -%app-view > div > div { |
37 |
| - @extend %app-view-content; |
38 |
| -} |
39 |
| -%app-view header form { |
| 15 | +%app-view-header form { |
40 | 16 | @extend %filter-bar;
|
41 | 17 | }
|
42 |
| -@media #{$--lt-spacious-page-header} { |
43 |
| - %app-view-header .actions { |
44 |
| - margin-top: 9px; |
45 |
| - } |
46 |
| -} |
47 |
| -// TODO: This should be its own component |
48 |
| -%app-view h1 { |
49 |
| - padding-bottom: 0.2em; |
50 |
| -} |
51 |
| -%app-view h1 span[data-tooltip] { |
52 |
| - @extend %with-external-source-icon; |
53 |
| - margin-top: 13px; |
54 |
| -} |
55 |
| -%app-view h1 span.kind-proxy { |
56 |
| - @extend %frame-gray-900; |
57 |
| - @extend %pill; |
58 |
| -} |
59 |
| -%app-view h1 span.kind-proxy::before { |
60 |
| - width: 0.3em !important; |
61 |
| -} |
62 |
| -%app-view h1 em { |
63 |
| - color: $gray-600; |
64 |
| -} |
65 |
| -%app-view-header .actions a, |
66 |
| -%app-view-header .actions button { |
| 18 | +%app-view-actions a, |
| 19 | +%app-view-actions button { |
67 | 20 | @extend %button-compact;
|
68 | 21 | }
|
69 | 22 | %app-view-content div > dl {
|
@@ -97,12 +50,14 @@ main {
|
97 | 50 | display: none;
|
98 | 51 | }
|
99 | 52 | }
|
| 53 | +@media #{$--lt-spacious-page-header} { |
| 54 | + %app-view-actions { |
| 55 | + margin-top: 9px; |
| 56 | + } |
| 57 | +} |
100 | 58 | // reduced search magnifying icon layout
|
101 | 59 | @media #{$--lt-horizontal-selects} {
|
102 |
| - %app-view header h1 { |
103 |
| - display: inline-block; |
104 |
| - } |
105 |
| - %app-view header h1 { |
| 60 | + %app-view-header h1 { |
106 | 61 | display: inline-block;
|
107 | 62 | }
|
108 | 63 | // on the instance detail page we don't have the magnifier
|
|
0 commit comments