bilca commited on
Commit
9c6c6bc
·
verified ·
1 Parent(s): 18aa50e

Update style/style_template.css

Browse files
Files changed (1) hide show
  1. style/style_template.css +61 -6
style/style_template.css CHANGED
@@ -6,6 +6,7 @@
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) */
@@ -17,6 +18,7 @@
17
  height: 100vh !important;
18
  padding-bottom: 0 !important;
19
  z-index: 9999 !important;
 
20
  }
21
 
22
  /* GIF Preview styling */
@@ -30,6 +32,7 @@
30
  border-radius: 10px;
31
  overflow: hidden;
32
  cursor: pointer;
 
33
  }
34
 
35
  .gif-preview-container img {
@@ -46,7 +49,7 @@
46
  left: 0;
47
  width: 100%;
48
  height: 100%;
49
- background: #FEFEFD;
50
  border: 1px solid #474558;
51
  border-radius: 10px;
52
  overflow: hidden;
@@ -58,6 +61,7 @@
58
  width: 100%;
59
  height: 100%;
60
  display: block;
 
61
  }
62
 
63
  /* Progress dialog styling (centered) */
@@ -67,11 +71,37 @@
67
  left: 50%;
68
  transform: translate(-50%, -50%);
69
  border: none;
70
- background: rgba(255,255,255,0.9);
71
  padding: 20px;
72
  border-radius: 5px;
73
  z-index: 1000;
74
  display: none;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
75
  }
76
 
77
  /* Menu (instructions) content styling */
@@ -80,13 +110,13 @@
80
  position: absolute;
81
  top: 70px;
82
  right: 15px;
83
- background: #FFFEF4;
84
  border: 1px solid #474558;
85
  border-radius: 5px;
86
  padding: 10px;
87
  font-size: 15px;
88
  line-height: 1.4;
89
- color: #474558;
90
  }
91
 
92
  /* Button styling */
@@ -94,15 +124,20 @@
94
  position: absolute;
95
  width: 45px;
96
  height: 45px;
97
- background-color: #FFFEF4;
98
  border: 1px solid #474558;
99
  border-radius: 50%;
100
  cursor: pointer;
101
  font-size: 14px;
102
- color: #474558;
103
  display: flex;
104
  align-items: center;
105
  justify-content: center;
 
 
 
 
 
106
  }
107
 
108
  /* Specific button positions */
@@ -168,3 +203,23 @@
168
  top: 11px;
169
  right: 82px; /* 123px * approx 0.67 */
170
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  width: 100%;
7
  height: 0;
8
  /* padding-bottom is set dynamically inline for aspect ratio */
9
+ background-color: black; /* Background color set to black for PlayCanvas compatibility */
10
  }
11
 
12
  /* When in fake fullscreen mode (iOS fallback) */
 
18
  height: 100vh !important;
19
  padding-bottom: 0 !important;
20
  z-index: 9999 !important;
21
+ background-color: black;
22
  }
23
 
24
  /* GIF Preview styling */
 
32
  border-radius: 10px;
33
  overflow: hidden;
34
  cursor: pointer;
35
+ background-color: black;
36
  }
37
 
38
  .gif-preview-container img {
 
49
  left: 0;
50
  width: 100%;
51
  height: 100%;
52
+ background: black; /* Changed to black for PlayCanvas */
53
  border: 1px solid #474558;
54
  border-radius: 10px;
55
  overflow: hidden;
 
61
  width: 100%;
62
  height: 100%;
63
  display: block;
64
+ background-color: transparent; /* Transparent background for PlayCanvas rendering */
65
  }
66
 
67
  /* Progress dialog styling (centered) */
 
71
  left: 50%;
72
  transform: translate(-50%, -50%);
73
  border: none;
74
+ background: rgba(0,0,0,0.7); /* Darker background to match the black theme */
75
  padding: 20px;
76
  border-radius: 5px;
77
  z-index: 1000;
78
  display: none;
79
+ color: white;
80
+ }
81
+
82
+ /* Progress bar styling */
83
+ progress {
84
+ width: 250px;
85
+ height: 15px;
86
+ appearance: none;
87
+ border: none;
88
+ border-radius: 10px;
89
+ overflow: hidden;
90
+ }
91
+
92
+ progress::-webkit-progress-bar {
93
+ background-color: #333;
94
+ border-radius: 10px;
95
+ }
96
+
97
+ progress::-webkit-progress-value {
98
+ background-color: #4682B4;
99
+ border-radius: 10px;
100
+ }
101
+
102
+ progress::-moz-progress-bar {
103
+ background-color: #4682B4;
104
+ border-radius: 10px;
105
  }
106
 
107
  /* Menu (instructions) content styling */
 
110
  position: absolute;
111
  top: 70px;
112
  right: 15px;
113
+ background: rgba(0, 0, 0, 0.8);
114
  border: 1px solid #474558;
115
  border-radius: 5px;
116
  padding: 10px;
117
  font-size: 15px;
118
  line-height: 1.4;
119
+ color: white;
120
  }
121
 
122
  /* Button styling */
 
124
  position: absolute;
125
  width: 45px;
126
  height: 45px;
127
+ background-color: rgba(0, 0, 0, 0.6);
128
  border: 1px solid #474558;
129
  border-radius: 50%;
130
  cursor: pointer;
131
  font-size: 14px;
132
+ color: white;
133
  display: flex;
134
  align-items: center;
135
  justify-content: center;
136
+ transition: background-color 0.2s ease;
137
+ }
138
+
139
+ .widget-button:hover {
140
+ background-color: rgba(70, 130, 180, 0.5);
141
  }
142
 
143
  /* Specific button positions */
 
203
  top: 11px;
204
  right: 82px; /* 123px * approx 0.67 */
205
  }
206
+
207
+ /* Additional styles for PlayCanvas compatibility */
208
+ #application-canvas {
209
+ width: 100%;
210
+ height: 100%;
211
+ display: block;
212
+ }
213
+
214
+ html, body {
215
+ margin: 0;
216
+ padding: 0;
217
+ height: 100%;
218
+ overflow: hidden;
219
+ }
220
+
221
+ /* Error message styling */
222
+ .progress-dialog p {
223
+ margin: 0;
224
+ padding: 5px;
225
+ }