@porscheinformatik/clr-addons 13.4.3 → 13.5.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/datagrid/datagrid-state-persistence/state-persistence-key.directive.d.ts +12 -2
- package/esm2020/abstract-form-component/abstract-form-component.mjs +4 -4
- package/esm2020/abstract-form-component/control-id.service.mjs +4 -4
- package/esm2020/abstract-form-component/form.module.mjs +5 -5
- package/esm2020/abstract-form-component/label.mjs +4 -4
- package/esm2020/autocomplete-off/autocomplete-off.directive.mjs +4 -4
- package/esm2020/autocomplete-off/autocomplete-off.module.mjs +5 -5
- package/esm2020/back-button/back-button.mjs +4 -4
- package/esm2020/back-button/back-button.module.mjs +5 -5
- package/esm2020/brand-avatar/brand-avatar.mjs +4 -4
- package/esm2020/brand-avatar/brand-avatar.module.mjs +5 -5
- package/esm2020/breadcrumb/breadcrumb.mjs +4 -4
- package/esm2020/breadcrumb/breadcrumb.module.mjs +5 -5
- package/esm2020/breadcrumb/breadcrumb.service.mjs +4 -4
- package/esm2020/clr-addons.module.mjs +5 -5
- package/esm2020/collapse-expand-section/collapse-expand-section.mjs +4 -4
- package/esm2020/collapse-expand-section/collapse-expand-section.module.mjs +5 -5
- package/esm2020/content-panel/content-panel-container-content.mjs +4 -4
- package/esm2020/content-panel/content-panel-container-footer.mjs +4 -4
- package/esm2020/content-panel/content-panel-container.mjs +4 -4
- package/esm2020/content-panel/content-panel.mjs +4 -4
- package/esm2020/content-panel/content-panel.module.mjs +5 -5
- package/esm2020/data-list-validator/data-list-predefined-validator.directive.mjs +4 -4
- package/esm2020/data-list-validator/data-list-validator.module.mjs +5 -5
- package/esm2020/datagrid/datagrid-state-persistence/column-hidden-state-persistence.directive.mjs +4 -4
- package/esm2020/datagrid/datagrid-state-persistence/datagrid-field.directive.mjs +4 -4
- package/esm2020/datagrid/datagrid-state-persistence/datagrid-state-persistence.module.mjs +5 -5
- package/esm2020/datagrid/datagrid-state-persistence/state-persistence-key.directive.mjs +42 -5
- package/esm2020/datagrid/date-filter/date-filter.component.mjs +4 -4
- package/esm2020/datagrid/date-filter/date-filter.module.mjs +5 -5
- package/esm2020/datagrid/enum-filter/enum-filter.component.mjs +4 -4
- package/esm2020/datagrid/enum-filter/enum-filter.module.mjs +5 -5
- package/esm2020/date-time-container/date-time-container.mjs +4 -4
- package/esm2020/date-time-container/date-time-module.mjs +5 -5
- package/esm2020/date-time-container/time-input.mjs +4 -4
- package/esm2020/dot-pager/dot-pager.mjs +4 -4
- package/esm2020/dot-pager/dot-pager.module.mjs +5 -5
- package/esm2020/dropdown/clr-dropdown-overflow.directive.mjs +4 -4
- package/esm2020/dropdown/clr-dropdown-overflow.module.mjs +5 -5
- package/esm2020/flow-bar/flow-bar.mjs +4 -4
- package/esm2020/flow-bar/flow-bar.module.mjs +5 -5
- package/esm2020/generic-quick-list/generic-quick-list.mjs +4 -4
- package/esm2020/generic-quick-list/generic-quick-list.module.mjs +5 -5
- package/esm2020/history/history-pinned.mjs +4 -4
- package/esm2020/history/history.mjs +4 -4
- package/esm2020/history/history.module.mjs +5 -5
- package/esm2020/history/history.service.mjs +4 -4
- package/esm2020/letter-avatar/letter-avatar.mjs +4 -4
- package/esm2020/letter-avatar/letter-avatar.module.mjs +5 -5
- package/esm2020/location-bar/location-bar-node/location-bar-node.component.mjs +4 -4
- package/esm2020/location-bar/location-bar.component.mjs +4 -4
- package/esm2020/location-bar/location-bar.module.mjs +5 -5
- package/esm2020/main-nav-group/main-nav-group-item.mjs +4 -4
- package/esm2020/main-nav-group/main-nav-group.mjs +4 -4
- package/esm2020/main-nav-group/main-nav-group.module.mjs +5 -5
- package/esm2020/multilingual/abstract-multilingual.mjs +8 -5
- package/esm2020/multilingual/multilingual-input/multilingual-input.mjs +4 -4
- package/esm2020/multilingual/multilingual-selector.mjs +4 -4
- package/esm2020/multilingual/multilingual-textarea/multilingual-textarea.mjs +4 -4
- package/esm2020/multilingual/multilingual-validators.mjs +7 -7
- package/esm2020/multilingual/multilingual.module.mjs +5 -5
- package/esm2020/notification/notification.mjs +4 -4
- package/esm2020/notification/notification.module.mjs +5 -5
- package/esm2020/notification/notification.service.mjs +4 -4
- package/esm2020/numericfield/numeric-field-validators.mjs +7 -7
- package/esm2020/numericfield/numeric-field.mjs +4 -4
- package/esm2020/numericfield/numeric-field.module.mjs +5 -5
- package/esm2020/paged-search-result-list/paged-search-result-list.mjs +4 -4
- package/esm2020/paged-search-result-list/paged-search-result-list.module.mjs +5 -5
- package/esm2020/pager/pager.mjs +4 -4
- package/esm2020/pager/pager.module.mjs +5 -5
- package/esm2020/progress-spinner/progress-spinner.mjs +4 -4
- package/esm2020/progress-spinner/progress-spinner.module.mjs +5 -5
- package/esm2020/quick-list/add-option.mjs +4 -4
- package/esm2020/quick-list/quick-list.mjs +4 -4
- package/esm2020/quick-list/quick-list.module.mjs +5 -5
- package/esm2020/searchfield/search-field.mjs +4 -4
- package/esm2020/searchfield/search-field.module.mjs +5 -5
- package/esm2020/treetable/renderer/cell-renderer.mjs +4 -4
- package/esm2020/treetable/renderer/header-renderer.mjs +4 -4
- package/esm2020/treetable/renderer/main-renderer.mjs +4 -4
- package/esm2020/treetable/renderer/row-renderer.mjs +4 -4
- package/esm2020/treetable/treetable-action-overflow.mjs +4 -4
- package/esm2020/treetable/treetable-cell.mjs +4 -4
- package/esm2020/treetable/treetable-column.mjs +4 -4
- package/esm2020/treetable/treetable-placeholder.mjs +4 -4
- package/esm2020/treetable/treetable-row.mjs +4 -4
- package/esm2020/treetable/treetable.mjs +4 -4
- package/esm2020/treetable/treetable.module.mjs +5 -5
- package/esm2020/view-edit-section/view-edit-section.mjs +4 -4
- package/esm2020/view-edit-section/view-edit-section.module.mjs +5 -5
- package/fesm2015/clr-addons.mjs +349 -308
- package/fesm2015/clr-addons.mjs.map +1 -1
- package/fesm2020/clr-addons.mjs +348 -308
- package/fesm2020/clr-addons.mjs.map +1 -1
- package/package.json +1 -1
- package/src/back-button/back-button.scss +0 -7
- package/src/brand-avatar/brand-avatar.scss +0 -26
- package/src/breadcrumb/breadcrumb.scss +0 -21
- package/src/collapse-expand-section/collapse-expand-section.scss +0 -32
- package/src/components.clr-addons.scss +0 -408
- package/src/components.variables.clr-addons.scss +0 -43
- package/src/content-panel/content-panel.scss +0 -90
- package/src/datagrid/date-filter/date-filter.component.scss +0 -0
- package/src/datagrid/enum-filter/enum-filter.component.scss +0 -3
- package/src/date-time-container/date-time-container.scss +0 -18
- package/src/dot-pager/dot-pager.scss +0 -11
- package/src/flow-bar/flow-bar.scss +0 -95
- package/src/generic-quick-list/generic-quick-list.scss +0 -219
- package/src/header.clr-addons.scss +0 -377
- package/src/history/history.scss +0 -25
- package/src/letter-avatar/letter-avatar.scss +0 -27
- package/src/location-bar/location-bar-node/location-bar-node.component.scss +0 -55
- package/src/main-nav-group/main-nav-group.scss +0 -156
- package/src/mixins.scss +0 -38
- package/src/mobile.scss +0 -103
- package/src/multilingual/multilingual.scss +0 -39
- package/src/notification/notification.scss +0 -94
- package/src/numericfield/numeric-field.scss +0 -18
- package/src/paged-search-result-list/paged-search-result-list.scss +0 -10
- package/src/pager/pager.scss +0 -22
- package/src/progress-spinner/progress-spinner.scss +0 -15
- package/src/quick-list/quick-list.scss +0 -23
- package/src/searchfield/search-field.scss +0 -33
- package/src/themes/phs/css.overrides.scss +0 -148
- package/src/themes/phs/phs-theme.scss +0 -13
- package/src/themes/phs/theme.clarity.scss +0 -262
- package/src/themes/phs/variables.color.scss +0 -41
- package/src/treetable/treetable.scss +0 -338
- package/src/view-edit-section/view-edit-section.scss +0 -38
package/package.json
CHANGED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
@include exports('brand-avatar.clr-addons') {
|
|
2
|
-
.clr-brand-avatar {
|
|
3
|
-
.brand-avatar-rectangle {
|
|
4
|
-
display: flex;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.brand-avatar-icon-container {
|
|
8
|
-
display: flex;
|
|
9
|
-
justify-content: center;
|
|
10
|
-
align-items: center;
|
|
11
|
-
width: 26px;
|
|
12
|
-
height: 26px;
|
|
13
|
-
border-radius: 2.5px;
|
|
14
|
-
background-color: #707070;
|
|
15
|
-
color: #fff;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
:hover,
|
|
20
|
-
:focus-within {
|
|
21
|
-
> .clr-brand-avatar .brand-avatar-icon-container {
|
|
22
|
-
background-color: var(--clr-btn-link-color) !important;
|
|
23
|
-
cursor: default;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
@include exports('breadcrumb.clr-addons') {
|
|
2
|
-
.breadcrumb {
|
|
3
|
-
display: flex;
|
|
4
|
-
flex-wrap: wrap;
|
|
5
|
-
margin-bottom: -1rem;
|
|
6
|
-
list-style: none;
|
|
7
|
-
font-size: 13px;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.breadcrumb-item {
|
|
11
|
-
+ .breadcrumb-item {
|
|
12
|
-
padding-left: 0.5rem;
|
|
13
|
-
|
|
14
|
-
&::before {
|
|
15
|
-
content: '/';
|
|
16
|
-
display: inline-block;
|
|
17
|
-
padding-right: 0.5rem;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
@include exports('collapse-expand-section.clr-addons') {
|
|
2
|
-
.ces-title,
|
|
3
|
-
.ces-subtitle {
|
|
4
|
-
h1,
|
|
5
|
-
h2,
|
|
6
|
-
h3,
|
|
7
|
-
h4,
|
|
8
|
-
h5,
|
|
9
|
-
h6 {
|
|
10
|
-
margin-top: 0;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.ces-caret-btn {
|
|
15
|
-
line-height: 1rem;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.disabled-header-styles {
|
|
19
|
-
h1,
|
|
20
|
-
h2,
|
|
21
|
-
h3,
|
|
22
|
-
h4,
|
|
23
|
-
h5,
|
|
24
|
-
h6 {
|
|
25
|
-
display: inline-block;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.ces-caret-btn {
|
|
29
|
-
margin-top: 0;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
@@ -1,408 +0,0 @@
|
|
|
1
|
-
@import './mixins';
|
|
2
|
-
|
|
3
|
-
@import './header.clr-addons';
|
|
4
|
-
@import './collapse-expand-section/collapse-expand-section';
|
|
5
|
-
@import './main-nav-group/main-nav-group';
|
|
6
|
-
@import './paged-search-result-list/paged-search-result-list';
|
|
7
|
-
@import './pager/pager';
|
|
8
|
-
@import './dot-pager/dot-pager';
|
|
9
|
-
@import './view-edit-section/view-edit-section';
|
|
10
|
-
@import './content-panel/content-panel';
|
|
11
|
-
@import './breadcrumb/breadcrumb';
|
|
12
|
-
@import './notification/notification';
|
|
13
|
-
@import './flow-bar/flow-bar';
|
|
14
|
-
@import './back-button/back-button';
|
|
15
|
-
@import './treetable/treetable';
|
|
16
|
-
@import './progress-spinner/progress-spinner';
|
|
17
|
-
@import './numericfield/numeric-field';
|
|
18
|
-
@import './date-time-container/date-time-container';
|
|
19
|
-
@import './searchfield/search-field';
|
|
20
|
-
@import './quick-list/quick-list';
|
|
21
|
-
@import './letter-avatar/letter-avatar';
|
|
22
|
-
@import './brand-avatar/brand-avatar';
|
|
23
|
-
@import './multilingual/multilingual';
|
|
24
|
-
@import './generic-quick-list/generic-quick-list';
|
|
25
|
-
@import './history/history.scss';
|
|
26
|
-
@import './location-bar/location-bar-node/location-bar-node.component.scss';
|
|
27
|
-
|
|
28
|
-
html,
|
|
29
|
-
body,
|
|
30
|
-
.main-container {
|
|
31
|
-
height: 100%;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.main-container,
|
|
35
|
-
.u-main-container {
|
|
36
|
-
> .content-container {
|
|
37
|
-
border-top: var(--clr-global-borderwidth) solid var(--clr-border-color);
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.content-header {
|
|
41
|
-
padding: 0.5rem 0.5rem 0 1rem;
|
|
42
|
-
display: flex;
|
|
43
|
-
flex: 0 0 auto;
|
|
44
|
-
|
|
45
|
-
h2 {
|
|
46
|
-
margin-top: 0;
|
|
47
|
-
white-space: nowrap;
|
|
48
|
-
overflow: hidden;
|
|
49
|
-
text-overflow: ellipsis;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.command-bar {
|
|
53
|
-
display: flex;
|
|
54
|
-
flex: 1 0 auto;
|
|
55
|
-
justify-content: flex-end;
|
|
56
|
-
align-items: flex-start;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.content-container {
|
|
62
|
-
// Define the sticky footer css when inside a content-container
|
|
63
|
-
.content-area-footer {
|
|
64
|
-
border-top: var(--clr-global-borderwidth) solid var(--clr-border-color);
|
|
65
|
-
display: flex;
|
|
66
|
-
flex: 0 0 auto;
|
|
67
|
-
align-items: center;
|
|
68
|
-
padding: 0.25rem 1rem;
|
|
69
|
-
background-color: var(--clr-global-app-background);
|
|
70
|
-
min-height: 2rem;
|
|
71
|
-
|
|
72
|
-
// For some reason clarity sets the margin to 0 for dropdown buttons - we want the default btn margin inside the footer
|
|
73
|
-
.dropdown .dropdown-toggle {
|
|
74
|
-
margin-right: 0.5rem;
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
// Classes active and clickable add a border around the whole card.
|
|
80
|
-
// Classes card-active and selectable add a border to the left side only.
|
|
81
|
-
.card {
|
|
82
|
-
.list-group-item.list-group-item-action:hover {
|
|
83
|
-
background-color: var(--clr-global-selection-color);
|
|
84
|
-
cursor: pointer;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
&.active {
|
|
88
|
-
box-shadow: 0 0.125rem 0 0 var(--clr-card-active-border-color);
|
|
89
|
-
border: var(--clr-global-borderwidth) solid var(--clr-card-active-border-color);
|
|
90
|
-
cursor: default;
|
|
91
|
-
text-decoration: none;
|
|
92
|
-
transform: translateY(-2px);
|
|
93
|
-
transition: border 0.2s ease, transform 0.2s ease;
|
|
94
|
-
|
|
95
|
-
&.clickable:hover {
|
|
96
|
-
cursor: default;
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
@mixin disable-card-clickable-hover() {
|
|
101
|
-
&.clickable:hover {
|
|
102
|
-
border-radius: var(--clr-card-border-radius);
|
|
103
|
-
border-width: var(--clr-card-border-width);
|
|
104
|
-
border-color: var(--clr-card-border-color);
|
|
105
|
-
border-style: solid;
|
|
106
|
-
box-shadow: var(--clr-card-box-shadow);
|
|
107
|
-
cursor: default;
|
|
108
|
-
transform: none;
|
|
109
|
-
transition: none;
|
|
110
|
-
|
|
111
|
-
&.active:hover {
|
|
112
|
-
box-shadow: 0 0.125rem 0 0 var(--clr-card-active-border-color);
|
|
113
|
-
border: var(--clr-global-borderwidth) solid var(--clr-card-active-border-color);
|
|
114
|
-
transform: translateY(-2px);
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
@mixin card-active-after() {
|
|
120
|
-
content: '';
|
|
121
|
-
width: 0.1667rem;
|
|
122
|
-
position: absolute;
|
|
123
|
-
background: var(--clr-card-active-border-color);
|
|
124
|
-
top: -1px;
|
|
125
|
-
left: -1px;
|
|
126
|
-
bottom: 0;
|
|
127
|
-
border-top-left-radius: var(--clr-card-border-radius);
|
|
128
|
-
border-bottom-left-radius: var(--clr-card-border-radius);
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
&.card-active::after {
|
|
132
|
-
@include card-active-after();
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
@mixin card-handle-hover() {
|
|
136
|
-
&.selectable:hover::after {
|
|
137
|
-
@include card-active-after();
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
&.selectable:hover {
|
|
141
|
-
border-radius: var(--clr-card-border-radius);
|
|
142
|
-
border-width: var(--clr-card-border-width);
|
|
143
|
-
border-color: var(--clr-card-border-color);
|
|
144
|
-
border-style: solid;
|
|
145
|
-
cursor: pointer;
|
|
146
|
-
transform: translateY(-2px);
|
|
147
|
-
transition: border 0.2s ease, transform 0.2s ease;
|
|
148
|
-
z-index: 1;
|
|
149
|
-
|
|
150
|
-
&.card-active:hover {
|
|
151
|
-
cursor: default;
|
|
152
|
-
transform: none;
|
|
153
|
-
transition: none;
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
// firefox needs this, because the hover in @media (hover: hover) is not supported
|
|
159
|
-
@-moz-document url-prefix() {
|
|
160
|
-
@include card-handle-hover();
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
@media (hover: hover) {
|
|
164
|
-
@include card-handle-hover();
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
@media (hover: none) {
|
|
168
|
-
@include disable-card-clickable-hover();
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
&.card-placeholder {
|
|
172
|
-
border-left-style: dashed;
|
|
173
|
-
border-top-style: dashed;
|
|
174
|
-
border-right-style: dashed;
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
.main-container.open-hamburger-menu .header .header-nav.clr-nav-level-1 {
|
|
179
|
-
.nav-link .nav-text,
|
|
180
|
-
.nav-list > .nav-link {
|
|
181
|
-
text-overflow: ellipsis;
|
|
182
|
-
overflow: hidden;
|
|
183
|
-
white-space: nowrap;
|
|
184
|
-
display: block;
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
.datagrid-no-select-all .datagrid-header .datagrid-select .clr-checkbox-wrapper {
|
|
189
|
-
display: none;
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
.datagrid-full-height {
|
|
193
|
-
max-height: 100%;
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
.datagrid-filter {
|
|
197
|
-
.datagrid-date-filter-input {
|
|
198
|
-
width: 7rem;
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
// Enable highlighting of rows in a table by adding a new class 'highlight'
|
|
203
|
-
.table {
|
|
204
|
-
tbody {
|
|
205
|
-
tr {
|
|
206
|
-
&.highlight {
|
|
207
|
-
background-color: var(--clr-global-selection-color);
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
@mixin required-asterisk($color: var(--red-dark)) {
|
|
214
|
-
position: relative;
|
|
215
|
-
|
|
216
|
-
&:after {
|
|
217
|
-
position: absolute;
|
|
218
|
-
content: '*';
|
|
219
|
-
font-size: 0.58479532rem; // Approximately 14px.
|
|
220
|
-
line-height: 0.5rem;
|
|
221
|
-
color: $color;
|
|
222
|
-
margin-left: 0.25rem;
|
|
223
|
-
margin-top: 0.25rem;
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
form {
|
|
228
|
-
.required {
|
|
229
|
-
@include required-asterisk();
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
.required-multiple {
|
|
233
|
-
@include required-asterisk(var(--orange-light));
|
|
234
|
-
}
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
// Readonly checkboxes, radiobuttons
|
|
238
|
-
clr-radio-container[readonly][show-only-selected='true'] .clr-radio-wrapper input:not(:checked),
|
|
239
|
-
clr-checkbox-container[readonly][show-only-selected='true'] .clr-checkbox-wrapper input:not(:checked) {
|
|
240
|
-
display: none;
|
|
241
|
-
|
|
242
|
-
+ label {
|
|
243
|
-
display: none;
|
|
244
|
-
}
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
clr-radio-container[readonly].readonly-danger .clr-radio-wrapper input[type='radio'],
|
|
248
|
-
clr-checkbox-container[readonly].readonly-danger .clr-checkbox-wrapper input[type='checkbox'] {
|
|
249
|
-
&:checked + label {
|
|
250
|
-
color: var(--clr-btn-danger-bg-color);
|
|
251
|
-
|
|
252
|
-
&::before {
|
|
253
|
-
border-color: var(--clr-btn-danger-bg-color);
|
|
254
|
-
}
|
|
255
|
-
}
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
clr-radio-container[readonly] .clr-radio-wrapper input[type='radio'],
|
|
259
|
-
clr-checkbox-container[readonly] .clr-checkbox-wrapper input[type='checkbox'] {
|
|
260
|
-
pointer-events: none;
|
|
261
|
-
|
|
262
|
-
+ label {
|
|
263
|
-
pointer-events: none;
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
+ label::before {
|
|
267
|
-
border: 0;
|
|
268
|
-
border-radius: 0;
|
|
269
|
-
box-shadow: none;
|
|
270
|
-
transform: rotate(45deg);
|
|
271
|
-
background: var(--clr-forms-radio-label-color);
|
|
272
|
-
top: 0.5rem;
|
|
273
|
-
left: 1px;
|
|
274
|
-
width: 0.6rem;
|
|
275
|
-
height: 1px;
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
+ label::after {
|
|
279
|
-
border: 0;
|
|
280
|
-
border-radius: 0;
|
|
281
|
-
content: '';
|
|
282
|
-
display: inline-block;
|
|
283
|
-
transform: rotate(-45deg);
|
|
284
|
-
background: var(--clr-forms-radio-label-color);
|
|
285
|
-
position: absolute;
|
|
286
|
-
top: 0.5rem;
|
|
287
|
-
left: 1px;
|
|
288
|
-
width: 0.6rem;
|
|
289
|
-
height: 1px;
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
&:checked {
|
|
293
|
-
+ label::before {
|
|
294
|
-
content: '';
|
|
295
|
-
background: none;
|
|
296
|
-
box-shadow: none;
|
|
297
|
-
border-left: 2px solid var(--clr-forms-checkbox-mark-color);
|
|
298
|
-
border-bottom: 2px solid var(--clr-forms-checkbox-mark-color);
|
|
299
|
-
border-color: var(--clr-btn-success-bg-color);
|
|
300
|
-
position: absolute;
|
|
301
|
-
top: 0.3rem;
|
|
302
|
-
left: 0.1rem;
|
|
303
|
-
width: 0.5rem;
|
|
304
|
-
height: 0.3rem;
|
|
305
|
-
transform: rotate(-45deg);
|
|
306
|
-
}
|
|
307
|
-
|
|
308
|
-
+ label::after {
|
|
309
|
-
content: none;
|
|
310
|
-
}
|
|
311
|
-
}
|
|
312
|
-
}
|
|
313
|
-
|
|
314
|
-
// FORM OVERRIDES BELOW
|
|
315
|
-
|
|
316
|
-
// forms should never be bigger than 1200px
|
|
317
|
-
form,
|
|
318
|
-
.form {
|
|
319
|
-
max-width: 1200px;
|
|
320
|
-
|
|
321
|
-
h4:not(:first-child) {
|
|
322
|
-
margin-top: 2rem;
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
// Fix alignment of label & values
|
|
326
|
-
.clr-control-label {
|
|
327
|
-
line-height: inherit;
|
|
328
|
-
}
|
|
329
|
-
}
|
|
330
|
-
|
|
331
|
-
// Set max width for the date picker - Only needs to be as wide as the displayed date
|
|
332
|
-
clr-date-container .clr-control-container {
|
|
333
|
-
.clr-input-group {
|
|
334
|
-
max-width: 7rem;
|
|
335
|
-
|
|
336
|
-
.clr-input {
|
|
337
|
-
max-width: 5.5rem;
|
|
338
|
-
}
|
|
339
|
-
}
|
|
340
|
-
}
|
|
341
|
-
|
|
342
|
-
.clr-input-group {
|
|
343
|
-
width: 100%;
|
|
344
|
-
max-width: 100%;
|
|
345
|
-
|
|
346
|
-
&.clr-focus {
|
|
347
|
-
width: 100%;
|
|
348
|
-
}
|
|
349
|
-
|
|
350
|
-
// Set all input widths inside a clr-input-group to 100% minus the icons width
|
|
351
|
-
> .clr-input {
|
|
352
|
-
// Except for the ClrDataListInput and ClrDate, because this one just looks terrible otherwise (clarity using diff icon here)
|
|
353
|
-
&:not([clrdatalistinput]):not([clrdate]) {
|
|
354
|
-
width: calc(100% - 1.5rem);
|
|
355
|
-
}
|
|
356
|
-
}
|
|
357
|
-
}
|
|
358
|
-
|
|
359
|
-
// Set the width of all inputs except time and date to 100%
|
|
360
|
-
.clr-input-wrapper {
|
|
361
|
-
max-width: none;
|
|
362
|
-
input:not([type='time']):not([clrdate]) {
|
|
363
|
-
width: 100%;
|
|
364
|
-
}
|
|
365
|
-
}
|
|
366
|
-
|
|
367
|
-
// Set the width of text areas and selects to 100%
|
|
368
|
-
.clr-control-container {
|
|
369
|
-
.clr-textarea-wrapper textarea {
|
|
370
|
-
width: 100%;
|
|
371
|
-
flex: 1 0 auto;
|
|
372
|
-
}
|
|
373
|
-
|
|
374
|
-
.clr-select-wrapper {
|
|
375
|
-
display: block;
|
|
376
|
-
|
|
377
|
-
select {
|
|
378
|
-
width: 100%;
|
|
379
|
-
}
|
|
380
|
-
}
|
|
381
|
-
}
|
|
382
|
-
|
|
383
|
-
// This avoids the disposition of the clr select arrow icon if a validation error occurs.
|
|
384
|
-
.clr-error {
|
|
385
|
-
.clr-select-wrapper::after {
|
|
386
|
-
right: 0.25rem;
|
|
387
|
-
}
|
|
388
|
-
}
|
|
389
|
-
|
|
390
|
-
.text-truncate {
|
|
391
|
-
overflow: hidden;
|
|
392
|
-
text-overflow: ellipsis;
|
|
393
|
-
white-space: nowrap;
|
|
394
|
-
}
|
|
395
|
-
|
|
396
|
-
.btn clr-icon {
|
|
397
|
-
transform: translate3d(0, -0.1rem, 0);
|
|
398
|
-
}
|
|
399
|
-
|
|
400
|
-
.clr-treenode-link:hover:visited {
|
|
401
|
-
color: inherit;
|
|
402
|
-
}
|
|
403
|
-
|
|
404
|
-
.clr-max-width {
|
|
405
|
-
max-width: $clr-max-width;
|
|
406
|
-
}
|
|
407
|
-
// Has to be at the bottom to override the styles from the above properly
|
|
408
|
-
@import './mobile';
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
:root {
|
|
2
|
-
--clr-border-color: var(--clr-color-neutral-400);
|
|
3
|
-
--clr-card-default-border-color: rgba(215, 215, 215, 1);
|
|
4
|
-
--clr-card-active-border-color: rgba(0, 148, 210, 1);
|
|
5
|
-
--clr-header-height: 3rem;
|
|
6
|
-
--clr-footer-height: 2.5rem;
|
|
7
|
-
--clr-notification-progress-info-bar-color: var(--clr-progress-default-color);
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
$clr-grid-breakpoints: (
|
|
11
|
-
xs: 0,
|
|
12
|
-
sm: 576px,
|
|
13
|
-
md: 768px,
|
|
14
|
-
lg: 992px,
|
|
15
|
-
xl: 1200px,
|
|
16
|
-
) !default;
|
|
17
|
-
|
|
18
|
-
$clr-layers: (
|
|
19
|
-
content: 0,
|
|
20
|
-
select-box: 2,
|
|
21
|
-
datagrid-row: 500,
|
|
22
|
-
datagrid-row-sticky: 500,
|
|
23
|
-
datagrid-header: 501,
|
|
24
|
-
datagrid-header-sticky: 502,
|
|
25
|
-
datagrid-host: 590,
|
|
26
|
-
alert: 1033,
|
|
27
|
-
sidepanel-bg: 1038,
|
|
28
|
-
sidepanel: 1039,
|
|
29
|
-
modal-bg: 1040,
|
|
30
|
-
modal: 1050,
|
|
31
|
-
dropdown-menu: 1060,
|
|
32
|
-
column-switch: 1060,
|
|
33
|
-
tooltips: 1070,
|
|
34
|
-
smart-popover: 5000,
|
|
35
|
-
draggable-ghost: 2147483647,
|
|
36
|
-
) !default;
|
|
37
|
-
|
|
38
|
-
$clr-sliding-panel-width: 18rem;
|
|
39
|
-
$clr-sliding-panel-animation: transform 0.3s ease;
|
|
40
|
-
$clr-trigger-animation: transform 0.6s ease;
|
|
41
|
-
$clr-sliding-panel-z-index: map-get($clr-layers, sidepanel);
|
|
42
|
-
$clr-sliding-panel-backdrop-z-index: map-get($clr-layers, sidepanel-bg);
|
|
43
|
-
$clr-max-width: 65rem;
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
@include exports('content-panel.clr-addons') {
|
|
2
|
-
:root {
|
|
3
|
-
--clr-content-panel-width: 456px;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
.content-panel-container {
|
|
7
|
-
position: relative;
|
|
8
|
-
overflow: hidden;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.content-panel-outer-wrapper {
|
|
12
|
-
display: flex;
|
|
13
|
-
flex: 1 1 auto;
|
|
14
|
-
flex-direction: column;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
@media screen and (min-width: map-get($clr-grid-breakpoints, xl)) {
|
|
18
|
-
.content-panel-outer-wrapper {
|
|
19
|
-
order: 1;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.content-panel {
|
|
24
|
-
// Position content-panel to the right of the main content
|
|
25
|
-
order: 2;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.content-panel-content-wrapper {
|
|
29
|
-
background-color: var(--clr-global-app-background);
|
|
30
|
-
z-index: map-get($clr-layers, sidepanel-bg) - 1;
|
|
31
|
-
padding: 1rem;
|
|
32
|
-
position: absolute;
|
|
33
|
-
top: 0;
|
|
34
|
-
bottom: 0;
|
|
35
|
-
right: 0;
|
|
36
|
-
border-left: var(--clr-global-borderwidth) solid var(--clr-border-color);
|
|
37
|
-
overflow: auto;
|
|
38
|
-
|
|
39
|
-
@media screen and (min-width: map-get($clr-grid-breakpoints, md)) {
|
|
40
|
-
width: var(--clr-content-panel-width);
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
@media screen and (min-width: map-get($clr-grid-breakpoints, xl)) {
|
|
44
|
-
position: relative;
|
|
45
|
-
height: 100%;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
@media screen and (max-width: map-get($clr-grid-breakpoints, md)) {
|
|
49
|
-
width: 100%;
|
|
50
|
-
border: none;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.content-panel-title {
|
|
55
|
-
margin-top: 0;
|
|
56
|
-
margin-bottom: 0.5rem;
|
|
57
|
-
line-height: 1.5rem;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.content-panel-backdrop {
|
|
61
|
-
position: absolute;
|
|
62
|
-
top: 0;
|
|
63
|
-
bottom: 0;
|
|
64
|
-
right: 0;
|
|
65
|
-
left: 0;
|
|
66
|
-
background-color: var(--clr-color-neutral-900);
|
|
67
|
-
opacity: 0.85;
|
|
68
|
-
z-index: map-get($clr-layers, sidepanel-bg) - 2;
|
|
69
|
-
|
|
70
|
-
@media screen and (max-width: map-get($clr-grid-breakpoints, md)) {
|
|
71
|
-
display: none;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
@media screen and (min-width: map-get($clr-grid-breakpoints, xl)) {
|
|
75
|
-
display: none;
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
.content-panel-close-btn {
|
|
80
|
-
line-height: 1rem;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.close .content-panel-close-icon {
|
|
84
|
-
fill: var(--clr-link-color);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
.close:hover .content-panel-close-icon {
|
|
88
|
-
fill: var(--clr-link-hover-color);
|
|
89
|
-
}
|
|
90
|
-
}
|
|
File without changes
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
@include exports('date-time-container.clr-addons') {
|
|
2
|
-
.date-time-container {
|
|
3
|
-
clr-date-container {
|
|
4
|
-
flex: 1 1 auto;
|
|
5
|
-
margin-left: 0;
|
|
6
|
-
margin-right: 0;
|
|
7
|
-
|
|
8
|
-
// Places the time input next to the date input on the same height.
|
|
9
|
-
.clr-input-wrapper {
|
|
10
|
-
display: flex;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
input[type='time'] {
|
|
15
|
-
margin-left: 1rem;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
@include exports('dot-pager.clr-addons') {
|
|
2
|
-
.dot-pager {
|
|
3
|
-
.clr-control-container {
|
|
4
|
-
margin: auto;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.clr-radio-wrapper input[type='radio']:checked + label::before {
|
|
8
|
-
box-shadow: inset 0 0 0 1rem var(--clr-forms-checkbox-background-color);
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
}
|