@c8y/style 1021.29.1 → 1021.30.3

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@c8y/style",
3
- "version": "1021.29.1",
3
+ "version": "1021.30.3",
4
4
  "license": "Apache-2.0",
5
5
  "author": "Cumulocity GmbH",
6
6
  "description": "Styles for Cumulocity IoT applications",
@@ -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: -100px !important;
78
+ margin-left: -72px !important;
71
79
  width: 340px;
72
80
  }
73
81
  @media (min-width: @screen-sm-min) {
74
- margin-left: -235px !important;
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
- .card-header {
683
- padding-top: 0;
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,
@@ -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;