blob: d83f4cc2531330ab0e59ece68f603053ffa361f5 (
plain) (
blame)
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
|
.header {
height: 2em;
background-color: var(--color-glass);
border-bottom: 1px solid var(--color-window-border-bottom);
z-index: 2;
nav {
display: flex;
& > div {
flex-grow: 1;
overflow-y: auto;
& > span {
padding-left: .5em;
line-height: 2em;
font-weight: 600;
}
& > ul {
display: flex;
}
}
& > ul,
& > div > ul {
display: block;
& > li {
display: inline-block;
@media(max-width: 40em) {
& > span:first-of-type {
display: flex!important;
width: 100%;
}
& > span > span:first-of-type {
flex-grow: 1;
}
}
& > span > span:nth-of-type(2),
& > span > span:nth-of-type(3) {
margin: .25em .25em .25em .5em;
padding: .5em;
display: inline-block;
border-top: 1px solid var(--color-window-border-top);
border-bottom: 1px solid var(--color-window-border-bottom);
border-radius: .5em;
background-color: var(--color-window-content);
}
& > span > span:nth-of-type(2) {
margin-left: 1em;
}
& > span > span:nth-of-type(3) {
color: var(--color-error);
}
& > span {
display: inline-block;
color: var(--color-text);
text-decoration: none;
align-items: center;
border-radius: .5em;
transition: .3s background, .3s color;
white-space: nowrap;
padding: .25em .5em;
margin: .25em;
@media(hover: hover) {
&:hover {
background-color: var(--color-selected);
color: var(--color-text-alt);
}
}
}
}
}
}
}
.showMobileAppList {
@media(max-width: 40em) {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background-color: var(--color-window-popup);
border-bottom: 1px solid var(--color-window-border-bottom);
border-top: 1px solid var(--color-window-border-top);
border-radius: .5em;
padding: 1em;
min-width: 13em;
li {
width: 100%;
padding: 0;
margin: -.25em 0;
}
& > li:first-of-type {
padding: .5em .5em 1em;
white-space: nowrap;
}
& > li:last-of-type {
width: 100%;
padding-top: 1em;
text-align: center;
span {
height: 2.1em;
padding: .5em .75em;
}
}
}
}
|