nice-elements 1.7.12 → 1.8.1
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/LICENSE.md +1 -1
- package/README.md +2 -1
- package/bower.json +1 -1
- package/dist/nice.js +99 -38
- package/dist/nice.min.js +1 -1
- package/dist/style.css +91 -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 +5 -8
- package/src/components/nice-search/nice-search.scss +28 -12
- package/src/components/nice-search2/nice-search2.html +4 -3
- package/src/components/nice-search2/nice-search2.js +1 -0
- 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;
|
|
@@ -1946,6 +1953,10 @@ p.nice {
|
|
|
1946
1953
|
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
|
|
1947
1954
|
}
|
|
1948
1955
|
|
|
1956
|
+
.nice-search .nice-dropdown-empty .nice-search-row {
|
|
1957
|
+
opacity: 0.4;
|
|
1958
|
+
}
|
|
1959
|
+
|
|
1949
1960
|
.nice-search2 {
|
|
1950
1961
|
position: relative;
|
|
1951
1962
|
}
|
|
@@ -3535,26 +3546,20 @@ p.nice {
|
|
|
3535
3546
|
}
|
|
3536
3547
|
|
|
3537
3548
|
.nice-loader {
|
|
3538
|
-
padding: 25px;
|
|
3539
3549
|
display: flex;
|
|
3540
3550
|
flex-direction: column;
|
|
3541
3551
|
align-items: center;
|
|
3542
3552
|
justify-content: center;
|
|
3553
|
+
gap: 3px;
|
|
3554
|
+
color: var(--nice-primary-color);
|
|
3543
3555
|
}
|
|
3544
3556
|
|
|
3545
3557
|
.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
3558
|
animation: spin 0.5s infinite;
|
|
3557
3559
|
animation-delay: 0s;
|
|
3560
|
+
width: 40px;
|
|
3561
|
+
height: 40px;
|
|
3562
|
+
fill: currentColor;
|
|
3558
3563
|
}
|
|
3559
3564
|
|
|
3560
3565
|
.nice-loader .nice-loader-message {
|
|
@@ -3570,6 +3575,7 @@ p.nice {
|
|
|
3570
3575
|
height: 100%;
|
|
3571
3576
|
background: rgba(255, 255, 255, 0.65);
|
|
3572
3577
|
z-index: 9999;
|
|
3578
|
+
padding: 0;
|
|
3573
3579
|
}
|
|
3574
3580
|
|
|
3575
3581
|
.nice-loader.nice-loader-fulldiv {
|
|
@@ -3577,24 +3583,6 @@ p.nice {
|
|
|
3577
3583
|
z-index: auto;
|
|
3578
3584
|
}
|
|
3579
3585
|
|
|
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
3586
|
@keyframes spin {
|
|
3599
3587
|
from {
|
|
3600
3588
|
transform: rotate(0deg);
|
|
@@ -3671,42 +3659,22 @@ p.nice {
|
|
|
3671
3659
|
opacity: 0.7;
|
|
3672
3660
|
}
|
|
3673
3661
|
|
|
3674
|
-
.nice-button
|
|
3662
|
+
.nice-button {
|
|
3675
3663
|
position: relative;
|
|
3676
3664
|
}
|
|
3677
3665
|
|
|
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;
|
|
3666
|
+
.nice-button .opacity-0 {
|
|
3667
|
+
opacity: 0.2;
|
|
3688
3668
|
}
|
|
3689
3669
|
|
|
3690
|
-
.nice-button .
|
|
3691
|
-
|
|
3692
|
-
|
|
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;
|
|
3700
|
-
}
|
|
3701
|
-
|
|
3702
|
-
.nice-button .btn .nice-button-loader-wrapper .nice-button-loader svg {
|
|
3703
|
-
width: 20px !important;
|
|
3704
|
-
height: 20px !important;
|
|
3670
|
+
.nice-button .nice-button-loader {
|
|
3671
|
+
background: transparent;
|
|
3672
|
+
color: white;
|
|
3705
3673
|
}
|
|
3706
3674
|
|
|
3707
|
-
.nice-button .
|
|
3708
|
-
|
|
3709
|
-
|
|
3675
|
+
.nice-button .nice-button-loader svg {
|
|
3676
|
+
width: 20px;
|
|
3677
|
+
height: 20px;
|
|
3710
3678
|
}
|
|
3711
3679
|
|
|
3712
3680
|
.nice-calendar {
|
|
@@ -4657,4 +4625,68 @@ p.nice {
|
|
|
4657
4625
|
width: 250px;
|
|
4658
4626
|
}
|
|
4659
4627
|
|
|
4628
|
+
.nice-wrapper {
|
|
4629
|
+
border: 1px solid var(--nice-card-border);
|
|
4630
|
+
background: var(--nice-card-bg);
|
|
4631
|
+
border-radius: var(--nice-border-radius);
|
|
4632
|
+
margin-bottom: 2rem;
|
|
4633
|
+
position: relative;
|
|
4634
|
+
}
|
|
4635
|
+
|
|
4636
|
+
.nice-wrapper.collapsable .nice-wrapper-header {
|
|
4637
|
+
cursor: pointer;
|
|
4638
|
+
}
|
|
4639
|
+
|
|
4640
|
+
.nice-wrapper.collapsable .nice-wrapper-header:hover {
|
|
4641
|
+
background: var(--nice-hover-color);
|
|
4642
|
+
}
|
|
4643
|
+
|
|
4644
|
+
.nice-wrapper .nice-wrapper-header,
|
|
4645
|
+
.nice-wrapper .nice-wrapper-body,
|
|
4646
|
+
.nice-wrapper .nice-wrapper-footer {
|
|
4647
|
+
padding: var(--nice-card-padding);
|
|
4648
|
+
}
|
|
4649
|
+
|
|
4650
|
+
.nice-wrapper .nice-wrapper-header {
|
|
4651
|
+
display: flex;
|
|
4652
|
+
align-items: center;
|
|
4653
|
+
padding: var(--nice-card-padding);
|
|
4654
|
+
}
|
|
4655
|
+
|
|
4656
|
+
.nice-wrapper .nice-wrapper-header .nice-wrapper-info {
|
|
4657
|
+
flex-grow: 1;
|
|
4658
|
+
}
|
|
4659
|
+
|
|
4660
|
+
.nice-wrapper .nice-wrapper-header .nice-wrapper-info .nice-wrapper-title {
|
|
4661
|
+
font-size: 1.2em;
|
|
4662
|
+
font-weight: bold;
|
|
4663
|
+
line-height: 1.2;
|
|
4664
|
+
color: var(--nice-primary-color);
|
|
4665
|
+
}
|
|
4666
|
+
|
|
4667
|
+
.nice-wrapper .nice-wrapper-header .nice-wrapper-info .nice-wrapper-subtitle {
|
|
4668
|
+
font-style: italic;
|
|
4669
|
+
}
|
|
4670
|
+
|
|
4671
|
+
.nice-wrapper .nice-wrapper-header .nice-wrapper-toggle {
|
|
4672
|
+
flex-shrink: 0;
|
|
4673
|
+
transition: transform 0.3s;
|
|
4674
|
+
height: 20px;
|
|
4675
|
+
width: 20px;
|
|
4676
|
+
padding: 0px;
|
|
4677
|
+
min-height: auto !important;
|
|
4678
|
+
}
|
|
4679
|
+
|
|
4680
|
+
.nice-wrapper .nice-wrapper-header .nice-wrapper-toggle.is-open {
|
|
4681
|
+
transform: rotate(180deg);
|
|
4682
|
+
}
|
|
4683
|
+
|
|
4684
|
+
.nice-wrapper.has-header .nice-wrapper-body {
|
|
4685
|
+
padding-top: 0;
|
|
4686
|
+
}
|
|
4687
|
+
|
|
4688
|
+
.nice-wrapper.has-footer .nice-wrapper-body {
|
|
4689
|
+
padding-bottom: 0;
|
|
4690
|
+
}
|
|
4691
|
+
|
|
4660
4692
|
/*# sourceMappingURL=style.css.map */
|