nice-elements 1.10.14 → 1.10.15
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 +8 -0
- package/README.md +1 -1
- package/bower.json +1 -1
- package/dist/nice.js +51 -3
- package/dist/nice.min.js +1 -1
- package/dist/style.css +65 -10
- package/dist/style.css.map +2 -1
- package/dist/style.min.css +2 -2
- package/package.json +1 -1
- package/src/components/nice-date/nice-date.js +1 -1
- package/src/components/nice-no-data/nice-no-data.scss +4 -9
- package/src/components/nice-table/nice-table.scss +3 -3
- package/src/components/nice-view/_nice-view.scss +62 -0
- package/src/components/nice-view/nice-view.html +13 -0
- package/src/components/nice-view/nice-view.js +30 -0
- package/src/components/nice-wrapper/nice-wrapper.js +1 -1
- package/src/services/nice-service.js +1 -1
- package/src/styles/_nice.scss +2 -1
- package/src/styles/_variables.scss +2 -1
package/dist/style.css
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
--nice-font-family: Roboto, Helvetica Neue, Helvetica, Arial, sans-serif;
|
|
3
3
|
--nice-font-weight: normal;
|
|
4
4
|
--nice-font-color: #404040;
|
|
5
|
+
--nice-font-color-lighter: #767676;
|
|
5
6
|
--nice-hover-color: #ededed;
|
|
6
7
|
--nice-primary-color: #3189ff;
|
|
7
8
|
--nice-primary-color-lighter: #64a6ff;
|
|
@@ -39,7 +40,7 @@
|
|
|
39
40
|
--nice-disabled-bg: white;
|
|
40
41
|
--nice-card-border: #cbd4d9;
|
|
41
42
|
--nice-card-bg: white;
|
|
42
|
-
--nice-card-bg-opacity: rgba(255, 255, 255, 0.
|
|
43
|
+
--nice-card-bg-opacity: rgba(255, 255, 255, 0.9);
|
|
43
44
|
--nice-card-padding: 2rem;
|
|
44
45
|
--nice-input-bg: white;
|
|
45
46
|
--nice-input-bg-hover: #f7f7f7;
|
|
@@ -10035,13 +10036,7 @@ p.nice {
|
|
|
10035
10036
|
padding: 2rem 1rem;
|
|
10036
10037
|
font-size: 0.9em;
|
|
10037
10038
|
gap: 0.3rem;
|
|
10038
|
-
color: var(--nice-font-color);
|
|
10039
|
-
opacity: 0.5;
|
|
10040
|
-
transition: opacity 0.3s ease;
|
|
10041
|
-
}
|
|
10042
|
-
|
|
10043
|
-
.nice-no-data:hover {
|
|
10044
|
-
opacity: 0.7;
|
|
10039
|
+
color: var(--nice-font-color-lighter);
|
|
10045
10040
|
}
|
|
10046
10041
|
|
|
10047
10042
|
.nice-no-data.nice-no-data-fulldiv {
|
|
@@ -10058,7 +10053,7 @@ p.nice {
|
|
|
10058
10053
|
}
|
|
10059
10054
|
|
|
10060
10055
|
.nice-table-wrapper {
|
|
10061
|
-
min-height: .01%;
|
|
10056
|
+
min-height: 0.01%;
|
|
10062
10057
|
overflow-x: auto;
|
|
10063
10058
|
}
|
|
10064
10059
|
|
|
@@ -10075,7 +10070,6 @@ p.nice {
|
|
|
10075
10070
|
.nice-table-wrapper .nice-table .nice-table-freeze-right {
|
|
10076
10071
|
position: sticky;
|
|
10077
10072
|
background: var(--nice-card-bg-opacity);
|
|
10078
|
-
backdrop-filter: blur(3px);
|
|
10079
10073
|
}
|
|
10080
10074
|
|
|
10081
10075
|
.nice-table-wrapper .nice-table .nice-table-freeze-left {
|
|
@@ -10159,6 +10153,67 @@ p.nice {
|
|
|
10159
10153
|
border-top: 1px solid var(--nice-border-color);
|
|
10160
10154
|
}
|
|
10161
10155
|
|
|
10156
|
+
.nice-view {
|
|
10157
|
+
display: flex;
|
|
10158
|
+
flex-direction: column;
|
|
10159
|
+
height: 100dvh;
|
|
10160
|
+
--nice-view-padding: 2rem;
|
|
10161
|
+
}
|
|
10162
|
+
|
|
10163
|
+
.nice-view.nice-view-has-header .nice-view-body {
|
|
10164
|
+
padding-top: calc(var(--nice-view-padding) / 2);
|
|
10165
|
+
}
|
|
10166
|
+
|
|
10167
|
+
.nice-view.nice-view-has-footer .nice-view-body {
|
|
10168
|
+
padding-bottom: calc(var(--nice-view-padding) / 2);
|
|
10169
|
+
}
|
|
10170
|
+
|
|
10171
|
+
.nice-view .nice-view-header {
|
|
10172
|
+
flex-shrink: 0;
|
|
10173
|
+
padding: var(--nice-view-padding);
|
|
10174
|
+
padding-bottom: calc(var(--nice-view-padding) / 2);
|
|
10175
|
+
}
|
|
10176
|
+
|
|
10177
|
+
.nice-view .nice-view-header .nice-view-header-wrapper {
|
|
10178
|
+
display: flex;
|
|
10179
|
+
align-items: center;
|
|
10180
|
+
}
|
|
10181
|
+
|
|
10182
|
+
.nice-view .nice-view-header .nice-view-header-wrapper .nice-icon {
|
|
10183
|
+
height: 50px;
|
|
10184
|
+
width: 50px;
|
|
10185
|
+
margin-right: 1rem;
|
|
10186
|
+
}
|
|
10187
|
+
|
|
10188
|
+
.nice-view .nice-view-header .nice-view-header-title {
|
|
10189
|
+
font-size: 2em;
|
|
10190
|
+
line-height: 1;
|
|
10191
|
+
}
|
|
10192
|
+
|
|
10193
|
+
.nice-view .nice-view-header .nice-view-header-subtitle {
|
|
10194
|
+
text-transform: uppercase;
|
|
10195
|
+
color: var(--nice-primary-color);
|
|
10196
|
+
margin-bottom: 3px;
|
|
10197
|
+
}
|
|
10198
|
+
|
|
10199
|
+
.nice-view .nice-view-body {
|
|
10200
|
+
flex-grow: 1;
|
|
10201
|
+
overflow: auto;
|
|
10202
|
+
padding: var(--nice-view-padding);
|
|
10203
|
+
}
|
|
10204
|
+
|
|
10205
|
+
.nice-view .nice-view-footer {
|
|
10206
|
+
flex-shrink: 0;
|
|
10207
|
+
padding: var(--nice-view-padding);
|
|
10208
|
+
padding-top: calc(var(--nice-view-padding) / 2);
|
|
10209
|
+
}
|
|
10210
|
+
|
|
10211
|
+
@media (max-width: 767px) {
|
|
10212
|
+
.nice-view {
|
|
10213
|
+
--nice-view-padding: 1rem;
|
|
10214
|
+
}
|
|
10215
|
+
}
|
|
10216
|
+
|
|
10162
10217
|
.nice-multilangual-modal .nice-multilangual-languages .nice-multilangual-language {
|
|
10163
10218
|
margin-bottom: 1rem;
|
|
10164
10219
|
display: flex;
|