/
index.css
155 lines (127 loc) · 2.06 KB
/
index.css
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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
body {
font: icon;
display: flex;
flex-direction: column;
gap: 1em;
}
body.modal {
overflow: hidden;
}
body.file::before {
background: salmon;
color: white;
content: 'DEV';
display: initial;
padding: 4ex 4ex 1ex;
position: absolute;
transform: translate(-50%, -50%) rotate(-45deg);
}
.recurrentsDiv {
margin: auto;
text-align: center;
}
.recurrentsDiv button {
margin: .5ex;
}
#editorInput {
margin: 0 auto;
width: 50%;
}
#memoDiv {
margin: auto;
text-align: center;
}
#memoDiv button {
margin: .5ex;
}
@keyframes on-air {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
#memoDiv video {
display: block;
}
.on-air {
animation: on-air 1s infinite;
}
.hidden {
display: none !important;
}
#tagsDiv {
margin: auto;
}
#itemsDiv {
margin: auto;
position: relative; /* Parent absolute drop divs to this */
}
.itemDiv {
align-items: center;
display: flex;
gap: 1ex;
padding: .5ex;
}
.itemDiv:hover {
background: whitesmoke;
}
/* Note that :hover cannot be used because it does not fire on drag-hover */
.dnd .itemDiv.hover {
background: salmon;
color: white;
}
.tagSpan {
background: whitesmoke;
outline: 1px solid lightgray;
padding: 0 .5ex;
}
.titleSpan {
flex: 1;
}
.deleteButton {
visibility: hidden;
}
.itemDiv:hover .deleteButton {
visibility: initial;
}
.detailDiv {
margin: 0 0 1ex 2.5em;
}
button {
background: none;
border: none;
cursor: pointer;
padding: 0;
}
.dropDiv {
height: 1ex;
margin: -.5ex 0 0;
position: absolute;
width: 100%;
}
/* Display all the in-between drop zones when drag and drop occurs */
.dnd .dropDiv {
background: lightgray;
}
/* Note that :hover cannot be used because it does not fire on drag-hover */
.dropDiv.hover {
background: salmon;
}
#modalDiv {
align-items: center;
background: rgba(255, 255, 255, .95);
cursor: pointer;
display: flex;
flex-direction: column;
height: 100%;
justify-content: center;
left: 0;
position: absolute;
top: 0;
width: 100%;
}
#modalTitleDiv {
margin: 0 0 .5em;
}