blob: 16572817c39bc8be41737485f18ab3ccf4765e92 (
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
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
|
.app-bar {
display: flex;
align-items: center;
height: 56px;
position: fixed;
z-index: 1030;
top: 0;
left: 0;
right: 0;
background-color: var(--tl-primary-color);
transition: background-color 1s;
}
.app-bar .cru-avatar {
background-color: white;
}
.app-bar a {
color: var(--tl-text-on-primary-r1-color);
text-decoration: none;
margin: 0 1em;
transition: color 1s;
}
.app-bar a:hover {
color: var(--tl-text-on-primary-color);
}
.app-bar a.active {
color: var(--tl-text-on-primary-color);
}
.app-bar-brand {
display: flex;
align-items: center;
}
.app-bar-brand-icon {
height: 2em;
}
.app-bar-main-area {
display: flex;
flex-grow: 1;
}
.app-bar-link-area {
display: flex;
align-items: center;
flex-shrink: 0;
}
.app-bar-user-area {
display: flex;
align-items: center;
flex-shrink: 0;
margin-left: auto;
}
.small-screen .app-bar-main-area {
position: absolute;
top: 56px;
left: 0;
right: 0;
transform-origin: top;
transition: transform 0.6s, background-color 1s;
background-color: var(--tl-primary-color);
flex-direction: column;
}
.small-screen .app-bar-main-area.app-bar-collapse {
transform: scale(1, 0);
}
.small-screen .app-bar-main-area a {
text-align: left;
padding: 0.5em 0.5em;
}
.small-screen .app-bar-link-area {
flex-direction: column;
align-items: stretch;
}
.small-screen .app-bar-user-area {
flex-direction: column;
align-items: stretch;
margin-left: unset;
}
.small-screen .app-bar-avatar {
align-self: flex-end;
}
.app-bar-toggler {
margin-left: auto;
font-size: 2em;
margin-right: 1em;
color: var(--tl-text-on-primary-color);
cursor: pointer;
user-select: none;
}
|