blob: 57c606a7e36e69fb840f8865e81bd48fa865bdb4 (
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
|
.notesList {
@keyframes fade-in {
from {opacity: 0;}
to {opacity: 1;}
}
display: block;
width: 100%;
table-layout: fixed;
word-wrap: break-word;
height: 100%;
padding: .5em;
& > tbody,
& > thead {
display: block;
}
& tr {
display: flex;
padding: .5em;
}
& th {
font-weight: 600;
text-align: left;
min-width: 10em;
white-space: nowrap;
padding-bottom: .5em;
// cursor: pointer;
line-height: 1.1em;
&:first-of-type {
width: 99%;
}
svg {
animation: fade-in .3s;
}
}
@media(max-width: 40em) {
thead {
display: flex;
tr:first-of-type {
flex-shrink: 1;
}
}
tr {
flex-direction: column;
}
tbody {
tr {
padding-bottom: 1em;
}
td:first-of-type {
font-weight: 600;
}
td:nth-of-type(n+2) {
font-size: .8em;
padding-top: .5em;
color: var(--color-decor);
}
}
}
}
.mobileSort {
@media(max-width: 40em) {
position: fixed;
display: flex;
flex-direction: column;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background: var(--color-window-popup);
border-radius: .5em;
border-bottom: 1px solid var(--color-window-border-bottom);
border-top: 1px solid var(--color-window-border-top);
padding: 1.5em;
width: 15em;
tr:nth-of-type(1) > th {
font-weight: normal;
}
tr:nth-of-type(2) {
padding-left: 1.5em;
th {
padding: .75em;
svg {
margin-left: .5em;
}
}
}
tr:nth-of-type(3) {
text-align: center;
& > td {
display: inline-block;
}
}
}
}
|