blob: f8b8ec240370d2c1ec6886113683141791a754d1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
// Suppress "Skip to navigation of app" link since the app does not have a navigation
.skip-navigation:not(.skip-content) {
display: none;
}
// Fix position of "Skip to main content" link since the other link is gone
.skip-navigation.skip-content {
left: 3px;
}
#header {
background: transparent !important;
--color-header: rgba(24, 24, 24, 1);
#body-user.dashboard--dark & {
--color-header: rgba(255, 255, 255, 1);
}
// Show gradient below navigation for visibility of icons when scrolled
&:before {
content: ' ';
display: block;
position: absolute;
background-image: linear-gradient(180deg, var(--color-header) 0%, transparent 100%);
width: 100%;
height: 70px;
top: 0;
margin-top: -70px;
transition: margin-top var(--animation-slow);
#body-user.dashboard--scrolled & {
margin-top: 0;
}
}
// Use flat color instead of gradient for high contrast theme
#body-user.theme--highcontrast & {
background-color: var(--color-header) !important;
&:before {
display: none;
}
}
}
// Move content up so it scrolls below navigation
#content {
padding-top: 0 !important;
}
// Hide triangle indicators from navigation since they are out of place without the header bar
#appmenu li a.active::before,
#appmenu li:hover a::before,
#appmenu li:hover a.active::before,
#appmenu li a:focus::before {
display: none !important;
}
|