forked from kolos26/GEOFS-LiverySelector
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
299 lines (268 loc) · 6.24 KB
/
styles.css
File metadata and controls
299 lines (268 loc) · 6.24 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
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
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
.livery-list {
width: 450px;
resize: horizontal;
contain: content;
}
#listDiv h6 {
padding-left: 4px;
}
#listDiv h6:before {
content: "▼";
margin-right: 2px;
}
#listDiv h6.closed:before {
content: "▶";
margin-right: 2px;
}
.potato-mode-search {
display: none;
}
.potato-mode-search.geofs-visible {
display: block;
}
.fa.fa-star {
text-shadow: 0 0 1px black, 0 0 1px black, 0 0 1px black, 0 0 1px black;
color: white;
display: inline;
text-align: right;
cursor: pointer;
}
.checked {
color: rgb(255, 193, 7) !important;
}
i.checked::before {
content: "★" !important;
}
input[type="file"] {
width: 30%;
display: inline-block;
background-color: rgb(83, 109, 254);
color: white;
padding: 12px 0;
margin: 2px 0;
height: 20px;
cursor: pointer;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.colorChooser {
width: 30%;
display: inline-block;
background-color: rgb(83, 109, 254);
color: white;
padding: 1px 0;
margin: 2px 0;
height: 45px;
outline: none;
cursor: pointer;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
input[type="file"].err {
background-color: rgb(254, 109, 83);
}
input[type="file"]::-webkit-file-upload-button,
input[type="file"]::file-selector-button {
visibility: hidden;
width: 0;
}
#livery-custom-tab-direct input[type="file"]::before,
#livery-custom-tab-upload input[type="file"]::before {
content: "UPLOAD IMAGE";
text-align: center;
display: inline-block;
width: 100%;
font-family: "Roboto", "Helvetica", "Arial", sans-serif;
font-size: 14px;
}
#livery-custom-tab-direct input[type="file"]::before {
content: 'LOAD IMAGE';
}
#livery-custom-tab-upload input[type="file"].err::before {
content: 'NO API KEY';
}
input[type="text"][name="textureInput"]{
color: white;
font-size: 14px;
font-family: "Roboto", "Helvetica", "Arial", sans-serif;
height: 36px;
display: inline-block;
background-color: #729e8f;
border: none;
outline: none;
width: 68%;
padding: 4px 3px;
keyboard-events: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
#livery-setting-apikey::placeholder,
input[name="textureInput"]::placeholder {
color: #dedede;
font-size: 14px;
}
img.livery-title {
width: 95%;
display: block;
margin: 0 auto;
}
ul.livery-custom-tabs {
display: flex;
justify-content: space-evenly;
background-color: white;
padding-inline-start: 0;
margin: 0;
}
.livery-custom-tabs li {
display: inline-block;
padding: 0.75rem;
cursor: pointer;
flex-grow: 1;
text-align: center;
}
.livery-submit div {
padding: 10px 0;
}
.livery-submit div label {
display: block;
padding: 5px 0;
}
.livery-submit div label[for="livery-submit-confirm-perms"],
.livery-submit div label[for="livery-submit-confirm-legal"] {
display: inline;
}
.livery-submit div input[id="livery-submit-credits"] {
margin-bottom: 10px;
}
.livery-submit div input[type="text"],
.livery-submit div input[type="number"],
#livery-setting-discordid,
#livery-setting-apikey {
background-color: #729e8f;
color: #dedede;
padding: 4px 2px;
width: 98%;
height: 36px;
}
#livery-custom-tab-upload button {
position: initial;
margin: 10px auto;
display: block;
width: 80%;
text-align: center;
}
#livery-custom-tab-upload > div,
#livery-custom-tab-direct > div,
#livery-custom-tab-download > div,
#livery-custom-tab-api div {
padding: 10px;
background: white;
}
#livery-custom-tab-api label[for="livery-setting-discordid"] {
padding-top: 16px;
display: block;
}
#favorites li.livery-list-item small,
#airlinelist li.livery-list-item small,
#liverylist li.livery-list-item small {
position: absolute;
left: 12px;
top: 16px;
color: darkgray;
}
#favorites li.livery-list-item i,
#airlinelist li.livery-list-item i,
#liverylist li.livery-list-item i,
#favorites li.livery-list-item span.fa.fa-star,
#airlinelist li.livery-list-item span.fa.fa-star,
#liverylist li.livery-list-item span.fa.fa-star {
position: absolute;
top: 15px;
right: 10px;
font-style: normal;
}
#favorites li.livery-list-item i,
#airlinelist li.livery-list-item i,
#liverylist li.livery-list-item i {
top: 0px !important;
}
#favorites li.livery-list-item i::before,
#airlinelist li.livery-list-item i::before,
#liverylist li.livery-list-item i::before {
content: "☆";
font-size: 24px;
}
#favorites li.livery-list-item,
#airlinelist li.livery-list-item,
#liverylist li.livery-list-item {
background-color: white;
display: none;
height: 48px;
transition: height .1s;
overflow: hidden;
}
#favorites li.livery-list-item,
#airlinelist li.livery-list-item,
#liverylist li.livery-list-item.geofs-visible {
display: block;
}
#liverylist li.livery-list-item.offi:hover {
transition: height 0.1s;
height: 240px;
}
.geofs-list .livery-custom-tabs li:hover,
#favorites li.livery-list-item:hover,
#airlinelist li.livery-list-item:hover,
#liverylist li.livery-list-item:hover {
border: 2px solid #dedede;
margin: -2px 0 0 -2px;
}
#favorites li.livery-list-item span:not(.fa):not(.fa-star),
#airlinelist li.livery-list-item span:not(.fa):not(.fa-star),
#liverylist li.livery-list-item span:not(.fa):not(.fa-star) {
position: relative;
z-index: 10;
width: 80%;
display: block;
}
#airlinelist li.livery-list-item img,
#liverylist li.livery-list-item img {
transition: height .1s;
height: 48px;
position: absolute;
right: 30px;
top: 0;
}
#airlinelist li.livery-list-item:hover img,
#liverylist li.livery-list-item:hover img {
height: 240px;
transition: height 0.1s;
}
.livery-searchbar {
width: 100%;
display: flex;
}
.download-fields h7 {
background-color: #729e8f;
display:block;
padding: 4px;
}
.download-fields .mdl-button {
position: initial;
margin: 4px;
display: inline-block;
width: 38%;
}
#customDiv {
width: 100%;
padding: 0;
}