VicCG.Lin 1 anno fa
parent
commit
e50b4210b1

+ 3
- 0
src/fe/mrna/.vscode/settings.json Vedi File

@@ -0,0 +1,3 @@
1
+{
2
+  "liveServer.settings.port": 5501
3
+}

+ 116
- 103
src/fe/mrna/css/all.css Vedi File

@@ -75,7 +75,8 @@ a {
75 75
 abbr[title] {
76 76
   border-bottom: none; /* 1 */
77 77
   text-decoration: underline; /* 2 */
78
-  text-decoration: underline dotted; /* 2 */
78
+  -webkit-text-decoration: underline dotted;
79
+          text-decoration: underline dotted; /* 2 */
79 80
 }
80 81
 
81 82
 /**
@@ -836,11 +837,6 @@ legend + * {
836 837
   padding: 0;
837 838
 }
838 839
 
839
-::-webkit-file-upload-button {
840
-  font: inherit;
841
-  -webkit-appearance: button;
842
-}
843
-
844 840
 ::file-selector-button {
845 841
   font: inherit;
846 842
   -webkit-appearance: button;
@@ -2380,27 +2376,9 @@ progress {
2380 2376
   opacity: 1;
2381 2377
 }
2382 2378
 
2383
-.form-control::-webkit-file-upload-button {
2384
-  padding: 0.375rem 0.75rem;
2385
-  margin: -0.375rem -0.75rem;
2386
-  -webkit-margin-end: 0.75rem;
2387
-  margin-inline-end: 0.75rem;
2388
-  color: var(--bs-body-color);
2389
-  background-color: var(--bs-tertiary-bg);
2390
-  pointer-events: none;
2391
-  border-color: inherit;
2392
-  border-style: solid;
2393
-  border-width: 0;
2394
-  border-inline-end-width: var(--bs-border-width);
2395
-  border-radius: 0;
2396
-  -webkit-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
2397
-  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
2398
-}
2399
-
2400 2379
 .form-control::file-selector-button {
2401 2380
   padding: 0.375rem 0.75rem;
2402 2381
   margin: -0.375rem -0.75rem;
2403
-  -webkit-margin-end: 0.75rem;
2404 2382
   margin-inline-end: 0.75rem;
2405 2383
   color: var(--bs-body-color);
2406 2384
   background-color: var(--bs-tertiary-bg);
@@ -2414,17 +2392,10 @@ progress {
2414 2392
 }
2415 2393
 
2416 2394
 @media (prefers-reduced-motion: reduce) {
2417
-  .form-control::-webkit-file-upload-button {
2418
-    -webkit-transition: none;
2419
-    transition: none;
2420
-  }
2421 2395
   .form-control::file-selector-button {
2422 2396
     transition: none;
2423 2397
   }
2424 2398
 }
2425
-.form-control:hover:not(:disabled):not([readonly])::-webkit-file-upload-button {
2426
-  background-color: var(--bs-secondary-bg);
2427
-}
2428 2399
 
2429 2400
 .form-control:hover:not(:disabled):not([readonly])::file-selector-button {
2430 2401
   background-color: var(--bs-secondary-bg);
@@ -2458,17 +2429,9 @@ progress {
2458 2429
   border-radius: var(--bs-border-radius-sm);
2459 2430
 }
2460 2431
 
2461
-.form-control-sm::-webkit-file-upload-button {
2462
-  padding: 0.25rem 0.5rem;
2463
-  margin: -0.25rem -0.5rem;
2464
-  -webkit-margin-end: 0.5rem;
2465
-  margin-inline-end: 0.5rem;
2466
-}
2467
-
2468 2432
 .form-control-sm::file-selector-button {
2469 2433
   padding: 0.25rem 0.5rem;
2470 2434
   margin: -0.25rem -0.5rem;
2471
-  -webkit-margin-end: 0.5rem;
2472 2435
   margin-inline-end: 0.5rem;
2473 2436
 }
2474 2437
 
@@ -2479,17 +2442,9 @@ progress {
2479 2442
   border-radius: var(--bs-border-radius-lg);
2480 2443
 }
2481 2444
 
2482
-.form-control-lg::-webkit-file-upload-button {
2483
-  padding: 0.5rem 1rem;
2484
-  margin: -0.5rem -1rem;
2485
-  -webkit-margin-end: 1rem;
2486
-  margin-inline-end: 1rem;
2487
-}
2488
-
2489 2445
 .form-control-lg::file-selector-button {
2490 2446
   padding: 0.5rem 1rem;
2491 2447
   margin: -0.5rem -1rem;
2492
-  -webkit-margin-end: 1rem;
2493 2448
   margin-inline-end: 1rem;
2494 2449
 }
2495 2450
 
@@ -2641,7 +2596,6 @@ textarea.form-control-lg {
2641 2596
   background-size: contain;
2642 2597
   border: var(--bs-border-width) solid var(--bs-border-color);
2643 2598
   -webkit-print-color-adjust: exact;
2644
-  color-adjust: exact;
2645 2599
   print-color-adjust: exact;
2646 2600
 }
2647 2601
 
@@ -5762,7 +5716,6 @@ textarea.form-control-lg {
5762 5716
   --bs-toast-zindex:1090;
5763 5717
   position: absolute;
5764 5718
   z-index: var(--bs-toast-zindex);
5765
-  width: -webkit-max-content;
5766 5719
   width: -moz-max-content;
5767 5720
   width: max-content;
5768 5721
   max-width: 100%;
@@ -6391,7 +6344,6 @@ textarea.form-control-lg {
6391 6344
   float: left;
6392 6345
   width: 100%;
6393 6346
   margin-right: -100%;
6394
-  -webkit-backface-visibility: hidden;
6395 6347
   backface-visibility: hidden;
6396 6348
   transition: transform 0.6s ease-in-out;
6397 6349
 }
@@ -7230,109 +7182,91 @@ textarea.form-control-lg {
7230 7182
 
7231 7183
 .link-primary {
7232 7184
   color: RGBA(var(--bs-primary-rgb), var(--bs-link-opacity, 1)) !important;
7233
-  -webkit-text-decoration-color: RGBA(var(--bs-primary-rgb), var(--bs-link-underline-opacity, 1)) !important;
7234 7185
   text-decoration-color: RGBA(var(--bs-primary-rgb), var(--bs-link-underline-opacity, 1)) !important;
7235 7186
 }
7236 7187
 
7237 7188
 .link-primary:focus, .link-primary:hover {
7238 7189
   color: RGBA(10, 88, 202, var(--bs-link-opacity, 1)) !important;
7239
-  -webkit-text-decoration-color: RGBA(10, 88, 202, var(--bs-link-underline-opacity, 1)) !important;
7240 7190
   text-decoration-color: RGBA(10, 88, 202, var(--bs-link-underline-opacity, 1)) !important;
7241 7191
 }
7242 7192
 
7243 7193
 .link-secondary {
7244 7194
   color: RGBA(var(--bs-secondary-rgb), var(--bs-link-opacity, 1)) !important;
7245
-  -webkit-text-decoration-color: RGBA(var(--bs-secondary-rgb), var(--bs-link-underline-opacity, 1)) !important;
7246 7195
   text-decoration-color: RGBA(var(--bs-secondary-rgb), var(--bs-link-underline-opacity, 1)) !important;
7247 7196
 }
7248 7197
 
7249 7198
 .link-secondary:focus, .link-secondary:hover {
7250 7199
   color: RGBA(86, 94, 100, var(--bs-link-opacity, 1)) !important;
7251
-  -webkit-text-decoration-color: RGBA(86, 94, 100, var(--bs-link-underline-opacity, 1)) !important;
7252 7200
   text-decoration-color: RGBA(86, 94, 100, var(--bs-link-underline-opacity, 1)) !important;
7253 7201
 }
7254 7202
 
7255 7203
 .link-success {
7256 7204
   color: RGBA(var(--bs-success-rgb), var(--bs-link-opacity, 1)) !important;
7257
-  -webkit-text-decoration-color: RGBA(var(--bs-success-rgb), var(--bs-link-underline-opacity, 1)) !important;
7258 7205
   text-decoration-color: RGBA(var(--bs-success-rgb), var(--bs-link-underline-opacity, 1)) !important;
7259 7206
 }
7260 7207
 
7261 7208
 .link-success:focus, .link-success:hover {
7262 7209
   color: RGBA(20, 108, 67, var(--bs-link-opacity, 1)) !important;
7263
-  -webkit-text-decoration-color: RGBA(20, 108, 67, var(--bs-link-underline-opacity, 1)) !important;
7264 7210
   text-decoration-color: RGBA(20, 108, 67, var(--bs-link-underline-opacity, 1)) !important;
7265 7211
 }
7266 7212
 
7267 7213
 .link-info {
7268 7214
   color: RGBA(var(--bs-info-rgb), var(--bs-link-opacity, 1)) !important;
7269
-  -webkit-text-decoration-color: RGBA(var(--bs-info-rgb), var(--bs-link-underline-opacity, 1)) !important;
7270 7215
   text-decoration-color: RGBA(var(--bs-info-rgb), var(--bs-link-underline-opacity, 1)) !important;
7271 7216
 }
7272 7217
 
7273 7218
 .link-info:focus, .link-info:hover {
7274 7219
   color: RGBA(61, 213, 243, var(--bs-link-opacity, 1)) !important;
7275
-  -webkit-text-decoration-color: RGBA(61, 213, 243, var(--bs-link-underline-opacity, 1)) !important;
7276 7220
   text-decoration-color: RGBA(61, 213, 243, var(--bs-link-underline-opacity, 1)) !important;
7277 7221
 }
7278 7222
 
7279 7223
 .link-warning {
7280 7224
   color: RGBA(var(--bs-warning-rgb), var(--bs-link-opacity, 1)) !important;
7281
-  -webkit-text-decoration-color: RGBA(var(--bs-warning-rgb), var(--bs-link-underline-opacity, 1)) !important;
7282 7225
   text-decoration-color: RGBA(var(--bs-warning-rgb), var(--bs-link-underline-opacity, 1)) !important;
7283 7226
 }
7284 7227
 
7285 7228
 .link-warning:focus, .link-warning:hover {
7286 7229
   color: RGBA(255, 205, 57, var(--bs-link-opacity, 1)) !important;
7287
-  -webkit-text-decoration-color: RGBA(255, 205, 57, var(--bs-link-underline-opacity, 1)) !important;
7288 7230
   text-decoration-color: RGBA(255, 205, 57, var(--bs-link-underline-opacity, 1)) !important;
7289 7231
 }
7290 7232
 
7291 7233
 .link-danger {
7292 7234
   color: RGBA(var(--bs-danger-rgb), var(--bs-link-opacity, 1)) !important;
7293
-  -webkit-text-decoration-color: RGBA(var(--bs-danger-rgb), var(--bs-link-underline-opacity, 1)) !important;
7294 7235
   text-decoration-color: RGBA(var(--bs-danger-rgb), var(--bs-link-underline-opacity, 1)) !important;
7295 7236
 }
7296 7237
 
7297 7238
 .link-danger:focus, .link-danger:hover {
7298 7239
   color: RGBA(176, 42, 55, var(--bs-link-opacity, 1)) !important;
7299
-  -webkit-text-decoration-color: RGBA(176, 42, 55, var(--bs-link-underline-opacity, 1)) !important;
7300 7240
   text-decoration-color: RGBA(176, 42, 55, var(--bs-link-underline-opacity, 1)) !important;
7301 7241
 }
7302 7242
 
7303 7243
 .link-light {
7304 7244
   color: RGBA(var(--bs-light-rgb), var(--bs-link-opacity, 1)) !important;
7305
-  -webkit-text-decoration-color: RGBA(var(--bs-light-rgb), var(--bs-link-underline-opacity, 1)) !important;
7306 7245
   text-decoration-color: RGBA(var(--bs-light-rgb), var(--bs-link-underline-opacity, 1)) !important;
7307 7246
 }
7308 7247
 
7309 7248
 .link-light:focus, .link-light:hover {
7310 7249
   color: RGBA(249, 250, 251, var(--bs-link-opacity, 1)) !important;
7311
-  -webkit-text-decoration-color: RGBA(249, 250, 251, var(--bs-link-underline-opacity, 1)) !important;
7312 7250
   text-decoration-color: RGBA(249, 250, 251, var(--bs-link-underline-opacity, 1)) !important;
7313 7251
 }
7314 7252
 
7315 7253
 .link-dark {
7316 7254
   color: RGBA(var(--bs-dark-rgb), var(--bs-link-opacity, 1)) !important;
7317
-  -webkit-text-decoration-color: RGBA(var(--bs-dark-rgb), var(--bs-link-underline-opacity, 1)) !important;
7318 7255
   text-decoration-color: RGBA(var(--bs-dark-rgb), var(--bs-link-underline-opacity, 1)) !important;
7319 7256
 }
7320 7257
 
7321 7258
 .link-dark:focus, .link-dark:hover {
7322 7259
   color: RGBA(26, 30, 33, var(--bs-link-opacity, 1)) !important;
7323
-  -webkit-text-decoration-color: RGBA(26, 30, 33, var(--bs-link-underline-opacity, 1)) !important;
7324 7260
   text-decoration-color: RGBA(26, 30, 33, var(--bs-link-underline-opacity, 1)) !important;
7325 7261
 }
7326 7262
 
7327 7263
 .link-body-emphasis {
7328 7264
   color: RGBA(var(--bs-emphasis-color-rgb), var(--bs-link-opacity, 1)) !important;
7329
-  -webkit-text-decoration-color: RGBA(var(--bs-emphasis-color-rgb), var(--bs-link-underline-opacity, 1)) !important;
7330 7265
   text-decoration-color: RGBA(var(--bs-emphasis-color-rgb), var(--bs-link-underline-opacity, 1)) !important;
7331 7266
 }
7332 7267
 
7333 7268
 .link-body-emphasis:focus, .link-body-emphasis:hover {
7334 7269
   color: RGBA(var(--bs-emphasis-color-rgb), var(--bs-link-opacity, 0.75)) !important;
7335
-  -webkit-text-decoration-color: RGBA(var(--bs-emphasis-color-rgb), var(--bs-link-underline-opacity, 0.75)) !important;
7336 7270
   text-decoration-color: RGBA(var(--bs-emphasis-color-rgb), var(--bs-link-underline-opacity, 0.75)) !important;
7337 7271
 }
7338 7272
 
@@ -7345,10 +7279,8 @@ textarea.form-control-lg {
7345 7279
   display: inline-flex;
7346 7280
   gap: 0.375rem;
7347 7281
   align-items: center;
7348
-  -webkit-text-decoration-color: rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 0.5));
7349 7282
   text-decoration-color: rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 0.5));
7350 7283
   text-underline-offset: 0.25em;
7351
-  -webkit-backface-visibility: hidden;
7352 7284
   backface-visibility: hidden;
7353 7285
 }
7354 7286
 
@@ -7421,14 +7353,12 @@ textarea.form-control-lg {
7421 7353
 }
7422 7354
 
7423 7355
 .sticky-top {
7424
-  position: -webkit-sticky;
7425 7356
   position: sticky;
7426 7357
   top: 0;
7427 7358
   z-index: 1020;
7428 7359
 }
7429 7360
 
7430 7361
 .sticky-bottom {
7431
-  position: -webkit-sticky;
7432 7362
   position: sticky;
7433 7363
   bottom: 0;
7434 7364
   z-index: 1020;
@@ -7436,13 +7366,11 @@ textarea.form-control-lg {
7436 7366
 
7437 7367
 @media (min-width: 576px) {
7438 7368
   .sticky-sm-top {
7439
-    position: -webkit-sticky;
7440 7369
     position: sticky;
7441 7370
     top: 0;
7442 7371
     z-index: 1020;
7443 7372
   }
7444 7373
   .sticky-sm-bottom {
7445
-    position: -webkit-sticky;
7446 7374
     position: sticky;
7447 7375
     bottom: 0;
7448 7376
     z-index: 1020;
@@ -7450,13 +7378,11 @@ textarea.form-control-lg {
7450 7378
 }
7451 7379
 @media (min-width: 768px) {
7452 7380
   .sticky-md-top {
7453
-    position: -webkit-sticky;
7454 7381
     position: sticky;
7455 7382
     top: 0;
7456 7383
     z-index: 1020;
7457 7384
   }
7458 7385
   .sticky-md-bottom {
7459
-    position: -webkit-sticky;
7460 7386
     position: sticky;
7461 7387
     bottom: 0;
7462 7388
     z-index: 1020;
@@ -7464,13 +7390,11 @@ textarea.form-control-lg {
7464 7390
 }
7465 7391
 @media (min-width: 992px) {
7466 7392
   .sticky-lg-top {
7467
-    position: -webkit-sticky;
7468 7393
     position: sticky;
7469 7394
     top: 0;
7470 7395
     z-index: 1020;
7471 7396
   }
7472 7397
   .sticky-lg-bottom {
7473
-    position: -webkit-sticky;
7474 7398
     position: sticky;
7475 7399
     bottom: 0;
7476 7400
     z-index: 1020;
@@ -7478,13 +7402,11 @@ textarea.form-control-lg {
7478 7402
 }
7479 7403
 @media (min-width: 1200px) {
7480 7404
   .sticky-xl-top {
7481
-    position: -webkit-sticky;
7482 7405
     position: sticky;
7483 7406
     top: 0;
7484 7407
     z-index: 1020;
7485 7408
   }
7486 7409
   .sticky-xl-bottom {
7487
-    position: -webkit-sticky;
7488 7410
     position: sticky;
7489 7411
     bottom: 0;
7490 7412
     z-index: 1020;
@@ -7492,13 +7414,11 @@ textarea.form-control-lg {
7492 7414
 }
7493 7415
 @media (min-width: 1400px) {
7494 7416
   .sticky-xxl-top {
7495
-    position: -webkit-sticky;
7496 7417
     position: sticky;
7497 7418
     top: 0;
7498 7419
     z-index: 1020;
7499 7420
   }
7500 7421
   .sticky-xxl-bottom {
7501
-    position: -webkit-sticky;
7502 7422
     position: sticky;
7503 7423
     bottom: 0;
7504 7424
     z-index: 1020;
@@ -7796,7 +7716,6 @@ textarea.form-control-lg {
7796 7716
 }
7797 7717
 
7798 7718
 .position-sticky {
7799
-  position: -webkit-sticky !important;
7800 7719
   position: sticky !important;
7801 7720
 }
7802 7721
 
@@ -9059,55 +8978,46 @@ textarea.form-control-lg {
9059 8978
 
9060 8979
 .link-underline-primary {
9061 8980
   --bs-link-underline-opacity:1;
9062
-  -webkit-text-decoration-color: rgba(var(--bs-primary-rgb), var(--bs-link-underline-opacity)) !important;
9063 8981
   text-decoration-color: rgba(var(--bs-primary-rgb), var(--bs-link-underline-opacity)) !important;
9064 8982
 }
9065 8983
 
9066 8984
 .link-underline-secondary {
9067 8985
   --bs-link-underline-opacity:1;
9068
-  -webkit-text-decoration-color: rgba(var(--bs-secondary-rgb), var(--bs-link-underline-opacity)) !important;
9069 8986
   text-decoration-color: rgba(var(--bs-secondary-rgb), var(--bs-link-underline-opacity)) !important;
9070 8987
 }
9071 8988
 
9072 8989
 .link-underline-success {
9073 8990
   --bs-link-underline-opacity:1;
9074
-  -webkit-text-decoration-color: rgba(var(--bs-success-rgb), var(--bs-link-underline-opacity)) !important;
9075 8991
   text-decoration-color: rgba(var(--bs-success-rgb), var(--bs-link-underline-opacity)) !important;
9076 8992
 }
9077 8993
 
9078 8994
 .link-underline-info {
9079 8995
   --bs-link-underline-opacity:1;
9080
-  -webkit-text-decoration-color: rgba(var(--bs-info-rgb), var(--bs-link-underline-opacity)) !important;
9081 8996
   text-decoration-color: rgba(var(--bs-info-rgb), var(--bs-link-underline-opacity)) !important;
9082 8997
 }
9083 8998
 
9084 8999
 .link-underline-warning {
9085 9000
   --bs-link-underline-opacity:1;
9086
-  -webkit-text-decoration-color: rgba(var(--bs-warning-rgb), var(--bs-link-underline-opacity)) !important;
9087 9001
   text-decoration-color: rgba(var(--bs-warning-rgb), var(--bs-link-underline-opacity)) !important;
9088 9002
 }
9089 9003
 
9090 9004
 .link-underline-danger {
9091 9005
   --bs-link-underline-opacity:1;
9092
-  -webkit-text-decoration-color: rgba(var(--bs-danger-rgb), var(--bs-link-underline-opacity)) !important;
9093 9006
   text-decoration-color: rgba(var(--bs-danger-rgb), var(--bs-link-underline-opacity)) !important;
9094 9007
 }
9095 9008
 
9096 9009
 .link-underline-light {
9097 9010
   --bs-link-underline-opacity:1;
9098
-  -webkit-text-decoration-color: rgba(var(--bs-light-rgb), var(--bs-link-underline-opacity)) !important;
9099 9011
   text-decoration-color: rgba(var(--bs-light-rgb), var(--bs-link-underline-opacity)) !important;
9100 9012
 }
9101 9013
 
9102 9014
 .link-underline-dark {
9103 9015
   --bs-link-underline-opacity:1;
9104
-  -webkit-text-decoration-color: rgba(var(--bs-dark-rgb), var(--bs-link-underline-opacity)) !important;
9105 9016
   text-decoration-color: rgba(var(--bs-dark-rgb), var(--bs-link-underline-opacity)) !important;
9106 9017
 }
9107 9018
 
9108 9019
 .link-underline {
9109 9020
   --bs-link-underline-opacity:1;
9110
-  -webkit-text-decoration-color: rgba(var(--bs-link-color-rgb), var(--bs-link-underline-opacity, 1)) !important;
9111 9021
   text-decoration-color: rgba(var(--bs-link-color-rgb), var(--bs-link-underline-opacity, 1)) !important;
9112 9022
 }
9113 9023
 
@@ -12834,7 +12744,8 @@ button.swiper-pagination-bullet {
12834 12744
 .swiper-zoom-container > canvas, .swiper-zoom-container > img, .swiper-zoom-container > svg {
12835 12745
   max-width: 100%;
12836 12746
   max-height: 100%;
12837
-  object-fit: contain;
12747
+  -o-object-fit: contain;
12748
+     object-fit: contain;
12838 12749
 }
12839 12750
 
12840 12751
 .swiper-slide-zoomed {
@@ -12903,7 +12814,6 @@ button.swiper-pagination-bullet {
12903 12814
 
12904 12815
 .swiper-container-cube .swiper-slide {
12905 12816
   pointer-events: none;
12906
-  -webkit-backface-visibility: hidden;
12907 12817
   backface-visibility: hidden;
12908 12818
   z-index: 1;
12909 12819
   visibility: hidden;
@@ -12931,7 +12841,6 @@ button.swiper-pagination-bullet {
12931 12841
 
12932 12842
 .swiper-container-cube .swiper-slide-shadow-bottom, .swiper-container-cube .swiper-slide-shadow-left, .swiper-container-cube .swiper-slide-shadow-right, .swiper-container-cube .swiper-slide-shadow-top {
12933 12843
   z-index: 0;
12934
-  -webkit-backface-visibility: hidden;
12935 12844
   backface-visibility: hidden;
12936 12845
 }
12937 12846
 
@@ -12943,7 +12852,6 @@ button.swiper-pagination-bullet {
12943 12852
   height: 100%;
12944 12853
   background: #000;
12945 12854
   opacity: 0.6;
12946
-  -webkit-filter: blur(50px);
12947 12855
   filter: blur(50px);
12948 12856
   z-index: 0;
12949 12857
 }
@@ -12954,7 +12862,6 @@ button.swiper-pagination-bullet {
12954 12862
 
12955 12863
 .swiper-container-flip .swiper-slide {
12956 12864
   pointer-events: none;
12957
-  -webkit-backface-visibility: hidden;
12958 12865
   backface-visibility: hidden;
12959 12866
   z-index: 1;
12960 12867
 }
@@ -12969,7 +12876,6 @@ button.swiper-pagination-bullet {
12969 12876
 
12970 12877
 .swiper-container-flip .swiper-slide-shadow-bottom, .swiper-container-flip .swiper-slide-shadow-left, .swiper-container-flip .swiper-slide-shadow-right, .swiper-container-flip .swiper-slide-shadow-top {
12971 12878
   z-index: 0;
12972
-  -webkit-backface-visibility: hidden;
12973 12879
   backface-visibility: hidden;
12974 12880
 }
12975 12881
 
@@ -14073,7 +13979,8 @@ p {
14073 13979
 .video__frame {
14074 13980
   width: 101%;
14075 13981
   height: 101%;
14076
-  backdrop-filter: blur(0.2em);
13982
+  -webkit-backdrop-filter: blur(0.2em);
13983
+          backdrop-filter: blur(0.2em);
14077 13984
   background-color: rgba(255, 255, 255, 0.7);
14078 13985
 }
14079 13986
 .video__icon {
@@ -14211,10 +14118,6 @@ p {
14211 14118
   border-color: transparent rgba(255, 255, 255, 0.5) transparent rgba(255, 255, 255, 0.5);
14212 14119
   animation: rotate-loading 1.5s linear 0s infinite normal;
14213 14120
   transform-origin: 50% 50%;
14214
-  -webkit-transition: all 0.5s ease-in-out;
14215
-  -moz-transition: all 0.5s ease-in-out;
14216
-  -ms-transition: all 0.5s ease-in-out;
14217
-  -o-transition: all 0.5s ease-in-out;
14218 14121
   transition: all 0.5s ease-in-out;
14219 14122
 }
14220 14123
 .loading__text {
@@ -14269,6 +14172,115 @@ p {
14269 14172
   }
14270 14173
 }
14271 14174
 
14175
+@keyframes mypulse {
14176
+  0% {
14177
+    box-shadow: 0 0 0 0 #0699d2;
14178
+  }
14179
+}
14180
+.popup {
14181
+  position: fixed;
14182
+  top: 0;
14183
+  left: 0;
14184
+  width: 100%;
14185
+  height: 100%;
14186
+  display: flex;
14187
+  justify-content: center;
14188
+  align-items: center;
14189
+  z-index: 9000;
14190
+}
14191
+.popup__baclground {
14192
+  position: absolute;
14193
+  top: 0;
14194
+  left: 0;
14195
+  width: 100%;
14196
+  height: 100%;
14197
+  background-color: rgba(255, 255, 255, 0.5);
14198
+  filter: blur(0.3125em);
14199
+}
14200
+.popup__body {
14201
+  position: relative;
14202
+  width: 47.5em;
14203
+  padding: 4.375em 1.875em 1.875em 1.875em;
14204
+  background: white;
14205
+  box-shadow: 0.625em 0.625em 0 rgba(0, 0, 0, 0.3);
14206
+}
14207
+@media screen and (max-width: 992px) {
14208
+  .popup__body {
14209
+    width: 50em;
14210
+  }
14211
+}
14212
+.popup .ic-cross {
14213
+  display: block;
14214
+  position: absolute;
14215
+  top: 1.25em;
14216
+  right: 1.25em;
14217
+  width: 2em;
14218
+  height: 2em;
14219
+}
14220
+.popup .ic-cross img {
14221
+  width: 100%;
14222
+  height: 100%;
14223
+  -o-object-fit: contain;
14224
+     object-fit: contain;
14225
+  -o-object-position: center;
14226
+     object-position: center;
14227
+}
14228
+.popup .text-title {
14229
+  color: #0070a0;
14230
+  text-align: center;
14231
+  font-size: 2em;
14232
+  font-weight: 500;
14233
+  line-height: 1.5;
14234
+}
14235
+.popup .text {
14236
+  color: #0699d2;
14237
+  font-size: 1.5em;
14238
+  font-weight: 300;
14239
+  text-align: center;
14240
+  line-height: 1.5;
14241
+  letter-spacing: 0.2em;
14242
+  margin-top: 1.25em;
14243
+}
14244
+@media screen and (max-width: 992px) {
14245
+  .popup .text {
14246
+    font-size: 1.8em;
14247
+  }
14248
+}
14249
+.popup .button-group {
14250
+  display: flex;
14251
+  justify-content: center;
14252
+  align-items: center;
14253
+  width: 42.5em;
14254
+  margin-left: auto;
14255
+  margin-right: auto;
14256
+  margin-top: 3.75em;
14257
+}
14258
+.popup .button-primary {
14259
+  display: inline-block;
14260
+  border-radius: 1.5em;
14261
+  padding: 0.6em 1em;
14262
+  box-shadow: 0 0 0 1em transparent;
14263
+  background-color: #0699d2;
14264
+  cursor: pointer;
14265
+  text-decoration: none;
14266
+  margin-left: 0.625em;
14267
+  margin-right: 0.625em;
14268
+}
14269
+.popup .button-primary:hover {
14270
+  animation: mypulse 1.5s infinite;
14271
+}
14272
+.popup .button-primary p {
14273
+  text-align: center;
14274
+  font-size: 1.2em;
14275
+  font-weight: 400;
14276
+  color: #ffffff;
14277
+}
14278
+@media screen and (max-width: 992px) {
14279
+  .popup .button-primary p {
14280
+    font-size: 1.6em;
14281
+  }
14282
+}
14283
+
14272 14284
 .expert {
14273 14285
   position: relative;
14274 14286
 }
@@ -14648,6 +14660,7 @@ p {
14648 14660
   align-items: stretch;
14649 14661
 }
14650 14662
 .history__timeline .swiper-slide {
14663
+  width: -moz-fit-content;
14651 14664
   width: fit-content;
14652 14665
 }
14653 14666
 .history__timeline .swiper-slide:first-child .history__timeline__item {

+ 1
- 1
src/fe/mrna/css/all.css.map
File diff suppressed because it is too large
Vedi File


+ 1
- 0
src/fe/mrna/css/all.scss Vedi File

@@ -25,6 +25,7 @@
25 25
 @import "component/video";
26 26
 @import "component/swiper";
27 27
 @import "component/loading";
28
+@import "component/popup";
28 29
 
29 30
 // 區塊section
30 31
 @import "section/expert";

+ 112
- 0
src/fe/mrna/css/component/_popup.scss Vedi File

@@ -0,0 +1,112 @@
1
+@keyframes mypulse {
2
+  0% {
3
+    box-shadow: 0 0 0 0 #0699d2;
4
+  }
5
+}
6
+
7
+.popup {
8
+  position: fixed;
9
+  top: 0;
10
+  left: 0;
11
+  width: 100%;
12
+  height: 100%;
13
+  display: flex;
14
+  justify-content: center;
15
+  align-items: center;
16
+  z-index: 9000;
17
+
18
+  &__baclground {
19
+    position: absolute;
20
+    top: 0;
21
+    left: 0;
22
+    width: 100%;
23
+    height: 100%;
24
+    background-color: rgba(255,255,255,0.5);
25
+    filter: blur(em(5));
26
+  }
27
+  
28
+  &__body {
29
+    position: relative;
30
+    width: em(760);
31
+    padding: em(70) em(30) em(30) em(30);
32
+    background: white;
33
+    box-shadow: em(10) em(10) 0 rgba(0,0,0,0.3);
34
+    @media screen and (max-width: 992px) {
35
+      width: em(800);
36
+    }
37
+  }
38
+
39
+  .ic-cross {
40
+    display: block;
41
+    position: absolute;
42
+    top: em(20);
43
+    right: em(20);
44
+    width: em(32);
45
+    height: em(32);
46
+
47
+    img {
48
+      width: 100%;
49
+      height: 100%;
50
+      object-fit: contain;
51
+      object-position: center;
52
+    }
53
+  }
54
+  
55
+  .text-title {
56
+    color: #0070a0;
57
+    text-align: center;
58
+    font-size: 2em;
59
+    font-weight: 500;
60
+    line-height: 1.5;
61
+  }
62
+
63
+  .text {
64
+    color: #0699d2;
65
+    font-size: 1.5em;
66
+    font-weight: 300;
67
+    text-align: center;
68
+    line-height: 1.5;
69
+    letter-spacing: 0.2em;
70
+    margin-top: em(20);
71
+    @media screen and (max-width: 992px) {
72
+      font-size: 1.8em;
73
+    }
74
+  }
75
+
76
+  .button-group {
77
+    display: flex;
78
+    justify-content: center;
79
+    align-items: center;
80
+    width: em(680);
81
+    margin-left: auto;
82
+    margin-right: auto;
83
+    margin-top: em(60);
84
+  }
85
+
86
+  .button-primary {
87
+    display: inline-block;
88
+    border-radius: 1.5em;
89
+    padding: 0.6em 1em;
90
+    box-shadow: 0 0 0 1em transparent;
91
+    background-color: #0699d2;
92
+    cursor: pointer;
93
+    text-decoration: none;
94
+    margin-left: em(10);
95
+    margin-right: em(10);
96
+
97
+    &:hover {
98
+      animation: mypulse 1.5s infinite;
99
+    }
100
+
101
+    p {
102
+      text-align: center;
103
+      font-size: 1.2em;
104
+      font-weight: 400;
105
+      color: #ffffff;
106
+      @media screen and (max-width: 992px) {
107
+        font-size: 1.6em;
108
+      }
109
+    }
110
+  }
111
+
112
+}

BIN
src/fe/mrna/images/rearch-popup/cross-gray.png Vedi File


+ 21
- 0
src/fe/mrna/index.html Vedi File

@@ -652,6 +652,26 @@
652 652
         <p>TW-COV-2300085, Oct 2023</p>
653 653
       </div> -->
654 654
     </footer>
655
+
656
+    <div class="popup popup-alert">
657
+      <div class="popup__baclground"></div>
658
+      <div class="popup__body">
659
+        <h2 class="text-title">疫苗接種是幫助控制 COVID-19 的一種關鍵方法</h2>
660
+        <p class="text">即刻了解並查詢接種院所資訊</p>
661
+        <div class="button-group">
662
+          <a class="button-primary" href="https://pse.is/5gsrfp" target="_blank">
663
+            <p>搜尋醫療院所</p>
664
+          </a>
665
+          <a class="button-primary" href="https://pse.is/5gsrrx" target="_blank">
666
+            <p>疫苗隨到隨打</p>
667
+          </a>
668
+        </div>
669
+        <i class="ic-cross">
670
+          <img src="./images/rearch-popup/cross-gray.png" alt="cross" />
671
+        </i>
672
+      </div>
673
+    </div>
674
+
655 675
   </div>
656 676
 
657 677
   <div class="modal modal-research modal-proud fade" id="proudModal" tabindex="-1" aria-labelledby="proudModalLabel"
@@ -1191,6 +1211,7 @@
1191 1211
   <script src="js/ga.js"></script>
1192 1212
   <script type="module" src="js/ViewModel.js"></script>
1193 1213
   <script src="js/main.js"></script>
1214
+  <script src="js/popup.js"></script>
1194 1215
 
1195 1216
   <!-- <script src="./lib/vconsole.min.js"></script>
1196 1217
 

+ 7
- 0
src/fe/mrna/js/popup.js Vedi File

@@ -0,0 +1,7 @@
1
+((window, document) => {
2
+  const el = document.querySelector('.popup-alert');
3
+  const cross = document.querySelector('.popup-alert .ic-cross');
4
+  cross.addEventListener('click', () => {
5
+    el.remove();
6
+  });
7
+})(window, document);