-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathHeader.module.scss
More file actions
117 lines (94 loc) · 1.64 KB
/
Header.module.scss
File metadata and controls
117 lines (94 loc) · 1.64 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
@import '../../vars';
.app_bar {
position: sticky;
height: var(--header-height);
z-index: 100; // so quick search results appear above page.
}
.toolbar {
justify-content: space-between;
}
.tab {
text-transform: unset;
padding: 0;
min-width: 55px;
max-width: 125px;
flex-grow: 1;
position: relative;
transition: transform 0.2s ease;
&:hover {
transform: translateY(-4px);
}
svg {
transition: transform 0.2s ease;
}
&:hover svg {
transform: translateY(-2px);
}
&.disabled_tab {
color: var(--mui-palette-neutral-400);
}
}
.tab.tab:hover {
text-decoration: none;
}
.side_container {
display: flex;
}
.center_container {
display: none;
}
@media (min-width: $break-lg) {
.center_container {
display: initial;
flex-grow: 1;
}
}
.people_search_container {
text-align: right;
width: 9rem;
transition: width 0.3s;
display: inline-block;
}
@media (min-width: $break-xs) {
.people_search_container {
width: 40vw;
}
}
@media (min-width: $break-sm) {
.people_search_container {
width: 13rem;
&:focus-within {
width: 15rem;
}
}
}
.hamburger_menu_button {
margin-left: -12px;
:global(svg) {
transition: transform 0.2s ease;
}
&:hover svg {
transform: translateY(-2px);
z-index: 10;
}
}
.hamburger_menu_button_icon {
color: var(--mui-palette-primary-contrastText);
}
.header_button {
margin-left: -12px;
margin-right: -12px;
}
.logo_link {
display: inline-block;
transition: transform 0.2s ease;
&:hover {
transform: translateY(-2px);
}
img {
display: block;
}
&:hover img {
transform: translateY(-2px);
}
}