@c8y/style 1021.81.0 → 1022.4.2
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/branding-login.less +11 -0
- package/img/alarms/alarm-list-widget.png +0 -0
- package/img/dashboard-details-advanced-tab.png +0 -0
- package/img/data-points-table-widget.png +0 -0
- package/img/html-widget-pr.png +0 -0
- package/img/html-widget-preview.png +0 -0
- package/img/info-gauge-widget-pr.png +0 -0
- package/img/linear-gauge-widget-pr.png +0 -0
- package/img/map-widget-pr.png +0 -0
- package/img/markdown-widget.png +0 -0
- package/img/quick-links-widget.png +0 -0
- package/login.less +3 -0
- package/markdown-files/dashboard-details-import-export-tab.md +84 -0
- package/markdown-files/html-widget-preview.md +58 -0
- package/package.json +1 -1
- package/styles/_alerts.less +2 -1
- package/styles/_app-switcher.less +1 -0
- package/styles/_badges.less +11 -4
- package/styles/_bottom-drawer.less +7 -6
- package/styles/_boxed-label.less +21 -0
- package/styles/_buttons.less +20 -5
- package/styles/_c8y-action-bar.less +2 -2
- package/styles/_c8y-asset-selector-miller.less +3 -0
- package/styles/_c8y-asset-selector.less +12 -1
- package/styles/_c8y-child-assets-selector.less +2 -1
- package/styles/_c8y-cookie-banner.less +8 -0
- package/styles/_c8y-countdown-interval.less +2 -2
- package/styles/_c8y-dashboard-style.less +9 -2
- package/styles/_c8y-empty-state.less +4 -0
- package/styles/_c8y-icons.less +7 -2
- package/styles/_c8y-list-group.less +25 -2
- package/styles/_c8y-pulse.less +2 -2
- package/styles/_c8y-right-drawer.less +1 -1
- package/styles/_c8y-selectize.less +5 -5
- package/styles/_c8y-utils.less +5 -3
- package/styles/_card.less +1 -2
- package/styles/_cards-layout.less +13 -12
- package/styles/_code.less +14 -6
- package/styles/_dashboard-widgets.less +4 -1
- package/styles/_data-grid.less +35 -32
- package/styles/_dropdowns.less +131 -26
- package/styles/_forms.less +1 -12
- package/styles/_input-groups.less +19 -5
- package/styles/_layouts.less +24 -5
- package/styles/_list-group.less +0 -3
- package/styles/_main-header.less +3 -1
- package/styles/_markdown-content.less +5 -0
- package/styles/_modals.less +11 -1
- package/styles/_navbar.less +0 -1
- package/styles/_navigator.less +2 -3
- package/styles/_page-tabs.less +1 -0
- package/styles/_popovers.less +1 -2
- package/styles/_quick-links-widget.less +38 -0
- package/styles/_smartrules.less +7 -6
- package/styles/_spinner-snake.less +2 -1
- package/styles/_split-view.less +7 -1
- package/styles/_static-assets-file-picker.less +1 -1
- package/styles/_tabs.less +10 -4
- package/styles/_tag.less +5 -0
- package/styles/index.less +3 -0
- package/styles/login-app.less +34 -0
- package/styles/mixins/c8y-scrollbar.less +1 -4
- package/styles/utilities/_icon-utils.less +1 -1
- package/styles/utilities/_position.less +61 -0
- package/styles/utilities.less +3 -0
- package/styles/welcome-widget.less +2 -2
- package/variables/_alert-vars.less +1 -1
- package/variables/_badge-vars.less +1 -1
- package/variables/_brand-vars.less +2 -0
- package/variables/_color-vars.less +7 -3
- package/variables/_components-vars.less +1 -1
- package/variables/dashboard-themes/_branded-dashboard.less +2 -2
- package/variables/login-vars.less +48 -0
- package/variables/tokens/c8y-design-tokens-dark.less +314 -273
- package/variables/tokens/c8y-design-tokens.less +567 -451
- package/img/applications-widget-pr.png +0 -0
- package/img/cockpit-welcome-image.svg +0 -571
- package/img/dm-welcome-widget-pr.png +0 -0
- package/img/help-and-service-widget-pr.png +0 -0
- package/img/logo-white.svg +0 -69
- package/img/logo.svg +0 -136
- /package/img/{widget-plugin-pr.png → sample-plugin-pr.png} +0 -0
|
@@ -39,6 +39,11 @@
|
|
|
39
39
|
padding-top: 0;
|
|
40
40
|
padding-bottom: 0;
|
|
41
41
|
align-items: center;
|
|
42
|
+
background-color: @form-control-background-default;
|
|
43
|
+
> .tag{
|
|
44
|
+
align-self: unset;
|
|
45
|
+
flex-shrink: 0;
|
|
46
|
+
}
|
|
42
47
|
}
|
|
43
48
|
|
|
44
49
|
c8y-software-type {
|
|
@@ -104,12 +109,15 @@
|
|
|
104
109
|
&:not(:first-child) {
|
|
105
110
|
margin-left: -1px;
|
|
106
111
|
}
|
|
107
|
-
&--last {
|
|
112
|
+
&--last, + .input-group-btn {
|
|
108
113
|
margin-left: -1px;
|
|
109
114
|
}
|
|
110
115
|
.input-group-sm &{
|
|
111
116
|
max-height: @form-control-height-sm;
|
|
112
117
|
}
|
|
118
|
+
> .btn-default{
|
|
119
|
+
--c8y-btn-default-background-default: @form-control-background-default;
|
|
120
|
+
}
|
|
113
121
|
}
|
|
114
122
|
|
|
115
123
|
.input-group-addon,
|
|
@@ -118,6 +126,9 @@
|
|
|
118
126
|
&:not(:first-child):not(:last-child) {
|
|
119
127
|
border-radius: 0;
|
|
120
128
|
}
|
|
129
|
+
.btn{
|
|
130
|
+
border-radius: @form-control-border-radius;
|
|
131
|
+
}
|
|
121
132
|
}
|
|
122
133
|
|
|
123
134
|
// search with round corners
|
|
@@ -155,6 +166,7 @@
|
|
|
155
166
|
box-shadow: inset 0 0 0 2px @component-brand-primary;
|
|
156
167
|
}
|
|
157
168
|
}
|
|
169
|
+
|
|
158
170
|
}
|
|
159
171
|
|
|
160
172
|
&.input-group-sm {
|
|
@@ -189,7 +201,8 @@
|
|
|
189
201
|
display: flex;
|
|
190
202
|
align-items: center;
|
|
191
203
|
min-width: @form-control-height-base;
|
|
192
|
-
height:
|
|
204
|
+
height: 100%;
|
|
205
|
+
max-height: unset;
|
|
193
206
|
border: 0;
|
|
194
207
|
background-color: transparent;
|
|
195
208
|
|
|
@@ -229,6 +242,7 @@
|
|
|
229
242
|
width: 100%;
|
|
230
243
|
height: 100%;
|
|
231
244
|
border: 0;
|
|
245
|
+
border-radius: @form-control-border-radius;
|
|
232
246
|
}
|
|
233
247
|
}
|
|
234
248
|
&.input-group-sm{
|
|
@@ -335,7 +349,8 @@
|
|
|
335
349
|
padding-left: 0;
|
|
336
350
|
min-width: 3ch;
|
|
337
351
|
max-width: 100%;
|
|
338
|
-
|
|
352
|
+
field-sizing: content;
|
|
353
|
+
width: auto;
|
|
339
354
|
background-color: transparent;
|
|
340
355
|
box-shadow: none;
|
|
341
356
|
text-overflow: ellipsis;
|
|
@@ -377,7 +392,6 @@
|
|
|
377
392
|
.form-control:not(:focus):not(.ng-dirty) {
|
|
378
393
|
flex: 0 1 auto;
|
|
379
394
|
max-width: 100%;
|
|
380
|
-
width: fit-content;
|
|
381
395
|
}
|
|
382
396
|
}
|
|
383
397
|
}
|
|
@@ -485,7 +499,7 @@
|
|
|
485
499
|
> .btn:not(:focus),
|
|
486
500
|
> .btn-group {
|
|
487
501
|
z-index: 2;
|
|
488
|
-
border-left-color: fade(@black, 15%);
|
|
502
|
+
// border-left-color: fade(@black, 15%);
|
|
489
503
|
}
|
|
490
504
|
> .btn:focus {
|
|
491
505
|
margin-left: -1px;
|
package/styles/_layouts.less
CHANGED
|
@@ -2,7 +2,6 @@ body {
|
|
|
2
2
|
.c8y-scrollbar();
|
|
3
3
|
}
|
|
4
4
|
|
|
5
|
-
|
|
6
5
|
// unset overflow to ensure position sticky works
|
|
7
6
|
.mcontainer {
|
|
8
7
|
overflow: unset;
|
|
@@ -18,6 +17,9 @@ body {
|
|
|
18
17
|
margin-bottom: 0;
|
|
19
18
|
}
|
|
20
19
|
}
|
|
20
|
+
pre.inner-scroll{
|
|
21
|
+
background-color: var(--c8y-pre-background);
|
|
22
|
+
}
|
|
21
23
|
|
|
22
24
|
/* Mixin that generate classes for setting two columns on a 12 column grid
|
|
23
25
|
* example:
|
|
@@ -33,12 +35,28 @@ body {
|
|
|
33
35
|
}
|
|
34
36
|
|
|
35
37
|
@media screen and (min-width: @screen-sm-min) {
|
|
36
|
-
.
|
|
37
|
-
grid-template-columns: minmax(0,9fr) 360px;
|
|
38
|
+
.grid__col--auto-360 {
|
|
39
|
+
grid-template-columns: minmax(0, 9fr) 360px;
|
|
40
|
+
}
|
|
41
|
+
.grid__col--360-auto {
|
|
42
|
+
grid-template-columns: 360px minmax(0, 1fr) ;
|
|
38
43
|
}
|
|
39
44
|
}
|
|
40
45
|
|
|
46
|
+
@media screen and (min-width: @screen-md-min) {
|
|
47
|
+
.grid__col--500-auto {
|
|
48
|
+
grid-template-columns: 500px minmax(0, 1fr) ;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
@media screen and (min-width: @screen-md-min) {
|
|
52
|
+
.grid__col--560-auto {
|
|
53
|
+
grid-template-columns: minmax(560px, 4fr) minmax(0, 8fr) ;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
41
56
|
|
|
57
|
+
.grid__col--auto-300{
|
|
58
|
+
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
|
|
59
|
+
}
|
|
42
60
|
|
|
43
61
|
/* Mixin that generate classes for setting three columns on a 12 column grid
|
|
44
62
|
* example:
|
|
@@ -286,8 +304,9 @@ body {
|
|
|
286
304
|
}
|
|
287
305
|
}
|
|
288
306
|
.inner-scroll--md {
|
|
289
|
-
&,
|
|
290
|
-
|
|
307
|
+
&,
|
|
308
|
+
&.overflow-visible-sm {
|
|
309
|
+
overflow: auto !important;
|
|
291
310
|
overscroll-behavior: contain;
|
|
292
311
|
height: 100%;
|
|
293
312
|
background-color: inherit;
|
package/styles/_list-group.less
CHANGED
package/styles/_main-header.less
CHANGED
|
@@ -167,7 +167,7 @@ body:not(:has(.has-tabs)):not(:has(.has-action-bar)) {
|
|
|
167
167
|
display: flex;
|
|
168
168
|
flex-flow: row wrap;
|
|
169
169
|
align-items: center;
|
|
170
|
-
box-shadow:
|
|
170
|
+
box-shadow: var(--c8y-main-header-shadow);
|
|
171
171
|
padding-right: @margin-24;
|
|
172
172
|
|
|
173
173
|
@media (min-width: @screen-sm-min) {
|
|
@@ -213,6 +213,8 @@ body:not(:has(.has-tabs)):not(:has(.has-action-bar)) {
|
|
|
213
213
|
&:hover {
|
|
214
214
|
color: @header-text-color-hover;
|
|
215
215
|
background-color: @header-background-hover;
|
|
216
|
+
outline: 2px solid @header-text-color-hover;
|
|
217
|
+
outline-offset: -2px;
|
|
216
218
|
}
|
|
217
219
|
|
|
218
220
|
&:focus {
|
package/styles/_modals.less
CHANGED
|
@@ -81,6 +81,10 @@ bs-modal-backdrop {
|
|
|
81
81
|
display: flex;
|
|
82
82
|
flex-direction: column;
|
|
83
83
|
max-height: calc(100vh - 100px);
|
|
84
|
+
// when we need to display the asset selector in a dropdown menu
|
|
85
|
+
&.has-asset-selector {
|
|
86
|
+
max-height: calc(100vh - 290px);
|
|
87
|
+
}
|
|
84
88
|
}
|
|
85
89
|
}
|
|
86
90
|
|
|
@@ -154,7 +158,7 @@ bs-modal-backdrop {
|
|
|
154
158
|
}
|
|
155
159
|
}
|
|
156
160
|
~ .modal-inner-scroll .table-data-grid-scroll {
|
|
157
|
-
height: calc(100vh - 319px);
|
|
161
|
+
max-height: calc(100vh - 319px);
|
|
158
162
|
tr {
|
|
159
163
|
> td:first-child, th:first-child{
|
|
160
164
|
padding-left: @margin-24;
|
|
@@ -272,6 +276,12 @@ bs-modal-backdrop {
|
|
|
272
276
|
}
|
|
273
277
|
|
|
274
278
|
@media (min-width: @screen-md-min) {
|
|
279
|
+
.modal-lg {
|
|
280
|
+
width: calc(@modal-lg - 200px);
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
@media (min-width: @screen-lg-min) {
|
|
275
285
|
.modal-lg {
|
|
276
286
|
width: @modal-lg;
|
|
277
287
|
}
|
package/styles/_navbar.less
CHANGED
package/styles/_navigator.less
CHANGED
|
@@ -120,10 +120,9 @@
|
|
|
120
120
|
width: calc(@margin-base * 6);
|
|
121
121
|
height: calc(@margin-base * 6);
|
|
122
122
|
line-height: calc(@margin-base * 6);
|
|
123
|
-
|
|
124
|
-
color: @gray-40;
|
|
123
|
+
border: 1px solid @palette-high;
|
|
125
124
|
display: block;
|
|
126
|
-
margin:
|
|
125
|
+
margin: 0;
|
|
127
126
|
}
|
|
128
127
|
|
|
129
128
|
& when not(@appBranding='') {
|
package/styles/_page-tabs.less
CHANGED
package/styles/_popovers.less
CHANGED
|
@@ -12,9 +12,8 @@
|
|
|
12
12
|
background-clip: padding-box;
|
|
13
13
|
color: @popover-color-default;
|
|
14
14
|
font-size: @font-size-base; // To reset our font and text properties and avoid inheriting weird values.
|
|
15
|
-
|
|
16
15
|
.reset-text();
|
|
17
|
-
|
|
16
|
+
|
|
18
17
|
&.high-popover {
|
|
19
18
|
z-index: @zindex-popover + 2;
|
|
20
19
|
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
.c8y-quick-links__link {
|
|
2
|
+
display: flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
width: 100%;
|
|
5
|
+
color: inherit;
|
|
6
|
+
text-align: left;
|
|
7
|
+
padding: 6px @component-padding;
|
|
8
|
+
background-image: none;
|
|
9
|
+
background-color: transparent;
|
|
10
|
+
border: 0;
|
|
11
|
+
&.sticky-top {
|
|
12
|
+
background-color: inherit;
|
|
13
|
+
}
|
|
14
|
+
[class^='dlt-c8y-icon-'],
|
|
15
|
+
[class*=' dlt-c8y-icon-'],
|
|
16
|
+
.c8y-icon {
|
|
17
|
+
font-size: 20px;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.c8y-quick-links__link {
|
|
22
|
+
&:active {
|
|
23
|
+
background-color: @drawer-background-active;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&:hover,
|
|
27
|
+
&:focus {
|
|
28
|
+
text-decoration: none;
|
|
29
|
+
outline: 2px solid @drawer-border-selected;
|
|
30
|
+
outline-offset: -2px;
|
|
31
|
+
color: @drawer-color;
|
|
32
|
+
[class^='dlt-c8y-icon-'],
|
|
33
|
+
[class*=' dlt-c8y-icon-'],
|
|
34
|
+
.c8y-icon {
|
|
35
|
+
color: @drawer-border-selected;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
package/styles/_smartrules.less
CHANGED
|
@@ -24,12 +24,7 @@
|
|
|
24
24
|
|
|
25
25
|
.card-back .card-header-actions {
|
|
26
26
|
display: none;
|
|
27
|
-
background-color:
|
|
28
|
-
color: @component-background-default;
|
|
29
|
-
|
|
30
|
-
.smart-list-icon-label > i {
|
|
31
|
-
color: @component-background-default;
|
|
32
|
-
}
|
|
27
|
+
background-color: var(--c8y-level-2);
|
|
33
28
|
}
|
|
34
29
|
|
|
35
30
|
.smart-rule-description {
|
|
@@ -56,6 +51,12 @@
|
|
|
56
51
|
font-size: 20px;
|
|
57
52
|
}
|
|
58
53
|
|
|
54
|
+
.c8y-icon,
|
|
55
|
+
[class^='c8y-icon-'],
|
|
56
|
+
[class*=' c8y-icon-'] {
|
|
57
|
+
font-size: 20px;
|
|
58
|
+
}
|
|
59
|
+
|
|
59
60
|
.card-icon {
|
|
60
61
|
i {
|
|
61
62
|
vertical-align: bottom;
|
package/styles/_split-view.less
CHANGED
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
@media (max-width: @screen-sm-max) {
|
|
13
13
|
&--5-7,
|
|
14
14
|
&--7-5,
|
|
15
|
+
&--4-8,
|
|
15
16
|
&--8-4 {
|
|
16
17
|
position: relative;
|
|
17
18
|
display: flex !important;
|
|
@@ -28,7 +29,7 @@
|
|
|
28
29
|
height: calc(100vh - 108px);
|
|
29
30
|
}
|
|
30
31
|
|
|
31
|
-
&--8-4 {
|
|
32
|
+
&--8-4, &--4-8 {
|
|
32
33
|
height: calc(100vh - 166px);
|
|
33
34
|
}
|
|
34
35
|
|
|
@@ -59,6 +60,7 @@
|
|
|
59
60
|
@media (max-width: @screen-xs-max) {
|
|
60
61
|
&--5-7,
|
|
61
62
|
&--7-5,
|
|
63
|
+
&--4-8,
|
|
62
64
|
&--8-4 {
|
|
63
65
|
height: calc(100vh - 82px) !important;
|
|
64
66
|
}
|
|
@@ -67,6 +69,7 @@
|
|
|
67
69
|
@media (min-width: @screen-md-min) {
|
|
68
70
|
&--5-7,
|
|
69
71
|
&--7-5,
|
|
72
|
+
&--4-8,
|
|
70
73
|
&--8-4 {
|
|
71
74
|
display: grid !important;
|
|
72
75
|
grid-template-rows: min-content auto;
|
|
@@ -80,6 +83,9 @@
|
|
|
80
83
|
grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
|
|
81
84
|
}
|
|
82
85
|
|
|
86
|
+
&--4-8 {
|
|
87
|
+
grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
|
|
88
|
+
}
|
|
83
89
|
&--8-4 {
|
|
84
90
|
grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
|
|
85
91
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
c8y-static-assets-file-picker{
|
|
2
2
|
display: block;
|
|
3
|
-
padding: var(--c8y-root-component-padding);
|
|
3
|
+
padding: var(--c8y-root-component-padding-default);
|
|
4
4
|
border: 1px solid var(--c8y-form-control-border-color-default);
|
|
5
5
|
img{
|
|
6
6
|
border: 1px dashed var(--c8y-root-component-border-color);
|
package/styles/_tabs.less
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
.nav-tabs {
|
|
2
2
|
display: flex;
|
|
3
|
-
background-color: @nav-tabs-background-
|
|
3
|
+
background-color: @nav-tabs-background-default;
|
|
4
4
|
box-shadow: inset 0 -1px 0 0 @nav-tabs-border-color-default;
|
|
5
5
|
color: @nav-tabs-color-default;
|
|
6
6
|
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
padding: @nav-tabs-padding;
|
|
13
13
|
height: @margin-64;
|
|
14
14
|
border: none;
|
|
15
|
-
background-color:
|
|
15
|
+
background-color: transparent;
|
|
16
16
|
color: @nav-tabs-color-default;
|
|
17
17
|
line-height: @line-height-base;
|
|
18
18
|
display: flex;
|
|
@@ -69,6 +69,10 @@
|
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
71
|
// Active state, and its :hover to override normal :hover
|
|
72
|
+
|
|
73
|
+
&.active{
|
|
74
|
+
background-color: @nav-tabs-background-active;
|
|
75
|
+
}
|
|
72
76
|
&.active > a,
|
|
73
77
|
&.active > button:not([disabled]) {
|
|
74
78
|
&,
|
|
@@ -92,7 +96,7 @@
|
|
|
92
96
|
opacity: 1;
|
|
93
97
|
}
|
|
94
98
|
}
|
|
95
|
-
}
|
|
99
|
+
}
|
|
96
100
|
&.nav-justified {
|
|
97
101
|
.nav-justified();
|
|
98
102
|
.nav-tabs-justified();
|
|
@@ -169,7 +173,9 @@
|
|
|
169
173
|
|
|
170
174
|
.nav-tabs-vertical {
|
|
171
175
|
display: block;
|
|
172
|
-
|
|
176
|
+
&:not(.component-tabs) {
|
|
177
|
+
padding-top: @margin-48;
|
|
178
|
+
}
|
|
173
179
|
width: @nav-tabs-vertical-width;
|
|
174
180
|
border: 0;
|
|
175
181
|
box-shadow: none;
|
package/styles/_tag.less
CHANGED
|
@@ -12,6 +12,10 @@
|
|
|
12
12
|
font-size: var(--c8y-font-size-xs);
|
|
13
13
|
line-height: 1;
|
|
14
14
|
flex-shrink: 0;
|
|
15
|
+
align-self: flex-start;
|
|
16
|
+
.form-control &{
|
|
17
|
+
align-self: center;
|
|
18
|
+
}
|
|
15
19
|
a & {
|
|
16
20
|
&:hover,
|
|
17
21
|
&:focus {
|
|
@@ -32,6 +36,7 @@
|
|
|
32
36
|
align-items: center;
|
|
33
37
|
gap: 6px;
|
|
34
38
|
height: 20px;
|
|
39
|
+
flex: 0 1 fit-content;
|
|
35
40
|
.btn-clean{
|
|
36
41
|
padding: 0!important;
|
|
37
42
|
}
|
package/styles/index.less
CHANGED
|
@@ -63,6 +63,7 @@
|
|
|
63
63
|
@import '_asset-table.less';
|
|
64
64
|
@import '_c8y-gauges.less';
|
|
65
65
|
@import '_dashboard-widgets.less';
|
|
66
|
+
@import '_quick-links-widget.less';
|
|
66
67
|
@import 'timeline-list.less'; // deprecated - remove when all instances are upgraded to Angular
|
|
67
68
|
@import '_c8y-user-roles.less';
|
|
68
69
|
@import '_c8y-role-card.less';
|
|
@@ -110,6 +111,8 @@
|
|
|
110
111
|
@import '_c8y-asset-notes.less';
|
|
111
112
|
@import '_c8y-countdown-interval.less';
|
|
112
113
|
|
|
114
|
+
@import '_boxed-label.less';
|
|
115
|
+
|
|
113
116
|
// UI TEMPLATES
|
|
114
117
|
@import '_c8y-login.less';
|
|
115
118
|
@import '_datepicker.less';
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
@import 'mixins.less';
|
|
2
|
+
@import '_normalize.less';
|
|
3
|
+
@import '_print.less';
|
|
4
|
+
|
|
5
|
+
// TRANSITIONS & ANIMATION
|
|
6
|
+
@import '_component-animations.less';
|
|
7
|
+
@import '_animate.less';
|
|
8
|
+
|
|
9
|
+
// CORE CSS
|
|
10
|
+
@import '_scaffolding.less';
|
|
11
|
+
@import '_alerts.less';
|
|
12
|
+
@import '_badges.less';
|
|
13
|
+
@import '_buttons.less';
|
|
14
|
+
@import '_close.less';
|
|
15
|
+
@import '_button-groups.less';
|
|
16
|
+
@import '_code.less';
|
|
17
|
+
@import '_tag.less';
|
|
18
|
+
@import '_forms.less';
|
|
19
|
+
@import '_c8y-switch.less';
|
|
20
|
+
@import '_type.less';
|
|
21
|
+
@import '_grid.less';
|
|
22
|
+
|
|
23
|
+
// @import '_grid.less';
|
|
24
|
+
|
|
25
|
+
@import '_input-groups.less';
|
|
26
|
+
@import '_c8y-cookie-banner.less';
|
|
27
|
+
|
|
28
|
+
@import '_c8y-glyphs.less';
|
|
29
|
+
@import '_c8y-icons.less';
|
|
30
|
+
@import '_dlt-c8y-icons.less';
|
|
31
|
+
// @import '_dlt-c8y-icons-stroke.less';
|
|
32
|
+
@import 'utilities.less';
|
|
33
|
+
|
|
34
|
+
@import '_app-switcher.less';
|
|
@@ -11,6 +11,19 @@
|
|
|
11
11
|
position: sticky !important;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
+
.top-0 {
|
|
15
|
+
top: 0 !important;
|
|
16
|
+
}
|
|
17
|
+
.left-0 {
|
|
18
|
+
left: 0 !important;
|
|
19
|
+
}
|
|
20
|
+
.right-0 {
|
|
21
|
+
right: 0 !important;
|
|
22
|
+
}
|
|
23
|
+
.bottom-0 {
|
|
24
|
+
bottom: 0 !important;
|
|
25
|
+
}
|
|
26
|
+
|
|
14
27
|
// media queries
|
|
15
28
|
@media (max-width: @screen-xs-max) {
|
|
16
29
|
.p-relative-xs {
|
|
@@ -25,6 +38,18 @@
|
|
|
25
38
|
.p-sticky-xs {
|
|
26
39
|
position: sticky !important;
|
|
27
40
|
}
|
|
41
|
+
.top-0-xs {
|
|
42
|
+
top: 0 !important;
|
|
43
|
+
}
|
|
44
|
+
.left-0-xs {
|
|
45
|
+
left: 0 !important;
|
|
46
|
+
}
|
|
47
|
+
.right-0-xs {
|
|
48
|
+
right: 0 !important;
|
|
49
|
+
}
|
|
50
|
+
.bottom-0-xs {
|
|
51
|
+
bottom: 0 !important;
|
|
52
|
+
}
|
|
28
53
|
}
|
|
29
54
|
|
|
30
55
|
@media (min-width: @screen-sm-min) {
|
|
@@ -40,6 +65,18 @@
|
|
|
40
65
|
.p-sticky-sm {
|
|
41
66
|
position: sticky !important;
|
|
42
67
|
}
|
|
68
|
+
.top-0-sm {
|
|
69
|
+
top: 0 !important;
|
|
70
|
+
}
|
|
71
|
+
.left-0-sm {
|
|
72
|
+
left: 0 !important;
|
|
73
|
+
}
|
|
74
|
+
.right-0-sm {
|
|
75
|
+
right: 0 !important;
|
|
76
|
+
}
|
|
77
|
+
.bottom-0-sm {
|
|
78
|
+
bottom: 0 !important;
|
|
79
|
+
}
|
|
43
80
|
}
|
|
44
81
|
|
|
45
82
|
@media (min-width: @screen-md-min) {
|
|
@@ -55,6 +92,18 @@
|
|
|
55
92
|
.p-sticky-md {
|
|
56
93
|
position: sticky !important;
|
|
57
94
|
}
|
|
95
|
+
.top-0-md {
|
|
96
|
+
top: 0 !important;
|
|
97
|
+
}
|
|
98
|
+
.left-0-md {
|
|
99
|
+
left: 0 !important;
|
|
100
|
+
}
|
|
101
|
+
.right-0-md {
|
|
102
|
+
right: 0 !important;
|
|
103
|
+
}
|
|
104
|
+
.bottom-0-md {
|
|
105
|
+
bottom: 0 !important;
|
|
106
|
+
}
|
|
58
107
|
}
|
|
59
108
|
|
|
60
109
|
@media (min-width: @screen-lg-min) {
|
|
@@ -70,4 +119,16 @@
|
|
|
70
119
|
.p-sticky-lg {
|
|
71
120
|
position: sticky !important;
|
|
72
121
|
}
|
|
122
|
+
.top-0-lg {
|
|
123
|
+
top: 0 !important;
|
|
124
|
+
}
|
|
125
|
+
.left-0-lg {
|
|
126
|
+
left: 0 !important;
|
|
127
|
+
}
|
|
128
|
+
.right-0-lg {
|
|
129
|
+
right: 0 !important;
|
|
130
|
+
}
|
|
131
|
+
.bottom-0-lg {
|
|
132
|
+
bottom: 0 !important;
|
|
133
|
+
}
|
|
73
134
|
}
|
package/styles/utilities.less
CHANGED
|
@@ -94,11 +94,14 @@
|
|
|
94
94
|
.sticky-header-top-0 {
|
|
95
95
|
position: sticky !important;
|
|
96
96
|
top: 0 !important;
|
|
97
|
+
background: inherit;
|
|
97
98
|
}
|
|
98
99
|
|
|
99
100
|
.sticky-right{
|
|
100
101
|
position: sticky!important;
|
|
101
102
|
right:0;
|
|
103
|
+
background: inherit;
|
|
104
|
+
margin-bottom: 1px;
|
|
102
105
|
}
|
|
103
106
|
|
|
104
107
|
// Transitions
|
|
@@ -22,12 +22,12 @@
|
|
|
22
22
|
margin-top: 1px;
|
|
23
23
|
cursor: pointer;
|
|
24
24
|
transition: transform 0.25s ease-in-out, box-shadow 0.25s ease-in-out;
|
|
25
|
-
outline: 1px solid @
|
|
25
|
+
outline: 1px solid @component-border-color;
|
|
26
26
|
|
|
27
27
|
&:hover,
|
|
28
28
|
&:focus {
|
|
29
29
|
z-index: @zindex-navbar - 1;
|
|
30
|
-
outline: 2px solid @
|
|
30
|
+
outline: 2px solid @component-brand-primary;
|
|
31
31
|
outline-offset: -2px;
|
|
32
32
|
}
|
|
33
33
|
&:focus {
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
@alert-system-icon: var(--c8y-alert-system-icon, @dlt-c8y-icon-wrench);
|
|
21
21
|
@alert-system-bg: @alert-background;
|
|
22
22
|
@alert-system-text: @alert-color;
|
|
23
|
-
@alert-system-border: var(--
|
|
23
|
+
@alert-system-border: var(--c8y-alert-status-system);
|
|
24
24
|
|
|
25
25
|
@alert-warning-icon: var(--c8y-alert-warning-icon, @dlt-c8y-icon-warning);
|
|
26
26
|
@alert-warning-bg: @alert-background;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
@badge-background-warning: @status-warning-lightest;
|
|
4
4
|
@badge-background-danger: @status-danger-light;
|
|
5
5
|
@badge-background-info: @status-info-light;
|
|
6
|
-
@badge-background-system: @
|
|
6
|
+
@badge-background-system: @status-system;
|
|
7
7
|
|
|
8
8
|
@badge-color-default: @text-color;
|
|
9
9
|
@badge-color-success: @status-success-dark;
|