novo-elements 6.0.0-next.7 → 6.0.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/bundles/novo-elements.umd.js +364 -112
- package/bundles/novo-elements.umd.js.map +1 -1
- package/bundles/novo-elements.umd.min.js +1 -1
- package/bundles/novo-elements.umd.min.js.map +1 -1
- package/elements/button/styles/button-icon.scss +1 -1
- package/elements/button/styles/button-other.scss +7 -7
- package/elements/button/styles/button-secondary.scss +1 -0
- package/elements/button/styles/button-standard.scss +2 -2
- package/elements/card/Card.scss +1 -1
- package/elements/category-dropdown/CategoryDropdown.scss +1 -1
- package/elements/chips/Chip.scss +5 -0
- package/elements/chips/Chips.scss +3 -0
- package/elements/ckeditor/CKEditor.scss +27 -4
- package/elements/common/typography/caption/caption.scss +0 -5
- package/elements/common/typography/label/label.scss +0 -7
- package/elements/common/typography/link/link.scss +3 -1
- package/elements/common/typography/text/text.scss +0 -7
- package/elements/common/typography/text.mixins.scss +4 -2
- package/elements/common/typography/title/title.scss +0 -7
- package/elements/data-table/data-table.component.scss +9 -4
- package/elements/data-table/sort-filter/sort-button.component.scss +1 -1
- package/elements/date-picker/DatePicker.scss +5 -2
- package/elements/field/field.scss +1 -0
- package/elements/form/ControlGroup.scss +3 -2
- package/elements/form/Form.scss +22 -33
- package/elements/header/Header.scss +31 -27
- package/elements/icon/Icon.scss +3 -1
- package/elements/list/List.scss +1 -1
- package/elements/modal/modal.component.scss +4 -3
- package/elements/picker/Picker.scss +2 -4
- package/elements/search/SearchBox.scss +4 -15
- package/elements/switch/Switch.scss +1 -1
- package/elements/tabbed-group-picker/TabbedGroupPicker.scss +5 -25
- package/elements/table/Table.scss +6 -3
- package/elements/tabs/Tabs.scss +2 -2
- package/elements/time-picker/TimePicker.scss +21 -17
- package/elements/tooltip/Tooltip.scss +77 -148
- package/esm2015/src/elements/aside/aside.service.js +9 -10
- package/esm2015/src/elements/avatar/Avatar.js +1 -1
- package/esm2015/src/elements/breadcrumbs/breadcrumb-item/BreadcrumbItem.js +1 -1
- package/esm2015/src/elements/button/Button.js +2 -2
- package/esm2015/src/elements/calendar/calendar.component.js +5 -2
- package/esm2015/src/elements/calendar/month-view/month-view.component.js +3 -2
- package/esm2015/src/elements/chips/Chip.js +1 -1
- package/esm2015/src/elements/common/directives/bg.directive.js +11 -4
- package/esm2015/src/elements/common/directives/color.directive.js +10 -3
- package/esm2015/src/elements/common/option/optgroup.component.js +1 -1
- package/esm2015/src/elements/common/option/option.component.js +1 -1
- package/esm2015/src/elements/common/typography/caption/caption.component.js +1 -1
- package/esm2015/src/elements/common/typography/label/label.component.js +1 -1
- package/esm2015/src/elements/common/typography/link/link.component.js +1 -1
- package/esm2015/src/elements/common/typography/text/text.component.js +1 -1
- package/esm2015/src/elements/common/typography/title/title.component.js +3 -3
- package/esm2015/src/elements/data-table/cell-headers/data-table-checkbox-header-cell.component.js +15 -12
- package/esm2015/src/elements/data-table/cell-headers/data-table-header-cell.component.js +91 -89
- package/esm2015/src/elements/data-table/cells/data-table-checkbox-cell.component.js +6 -4
- package/esm2015/src/elements/data-table/data-table.component.js +27 -8
- package/esm2015/src/elements/data-table/pagination/data-table-pagination.component.js +8 -4
- package/esm2015/src/elements/data-table/sort-filter/sort-button.component.js +1 -1
- package/esm2015/src/elements/data-table/state/data-table-state.service.js +5 -3
- package/esm2015/src/elements/date-picker/DatePicker.js +5 -1
- package/esm2015/src/elements/date-picker/DatePickerInput.js +12 -4
- package/esm2015/src/elements/date-picker/DateRangeInput.js +13 -3
- package/esm2015/src/elements/date-picker/MultiDateInput.js +7 -5
- package/esm2015/src/elements/expansion/expansion-panel.js +1 -1
- package/esm2015/src/elements/field/field.js +1 -1
- package/esm2015/src/elements/field/formats/date-format.js +3 -1
- package/esm2015/src/elements/field/formats/time-format.js +33 -2
- package/esm2015/src/elements/field/hint/hint.js +1 -1
- package/esm2015/src/elements/form/Control.js +4 -1
- package/esm2015/src/elements/form/ControlGroup.js +2 -2
- package/esm2015/src/elements/form/ControlTemplates.js +16 -1
- package/esm2015/src/elements/form/Form.module.js +3 -1
- package/esm2015/src/elements/form/FormControls.js +2 -1
- package/esm2015/src/elements/form/controls/ControlFactory.js +4 -2
- package/esm2015/src/elements/form/controls/index.js +3 -1
- package/esm2015/src/elements/form/controls/switch/SwitchControl.js +9 -0
- package/esm2015/src/elements/form/controls/switch/index.js +2 -0
- package/esm2015/src/elements/icon/Icon.js +5 -2
- package/esm2015/src/elements/layout/sidenav/sidenav.component.js +1 -1
- package/esm2015/src/elements/menu/menu-content.component.js +1 -1
- package/esm2015/src/elements/modal/modal.animation.js +3 -3
- package/esm2015/src/elements/progress/ProgressBar.js +1 -1
- package/esm2015/src/elements/search/SearchBox.js +2 -2
- package/esm2015/src/elements/select/Select.js +27 -6
- package/esm2015/src/elements/switch/Switch.js +14 -8
- package/esm2015/src/elements/tabbed-group-picker/TabbedGroupPicker.js +2 -2
- package/esm2015/src/elements/tabs/Tabs.js +49 -6
- package/esm2015/src/elements/time-picker/TimePicker.js +8 -4
- package/esm2015/src/elements/time-picker/TimePickerInput.js +60 -12
- package/esm2015/src/elements/toolbar/toolbar.component.js +1 -1
- package/esm2015/src/elements/tooltip/Tooltip.component.js +4 -6
- package/esm2015/src/utils/form-utils/FormUtils.js +5 -2
- package/fesm2015/novo-elements.js +462 -202
- package/fesm2015/novo-elements.js.map +1 -1
- package/novo-elements.scss +36 -19
- package/package.json +2 -2
- package/schematics/ng-add/fonts/novo-fonts.js +0 -1
- package/schematics/ng-add/fonts/novo-fonts.js.map +1 -1
- package/schematics/ng-add/setup-project.js +5 -5
- package/schematics/ng-add/setup-project.js.map +1 -1
- package/schematics/package.json +1 -1
- package/src/elements/aside/aside.service.d.ts +1 -1
- package/src/elements/button/Button.d.ts +1 -1
- package/src/elements/calendar/calendar.component.d.ts +3 -0
- package/src/elements/calendar/month-view/month-view.component.d.ts +1 -0
- package/src/elements/common/directives/bg.directive.d.ts +2 -1
- package/src/elements/common/directives/color.directive.d.ts +1 -0
- package/src/elements/data-table/cell-headers/data-table-checkbox-header-cell.component.d.ts +0 -1
- package/src/elements/data-table/data-table.component.d.ts +3 -1
- package/src/elements/data-table/pagination/data-table-pagination.component.d.ts +2 -0
- package/src/elements/data-table/state/data-table-state.service.d.ts +2 -1
- package/src/elements/date-picker/DatePickerInput.d.ts +4 -2
- package/src/elements/date-picker/DateRangeInput.d.ts +5 -2
- package/src/elements/field/formats/time-format.d.ts +5 -2
- package/src/elements/form/FormControls.d.ts +1 -0
- package/src/elements/form/controls/index.d.ts +2 -0
- package/src/elements/form/controls/switch/SwitchControl.d.ts +5 -0
- package/src/elements/form/controls/switch/index.d.ts +1 -0
- package/src/elements/select/Select.d.ts +2 -1
- package/src/elements/switch/Switch.d.ts +3 -1
- package/src/elements/tabs/Tabs.d.ts +12 -2
- package/src/elements/time-picker/TimePickerInput.d.ts +10 -2
- package/styles/cdk.scss +3 -4
- package/styles/content/code.scss +15 -9
- package/styles/content/forms.scss +3 -0
- package/styles/content/root.scss +5 -6
- package/styles/reset.scss +2 -2
- package/styles/themes/dark.scss +8 -1
- package/styles/themes/light.scss +8 -4
- package/styles/typography.scss +5 -0
- package/styles/variables.scss +8 -3
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
color: $dark;
|
|
8
8
|
border: none;
|
|
9
9
|
border-radius: 0;
|
|
10
|
-
border-bottom: 1px solid
|
|
10
|
+
border-bottom: 1px solid var(--border);
|
|
11
11
|
margin-bottom: 4px;
|
|
12
12
|
padding: $spacing-xs $spacing-sm;
|
|
13
13
|
font-size: 1.2rem;
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
&:hover,
|
|
17
17
|
&:focus,
|
|
18
18
|
&:active {
|
|
19
|
-
border-bottom: 1px solid
|
|
19
|
+
border-bottom: 1px solid var(--selection);
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
// Select Themed Button
|
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
align-items: center;
|
|
28
28
|
background-color: transparent;
|
|
29
29
|
border: none;
|
|
30
|
-
border-bottom: 1px solid
|
|
30
|
+
border-bottom: 1px solid var(--border);
|
|
31
31
|
border-radius: 0;
|
|
32
|
-
color:
|
|
32
|
+
color: var(--text-main);
|
|
33
33
|
padding: 0;
|
|
34
34
|
height: 2rem;
|
|
35
35
|
min-height: 2rem;
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
height: 1.8rem;
|
|
44
44
|
|
|
45
45
|
&.empty {
|
|
46
|
-
color:
|
|
46
|
+
color: var(--text-muted);
|
|
47
47
|
}
|
|
48
48
|
&:focus,
|
|
49
49
|
&:hover {
|
|
@@ -56,14 +56,14 @@
|
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
&:focus {
|
|
59
|
-
border-bottom: 1px solid
|
|
59
|
+
border-bottom: 1px solid var(--selection);
|
|
60
60
|
i {
|
|
61
61
|
color: rgba(0, 0, 0, 0.73);
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
i {
|
|
65
65
|
font-size: 0.8rem;
|
|
66
|
-
color:
|
|
66
|
+
color: var(--text-main);
|
|
67
67
|
opacity: 0.45;
|
|
68
68
|
}
|
|
69
69
|
}
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
// Standard Themed Icon
|
|
5
5
|
&[theme="standard"] {
|
|
6
6
|
@include theme-backgrounds("color", false);
|
|
7
|
-
color:
|
|
8
|
-
background:
|
|
7
|
+
color: var(--button-text);
|
|
8
|
+
background: var(--button-background);
|
|
9
9
|
&:hover,
|
|
10
10
|
&:focus {
|
|
11
11
|
box-shadow: $shadow-2, $shadow-1;
|
package/elements/card/Card.scss
CHANGED
package/elements/chips/Chip.scss
CHANGED
|
@@ -174,12 +174,17 @@ $chip-spacing: (
|
|
|
174
174
|
border-radius: 0.4rem;
|
|
175
175
|
padding: $spacing-none $spacing;
|
|
176
176
|
min-height: $height;
|
|
177
|
+
gap: $spacing;
|
|
178
|
+
|
|
177
179
|
&.novo-chip-with-avatar {
|
|
178
180
|
padding-left: $spacing / 2;
|
|
179
181
|
}
|
|
180
182
|
&.novo-chip-with-trailing-icon {
|
|
181
183
|
padding-right: $spacing / 2;
|
|
182
184
|
}
|
|
185
|
+
.novo-text {
|
|
186
|
+
font-size: inherit;
|
|
187
|
+
}
|
|
183
188
|
}
|
|
184
189
|
}
|
|
185
190
|
|
|
@@ -2,11 +2,11 @@ novo-editor {
|
|
|
2
2
|
.cke {
|
|
3
3
|
font: inherit !important;
|
|
4
4
|
box-shadow: none;
|
|
5
|
-
border-color:
|
|
5
|
+
border-color: var(--background-muted);
|
|
6
6
|
|
|
7
7
|
.cke_top,
|
|
8
8
|
.cke_bottom {
|
|
9
|
-
background:
|
|
9
|
+
background: var(--background-muted) none;
|
|
10
10
|
box-shadow: none;
|
|
11
11
|
}
|
|
12
12
|
|
|
@@ -23,15 +23,38 @@ novo-editor {
|
|
|
23
23
|
.cke_dialog {
|
|
24
24
|
.cke_dialog_title {
|
|
25
25
|
text-shadow: none;
|
|
26
|
-
background:
|
|
26
|
+
background: var(--background-muted) none;
|
|
27
27
|
box-shadow: none;
|
|
28
28
|
border-bottom: none;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
.cke_dialog_footer {
|
|
32
32
|
text-shadow: none;
|
|
33
|
-
background:
|
|
33
|
+
background: var(--background-muted) none;
|
|
34
34
|
box-shadow: none;
|
|
35
35
|
border-top: none;
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
|
+
|
|
39
|
+
.theme-dark {
|
|
40
|
+
.cke_button {
|
|
41
|
+
filter: invert(1);
|
|
42
|
+
}
|
|
43
|
+
.cke_combo {
|
|
44
|
+
a.cke_combo_button {
|
|
45
|
+
&:hover,
|
|
46
|
+
&:active,
|
|
47
|
+
&:focus,
|
|
48
|
+
&.cke_combo_on {
|
|
49
|
+
background: var(--background-main);
|
|
50
|
+
border: 1px solid var(--border);
|
|
51
|
+
}
|
|
52
|
+
.cke_combo_text {
|
|
53
|
+
color: white;
|
|
54
|
+
}
|
|
55
|
+
.cke_combo_arrow {
|
|
56
|
+
border-top-color: white;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
@@ -6,7 +6,9 @@
|
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
@mixin base-text-rules() {
|
|
9
|
+
transition-property: color, opacity;
|
|
9
10
|
transition: 0.2s ease-out;
|
|
11
|
+
vertical-align: middle;
|
|
10
12
|
|
|
11
13
|
&.text-nowrap {
|
|
12
14
|
white-space: nowrap;
|
|
@@ -137,7 +139,7 @@
|
|
|
137
139
|
}
|
|
138
140
|
|
|
139
141
|
@mixin novo-title-text() {
|
|
140
|
-
font-weight:
|
|
142
|
+
font-weight: 500;
|
|
141
143
|
line-height: 1.5;
|
|
142
144
|
color: var(--text-main, $dark);
|
|
143
145
|
white-space: nowrap;
|
|
@@ -148,7 +150,7 @@
|
|
|
148
150
|
|
|
149
151
|
@mixin novo-label-text() {
|
|
150
152
|
font-weight: 500;
|
|
151
|
-
text-transform: uppercase;
|
|
153
|
+
// text-transform: uppercase;
|
|
152
154
|
word-break: word-break;
|
|
153
155
|
overflow-wrap: break-word;
|
|
154
156
|
line-height: 1.375;
|
|
@@ -152,17 +152,17 @@ cdk-table {
|
|
|
152
152
|
display: inline-block;
|
|
153
153
|
}
|
|
154
154
|
.filter-button {
|
|
155
|
-
color:
|
|
155
|
+
color: var(--text-muted);
|
|
156
156
|
background: transparent;
|
|
157
157
|
pointer-events: all;
|
|
158
158
|
margin-left: 0.5rem;
|
|
159
159
|
line-height: 1em;
|
|
160
160
|
|
|
161
161
|
&:hover {
|
|
162
|
-
color:
|
|
162
|
+
color: var(--text-main);
|
|
163
163
|
}
|
|
164
164
|
&.filter-active {
|
|
165
|
-
color:
|
|
165
|
+
color: var(--selection);
|
|
166
166
|
}
|
|
167
167
|
}
|
|
168
168
|
|
|
@@ -635,7 +635,7 @@ novo-data-table-pagination {
|
|
|
635
635
|
max-width: 230px;
|
|
636
636
|
max-height: 500px;
|
|
637
637
|
overflow-x: hidden;
|
|
638
|
-
overflow-y:
|
|
638
|
+
overflow-y: hidden;
|
|
639
639
|
&.right {
|
|
640
640
|
margin-left: -150px !important;
|
|
641
641
|
}
|
|
@@ -651,6 +651,11 @@ novo-data-table-pagination {
|
|
|
651
651
|
// }
|
|
652
652
|
// }
|
|
653
653
|
}
|
|
654
|
+
.optgroup-container {
|
|
655
|
+
max-height: 346px;
|
|
656
|
+
overflow-y: auto;
|
|
657
|
+
overflow-x: hidden;
|
|
658
|
+
}
|
|
654
659
|
.dropdown-list-options {
|
|
655
660
|
max-height: 346px;
|
|
656
661
|
overflow-y: auto;
|
|
@@ -276,6 +276,7 @@ novo-date-range-input {
|
|
|
276
276
|
// display: block;
|
|
277
277
|
display: flex;
|
|
278
278
|
flex-flow: row nowrap;
|
|
279
|
+
height: min-content;
|
|
279
280
|
|
|
280
281
|
&.disabled {
|
|
281
282
|
pointer-events: none;
|
|
@@ -283,17 +284,19 @@ novo-date-range-input {
|
|
|
283
284
|
}
|
|
284
285
|
.date-range-input-container {
|
|
285
286
|
position: relative;
|
|
287
|
+
height: min-content;
|
|
286
288
|
}
|
|
287
289
|
.date-range-input-divider {
|
|
288
290
|
font-weight: 800;
|
|
289
291
|
margin: 0 0.5em;
|
|
290
292
|
align-self: center;
|
|
293
|
+
height: min-content;
|
|
291
294
|
}
|
|
292
295
|
|
|
293
296
|
input {
|
|
294
297
|
font-size: 1em;
|
|
295
298
|
border: none;
|
|
296
|
-
border-bottom: 1px solid
|
|
299
|
+
border-bottom: 1px solid var(--border);
|
|
297
300
|
background: transparent !important;
|
|
298
301
|
border-radius: 0;
|
|
299
302
|
outline: none;
|
|
@@ -304,7 +307,7 @@ novo-date-range-input {
|
|
|
304
307
|
box-shadow: none;
|
|
305
308
|
box-sizing: content-box;
|
|
306
309
|
transition: all 300ms;
|
|
307
|
-
color:
|
|
310
|
+
color: var(--text-main);
|
|
308
311
|
&:focus {
|
|
309
312
|
border-bottom: 1px solid $ocean;
|
|
310
313
|
}
|
|
@@ -128,7 +128,7 @@ novo-control-group {
|
|
|
128
128
|
}
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
|
-
|
|
131
|
+
.novo-control-group-row {
|
|
132
132
|
.novo-control-group-control {
|
|
133
133
|
display: flex;
|
|
134
134
|
}
|
|
@@ -159,7 +159,8 @@ novo-control-group {
|
|
|
159
159
|
align-items: center;
|
|
160
160
|
}
|
|
161
161
|
}
|
|
162
|
-
button
|
|
162
|
+
button[theme="icon"],
|
|
163
|
+
novo-button[theme="icon"] {
|
|
163
164
|
padding: 3px;
|
|
164
165
|
height: 3rem;
|
|
165
166
|
width: 3rem;
|
package/elements/form/Form.scss
CHANGED
|
@@ -2,18 +2,20 @@
|
|
|
2
2
|
@import "./extras/file/FileInput";
|
|
3
3
|
@import "./ControlGroup";
|
|
4
4
|
.novo-form-control-label {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
font-weight: 500;
|
|
6
|
+
word-break: word-break;
|
|
7
|
+
overflow-wrap: break-word;
|
|
8
|
+
line-height: 1.375;
|
|
9
|
+
color: var(--text-muted);
|
|
10
|
+
font-size: var(--font-size-label);
|
|
11
|
+
// original
|
|
7
12
|
flex: 1;
|
|
8
13
|
max-width: 130px;
|
|
9
14
|
min-width: 130px;
|
|
10
|
-
font-weight: 500;
|
|
11
15
|
transition: 200ms ease-out;
|
|
12
16
|
margin-right: 35px;
|
|
13
|
-
text-transform: uppercase;
|
|
14
17
|
padding-top: 8px;
|
|
15
|
-
|
|
16
|
-
overflow-wrap: break-word;
|
|
18
|
+
|
|
17
19
|
&.encrypted {
|
|
18
20
|
max-width: 110px;
|
|
19
21
|
min-width: 110px;
|
|
@@ -36,24 +38,6 @@ novo-form {
|
|
|
36
38
|
form {
|
|
37
39
|
width: 100%;
|
|
38
40
|
|
|
39
|
-
.novo-fieldset-header {
|
|
40
|
-
background: $off-white;
|
|
41
|
-
box-sizing: content-box;
|
|
42
|
-
padding: 1rem 1rem 1rem 2rem;
|
|
43
|
-
margin-bottom: 2rem;
|
|
44
|
-
display: flex;
|
|
45
|
-
margin-left: -1.5rem;
|
|
46
|
-
margin-right: -1.5rem;
|
|
47
|
-
font-size: 1.8rem;
|
|
48
|
-
i,
|
|
49
|
-
novo-icon {
|
|
50
|
-
margin: 1px 10px 1px 6px;
|
|
51
|
-
}
|
|
52
|
-
&.hidden {
|
|
53
|
-
display: none;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
|
|
57
41
|
div.novo-form-row,
|
|
58
42
|
div.novo-control-group-control,
|
|
59
43
|
td.novo-form-row {
|
|
@@ -204,7 +188,7 @@ novo-form {
|
|
|
204
188
|
}
|
|
205
189
|
.field-message,
|
|
206
190
|
novo-tip-well.active {
|
|
207
|
-
font-size:
|
|
191
|
+
font-size: var(--font-size-caption);
|
|
208
192
|
padding: 5px 0;
|
|
209
193
|
margin-left: 22px;
|
|
210
194
|
margin-bottom: 5px;
|
|
@@ -246,6 +230,7 @@ novo-form {
|
|
|
246
230
|
display: flex;
|
|
247
231
|
}
|
|
248
232
|
.description {
|
|
233
|
+
color: var(--text-muted);
|
|
249
234
|
display: flex;
|
|
250
235
|
padding-bottom: 5px;
|
|
251
236
|
flex: 1;
|
|
@@ -257,7 +242,7 @@ novo-form {
|
|
|
257
242
|
}
|
|
258
243
|
.error-message {
|
|
259
244
|
color: $negative;
|
|
260
|
-
font-size:
|
|
245
|
+
font-size: var(--font-size-caption);
|
|
261
246
|
padding: 5px 0;
|
|
262
247
|
flex-basis: 100%;
|
|
263
248
|
margin-left: 185px;
|
|
@@ -410,7 +395,7 @@ novo-form {
|
|
|
410
395
|
box-sizing: content-box;
|
|
411
396
|
transition: all 300ms;
|
|
412
397
|
transition: height 0ms;
|
|
413
|
-
color:
|
|
398
|
+
color: var(--text-main);
|
|
414
399
|
overflow-y: hidden;
|
|
415
400
|
&:hover {
|
|
416
401
|
border-bottom: 1px solid lighten($dark, 15%);
|
|
@@ -736,12 +721,15 @@ novo-form {
|
|
|
736
721
|
}
|
|
737
722
|
}
|
|
738
723
|
> label.novo-control-label {
|
|
739
|
-
bottom: 20px;
|
|
740
|
-
color: var(--text-main);
|
|
741
|
-
font-size: 1.1rem;
|
|
742
724
|
font-weight: 500;
|
|
743
|
-
|
|
725
|
+
word-break: word-break;
|
|
726
|
+
overflow-wrap: break-word;
|
|
727
|
+
line-height: 1.375;
|
|
728
|
+
color: var(--text-muted);
|
|
729
|
+
font-size: var(--font-size-label);
|
|
730
|
+
// original
|
|
744
731
|
position: absolute;
|
|
732
|
+
bottom: 20px;
|
|
745
733
|
left: 22px;
|
|
746
734
|
pointer-events: none;
|
|
747
735
|
z-index: z(default);
|
|
@@ -839,13 +827,14 @@ control-prompt-modal {
|
|
|
839
827
|
|
|
840
828
|
// Isolate styles
|
|
841
829
|
.novo-fieldset-header {
|
|
842
|
-
background:
|
|
830
|
+
background: var(--background-muted);
|
|
843
831
|
box-sizing: content-box;
|
|
844
|
-
padding: 1rem 1rem 1rem
|
|
832
|
+
padding: 1rem 1rem 1rem 0.5rem;
|
|
845
833
|
margin-bottom: 2rem;
|
|
846
834
|
display: flex;
|
|
847
835
|
margin-left: -1.5rem;
|
|
848
836
|
margin-right: -1.5rem;
|
|
837
|
+
font-size: 1.8rem;
|
|
849
838
|
i,
|
|
850
839
|
novo-icon {
|
|
851
840
|
margin: 1px 10px 1px 6px;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
.novo-header {
|
|
2
2
|
display: block;
|
|
3
|
+
background-color: var(--background-bright, $white);
|
|
3
4
|
|
|
4
5
|
.spacer {
|
|
5
6
|
flex: 1 1 0%;
|
|
@@ -14,7 +15,6 @@
|
|
|
14
15
|
&.header-size-small > section {
|
|
15
16
|
height: 3.2rem;
|
|
16
17
|
}
|
|
17
|
-
|
|
18
18
|
&.header-size-default > section {
|
|
19
19
|
height: 5rem;
|
|
20
20
|
}
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
box-sizing: border-box;
|
|
32
32
|
// line-height: 4rem;
|
|
33
33
|
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
.header-icon {
|
|
35
|
+
font-size: var(--font-size-2xl);
|
|
36
36
|
}
|
|
37
37
|
div.header-title {
|
|
38
38
|
display: flex;
|
|
@@ -48,25 +48,21 @@
|
|
|
48
48
|
display: flex;
|
|
49
49
|
flex-direction: column;
|
|
50
50
|
max-width: 100%;
|
|
51
|
+
.novo-title {
|
|
52
|
+
overflow: hidden;
|
|
53
|
+
white-space: nowrap;
|
|
54
|
+
text-overflow: ellipsis;
|
|
55
|
+
}
|
|
51
56
|
h1 {
|
|
52
|
-
|
|
53
|
-
// line-height: 1.5;
|
|
57
|
+
@include novo-title-text();
|
|
54
58
|
margin: 0;
|
|
55
59
|
padding: 0;
|
|
56
60
|
display: inline-block;
|
|
57
|
-
font-weight: 500;
|
|
58
61
|
overflow: hidden;
|
|
59
62
|
white-space: nowrap;
|
|
60
63
|
text-overflow: ellipsis;
|
|
61
64
|
padding-right: 20px;
|
|
62
65
|
}
|
|
63
|
-
header-spacer {
|
|
64
|
-
display: inline-block;
|
|
65
|
-
height: 1.8em;
|
|
66
|
-
width: 2px;
|
|
67
|
-
margin: 0 0.6em;
|
|
68
|
-
background-color: rgba(0, 0, 0, 0.25);
|
|
69
|
-
}
|
|
70
66
|
}
|
|
71
67
|
> section {
|
|
72
68
|
flex: 2 2 250px;
|
|
@@ -80,13 +76,19 @@
|
|
|
80
76
|
gap: $spacing-sm;
|
|
81
77
|
}
|
|
82
78
|
|
|
83
|
-
novo-action {
|
|
79
|
+
.novo-action {
|
|
84
80
|
display: flex;
|
|
85
81
|
}
|
|
86
82
|
}
|
|
87
83
|
|
|
88
84
|
@include theme-colors() using ($name, $color, $contrast, $tint, $shade, $pale) {
|
|
89
85
|
&.novo-accent-#{$name} {
|
|
86
|
+
.header-titles,
|
|
87
|
+
.header-title {
|
|
88
|
+
.novo-icon {
|
|
89
|
+
color: $color;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
90
92
|
& > section:first-of-type {
|
|
91
93
|
border-bottom: 2px solid $color;
|
|
92
94
|
}
|
|
@@ -119,22 +121,16 @@
|
|
|
119
121
|
}
|
|
120
122
|
}
|
|
121
123
|
&.condensed {
|
|
124
|
+
.header-title,
|
|
125
|
+
.header-titles {
|
|
126
|
+
line-height: 1.375;
|
|
127
|
+
}
|
|
122
128
|
> section {
|
|
123
|
-
|
|
124
|
-
i {
|
|
125
|
-
font-size: 1.2rem;
|
|
126
|
-
}
|
|
129
|
+
height: 3.6rem;
|
|
127
130
|
}
|
|
128
|
-
novo-icon {
|
|
131
|
+
.novo-icon {
|
|
129
132
|
margin-right: 0.5rem !important;
|
|
130
|
-
|
|
131
|
-
font-size: 1.4rem;
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
button[theme][theme="icon"] {
|
|
135
|
-
width: 30px !important;
|
|
136
|
-
height: 30px !important;
|
|
137
|
-
padding: 5px;
|
|
133
|
+
font-size: 1.8rem;
|
|
138
134
|
}
|
|
139
135
|
}
|
|
140
136
|
|
|
@@ -143,3 +139,11 @@
|
|
|
143
139
|
flex-flow: row nowrap;
|
|
144
140
|
}
|
|
145
141
|
}
|
|
142
|
+
|
|
143
|
+
header-spacer {
|
|
144
|
+
display: inline-block;
|
|
145
|
+
height: 1.8em;
|
|
146
|
+
width: 2px;
|
|
147
|
+
margin: 0 0.6em;
|
|
148
|
+
background-color: rgba(0, 0, 0, 0.25);
|
|
149
|
+
}
|
package/elements/icon/Icon.scss
CHANGED
|
@@ -13,6 +13,8 @@ novo-icon {
|
|
|
13
13
|
align-items: center;
|
|
14
14
|
justify-content: center;
|
|
15
15
|
font-size: 1.2em;
|
|
16
|
+
line-height: inherit;
|
|
17
|
+
vertical-align: middle;
|
|
16
18
|
i {
|
|
17
19
|
display: flex;
|
|
18
20
|
justify-content: center;
|
|
@@ -26,7 +28,7 @@ novo-icon {
|
|
|
26
28
|
color: inherit;
|
|
27
29
|
}
|
|
28
30
|
* {
|
|
29
|
-
display: none;
|
|
31
|
+
display: none !important;
|
|
30
32
|
}
|
|
31
33
|
}
|
|
32
34
|
|