@c8y/style 1021.29.0 → 1021.29.4
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/_app-switcher.less +11 -3
- package/styles/_card.less +5 -5
- package/styles/_layouts.less +9 -7
- package/styles/_main-header.less +4 -0
package/package.json
CHANGED
|
@@ -1,8 +1,16 @@
|
|
|
1
1
|
.app-switcher-dropdown {
|
|
2
2
|
position: static;
|
|
3
|
+
|
|
3
4
|
@media (min-width: @screen-sm-min) {
|
|
4
5
|
position: relative;
|
|
5
6
|
}
|
|
7
|
+
@media(max-width: @screen-sm-min){
|
|
8
|
+
&.open {
|
|
9
|
+
.main-header-button.c8y-dropdown.dropdown-toggle{
|
|
10
|
+
box-shadow: none!important;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
6
14
|
}
|
|
7
15
|
|
|
8
16
|
.app-switcher,
|
|
@@ -60,18 +68,18 @@
|
|
|
60
68
|
}
|
|
61
69
|
|
|
62
70
|
.dropdown-menu.app-switcher-dropdown-menu {
|
|
63
|
-
left: 50
|
|
71
|
+
left: 50%!important;
|
|
64
72
|
overflow-y: auto;
|
|
65
73
|
margin-left: -160px !important;
|
|
66
74
|
max-height: calc(~'95vh - @{header-bar-height}');
|
|
67
75
|
width: 320px;
|
|
68
76
|
|
|
69
77
|
@media (min-width: 560px) and(max-width:@screen-sm-min) {
|
|
70
|
-
margin-left: -
|
|
78
|
+
margin-left: -72px !important;
|
|
71
79
|
width: 340px;
|
|
72
80
|
}
|
|
73
81
|
@media (min-width: @screen-sm-min) {
|
|
74
|
-
margin-left: -
|
|
82
|
+
margin-left: -255px !important;
|
|
75
83
|
width: 340px;
|
|
76
84
|
}
|
|
77
85
|
}
|
package/styles/_card.less
CHANGED
|
@@ -678,11 +678,11 @@ c8y-device-request-card {
|
|
|
678
678
|
padding-left: 0;
|
|
679
679
|
padding-right: 0;
|
|
680
680
|
}
|
|
681
|
-
.modal-dialog & {
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
}
|
|
681
|
+
// .modal-dialog & {
|
|
682
|
+
// .card-header {
|
|
683
|
+
// padding-top: 0;
|
|
684
|
+
// }
|
|
685
|
+
// }
|
|
686
686
|
// display the tile as a label
|
|
687
687
|
.card-header {
|
|
688
688
|
> h4,
|
package/styles/_layouts.less
CHANGED
|
@@ -233,14 +233,16 @@ body {
|
|
|
233
233
|
}
|
|
234
234
|
}
|
|
235
235
|
.inner-scroll--md {
|
|
236
|
-
overflow
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
236
|
+
&, &.overflow-visible-sm{
|
|
237
|
+
overflow: auto!important;
|
|
238
|
+
overscroll-behavior: contain;
|
|
239
|
+
height: 100%;
|
|
240
|
+
background-color: inherit;
|
|
240
241
|
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
242
|
+
.c8y-scrollbar();
|
|
243
|
+
> .list-group:last-child {
|
|
244
|
+
margin-bottom: 0;
|
|
245
|
+
}
|
|
244
246
|
}
|
|
245
247
|
}
|
|
246
248
|
}
|
package/styles/_main-header.less
CHANGED
|
@@ -423,6 +423,10 @@ body:not(:has(.has-tabs)):not(:has(.has-action-bar)) {
|
|
|
423
423
|
width: 100%;
|
|
424
424
|
}
|
|
425
425
|
|
|
426
|
+
.open .dropdown-toggle{
|
|
427
|
+
box-shadow: none!important;
|
|
428
|
+
}
|
|
429
|
+
|
|
426
430
|
.dropdown-menu:not(.app-switcher-dropdown-menu) {
|
|
427
431
|
min-width: 100vw;
|
|
428
432
|
inset: auto !important;
|