nice-elements 1.13.5 → 1.13.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/style.css CHANGED
@@ -9484,7 +9484,8 @@ h, .nice-highlight {
9484
9484
  opacity: 1;
9485
9485
  }
9486
9486
 
9487
- .nice-upload .input-area img, .nice-upload .input-area video {
9487
+ .nice-upload .input-area img,
9488
+ .nice-upload .input-area video {
9488
9489
  position: absolute;
9489
9490
  top: 0;
9490
9491
  left: 0;
@@ -9493,6 +9494,52 @@ h, .nice-highlight {
9493
9494
  object-fit: contain;
9494
9495
  }
9495
9496
 
9497
+ .nice-upload .nice-upload-loading {
9498
+ position: absolute;
9499
+ top: 0;
9500
+ left: 0;
9501
+ width: 100%;
9502
+ height: 100%;
9503
+ }
9504
+
9505
+ .nice-upload .nice-upload-progress {
9506
+ position: absolute;
9507
+ top: 0;
9508
+ left: 0;
9509
+ width: 100%;
9510
+ height: 100%;
9511
+ display: flex;
9512
+ flex-direction: column;
9513
+ align-items: center;
9514
+ justify-content: center;
9515
+ gap: 0.5rem;
9516
+ padding: 0 1rem;
9517
+ }
9518
+
9519
+ .nice-upload .nice-upload-progress .nice-loader svg {
9520
+ height: 30px;
9521
+ width: 30px;
9522
+ }
9523
+
9524
+ .nice-upload .nice-upload-progress .nice-upload-progress-bar {
9525
+ border-radius: var(--nice-border-radius);
9526
+ overflow: hidden;
9527
+ max-width: 200px;
9528
+ width: 100%;
9529
+ height: 6px;
9530
+ background: var(--nice-primary-color-plain);
9531
+ }
9532
+
9533
+ .nice-upload .nice-upload-progress .nice-upload-progress-bar-fill {
9534
+ height: 100%;
9535
+ background: var(--nice-primary-color);
9536
+ transition: width 0.2s ease;
9537
+ }
9538
+
9539
+ .nice-upload .nice-upload-progress .nice-upload-progress-text {
9540
+ font-size: 0.8em;
9541
+ }
9542
+
9496
9543
  .nice-help {
9497
9544
  position: relative;
9498
9545
  display: inline-block;