Spaces:
Running
Running
Update style/style_template.css
Browse files- style/style_template.css +8 -11
style/style_template.css
CHANGED
@@ -1,15 +1,11 @@
|
|
|
|
|
|
1 |
/* Widget container styling */
|
2 |
.ply-widget-container {
|
3 |
position: relative;
|
4 |
width: 100%;
|
5 |
height: 0;
|
6 |
-
padding-bottom
|
7 |
-
}
|
8 |
-
|
9 |
-
.ply-widget-container:fullscreen,
|
10 |
-
:-webkit-full-screen .ply-widget-container {
|
11 |
-
height: 100vh;
|
12 |
-
padding-bottom: 0;
|
13 |
}
|
14 |
|
15 |
/* When in fake fullscreen mode (iOS fallback) */
|
@@ -35,6 +31,7 @@
|
|
35 |
overflow: hidden;
|
36 |
cursor: pointer;
|
37 |
}
|
|
|
38 |
.gif-preview-container img {
|
39 |
width: 100%;
|
40 |
height: 100%;
|
@@ -56,14 +53,14 @@
|
|
56 |
box-sizing: border-box;
|
57 |
}
|
58 |
|
59 |
-
/* Canvas fills the viewer container
|
60 |
.ply-canvas {
|
61 |
width: 100%;
|
62 |
height: 100%;
|
63 |
display: block;
|
64 |
}
|
65 |
|
66 |
-
/* Progress dialog styling (
|
67 |
.progress-dialog {
|
68 |
position: absolute;
|
69 |
top: 50%;
|
@@ -108,7 +105,7 @@
|
|
108 |
justify-content: center;
|
109 |
}
|
110 |
|
111 |
-
/*
|
112 |
.close-btn {
|
113 |
top: 17px;
|
114 |
left: 15px;
|
@@ -134,7 +131,7 @@
|
|
134 |
padding: 0;
|
135 |
}
|
136 |
|
137 |
-
/* Adjust the reset icon position
|
138 |
.reset-icon {
|
139 |
display: inline-block;
|
140 |
transform: translateY(-3px);
|
|
|
1 |
+
/* viewer.css */
|
2 |
+
|
3 |
/* Widget container styling */
|
4 |
.ply-widget-container {
|
5 |
position: relative;
|
6 |
width: 100%;
|
7 |
height: 0;
|
8 |
+
/* padding-bottom is set dynamically inline for aspect ratio */
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
}
|
10 |
|
11 |
/* When in fake fullscreen mode (iOS fallback) */
|
|
|
31 |
overflow: hidden;
|
32 |
cursor: pointer;
|
33 |
}
|
34 |
+
|
35 |
.gif-preview-container img {
|
36 |
width: 100%;
|
37 |
height: 100%;
|
|
|
53 |
box-sizing: border-box;
|
54 |
}
|
55 |
|
56 |
+
/* Canvas fills the viewer container */
|
57 |
.ply-canvas {
|
58 |
width: 100%;
|
59 |
height: 100%;
|
60 |
display: block;
|
61 |
}
|
62 |
|
63 |
+
/* Progress dialog styling (centered) */
|
64 |
.progress-dialog {
|
65 |
position: absolute;
|
66 |
top: 50%;
|
|
|
105 |
justify-content: center;
|
106 |
}
|
107 |
|
108 |
+
/* Specific button positions */
|
109 |
.close-btn {
|
110 |
top: 17px;
|
111 |
left: 15px;
|
|
|
131 |
padding: 0;
|
132 |
}
|
133 |
|
134 |
+
/* Adjust the reset icon position */
|
135 |
.reset-icon {
|
136 |
display: inline-block;
|
137 |
transform: translateY(-3px);
|