|
| 1 | +@import "../Utils/constants.scss"; |
| 2 | + |
1 | 3 | .extra { |
2 | 4 | width: 100%; |
3 | 5 | height: 100%; |
|
8 | 10 | background-image: linear-gradient(135deg, #93a5cf 0%, #e4efe9 100%);; |
9 | 11 | padding: 2em 2em 2em 2em; |
10 | 12 | box-sizing: border-box; |
| 13 | + justify-items: center; |
11 | 14 | } |
12 | 15 |
|
13 | 16 | .extra_top { |
14 | 17 | padding: 0 0 0 0; |
15 | 18 | display: flex; |
16 | | - height: 10%; |
| 19 | + width: 100%; |
| 20 | + max-width: $defaultScreenWidth; |
17 | 21 | } |
18 | 22 |
|
19 | 23 | .extra_top_icon { |
|
51 | 55 |
|
52 | 56 | .mainContainer { |
53 | 57 | box-sizing: border-box; |
54 | | - padding: 0 2em 0 2em; |
55 | 58 | display: flex; |
56 | | - height: 92%; |
| 59 | + width: 100%; |
57 | 60 | flex-flow: column; |
| 61 | + max-width: $defaultScreenWidth; |
| 62 | + align-items: center; |
58 | 63 | } |
59 | 64 |
|
60 | 65 | .bgmContainer { |
|
63 | 68 | bottom: 30px; |
64 | 69 | position: absolute; |
65 | 70 | overflow: auto; |
66 | | - //width: 100%; |
| 71 | + width: 93%; |
67 | 72 | //height: 70%; |
| 73 | + max-width: $defaultScreenWidth; |
| 74 | + max-height: 70%; |
| 75 | + justify-self: center; |
68 | 76 | box-sizing: border-box; |
69 | 77 | display: flex; |
70 | 78 | flex-flow: column-reverse; |
|
89 | 97 | align-items: flex-start; |
90 | 98 | margin: 0 0 15px 0; |
91 | 99 | flex-wrap: wrap; |
92 | | - overflow: auto; |
| 100 | + overflow-y: auto; |
93 | 101 | } |
94 | 102 |
|
95 | 103 | .bgmPlayerMain { |
|
166 | 174 | width: 100%; |
167 | 175 | display: flex; |
168 | 176 | flex-wrap: wrap; |
169 | | - justify-content: flex-start; |
| 177 | + justify-content: center; |
170 | 178 | align-items: flex-start; |
171 | 179 | align-content: flex-start; |
172 | | - height: 90%; |
| 180 | + // height: 90%; |
173 | 181 | box-sizing: border-box; |
174 | | - padding: 4em 0 0 2em; |
| 182 | + padding: 4em 2em 4em 2em; |
| 183 | + height: 1000px; |
| 184 | + overflow-y: auto; |
175 | 185 | } |
176 | 186 |
|
177 | 187 | .cgElement { |
178 | | - width: 22.5%; |
179 | | - height: 37.5%; |
| 188 | + height: 300px; |
| 189 | + width: auto; |
180 | 190 | background-color: rgba(255, 255, 255, 0.75); |
181 | 191 | box-shadow: 0 0 15px 5px rgba(0, 0, 0, 0.35); |
182 | 192 | box-sizing: border-box; |
183 | 193 | padding: 0.75em 0.75em 0.75em 0.75em; |
184 | 194 | opacity: 0; |
185 | | - margin: 1em 1em 1em 1em; |
| 195 | + margin: 1.5em 1em 1.5em 1em; |
186 | 196 | animation-delay: 100ms; |
187 | 197 | z-index: 1; |
188 | | - position: relative; |
| 198 | + position: initial; |
189 | 199 | cursor: pointer; |
190 | 200 | } |
191 | 201 |
|
| 202 | +.cgImage { |
| 203 | + width: 100%; |
| 204 | + height: 100%; |
| 205 | + object-fit: contain; |
| 206 | +} |
| 207 | + |
192 | 208 | .cgShowDiv { |
193 | | - height: 8%; |
| 209 | + // height: 8%; |
194 | 210 | width: 100%; |
195 | 211 | display: flex; |
196 | 212 | flex-flow: row; |
|
201 | 217 | .cgShowDivWarpper { |
202 | 218 | display: flex; |
203 | 219 | flex-flow: row; |
204 | | - justify-content: center; |
| 220 | + // justify-content: center; |
205 | 221 | align-items: flex-end; |
206 | 222 | //background: rgba(255, 255, 255, 0.35); |
207 | 223 | border-radius: 7px; |
208 | 224 | padding: 12px 15px; |
| 225 | + overflow-x: auto; |
| 226 | + // scrollbar-width: none; |
209 | 227 | } |
210 | 228 |
|
211 | 229 | .cgNav { |
|
247 | 265 | left: 0; |
248 | 266 | width: 100%; |
249 | 267 | height: 100%; |
250 | | - background: rgba(0, 0, 0, 0.1); |
| 268 | + background: rgba(0, 0, 0, 0.5); |
251 | 269 | display: flex; |
252 | 270 | justify-content: center; |
253 | 271 | align-items: center; |
254 | 272 | } |
255 | 273 |
|
256 | 274 | .showFullCgMain { |
257 | 275 | cursor: pointer; |
258 | | - width: 80%; |
259 | | - height: 80%; |
260 | 276 | box-sizing: border-box; |
261 | 277 | padding: 2em 2em 2em 2em; |
262 | 278 | background: rgba(255, 255, 255, 0.95); |
|
0 commit comments