nice-elements 1.4.11 → 1.6.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/.vscode/settings.json +3 -0
- package/CHANGELOG.md +28 -0
- package/README.md +48 -1
- package/bower.json +1 -1
- package/dist/nice.js +1262 -106
- package/dist/nice.min.js +1 -1
- package/dist/style.css +989 -66
- package/dist/style.css.map +7 -2
- package/dist/style.min.css +2 -2
- package/package.json +1 -1
- package/src/components/nice-calendar/nice-calendar.html +10 -37
- package/src/components/nice-calendar/nice-calendar.scss +25 -24
- package/src/components/nice-checkbox/nice-checkbox.html +2 -2
- package/src/components/nice-checkbox/nice-checkbox.scss +5 -4
- package/src/components/nice-choice/nice-choice.html +1 -1
- package/src/components/nice-choice/nice-choice.scss +22 -22
- package/src/components/nice-date/nice-date.html +14 -34
- package/src/components/nice-date/nice-date.scss +41 -17
- package/src/components/nice-datetimerange-picker/nice-datetimerange-picker.html +4 -34
- package/src/components/nice-datetimerange-picker-2/nice-datetimerange-picker-2.scss +18 -14
- package/src/components/nice-dropdown/nice-dropdown.js +5 -0
- package/src/components/nice-dropdown/nice-dropdown.scss +5 -4
- package/src/components/nice-dropdown-old/nice-dropdown-old.scss +27 -26
- package/src/components/nice-icon/nice-icon.html +3 -0
- package/src/components/nice-icon/nice-icon.js +18 -0
- package/src/components/nice-icon/nice-icon.scss +6 -0
- package/src/components/nice-number/nice-number.html +2 -2
- package/src/components/nice-number/nice-number.scss +9 -0
- package/src/components/nice-popup/nice-popup.html +7 -0
- package/src/components/nice-popup/nice-popup.js +123 -0
- package/src/components/nice-popup/nice-popup.scss +44 -0
- package/src/components/nice-quantity/nice-quantity.html +3 -10
- package/src/components/nice-quantity/nice-quantity.scss +17 -10
- package/src/components/nice-search2/nice-search2.html +2 -12
- package/src/components/nice-search2/nice-search2.js +34 -27
- package/src/components/nice-svgs/nice-svgs.html +1153 -0
- package/src/components/nice-svgs/nice-svgs.js +16 -0
- package/src/components/nice-toast/nice-toast.html +3 -0
- package/src/components/nice-toast/nice-toast.js +57 -0
- package/src/components/nice-toast/nice-toast.scss +75 -0
- package/src/components/nice-tooltip/nice-tooltip.js +9 -6
- package/src/components/nice-upload/nice-upload.html +4 -5
- package/src/components/nice-upload/nice-upload.js +73 -41
- package/src/components/nice-upload/nice-upload.scss +32 -13
- package/src/components/nice-yesno/nice-yesno.html +1 -1
- package/src/components/nice-yesno/nice-yesno.scss +23 -15
- package/src/styles/_nice-buttons.scss +335 -0
- package/src/styles/_nice-common.scss +84 -47
- package/src/styles/_nice-spacing.scss +58 -0
- package/src/styles/_nice.scss +6 -1
- package/src/styles/_variables.scss +81 -3
package/src/styles/_nice.scss
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
user-select: none;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
.margin-bottom-0{
|
|
13
|
+
.margin-bottom-0 {
|
|
14
14
|
margin-bottom: 0 !important;
|
|
15
15
|
}
|
|
16
16
|
|
|
@@ -21,6 +21,8 @@
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
@import "nice-common";
|
|
24
|
+
@import "nice-buttons";
|
|
25
|
+
@import "nice-spacing";
|
|
24
26
|
@import "../components/nice-dropdown/nice-dropdown";
|
|
25
27
|
@import "../components/nice-dropdown-old/nice-dropdown-old";
|
|
26
28
|
@import "../components/nice-input/nice-input";
|
|
@@ -49,3 +51,6 @@
|
|
|
49
51
|
@import "../components/nice-quantity/nice-quantity";
|
|
50
52
|
@import "../components/nice-progress-bar/nice-progress-bar";
|
|
51
53
|
@import "../components/nice-tooltip/nice-tooltip";
|
|
54
|
+
@import "../components/nice-popup/nice-popup";
|
|
55
|
+
@import "../components/nice-icon/nice-icon";
|
|
56
|
+
@import "../components/nice-toast/nice-toast";
|
|
@@ -1,15 +1,38 @@
|
|
|
1
1
|
// ---------- Fonts ----------
|
|
2
|
-
$nice-font-family:
|
|
2
|
+
$nice-font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif !default;
|
|
3
3
|
$nice-font-weight: normal !default;
|
|
4
4
|
$nice-font-color: #404040 !default;
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
// ---------- Colors ----------
|
|
8
8
|
$nice-base-color: #3189ff !default;
|
|
9
|
+
$nice-base-color-lighter: lighten($nice-base-color, 10%) !default;
|
|
10
|
+
$nice-base-color-darker: darken($nice-base-color, 10%) !default;
|
|
11
|
+
$nice-base-color-plain: #e3eafd !default;
|
|
12
|
+
|
|
13
|
+
$nice-secondary-color: #efefef !default;
|
|
14
|
+
$nice-secondary-color-lighter: lighten($nice-secondary-color, 2%) !default;
|
|
15
|
+
$nice-secondary-color-darker: darken($nice-secondary-color, 10%) !default;
|
|
16
|
+
|
|
9
17
|
$nice-danger-color: #f22e28 !default;
|
|
18
|
+
$nice-danger-color-lighter: lighten($nice-danger-color, 10%) !default;
|
|
19
|
+
$nice-danger-color-darker: darken($nice-danger-color, 10%) !default;
|
|
20
|
+
$nice-danger-color-plain: #ffe4e4 !default;
|
|
21
|
+
|
|
10
22
|
$nice-success-color: #49AE50 !default;
|
|
23
|
+
$nice-success-color-lighter: lighten($nice-success-color, 10%) !default;
|
|
24
|
+
$nice-success-color-darker: darken($nice-success-color, 10%) !default;
|
|
25
|
+
$nice-success-color-plain: #e2efe3 !default;
|
|
26
|
+
|
|
11
27
|
$nice-info-color: #31b0d5 !default;
|
|
28
|
+
$nice-info-color-lighter: lighten($nice-info-color, 10%) !default;
|
|
29
|
+
$nice-info-color-darker: darken($nice-info-color, 10%) !default;
|
|
30
|
+
$nice-info-color-plain: #d9f3f7 !default;
|
|
31
|
+
|
|
12
32
|
$nice-warning-color: #ffc107 !default;
|
|
33
|
+
$nice-warning-color-lighter: lighten($nice-warning-color, 10%) !default;
|
|
34
|
+
$nice-warning-color-darker: darken($nice-warning-color, 10%) !default;
|
|
35
|
+
$nice-warning-color-plain: #fff9e8 !default;
|
|
13
36
|
|
|
14
37
|
|
|
15
38
|
// ---------- Border ----------
|
|
@@ -22,7 +45,7 @@ $border-radius-base: 3px;
|
|
|
22
45
|
|
|
23
46
|
// ---------- Disabled ----------
|
|
24
47
|
$nice-disabled-color: #EDEFF2 !default;
|
|
25
|
-
$nice-disabled-border: #D2D9D9!default;
|
|
48
|
+
$nice-disabled-border: #D2D9D9 !default;
|
|
26
49
|
$nice-disabled-bg: white !default;
|
|
27
50
|
|
|
28
51
|
|
|
@@ -35,6 +58,8 @@ $nice-background: white !default;
|
|
|
35
58
|
$nice-hover-color: #EDEDED !default;
|
|
36
59
|
$nice-box-shadow: 0 0 10px rgba(0, 0, 0, 0.1) !default;
|
|
37
60
|
|
|
61
|
+
$nice-navbar-height: 50px;
|
|
62
|
+
|
|
38
63
|
|
|
39
64
|
// ---------- Input colors override ----------
|
|
40
65
|
$nice-label-color: $nice-font-color !default;
|
|
@@ -104,4 +129,57 @@ $nice-submenu-gray-color: #b0bec5 !default;
|
|
|
104
129
|
|
|
105
130
|
// ---------- Table ----------
|
|
106
131
|
$nice-table-bg-hover: #f5f5f5 !default;
|
|
107
|
-
$nice-table-bg-active: #f5f5f5 !default;
|
|
132
|
+
$nice-table-bg-active: #f5f5f5 !default;
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
:root {
|
|
136
|
+
// ---------- Fonts ----------
|
|
137
|
+
--nice-font-family: #{$nice-font-family};
|
|
138
|
+
--nice-font-weight: #{$nice-font-weight};
|
|
139
|
+
--nice-font-color: #{$nice-font-color};
|
|
140
|
+
|
|
141
|
+
// ---------- Colors ----------
|
|
142
|
+
--nice-primary-color: #{$nice-base-color};
|
|
143
|
+
--nice-primary-color-lighter: #{$nice-base-color-lighter};
|
|
144
|
+
--nice-primary-color-darker: #{$nice-base-color-darker};
|
|
145
|
+
--nice-primary-color-plain: #{$nice-base-color-plain};
|
|
146
|
+
|
|
147
|
+
--secondary-font-color: #{$nice-font-color};
|
|
148
|
+
--secondary-color: #{$nice-secondary-color};
|
|
149
|
+
--secondary-color-lighter: #{$nice-secondary-color-lighter};
|
|
150
|
+
--secondary-color-darker: #{$nice-secondary-color-darker};
|
|
151
|
+
|
|
152
|
+
--nice-secondary-color: #{$nice-secondary-color};
|
|
153
|
+
--nice-secondary-color-lighter: #{$nice-secondary-color-lighter};
|
|
154
|
+
--nice-secondary-color-darker: #{$nice-secondary-color-darker};
|
|
155
|
+
|
|
156
|
+
--nice-danger-color: #{$nice-danger-color};
|
|
157
|
+
--nice-danger-color-lighter: #{$nice-danger-color-lighter};
|
|
158
|
+
--nice-danger-color-darker: #{$nice-danger-color-darker};
|
|
159
|
+
--nice-danger-color-plain: #{$nice-danger-color-plain};
|
|
160
|
+
|
|
161
|
+
--nice-success-color: #{$nice-success-color};
|
|
162
|
+
--nice-success-color-lighter: #{$nice-success-color-lighter};
|
|
163
|
+
--nice-success-color-darker: #{$nice-success-color-darker};
|
|
164
|
+
--nice-success-color-plain: #{$nice-success-color-plain};
|
|
165
|
+
|
|
166
|
+
--nice-info-color: #{$nice-info-color};
|
|
167
|
+
--nice-info-color-lighter: #{$nice-info-color-lighter};
|
|
168
|
+
--nice-info-color-darker: #{$nice-info-color-darker};
|
|
169
|
+
--nice-info-color-plain: #{$nice-info-color-plain};
|
|
170
|
+
|
|
171
|
+
--nice-warning-color: #{$nice-warning-color};
|
|
172
|
+
--nice-warning-color-lighter: #{$nice-warning-color-lighter};
|
|
173
|
+
--nice-warning-color-darker: #{$nice-warning-color-darker};
|
|
174
|
+
--nice-warning-color-plain: #{$nice-warning-color-plain};
|
|
175
|
+
|
|
176
|
+
// ---------- Border ----------
|
|
177
|
+
--nice-border-color: #{$nice-border-color};
|
|
178
|
+
--nice-border-radius: #{$nice-border-radius};
|
|
179
|
+
--nice-border-radius-small: #{$nice-border-radius-small};
|
|
180
|
+
|
|
181
|
+
// ---------- Disabled ----------
|
|
182
|
+
--nice-disabled-color: #{$nice-disabled-color};
|
|
183
|
+
--nice-disabled-border: #{$nice-disabled-border};
|
|
184
|
+
--nice-disabled-bg: #{$nice-disabled-bg};
|
|
185
|
+
}
|