@c8y/style 1023.88.4 → 1023.90.1
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/package.json +1 -1
- package/styles/components/data-display-and-visualization/_c8y-data-explorer.less +3 -3
- package/styles/components/data-display-and-visualization/_c8y-data-explorer.scss +3 -3
- package/styles/components/navigation-and-layout/cards/_card.less +1 -0
- package/styles/components/navigation-and-layout/cards/_card.scss +1 -0
- package/styles/core/buttons/_buttons.less +12 -0
- package/styles/core/buttons/_buttons.scss +12 -0
- package/styles/dashboard/_c8y-dashboard-style.less +136 -7
- package/styles/dashboard/_c8y-dashboard-style.scss +128 -0
package/package.json
CHANGED
|
@@ -58,9 +58,9 @@ c8y-chart {
|
|
|
58
58
|
c8y-datapoints-graph-widget-view{
|
|
59
59
|
flex-grow: 1;
|
|
60
60
|
}
|
|
61
|
-
&:has(c8y-aggregation-picker),
|
|
62
|
-
&:has(c8y-auto-refresh-control),
|
|
63
|
-
&:has(c8y-date-time-context-picker) {
|
|
61
|
+
&:has(.card-inner-scroll c8y-aggregation-picker),
|
|
62
|
+
&:has(.card-inner-scroll c8y-auto-refresh-control),
|
|
63
|
+
&:has(.card-inner-scroll c8y-date-time-context-picker) {
|
|
64
64
|
.chart-container {
|
|
65
65
|
max-height: calc(100% - 80px);
|
|
66
66
|
}
|
|
@@ -59,9 +59,9 @@ c8y-chart {
|
|
|
59
59
|
c8y-datapoints-graph-widget-view{
|
|
60
60
|
flex-grow: 1;
|
|
61
61
|
}
|
|
62
|
-
&:has(c8y-aggregation-picker),
|
|
63
|
-
&:has(c8y-auto-refresh-control),
|
|
64
|
-
&:has(c8y-date-time-context-picker) {
|
|
62
|
+
&:has(.card-inner-scroll c8y-aggregation-picker),
|
|
63
|
+
&:has(.card-inner-scroll c8y-auto-refresh-control),
|
|
64
|
+
&:has(.card-inner-scroll c8y-date-time-context-picker) {
|
|
65
65
|
.chart-container {
|
|
66
66
|
max-height: calc(100% - 80px);
|
|
67
67
|
}
|
|
@@ -271,6 +271,7 @@
|
|
|
271
271
|
|
|
272
272
|
.btn-icon-dot-set {
|
|
273
273
|
display: flex;
|
|
274
|
+
align-items: center;
|
|
274
275
|
gap: @size-8;
|
|
275
276
|
background-color: transparent;
|
|
276
277
|
background-image: none;
|
|
@@ -289,6 +290,17 @@
|
|
|
289
290
|
font-size: @font-size-small;
|
|
290
291
|
padding: @size-5 @size-8;
|
|
291
292
|
transition: all 0.25s ease;
|
|
293
|
+
|
|
294
|
+
.dlt-c8y-icon-angle-down{
|
|
295
|
+
transition: transform 0.15s ease;
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
&[aria-expanded='true'] {
|
|
299
|
+
.dlt-c8y-icon-angle-down{
|
|
300
|
+
transform: rotate(180deg);
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
|
|
292
304
|
&:hover,
|
|
293
305
|
&:focus,
|
|
294
306
|
&:active {
|
|
@@ -274,6 +274,7 @@
|
|
|
274
274
|
|
|
275
275
|
.btn-icon-dot-set {
|
|
276
276
|
display: flex;
|
|
277
|
+
align-items: center;
|
|
277
278
|
gap: $size-8;
|
|
278
279
|
background-color: transparent;
|
|
279
280
|
background-image: none;
|
|
@@ -292,6 +293,17 @@
|
|
|
292
293
|
font-size: $font-size-small;
|
|
293
294
|
padding: $size-5 $size-8;
|
|
294
295
|
transition: all 0.25s ease;
|
|
296
|
+
|
|
297
|
+
.dlt-c8y-icon-angle-down{
|
|
298
|
+
transition: transform 0.15s ease;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
&[aria-expanded='true'] {
|
|
302
|
+
.dlt-c8y-icon-angle-down{
|
|
303
|
+
transform: rotate(180deg);
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
|
|
295
307
|
&:hover,
|
|
296
308
|
&:focus,
|
|
297
309
|
&:active {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Dashboard Styles - Grid-based dashboard layout with drag-and-drop
|
|
6
6
|
*
|
|
7
|
-
* Note: Uses design tokens for spacing (@size
|
|
7
|
+
* Note: Uses design tokens for spacing (@size-*, @component-padding) and colors.
|
|
8
8
|
*
|
|
9
9
|
* Intentionally hardcoded values:
|
|
10
10
|
* - Media query breakpoint (768px): Responsive breakpoint
|
|
@@ -79,6 +79,7 @@ body.c8y-grid-dashboard > .card.card-dashboard.cdk-drag-preview {
|
|
|
79
79
|
top: 0;
|
|
80
80
|
right: 0;
|
|
81
81
|
z-index: 10;
|
|
82
|
+
min-width: 0;
|
|
82
83
|
}
|
|
83
84
|
|
|
84
85
|
.resize-handle {
|
|
@@ -93,7 +94,7 @@ body.c8y-grid-dashboard > .card.card-dashboard.cdk-drag-preview {
|
|
|
93
94
|
|
|
94
95
|
.resize-icon {
|
|
95
96
|
position: absolute;
|
|
96
|
-
.dlt-c8y-icon
|
|
97
|
+
.dlt-c8y-icon;
|
|
97
98
|
right: @size-4;
|
|
98
99
|
bottom: @size-4;
|
|
99
100
|
z-index: 11;
|
|
@@ -187,7 +188,7 @@ body.c8y-grid-dashboard > .card.card-dashboard.cdk-drag-preview {
|
|
|
187
188
|
}
|
|
188
189
|
|
|
189
190
|
.fullscreen-dashboard {
|
|
190
|
-
.fullscreen-dashboard-styles
|
|
191
|
+
.fullscreen-dashboard-styles;
|
|
191
192
|
}
|
|
192
193
|
|
|
193
194
|
// hide action bar when a single widget is in fullscreen
|
|
@@ -210,19 +211,19 @@ body.c8y-grid-dashboard > .card.card-dashboard.cdk-drag-preview {
|
|
|
210
211
|
}
|
|
211
212
|
|
|
212
213
|
:-webkit-full-screen:not(:root) {
|
|
213
|
-
.fullscreen-dashboard-styles
|
|
214
|
+
.fullscreen-dashboard-styles;
|
|
214
215
|
}
|
|
215
216
|
|
|
216
217
|
:-moz-full-screen:not(:root) {
|
|
217
|
-
.fullscreen-dashboard-styles
|
|
218
|
+
.fullscreen-dashboard-styles;
|
|
218
219
|
}
|
|
219
220
|
|
|
220
221
|
:-ms-fullscreen:not(:root) {
|
|
221
|
-
.fullscreen-dashboard-styles
|
|
222
|
+
.fullscreen-dashboard-styles;
|
|
222
223
|
}
|
|
223
224
|
|
|
224
225
|
:fullscreen:not(:root) {
|
|
225
|
-
.fullscreen-dashboard-styles
|
|
226
|
+
.fullscreen-dashboard-styles;
|
|
226
227
|
}
|
|
227
228
|
|
|
228
229
|
body .dashboard-preview-slot {
|
|
@@ -419,6 +420,7 @@ body fieldset > .dashboard-preview-slot {
|
|
|
419
420
|
color: inherit;
|
|
420
421
|
}
|
|
421
422
|
}
|
|
423
|
+
|
|
422
424
|
// Prevent interactions in dashboard preview slots except for maps
|
|
423
425
|
.dashboard-preview-slot:not(:has(c8y-map)) {
|
|
424
426
|
pointer-events: none;
|
|
@@ -440,3 +442,130 @@ body fieldset > .dashboard-preview-slot {
|
|
|
440
442
|
}
|
|
441
443
|
}
|
|
442
444
|
}
|
|
445
|
+
|
|
446
|
+
|
|
447
|
+
.c8y-header-controls-group {
|
|
448
|
+
display: inline-flex;
|
|
449
|
+
align-items: stretch;
|
|
450
|
+
border: 1px solid @component-border-color;
|
|
451
|
+
border-radius: 16px;
|
|
452
|
+
transition: all 0.25s ease;
|
|
453
|
+
overflow: hidden;
|
|
454
|
+
min-width: 32px;
|
|
455
|
+
&:has(c8y-auto-refresh-control + c8y-date-time-context-picker + .input-group-btn) {
|
|
456
|
+
min-width: 132px;
|
|
457
|
+
}
|
|
458
|
+
&:has([data-cy="global-context-link--all"]:not(.active)) {
|
|
459
|
+
min-width: 74px;
|
|
460
|
+
|
|
461
|
+
&:has(c8y-date-time-context-picker) {
|
|
462
|
+
min-width:128px;
|
|
463
|
+
}
|
|
464
|
+
&:has(c8y-aggregation-picker + c8y-date-time-context-picker + .input-group-btn) {
|
|
465
|
+
min-width: 186px;
|
|
466
|
+
}
|
|
467
|
+
&:has(c8y-auto-refresh-control + c8y-date-time-context-picker + .input-group-btn) {
|
|
468
|
+
min-width: 180px;
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
&:has(c8y-date-time-context-picker:last-child) {
|
|
472
|
+
min-width:91px;
|
|
473
|
+
}
|
|
474
|
+
.btn-icon-dot-set {
|
|
475
|
+
border: none !important;
|
|
476
|
+
border-radius: 16px !important;
|
|
477
|
+
}
|
|
478
|
+
c8y-context-controls{
|
|
479
|
+
min-width: 0;
|
|
480
|
+
}
|
|
481
|
+
c8y-date-time-context-picker{
|
|
482
|
+
min-width: 55px;
|
|
483
|
+
}
|
|
484
|
+
.btn-icon-dot-set {
|
|
485
|
+
&:first-child:not(:last-child) {
|
|
486
|
+
border-radius: 16px 0 0 16px !important;
|
|
487
|
+
}
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
.form-control{
|
|
491
|
+
background: transparent;
|
|
492
|
+
height: 30px;
|
|
493
|
+
&:not(:focus){
|
|
494
|
+
box-shadow: none;
|
|
495
|
+
}
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
.input-group {
|
|
499
|
+
c8y-aggregation-picker {
|
|
500
|
+
.form-control{
|
|
501
|
+
border-left:1px solid @component-border-color;
|
|
502
|
+
}
|
|
503
|
+
}
|
|
504
|
+
}
|
|
505
|
+
&:not(.c8y-header-controls-group--has-summary){
|
|
506
|
+
.input-group:first-child {
|
|
507
|
+
c8y-aggregation-picker .form-control{
|
|
508
|
+
border-left:0;
|
|
509
|
+
border-top-left-radius: 16px!important;
|
|
510
|
+
border-bottom-left-radius: 16px!important;
|
|
511
|
+
}
|
|
512
|
+
}
|
|
513
|
+
}
|
|
514
|
+
c8y-date-time-context-picker {
|
|
515
|
+
.form-control{
|
|
516
|
+
border-left:1px solid @component-border-color;
|
|
517
|
+
}
|
|
518
|
+
&:last-child {
|
|
519
|
+
.form-control{
|
|
520
|
+
border-top-right-radius: 16px!important;
|
|
521
|
+
border-bottom-right-radius: 16px!important;
|
|
522
|
+
}
|
|
523
|
+
}
|
|
524
|
+
}
|
|
525
|
+
.toggle-countdown{
|
|
526
|
+
border-top: 0;
|
|
527
|
+
border-bottom: 0;
|
|
528
|
+
min-height: 30px;
|
|
529
|
+
min-width: 36px;
|
|
530
|
+
}
|
|
531
|
+
&:not(.c8y-header-controls-group--has-summary){
|
|
532
|
+
c8y-auto-refresh-control{
|
|
533
|
+
&:first-child{
|
|
534
|
+
.toggle-countdown{
|
|
535
|
+
border-top-left-radius: 16px!important;
|
|
536
|
+
border-bottom-left-radius: 16px!important;
|
|
537
|
+
}
|
|
538
|
+
}
|
|
539
|
+
}
|
|
540
|
+
}
|
|
541
|
+
c8y-auto-refresh-control:last-child{
|
|
542
|
+
.toggle-countdown{
|
|
543
|
+
border-top-left-radius: 0!important;
|
|
544
|
+
border-bottom-left-radius: 0!important;
|
|
545
|
+
border-top-right-radius: 16px!important;
|
|
546
|
+
border-bottom-right-radius: 16px!important;
|
|
547
|
+
border-right: 0;
|
|
548
|
+
}
|
|
549
|
+
}
|
|
550
|
+
.input-group-btn{
|
|
551
|
+
max-height: 30px;
|
|
552
|
+
.btn:not(:focus){
|
|
553
|
+
border-color: transparent!important;
|
|
554
|
+
border-left-color: @component-border-color!important;
|
|
555
|
+
}
|
|
556
|
+
&:last-child{
|
|
557
|
+
.btn{
|
|
558
|
+
border-top-right-radius: 16px!important;
|
|
559
|
+
border-bottom-right-radius: 16px!important;
|
|
560
|
+
}
|
|
561
|
+
}
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
.c8y-expandable-controls__panel {
|
|
567
|
+
position: relative;
|
|
568
|
+
z-index: 5;
|
|
569
|
+
background: @component-background-default;
|
|
570
|
+
box-shadow: inset 0 -1px 0 0 @component-border-color;
|
|
571
|
+
}
|
|
@@ -83,6 +83,7 @@ body.c8y-grid-dashboard > .card.card-dashboard.cdk-drag-preview {
|
|
|
83
83
|
top: 0;
|
|
84
84
|
right: 0;
|
|
85
85
|
z-index: 10;
|
|
86
|
+
min-width: 0;
|
|
86
87
|
}
|
|
87
88
|
|
|
88
89
|
.resize-handle {
|
|
@@ -440,3 +441,130 @@ body fieldset > .dashboard-preview-slot {
|
|
|
440
441
|
}
|
|
441
442
|
}
|
|
442
443
|
}
|
|
444
|
+
|
|
445
|
+
|
|
446
|
+
.c8y-header-controls-group {
|
|
447
|
+
display: inline-flex;
|
|
448
|
+
align-items: stretch;
|
|
449
|
+
border: 1px solid $component-border-color;
|
|
450
|
+
border-radius: 16px;
|
|
451
|
+
transition: all 0.25s ease;
|
|
452
|
+
overflow: hidden;
|
|
453
|
+
min-width: 32px;
|
|
454
|
+
&:has(c8y-auto-refresh-control + c8y-date-time-context-picker + .input-group-btn) {
|
|
455
|
+
min-width: 132px;
|
|
456
|
+
}
|
|
457
|
+
&:has([data-cy="global-context-link--all"]:not(.active)) {
|
|
458
|
+
min-width: 74px;
|
|
459
|
+
|
|
460
|
+
&:has(c8y-date-time-context-picker) {
|
|
461
|
+
min-width:128px;
|
|
462
|
+
}
|
|
463
|
+
&:has(c8y-aggregation-picker + c8y-date-time-context-picker + .input-group-btn) {
|
|
464
|
+
min-width: 186px;
|
|
465
|
+
}
|
|
466
|
+
&:has(c8y-auto-refresh-control + c8y-date-time-context-picker + .input-group-btn) {
|
|
467
|
+
min-width: 180px;
|
|
468
|
+
}
|
|
469
|
+
}
|
|
470
|
+
&:has(c8y-date-time-context-picker:last-child) {
|
|
471
|
+
min-width:91px;
|
|
472
|
+
}
|
|
473
|
+
.btn-icon-dot-set {
|
|
474
|
+
border: none !important;
|
|
475
|
+
border-radius: 16px !important;
|
|
476
|
+
}
|
|
477
|
+
c8y-context-controls{
|
|
478
|
+
min-width: 0;
|
|
479
|
+
}
|
|
480
|
+
c8y-date-time-context-picker{
|
|
481
|
+
min-width: 55px;
|
|
482
|
+
}
|
|
483
|
+
.btn-icon-dot-set {
|
|
484
|
+
&:first-child:not(:last-child) {
|
|
485
|
+
border-radius: 16px 0 0 16px !important;
|
|
486
|
+
}
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
.form-control{
|
|
490
|
+
background: transparent;
|
|
491
|
+
height: 30px;
|
|
492
|
+
&:not(:focus){
|
|
493
|
+
box-shadow: none;
|
|
494
|
+
}
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
.input-group {
|
|
498
|
+
c8y-aggregation-picker {
|
|
499
|
+
.form-control{
|
|
500
|
+
border-left:1px solid $component-border-color;
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
}
|
|
504
|
+
&:not(.c8y-header-controls-group--has-summary){
|
|
505
|
+
.input-group:first-child {
|
|
506
|
+
c8y-aggregation-picker .form-control{
|
|
507
|
+
border-left:0;
|
|
508
|
+
border-top-left-radius: 16px!important;
|
|
509
|
+
border-bottom-left-radius: 16px!important;
|
|
510
|
+
}
|
|
511
|
+
}
|
|
512
|
+
}
|
|
513
|
+
c8y-date-time-context-picker {
|
|
514
|
+
.form-control{
|
|
515
|
+
border-left:1px solid $component-border-color;
|
|
516
|
+
}
|
|
517
|
+
&:last-child {
|
|
518
|
+
.form-control{
|
|
519
|
+
border-top-right-radius: 16px!important;
|
|
520
|
+
border-bottom-right-radius: 16px!important;
|
|
521
|
+
}
|
|
522
|
+
}
|
|
523
|
+
}
|
|
524
|
+
.toggle-countdown{
|
|
525
|
+
border-top: 0;
|
|
526
|
+
border-bottom: 0;
|
|
527
|
+
min-height: 30px;
|
|
528
|
+
min-width: 36px;
|
|
529
|
+
}
|
|
530
|
+
&:not(.c8y-header-controls-group--has-summary){
|
|
531
|
+
c8y-auto-refresh-control{
|
|
532
|
+
&:first-child{
|
|
533
|
+
.toggle-countdown{
|
|
534
|
+
border-top-left-radius: 16px!important;
|
|
535
|
+
border-bottom-left-radius: 16px!important;
|
|
536
|
+
}
|
|
537
|
+
}
|
|
538
|
+
}
|
|
539
|
+
}
|
|
540
|
+
c8y-auto-refresh-control:last-child{
|
|
541
|
+
.toggle-countdown{
|
|
542
|
+
border-top-left-radius: 0!important;
|
|
543
|
+
border-bottom-left-radius: 0!important;
|
|
544
|
+
border-top-right-radius: 16px!important;
|
|
545
|
+
border-bottom-right-radius: 16px!important;
|
|
546
|
+
border-right: 0;
|
|
547
|
+
}
|
|
548
|
+
}
|
|
549
|
+
.input-group-btn{
|
|
550
|
+
max-height: 30px;
|
|
551
|
+
.btn:not(:focus){
|
|
552
|
+
border-color: transparent!important;
|
|
553
|
+
border-left-color: $component-border-color!important;
|
|
554
|
+
}
|
|
555
|
+
&:last-child{
|
|
556
|
+
.btn{
|
|
557
|
+
border-top-right-radius: 16px!important;
|
|
558
|
+
border-bottom-right-radius: 16px!important;
|
|
559
|
+
}
|
|
560
|
+
}
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
}
|
|
564
|
+
|
|
565
|
+
.c8y-expandable-controls__panel {
|
|
566
|
+
position: relative;
|
|
567
|
+
z-index: 5;
|
|
568
|
+
background: $component-background-default;
|
|
569
|
+
box-shadow: inset 0 -1px 0 0 $component-border-color;
|
|
570
|
+
}
|