-
Notifications
You must be signed in to change notification settings - Fork 352
Expand file tree
/
Copy pathheader.module.scss
More file actions
135 lines (117 loc) · 2.3 KB
/
header.module.scss
File metadata and controls
135 lines (117 loc) · 2.3 KB
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
@use "@/libs/theme/styles/variables" as *;
@use "@/libs/theme/styles/mixins" as *;
.container {
@include Container;
max-width: calc(100% - 2rem);
display: none;
position: fixed;
top: 1rem;
right: 0;
left: 0;
border-radius: 1.25rem;
margin: 0 auto;
box-sizing: border-box;
background: var(--color_bg_app_bar);
border: 1px solid var(--color_bg_app_bar);
box-shadow: 0 12px 24px -12px rgba(0, 0, 0, 0.04);
backdrop-filter: blur(3rem);
z-index: 100;
@media #{$breakpoint-dimension-sm} {
display: block;
}
@media #{$breakpoint-dimension-xl} {
max-width: $inner-content-grid-max-width;
}
}
.wrapper {
height: $navbar-height;
@include ExtendedGrid;
}
.content {
display: flex;
flex-direction: column;
}
.outerNavContainer {
display: flex;
width: 100%;
margin: 0 auto;
height: 100%;
position: relative;
align-items: center;
justify-content: space-between;
}
.brand {
display: flex;
align-items: center;
height: 1rem;
margin-left: 1.5rem;
z-index: 100;
}
.ribbonContainer {
margin-top: 0.25rem;
display: flex;
justify-content: center;
padding-bottom: 1rem;
}
.navContainer {
display: flex;
justify-content: center;
width: 100%;
position: absolute;
left: 0;
}
.navTabs {
display: flex;
align-items: center;
justify-content: center;
border-radius: 9999px;
padding: 0.25rem;
}
.navList {
display: flex;
padding: 0;
list-style-type: none;
margin: 0;
height: 100%;
gap: 0.25rem;
}
.navList__item {
position: relative;
&[data-active="true"] {
a {
background-color: var(--color_bg_app_bar);
color: var(--color_fg_bold);
cursor: default;
}
}
}
.navList__item > a {
display: flex;
align-items: center;
padding: 0.5rem 1rem;
color: var(--color_fg_default);
font-size: 0.875rem;
font-style: normal;
font-weight: 600;
line-height: 1.5;
letter-spacing: -0.1px;
border-radius: 9999px;
&:focus-visible {
outline: solid 1px var(--color_border_focus);
outline-offset: 0.125rem;
border-radius: 0.125rem;
}
&:hover {
background-color: var(--color_bg_app_bar_border);
color: var(--color_fg_bold);
transition: all 0.1s ease-out;
}
}
.actions {
display: flex;
gap: 0.5rem;
@media #{$breakpoint-dimension-md} {
gap: 1rem;
margin-right: 1.5rem;
}
}