nice-elements 1.10.8 → 1.10.10
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/CHANGELOG.md +10 -0
- package/README.md +1 -1
- package/bower.json +1 -1
- package/dist/nice.js +41 -34
- package/dist/nice.min.js +1 -1
- package/dist/style.css +38 -45
- package/dist/style.css.map +1 -1
- package/dist/style.min.css +1 -1
- package/package.json +6 -6
- package/src/components/nice-date/nice-date.html +12 -8
- package/src/components/nice-date/nice-date.js +25 -23
- package/src/components/nice-date/nice-date.scss +51 -48
- package/src/components/nice-toggle/nice-toggle.html +1 -1
- package/src/components/nice-toggle/nice-toggle.js +2 -1
- package/src/services/nice-service.js +1 -1
package/dist/style.css
CHANGED
|
@@ -8469,13 +8469,13 @@ p.nice {
|
|
|
8469
8469
|
}
|
|
8470
8470
|
|
|
8471
8471
|
.nice-date .no-date .nice-date-time {
|
|
8472
|
-
border-top: 1px solid
|
|
8472
|
+
border-top: 1px solid var(--nice-border-color);
|
|
8473
8473
|
}
|
|
8474
8474
|
|
|
8475
8475
|
.nice-date .nice-date-date {
|
|
8476
|
-
border-radius:
|
|
8477
|
-
background:
|
|
8478
|
-
border: solid 1px
|
|
8476
|
+
border-radius: var(--nice-border-radius);
|
|
8477
|
+
background: var(--nice-card-bg);
|
|
8478
|
+
border: solid 1px var(--nice-border-color);
|
|
8479
8479
|
color: white;
|
|
8480
8480
|
display: flex;
|
|
8481
8481
|
flex-direction: column;
|
|
@@ -8484,7 +8484,7 @@ p.nice {
|
|
|
8484
8484
|
}
|
|
8485
8485
|
|
|
8486
8486
|
.nice-date .nice-date-date .nice-date-header {
|
|
8487
|
-
background:
|
|
8487
|
+
background: var(--nice-primary-color);
|
|
8488
8488
|
line-height: 40px;
|
|
8489
8489
|
color: white;
|
|
8490
8490
|
display: flex;
|
|
@@ -8500,16 +8500,16 @@ p.nice {
|
|
|
8500
8500
|
}
|
|
8501
8501
|
|
|
8502
8502
|
.nice-date .nice-date-date .nice-date-header button:focus {
|
|
8503
|
-
outline-color:
|
|
8503
|
+
outline-color: var(--nice-primary-color-darker);
|
|
8504
8504
|
}
|
|
8505
8505
|
|
|
8506
8506
|
.nice-date .nice-date-date .nice-date-header button:hover, .nice-date .nice-date-date .nice-date-header button:focus {
|
|
8507
|
-
background:
|
|
8507
|
+
background: var(--nice-primary-color-darker);
|
|
8508
8508
|
color: white;
|
|
8509
8509
|
}
|
|
8510
8510
|
|
|
8511
8511
|
.nice-date .nice-date-date .nice-date-header button:active {
|
|
8512
|
-
background:
|
|
8512
|
+
background: var(--nice-primary-color-lighter);
|
|
8513
8513
|
color: white;
|
|
8514
8514
|
}
|
|
8515
8515
|
|
|
@@ -8517,35 +8517,26 @@ p.nice {
|
|
|
8517
8517
|
font-size: 8px;
|
|
8518
8518
|
}
|
|
8519
8519
|
|
|
8520
|
+
.nice-date .nice-date-date .nice-date-header .nice-date-header-comma {
|
|
8521
|
+
margin-left: -4px;
|
|
8522
|
+
margin-right: -1;
|
|
8523
|
+
}
|
|
8524
|
+
|
|
8520
8525
|
.nice-date .nice-date-date .nice-date-header span {
|
|
8521
8526
|
flex-grow: 1;
|
|
8522
8527
|
}
|
|
8523
8528
|
|
|
8524
8529
|
.nice-date .nice-date-date .nice-date-header span select {
|
|
8525
|
-
background:
|
|
8530
|
+
background: var(--nice-primary-color);
|
|
8526
8531
|
border: 0px;
|
|
8527
8532
|
-webkit-appearance: none;
|
|
8528
8533
|
appearance: none;
|
|
8529
8534
|
cursor: pointer;
|
|
8530
8535
|
}
|
|
8531
8536
|
|
|
8532
|
-
.nice-date .nice-date-date .nice-date-header span select:focus {
|
|
8533
|
-
outline-color: #006cfd;
|
|
8534
|
-
}
|
|
8535
|
-
|
|
8536
|
-
.nice-date .nice-date-date .nice-date-header span select:hover, .nice-date .nice-date-date .nice-date-header span select:focus {
|
|
8537
|
-
background: #006cfd;
|
|
8538
|
-
color: white;
|
|
8539
|
-
}
|
|
8540
|
-
|
|
8541
|
-
.nice-date .nice-date-date .nice-date-header span select:active {
|
|
8542
|
-
background: #64a6ff;
|
|
8543
|
-
color: white;
|
|
8544
|
-
}
|
|
8545
|
-
|
|
8546
8537
|
.nice-date .nice-date-date .nice-date-week {
|
|
8547
8538
|
width: 100%;
|
|
8548
|
-
border-top: solid 1px
|
|
8539
|
+
border-top: solid 1px var(--nice-border-color);
|
|
8549
8540
|
display: flex;
|
|
8550
8541
|
flex-grow: 1;
|
|
8551
8542
|
}
|
|
@@ -8560,14 +8551,14 @@ p.nice {
|
|
|
8560
8551
|
position: relative;
|
|
8561
8552
|
min-height: 20px;
|
|
8562
8553
|
width: 14.2857%;
|
|
8563
|
-
border-radius:
|
|
8554
|
+
border-radius: var(--nice-border-radius);
|
|
8564
8555
|
border: 0 none;
|
|
8565
|
-
border-left: solid 1px
|
|
8556
|
+
border-left: solid 1px var(--nice-border-color);
|
|
8566
8557
|
font-size: 12px;
|
|
8567
8558
|
text-align: center;
|
|
8568
|
-
background:
|
|
8559
|
+
background: var(--nice-card-bg);
|
|
8569
8560
|
cursor: pointer;
|
|
8570
|
-
color:
|
|
8561
|
+
color: var(--nice-font-color);
|
|
8571
8562
|
padding: 0;
|
|
8572
8563
|
margin: 0;
|
|
8573
8564
|
display: flex;
|
|
@@ -8588,7 +8579,7 @@ p.nice {
|
|
|
8588
8579
|
width: 10px;
|
|
8589
8580
|
border-style: solid;
|
|
8590
8581
|
border-width: 0 10px 10px 0;
|
|
8591
|
-
border-color: transparent
|
|
8582
|
+
border-color: transparent var(--nice-primary-color) transparent transparent;
|
|
8592
8583
|
}
|
|
8593
8584
|
|
|
8594
8585
|
.nice-date .nice-date-date .nice-date-week .nice-date-day.different-month {
|
|
@@ -8601,25 +8592,26 @@ p.nice {
|
|
|
8601
8592
|
|
|
8602
8593
|
.nice-date .nice-date-date .nice-date-week .nice-date-day.disabled {
|
|
8603
8594
|
opacity: 0.3;
|
|
8604
|
-
color:
|
|
8595
|
+
color: var(--nice-danger-color);
|
|
8605
8596
|
cursor: not-allowed;
|
|
8606
8597
|
}
|
|
8607
8598
|
|
|
8608
8599
|
.nice-date .nice-date-date .nice-date-week .nice-date-day.selected {
|
|
8609
|
-
background:
|
|
8610
|
-
color:
|
|
8600
|
+
background: var(--nice-primary-color) !important;
|
|
8601
|
+
color: var(--nice-card-bg);
|
|
8611
8602
|
}
|
|
8612
8603
|
|
|
8613
8604
|
.nice-date .nice-date-date .nice-date-week .nice-date-day.between {
|
|
8614
|
-
background:
|
|
8605
|
+
background: var(--nice-primary-color-lighter);
|
|
8615
8606
|
}
|
|
8616
8607
|
|
|
8617
8608
|
.nice-date .nice-date-date .nice-date-week .nice-date-day:hover {
|
|
8618
|
-
background:
|
|
8609
|
+
background: var(--nice-primary-color-lighter);
|
|
8610
|
+
color: white;
|
|
8619
8611
|
}
|
|
8620
8612
|
|
|
8621
8613
|
.nice-date .nice-date-date .nice-date-week .nice-date-day:hover.selected {
|
|
8622
|
-
background:
|
|
8614
|
+
background: var(--nice-primary-color-darker) !important;
|
|
8623
8615
|
}
|
|
8624
8616
|
|
|
8625
8617
|
.nice-date .nice-date-date .nice-date-week.names {
|
|
@@ -8629,24 +8621,25 @@ p.nice {
|
|
|
8629
8621
|
}
|
|
8630
8622
|
|
|
8631
8623
|
.nice-date .nice-date-date .nice-date-week.names > span {
|
|
8632
|
-
color:
|
|
8624
|
+
color: var(--nice-primary-color-darker);
|
|
8633
8625
|
min-height: 20px;
|
|
8634
8626
|
cursor: default;
|
|
8635
8627
|
}
|
|
8636
8628
|
|
|
8637
8629
|
.nice-date .nice-date-date .nice-date-week.names > span:hover {
|
|
8638
|
-
background:
|
|
8630
|
+
background: var(--nice-card-bg);
|
|
8631
|
+
color: var(--nice-primary-color-darker);
|
|
8639
8632
|
}
|
|
8640
8633
|
|
|
8641
8634
|
.nice-date .nice-date-time {
|
|
8642
8635
|
display: flex;
|
|
8643
8636
|
width: 100%;
|
|
8644
8637
|
padding: 10px;
|
|
8645
|
-
background:
|
|
8646
|
-
border: 1px solid
|
|
8638
|
+
background: var(--nice-card-bg);
|
|
8639
|
+
border: 1px solid var(--nice-border-color);
|
|
8647
8640
|
align-items: center;
|
|
8648
|
-
border-bottom-left-radius:
|
|
8649
|
-
border-bottom-right-radius:
|
|
8641
|
+
border-bottom-left-radius: var(--nice-border-radius);
|
|
8642
|
+
border-bottom-right-radius: var(--nice-border-radius);
|
|
8650
8643
|
}
|
|
8651
8644
|
|
|
8652
8645
|
.nice-date .nice-date-time .divider {
|
|
@@ -8657,7 +8650,7 @@ p.nice {
|
|
|
8657
8650
|
.nice-date .nice-date-time i {
|
|
8658
8651
|
line-height: 30px;
|
|
8659
8652
|
margin-right: 10px;
|
|
8660
|
-
color:
|
|
8653
|
+
color: var(--nice-border-color);
|
|
8661
8654
|
}
|
|
8662
8655
|
|
|
8663
8656
|
.nice-date .nice-date-time svg {
|
|
@@ -8676,11 +8669,11 @@ p.nice {
|
|
|
8676
8669
|
-webkit-appearance: none;
|
|
8677
8670
|
-moz-appearance: none;
|
|
8678
8671
|
appearance: none;
|
|
8679
|
-
border-radius:
|
|
8680
|
-
border: 1px solid
|
|
8672
|
+
border-radius: var(--nice-border-radius);
|
|
8673
|
+
border: 1px solid var(--nice-border-color);
|
|
8681
8674
|
padding: 0 10px;
|
|
8682
8675
|
z-index: 2;
|
|
8683
|
-
background:
|
|
8676
|
+
background: var(--nice-card-bg);
|
|
8684
8677
|
cursor: pointer;
|
|
8685
8678
|
position: relative;
|
|
8686
8679
|
font-size: 14px;
|