nice-elements 1.7.11 → 1.8.0
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 +15 -0
- package/README.md +2 -1
- package/bower.json +1 -1
- package/dist/nice.js +115 -35
- package/dist/nice.min.js +1 -1
- package/dist/style.css +87 -59
- package/dist/style.css.map +3 -2
- package/dist/style.min.css +2 -2
- package/package.json +1 -1
- package/src/components/nice-button/nice-button.html +5 -6
- package/src/components/nice-button/nice-button.js +14 -13
- package/src/components/nice-button/nice-button.scss +12 -36
- package/src/components/nice-date/nice-date.js +1 -2
- package/src/components/nice-dropdown/nice-dropdown.html +1 -1
- package/src/components/nice-loader/nice-loader.html +4 -4
- package/src/components/nice-loader/nice-loader.js +6 -0
- package/src/components/nice-loader/nice-loader.scss +15 -25
- package/src/components/nice-search/nice-search.html +3 -6
- package/src/components/nice-search/nice-search.scss +24 -12
- package/src/components/nice-search2/nice-search2.html +4 -3
- package/src/components/nice-wrapper/_nice-wrapper.scss +69 -0
- package/src/components/nice-wrapper/nice-wrapper.html +13 -0
- package/src/components/nice-wrapper/nice-wrapper.js +41 -0
- package/src/services/nice-service.js +1 -1
- package/src/styles/_nice-common.scss +1 -1
- package/src/styles/_nice.scss +2 -1
- package/src/styles/_variables.scss +5 -0
package/dist/style.css
CHANGED
|
@@ -36,6 +36,9 @@
|
|
|
36
36
|
--nice-disabled-color: #EDEFF2;
|
|
37
37
|
--nice-disabled-border: #D2D9D9;
|
|
38
38
|
--nice-disabled-bg: white;
|
|
39
|
+
--nice-card-border: #cbd4d9;
|
|
40
|
+
--nice-card-bg: white;
|
|
41
|
+
--nice-card-padding: 2rem;
|
|
39
42
|
}
|
|
40
43
|
|
|
41
44
|
.noselect, .nice-choice li {
|
|
@@ -406,7 +409,6 @@ p.nice {
|
|
|
406
409
|
|
|
407
410
|
.has-success .input-group-addon {
|
|
408
411
|
border-color: #3189ff !important;
|
|
409
|
-
color: #3189ff !important;
|
|
410
412
|
}
|
|
411
413
|
|
|
412
414
|
.nice-highligh {
|
|
@@ -1898,6 +1900,11 @@ p.nice {
|
|
|
1898
1900
|
padding-left: 12px;
|
|
1899
1901
|
}
|
|
1900
1902
|
|
|
1903
|
+
.nice-search .input-group-addon .nice-loader svg {
|
|
1904
|
+
height: 18px;
|
|
1905
|
+
width: 18px;
|
|
1906
|
+
}
|
|
1907
|
+
|
|
1901
1908
|
.nice-search .nice-dropdown, .nice-search .nice-dropdown-empty {
|
|
1902
1909
|
position: absolute;
|
|
1903
1910
|
z-index: 999;
|
|
@@ -3535,26 +3542,20 @@ p.nice {
|
|
|
3535
3542
|
}
|
|
3536
3543
|
|
|
3537
3544
|
.nice-loader {
|
|
3538
|
-
padding: 25px;
|
|
3539
3545
|
display: flex;
|
|
3540
3546
|
flex-direction: column;
|
|
3541
3547
|
align-items: center;
|
|
3542
3548
|
justify-content: center;
|
|
3549
|
+
gap: 3px;
|
|
3550
|
+
color: var(--nice-primary-color);
|
|
3543
3551
|
}
|
|
3544
3552
|
|
|
3545
3553
|
.nice-loader svg {
|
|
3546
|
-
width: 40px;
|
|
3547
|
-
height: 40px;
|
|
3548
|
-
}
|
|
3549
|
-
|
|
3550
|
-
.nice-loader svg path,
|
|
3551
|
-
.nice-loader svg rect {
|
|
3552
|
-
fill: #3189ff;
|
|
3553
|
-
}
|
|
3554
|
-
|
|
3555
|
-
.nice-loader #loader {
|
|
3556
3554
|
animation: spin 0.5s infinite;
|
|
3557
3555
|
animation-delay: 0s;
|
|
3556
|
+
width: 40px;
|
|
3557
|
+
height: 40px;
|
|
3558
|
+
fill: currentColor;
|
|
3558
3559
|
}
|
|
3559
3560
|
|
|
3560
3561
|
.nice-loader .nice-loader-message {
|
|
@@ -3570,6 +3571,7 @@ p.nice {
|
|
|
3570
3571
|
height: 100%;
|
|
3571
3572
|
background: rgba(255, 255, 255, 0.65);
|
|
3572
3573
|
z-index: 9999;
|
|
3574
|
+
padding: 0;
|
|
3573
3575
|
}
|
|
3574
3576
|
|
|
3575
3577
|
.nice-loader.nice-loader-fulldiv {
|
|
@@ -3577,24 +3579,6 @@ p.nice {
|
|
|
3577
3579
|
z-index: auto;
|
|
3578
3580
|
}
|
|
3579
3581
|
|
|
3580
|
-
@-moz-keyframes spin {
|
|
3581
|
-
from {
|
|
3582
|
-
-moz-transform: rotate(0deg);
|
|
3583
|
-
}
|
|
3584
|
-
to {
|
|
3585
|
-
-moz-transform: rotate(360deg);
|
|
3586
|
-
}
|
|
3587
|
-
}
|
|
3588
|
-
|
|
3589
|
-
@-webkit-keyframes spin {
|
|
3590
|
-
from {
|
|
3591
|
-
-webkit-transform: rotate(0deg);
|
|
3592
|
-
}
|
|
3593
|
-
to {
|
|
3594
|
-
-webkit-transform: rotate(360deg);
|
|
3595
|
-
}
|
|
3596
|
-
}
|
|
3597
|
-
|
|
3598
3582
|
@keyframes spin {
|
|
3599
3583
|
from {
|
|
3600
3584
|
transform: rotate(0deg);
|
|
@@ -3671,42 +3655,22 @@ p.nice {
|
|
|
3671
3655
|
opacity: 0.7;
|
|
3672
3656
|
}
|
|
3673
3657
|
|
|
3674
|
-
.nice-button
|
|
3658
|
+
.nice-button {
|
|
3675
3659
|
position: relative;
|
|
3676
3660
|
}
|
|
3677
3661
|
|
|
3678
|
-
.nice-button .
|
|
3679
|
-
opacity: 0;
|
|
3680
|
-
}
|
|
3681
|
-
|
|
3682
|
-
.nice-button .btn .opacity1 {
|
|
3683
|
-
opacity: 1;
|
|
3684
|
-
}
|
|
3685
|
-
|
|
3686
|
-
.nice-button .btn .display0 {
|
|
3687
|
-
display: none;
|
|
3688
|
-
}
|
|
3689
|
-
|
|
3690
|
-
.nice-button .btn .nice-button-loader-wrapper {
|
|
3691
|
-
position: absolute;
|
|
3692
|
-
top: 50%;
|
|
3693
|
-
left: 50%;
|
|
3694
|
-
margin-left: -10px;
|
|
3695
|
-
margin-top: -10px;
|
|
3696
|
-
}
|
|
3697
|
-
|
|
3698
|
-
.nice-button .btn .nice-button-loader-wrapper .nice-button-loader {
|
|
3699
|
-
padding: 0 !important;
|
|
3662
|
+
.nice-button .opacity-0 {
|
|
3663
|
+
opacity: 0.2;
|
|
3700
3664
|
}
|
|
3701
3665
|
|
|
3702
|
-
.nice-button .
|
|
3703
|
-
|
|
3704
|
-
|
|
3666
|
+
.nice-button .nice-button-loader {
|
|
3667
|
+
background: transparent;
|
|
3668
|
+
color: white;
|
|
3705
3669
|
}
|
|
3706
3670
|
|
|
3707
|
-
.nice-button .
|
|
3708
|
-
|
|
3709
|
-
|
|
3671
|
+
.nice-button .nice-button-loader svg {
|
|
3672
|
+
width: 20px;
|
|
3673
|
+
height: 20px;
|
|
3710
3674
|
}
|
|
3711
3675
|
|
|
3712
3676
|
.nice-calendar {
|
|
@@ -4657,4 +4621,68 @@ p.nice {
|
|
|
4657
4621
|
width: 250px;
|
|
4658
4622
|
}
|
|
4659
4623
|
|
|
4624
|
+
.nice-wrapper {
|
|
4625
|
+
border: 1px solid var(--nice-card-border);
|
|
4626
|
+
background: var(--nice-card-bg);
|
|
4627
|
+
border-radius: var(--nice-border-radius);
|
|
4628
|
+
margin-bottom: 2rem;
|
|
4629
|
+
position: relative;
|
|
4630
|
+
}
|
|
4631
|
+
|
|
4632
|
+
.nice-wrapper.collapsable .nice-wrapper-header {
|
|
4633
|
+
cursor: pointer;
|
|
4634
|
+
}
|
|
4635
|
+
|
|
4636
|
+
.nice-wrapper.collapsable .nice-wrapper-header:hover {
|
|
4637
|
+
background: var(--nice-hover-color);
|
|
4638
|
+
}
|
|
4639
|
+
|
|
4640
|
+
.nice-wrapper .nice-wrapper-header,
|
|
4641
|
+
.nice-wrapper .nice-wrapper-body,
|
|
4642
|
+
.nice-wrapper .nice-wrapper-footer {
|
|
4643
|
+
padding: var(--nice-card-padding);
|
|
4644
|
+
}
|
|
4645
|
+
|
|
4646
|
+
.nice-wrapper .nice-wrapper-header {
|
|
4647
|
+
display: flex;
|
|
4648
|
+
align-items: center;
|
|
4649
|
+
padding: var(--nice-card-padding);
|
|
4650
|
+
}
|
|
4651
|
+
|
|
4652
|
+
.nice-wrapper .nice-wrapper-header .nice-wrapper-info {
|
|
4653
|
+
flex-grow: 1;
|
|
4654
|
+
}
|
|
4655
|
+
|
|
4656
|
+
.nice-wrapper .nice-wrapper-header .nice-wrapper-info .nice-wrapper-title {
|
|
4657
|
+
font-size: 1.2em;
|
|
4658
|
+
font-weight: bold;
|
|
4659
|
+
line-height: 1.2;
|
|
4660
|
+
color: var(--nice-primary-color);
|
|
4661
|
+
}
|
|
4662
|
+
|
|
4663
|
+
.nice-wrapper .nice-wrapper-header .nice-wrapper-info .nice-wrapper-subtitle {
|
|
4664
|
+
font-style: italic;
|
|
4665
|
+
}
|
|
4666
|
+
|
|
4667
|
+
.nice-wrapper .nice-wrapper-header .nice-wrapper-toggle {
|
|
4668
|
+
flex-shrink: 0;
|
|
4669
|
+
transition: transform 0.3s;
|
|
4670
|
+
height: 20px;
|
|
4671
|
+
width: 20px;
|
|
4672
|
+
padding: 0px;
|
|
4673
|
+
min-height: auto !important;
|
|
4674
|
+
}
|
|
4675
|
+
|
|
4676
|
+
.nice-wrapper .nice-wrapper-header .nice-wrapper-toggle.is-open {
|
|
4677
|
+
transform: rotate(180deg);
|
|
4678
|
+
}
|
|
4679
|
+
|
|
4680
|
+
.nice-wrapper.has-header .nice-wrapper-body {
|
|
4681
|
+
padding-top: 0;
|
|
4682
|
+
}
|
|
4683
|
+
|
|
4684
|
+
.nice-wrapper.has-footer .nice-wrapper-body {
|
|
4685
|
+
padding-bottom: 0;
|
|
4686
|
+
}
|
|
4687
|
+
|
|
4660
4688
|
/*# sourceMappingURL=style.css.map */
|