@c8y/style 1021.52.0 → 1021.54.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.
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@c8y/style",
3
- "version": "1021.52.0",
3
+ "version": "1021.54.4",
4
4
  "license": "Apache-2.0",
5
5
  "author": "Cumulocity GmbH",
6
6
  "description": "Styles for Cumulocity IoT applications",
@@ -54,6 +54,11 @@
54
54
  .btn-group + .btn-group {
55
55
  margin-left: -2px;
56
56
  }
57
+
58
+ // also when we're using the realtime button
59
+ c8y-realtime-control .btn{
60
+ border-left: 0;
61
+ }
57
62
  }
58
63
 
59
64
  // Optional: Group multiple button groups together for a toolbar
@@ -375,7 +375,7 @@ label > .btn-clean {
375
375
  .legend &,
376
376
  &--sm {
377
377
  display: inline;
378
- vertical-align: super;
378
+ align-self: center;
379
379
  height: 14px;
380
380
  width: 14px;
381
381
  &::before {
@@ -50,22 +50,22 @@
50
50
  }
51
51
  }
52
52
 
53
- body:not(:has(.app-main-header)){
53
+ body:not(:has(.app-main-header)) {
54
54
  .c8y-ui-action-bar {
55
55
  top: 0;
56
56
  &.has-tabs {
57
57
  top: 48px;
58
58
  }
59
- @media(max-width: @screen-xs-max){
60
- &.has-tabs{
61
- display: none
59
+ @media (max-width: @screen-xs-max) {
60
+ &.has-tabs {
61
+ display: none;
62
62
  }
63
- .navbar-header{
63
+ .navbar-header {
64
64
  display: none;
65
65
  }
66
66
  }
67
67
  }
68
- &:has(.vertical-tabs){
68
+ &:has(.vertical-tabs) {
69
69
  .c8y-ui-action-bar {
70
70
  top: 0;
71
71
  }
@@ -127,6 +127,9 @@ body:not(:has(.app-main-header)){
127
127
  &.uib-datepicker-popup {
128
128
  width: 280px;
129
129
  }
130
+ &.dropdown-menu-wide {
131
+ max-width: 400px;
132
+ }
130
133
  }
131
134
  }
132
135
  }
@@ -155,11 +158,10 @@ body:not(:has(.app-main-header)){
155
158
  margin: 0;
156
159
  padding: 7px @margin-8;
157
160
 
158
- &:first-child{
161
+ &:first-child {
159
162
  padding-left: 0;
160
163
  }
161
164
  }
162
-
163
165
 
164
166
  > .btn {
165
167
  float: none;
@@ -287,9 +289,9 @@ body:not(:has(.app-main-header)){
287
289
  }
288
290
  }
289
291
  }
290
- &.no-remove.more-wrapper{
292
+ &.no-remove.more-wrapper {
291
293
  height: 0;
292
- .dropdown{
294
+ .dropdown {
293
295
  border-top: 0;
294
296
  }
295
297
  }
@@ -22,6 +22,15 @@ c8y-chart {
22
22
  fill: currentColor;
23
23
  }
24
24
 
25
+ .data-point-explorer .chart-container{
26
+ min-height: 280px;
27
+ }
28
+
29
+ .card-dashboard .chart-container{
30
+ max-height: calc(100% - 95px);
31
+ max-width: 99.5%;
32
+ }
33
+
25
34
  .top-chart-bar {
26
35
  justify-content: space-between;
27
36
  margin: 2px 0 0;
@@ -218,6 +227,13 @@ c8y-chart {
218
227
  left: 56px;
219
228
  }
220
229
 
230
+ .chart-load-more{
231
+ position: absolute;
232
+ left: 48px;
233
+ right: 11px;
234
+ bottom: 3px;
235
+ }
236
+
221
237
  .meausurements2 c8y-measurements-icon-bar {
222
238
  display: block;
223
239
  padding-top: 5px;
@@ -12,7 +12,9 @@
12
12
  }
13
13
  }
14
14
 
15
- c8y-datapoint-selection-list {
15
+ c8y-datapoint-selection-list,
16
+ c8y-alarm-event-selection-list {
17
+
16
18
  .c8y-list__item__actions {
17
19
  align-self: center;
18
20
  }
@@ -30,8 +32,8 @@ c8y-datapoint-selection-list {
30
32
  }
31
33
  }
32
34
 
33
- c8y-datapoint-selector-list-item {
34
- .c8y-list__item__actions{
35
- padding-top: 10px!important;
36
- }
37
- }
35
+ // c8y-datapoint-selector-list-item {
36
+ // .c8y-list__item__actions{
37
+ // padding-top: 10px!important;
38
+ // }
39
+ // }
@@ -27,11 +27,31 @@
27
27
  }
28
28
  }
29
29
 
30
+ .c8y-datapoint-pill{
31
+ &__btn {
32
+ &, &:not(.btn){
33
+ padding: @margin-4 @margin-4 @margin-4 @margin-base;
34
+ &:first-child{
35
+ border-bottom-left-radius: @margin-16!important;
36
+ border-top-left-radius: @margin-16!important;
37
+ }
38
+ + .c8y-datapoint-pill__btn{
39
+ border-right: 0;
40
+ padding-right: @margin-base;
41
+ }
42
+ }
43
+ }
44
+ }
30
45
 
31
46
  .c8y-alarm-pill {
32
47
  border-radius: @margin-4;
33
48
  &__btn {
34
- padding: @margin-4;
49
+ &, &:not(.btn){
50
+ padding: @margin-4!important;
51
+ + .c8y-alarm-pill__btn{
52
+ border-right: 0;
53
+ }
54
+ }
35
55
  }
36
56
  }
37
57
 
@@ -39,8 +59,13 @@
39
59
  border-radius: 2px;
40
60
  border: 1px dotted @component-color-text-muted;
41
61
  &__btn {
42
- border-right: 1px dotted @component-color-text-muted;
43
- padding: @margin-4;
62
+ &, &:not(.btn){
63
+ border-right: 1px dotted @component-color-text-muted;
64
+ padding: @margin-4 !important;
65
+ + .c8y-event-pill__btn{
66
+ border-right: 0;
67
+ }
68
+ }
44
69
  }
45
70
  }
46
71
 
@@ -43,6 +43,7 @@
43
43
  display: inline-block;
44
44
  line-height: 1;
45
45
  padding: 0;
46
+ min-width: 1em;
46
47
  &:not([class^="fa-"]):not([class*=" fa-"]):not([class^="dlt-c8y-icon-"]):not([class*=" dlt-c8y-icon-"])::before{
47
48
  display: inline-block;
48
49
  font-family: "c8yicon-dark";
@@ -124,6 +125,7 @@
124
125
  }
125
126
  }
126
127
 
128
+
127
129
  .c8y-icon-aab-icon-model {
128
130
  &:before {
129
131
  content: @c8y-icon-dark-aab-icon-model;
@@ -919,8 +921,6 @@
919
921
  }
920
922
  }
921
923
 
922
-
923
-
924
924
  .app-noicon {
925
925
  display: inline-block;
926
926
  width: 36px;
@@ -995,11 +995,18 @@
995
995
  > i{
996
996
  font-size: 16px;
997
997
  }
998
+ &--medium{
999
+ width: 20px;
1000
+ height: 20px;
1001
+ > i{
1002
+ font-size: 12px;
1003
+ }
1004
+ }
998
1005
  &--small{
999
1006
  width: 16px;
1000
1007
  height: 16px;
1001
1008
  > i{
1002
- font-size: 12px;
1009
+ font-size: 10px;
1003
1010
  }
1004
1011
  }
1005
1012
  }
@@ -214,7 +214,7 @@ c8y-li-drag-handle {
214
214
  flex-shrink: 0;
215
215
  max-width: 0;
216
216
  overflow: hidden;
217
- transition: all 0.25s ease;
217
+ // transition: all 0.25s ease;
218
218
 
219
219
  c8y-li-drag-handle {
220
220
  padding: 0 !important;
@@ -230,12 +230,18 @@ c8y-li-drag-handle {
230
230
  }
231
231
  }
232
232
 
233
+ + c8y-li-checkbox{
234
+ padding-left: 0;
235
+ }
233
236
  .cdk-drag-disabled & {
234
237
  display: none;
235
238
 
236
239
  + * {
237
240
  padding-left: 0 !important;
238
241
  }
242
+ + c8y-li-checkbox {
243
+ padding-left: 16px!important;
244
+ }
239
245
  }
240
246
  }
241
247
 
@@ -249,8 +255,9 @@ c8y-li-drag-handle {
249
255
 
250
256
  .c8y-list__item:hover {
251
257
  c8y-li-drag-handle:not(:empty) {
252
- max-width: 100px;
253
- padding-left: @margin-8;
258
+ max-width: unset;
259
+ width: @margin-16;
260
+ margin-right: calc(@margin-16 * -1);
254
261
  }
255
262
  }
256
263
 
@@ -21,3 +21,10 @@
21
21
  .widget-thumbnail {
22
22
  max-width: 100%;
23
23
  }
24
+
25
+
26
+ .widget-preview{
27
+ .chart-container{
28
+ min-height: 240px;
29
+ }
30
+ }
@@ -137,6 +137,10 @@ label {
137
137
  opacity: @form-control-disabled-opacity;
138
138
  }
139
139
  }
140
+ &:has(.btn-help){
141
+ display: flex;
142
+ align-items: center;
143
+ }
140
144
  }
141
145
 
142
146
  // Normalize form controls
@@ -285,7 +289,7 @@ textarea.form-control {
285
289
  &--alarm{
286
290
  input + span{
287
291
  > i{
288
- transform: translateY(-.5px);
292
+ transform: translateY(.3px);
289
293
  }
290
294
  }
291
295
  }
@@ -25,6 +25,9 @@
25
25
  margin-bottom: 0;
26
26
  height: @form-control-height-base !important;
27
27
  min-width: 0;
28
+ &:not(:first-child) {
29
+ margin-left: -1px;
30
+ }
28
31
  }
29
32
  > .color-input {
30
33
  flex-grow: 0;
@@ -75,6 +78,7 @@
75
78
  }
76
79
 
77
80
  .form-group-sm &,
81
+ .input-group-sm &,
78
82
  &.input-sm {
79
83
  padding: @form-control-padding-small-vertical @form-control-padding-small-horizontal;
80
84
  font-size: @font-size-small;
@@ -97,9 +101,15 @@
97
101
  display: flex;
98
102
  align-items: stretch;
99
103
  max-height: @form-control-height-base;
104
+ &:not(:first-child) {
105
+ margin-left: -1px;
106
+ }
100
107
  &--last {
101
108
  margin-left: -1px;
102
109
  }
110
+ .input-group-sm &{
111
+ max-height: @form-control-height-sm;
112
+ }
103
113
  }
104
114
 
105
115
  .input-group-addon,
@@ -221,6 +231,12 @@
221
231
  border: 0;
222
232
  }
223
233
  }
234
+ &.input-group-sm{
235
+ .input-group-btn,
236
+ .input-group-addon {
237
+ height: @form-control-height-sm;
238
+ }
239
+ }
224
240
  }
225
241
 
226
242
  // Reset rounded corners
@@ -32,6 +32,14 @@ body {
32
32
  grid-column-end: -1;
33
33
  }
34
34
 
35
+ @media screen and (min-width: @screen-sm-min) {
36
+ .grid_col--auto-360{
37
+ grid-template-columns: minmax(0,9fr) 360px;
38
+ }
39
+ }
40
+
41
+
42
+
35
43
  /* Mixin that generate classes for setting three columns on a 12 column grid
36
44
  * example:
37
45
  * `grid__col-3-6-3`
@@ -79,6 +79,13 @@
79
79
  .fit-h {
80
80
  height: 100% !important;
81
81
  }
82
+
83
+ .fit-h--md{
84
+ @media (min-width: @screen-md-min){
85
+ height: 100% !important;
86
+ }
87
+ }
88
+
82
89
  .fit-h-20 {
83
90
  height: 20px !important;
84
91
  }