Spaces:
Running
Running
Sebastiankay
commited on
Commit
•
688c7a0
1
Parent(s):
2f6056e
Update _res/_custom.css
Browse files- _res/_custom.css +7 -1
_res/_custom.css
CHANGED
@@ -228,7 +228,7 @@ span.has-info+div {
|
|
228 |
& #switch_width_height_inner {
|
229 |
width: 100px;
|
230 |
height: 100px;
|
231 |
-
transition: transform 0.2s ease-in-out, width 0.3s ease-in-out, height 0.38s ease-in-out 0.1s;
|
232 |
border-radius: 0.4rem;
|
233 |
border: 4px solid var(--text-color-by-luminance);
|
234 |
/*background: transparent;*/
|
@@ -238,26 +238,32 @@ span.has-info+div {
|
|
238 |
[data-aspect-ratio="16-9"] {
|
239 |
width: 90px !important;
|
240 |
height: 51px !important;
|
|
|
241 |
}
|
242 |
[data-aspect-ratio="9-16"] {
|
243 |
width: 51px !important;
|
244 |
height: 90px !important;
|
|
|
245 |
}
|
246 |
[data-aspect-ratio="4-3"] {
|
247 |
width: 90px !important;
|
248 |
height: 60px !important;
|
|
|
249 |
}
|
250 |
[data-aspect-ratio="3-4"] {
|
251 |
width: 60px !important;
|
252 |
height: 90px !important;
|
|
|
253 |
}
|
254 |
[data-aspect-ratio="3-2"] {
|
255 |
width: 90px !important;
|
256 |
height: 67px !important;
|
|
|
257 |
}
|
258 |
[data-aspect-ratio="2-3"] {
|
259 |
width: 67px !important;
|
260 |
height: 90px !important;
|
|
|
261 |
}
|
262 |
[data-aspect-ratio="1-1"] {
|
263 |
width: 70px !important;
|
|
|
228 |
& #switch_width_height_inner {
|
229 |
width: 100px;
|
230 |
height: 100px;
|
231 |
+
transition: transform 0.2s ease-in-out, background-image 0.3 ease-in-out, width 0.3s ease-in-out, height 0.38s ease-in-out 0.1s;
|
232 |
border-radius: 0.4rem;
|
233 |
border: 4px solid var(--text-color-by-luminance);
|
234 |
/*background: transparent;*/
|
|
|
238 |
[data-aspect-ratio="16-9"] {
|
239 |
width: 90px !important;
|
240 |
height: 51px !important;
|
241 |
+
background-image: url("file=_res/assets/ratio_preview_bgs/90x51px_16zu9.png");
|
242 |
}
|
243 |
[data-aspect-ratio="9-16"] {
|
244 |
width: 51px !important;
|
245 |
height: 90px !important;
|
246 |
+
background-image: url("file=_res/assets/ratio_preview_bgs/51x90px_9zu16.png");
|
247 |
}
|
248 |
[data-aspect-ratio="4-3"] {
|
249 |
width: 90px !important;
|
250 |
height: 60px !important;
|
251 |
+
background-image: url("file=_res/assets/ratio_preview_bgs/60x90px_4zu3.png");
|
252 |
}
|
253 |
[data-aspect-ratio="3-4"] {
|
254 |
width: 60px !important;
|
255 |
height: 90px !important;
|
256 |
+
background-image: url("file=_res/assets/ratio_preview_bgs/90x60px_3zu4.png");
|
257 |
}
|
258 |
[data-aspect-ratio="3-2"] {
|
259 |
width: 90px !important;
|
260 |
height: 67px !important;
|
261 |
+
background-image: url("file=_res/assets/ratio_preview_bgs/90x67px_3zu2.png");
|
262 |
}
|
263 |
[data-aspect-ratio="2-3"] {
|
264 |
width: 67px !important;
|
265 |
height: 90px !important;
|
266 |
+
background-image: url("file=_res/assets/ratio_preview_bgs/67x90px_2zu3.png");
|
267 |
}
|
268 |
[data-aspect-ratio="1-1"] {
|
269 |
width: 70px !important;
|