|
1 | 1 | @use 'src/identity/components/GlobalHeader/GlobalHeaderStyle.scss' as gh; |
2 | 2 | @import '@influxdata/clockface/dist/variables.scss'; |
3 | 3 |
|
4 | | -// Reduce size of page headers |
| 4 | +// These are custom per-page adjustments to certain styles that are currently |
| 5 | +// necessary to accomodate the space taken up by the multi-org header in Cloud2. |
| 6 | + |
| 7 | +/* Page Headers Generally */ |
5 | 8 | .multi-org .cf-page-header { |
6 | 9 | height: 46px !important; |
7 | 10 | flex: 0 0 46px !important; |
8 | 11 | margin-bottom: 14px !important; |
9 | 12 | } |
10 | 13 |
|
11 | | -// Adjust most pages for multi-org by changing the size of the Dapper Scroll Bar wrapper. |
| 14 | +/* Page Size Generally */ |
| 15 | +// Adjusts Dapper Scrollbars height. |
12 | 16 | .multi-org .cf-page-contents > .ScrollbarsCustom-Wrapper { |
13 | 17 | height: calc(100% - gh.$globalheader-height); |
14 | 18 | } |
15 | 19 |
|
16 | | -// Page-specific fix for Data Explorer - Classic |
| 20 | +// Data Explorer - Classic |
17 | 21 | .multi-org .data-explorer > .time-machine > .cf-draggable-resizer { |
18 | 22 | height: calc(100% - gh.$globalheader-height); |
19 | 23 | } |
20 | 24 |
|
21 | | -// Page-specific fix for Data Explorer - New |
| 25 | +// Data Explorer - New |
22 | 26 | .multi-org .flux-query-builder--container { |
23 | 27 | height: calc(100% - gh.$globalheader-height); |
24 | 28 | } |
25 | 29 |
|
| 30 | +/* Notebooks */ |
| 31 | +// Browser |
| 32 | +.multi-org .cf-page.flows-index { |
| 33 | + height: calc(100% - gh.$globalheader-height); |
| 34 | +} |
| 35 | + |
| 36 | +// Page Title |
| 37 | +.multi-org |
| 38 | + .flows-index |
| 39 | + > .cf-page-header |
| 40 | + > .cf-page-header--fixed |
| 41 | + > .cf-flex-box { |
| 42 | + height: 32px !important; |
| 43 | + margin-bottom: 10px !important; |
| 44 | +} |
| 45 | + |
| 46 | +// Header Block |
| 47 | +.multi-org .cf-page-header.withButtonHeader { |
| 48 | + height: 140px !important; |
| 49 | +} |
| 50 | + |
| 51 | +/* Notifications */ |
26 | 52 | // When removing multi-org flags, consider whether this override |
27 | 53 | // should become a permanent change for all users in Clockface. |
| 54 | + |
28 | 55 | .cf-notification-container { |
29 | 56 | &.cf-notification__top { |
30 | 57 | top: $cf-space-2xs; |
|
0 commit comments