-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAppHeader.css
More file actions
99 lines (85 loc) · 1.6 KB
/
AppHeader.css
File metadata and controls
99 lines (85 loc) · 1.6 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
.header {
display: flex;
align-items: center;
padding: 8px 0;
background-color: var(--dark-theme-secondary-bg);
box-shadow: 0 0 4px rgba(0, 0, 0, 0.12), 0 4px 4px rgba(0, 0, 0, 0.24);
}
.headerWrapper {
display: flex;
justify-content: space-between;
width: 100%;
max-width: 1200px;
margin: 0 auto;
padding: 0 30px;
}
.headerNavList {
display: flex;
}
.headerNavLink {
display: flex;
align-items: center;
color: var(--dark-theme-primary-typo);
transition: color 0.15s;
&:hover,
&:focus {
color: #8a4dee;
}
}
.headerNavItem {
position: relative;
display: flex;
align-items: center;
& + & {
margin-left: 20px;
}
}
.logo {
display: flex;
align-items: center;
transition: opacity 0.15s;
&:hover,
&:focus {
opacity: 0.8;
}
}
.logoText {
margin: 4px 0 0 10px;
font-size: 20px;
font-weight: 700;
color: var(--dark-theme-primary-typo);
}
.avatar {
width: 32px;
height: 32px;
margin-right: 10px;
background-color: var(--bg-avatar);
border: 1px solid rgba(255, 255, 255, 0.6);
border-radius: 100%;
}
.suggest {
position: absolute;
top: 30px;
right: 0;
z-index: 10;
min-width: 115px;
padding: 4px 0;
background-color: var(--dark-theme-primary-bg);
border-radius: 4px;
box-shadow: 0 19px 38px rgba(0, 0, 0, 0.3), 0 15px 12px rgba(0, 0, 0, 0.22);
}
.suggestLink {
display: flex;
justify-content: space-between;
align-items: center;
padding: 6px 10px;
transition: background-color 0.15s;
&:hover,
&:focus {
background-color: var(--dark-theme-secondary-bg);
}
}
.suggestItemIcon {
width: 18px;
height: 18px;
}