@c8y/style 1021.63.2 → 1021.66.0
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/_badges.less +1 -5
- package/styles/_buttons.less +6 -0
- package/styles/_c8y-list-group.less +18 -3
- package/styles/_datepicker.less +13 -0
- package/styles/_layouts.less +45 -0
- package/styles/_markdown-content.less +16 -0
- package/variables/_label-vars.less +1 -1
- package/variables/_tag-vars.less +1 -1
package/package.json
CHANGED
package/styles/_badges.less
CHANGED
package/styles/_buttons.less
CHANGED
|
@@ -44,9 +44,16 @@
|
|
|
44
44
|
&.highlighted {
|
|
45
45
|
background-color: @brand-80;
|
|
46
46
|
}
|
|
47
|
-
|
|
47
|
+
&.selected{
|
|
48
|
+
border-left: 4px solid @component-color-active;
|
|
49
|
+
background-color: @component-background-default;
|
|
50
|
+
}
|
|
48
51
|
/* typeahead dropdown list items styling */
|
|
49
|
-
|
|
52
|
+
&:has(.c8y-list__item__btn:focus) {
|
|
53
|
+
outline: 2px solid @component-color-focus;
|
|
54
|
+
outline-offset: -2px;
|
|
55
|
+
border-radius: @component-border-radius-focus !important;
|
|
56
|
+
}
|
|
50
57
|
bs-dropdown-container &, c8y-typeahead .dropdown &, .c8y-select-v2 .dropdown & {
|
|
51
58
|
&.active,
|
|
52
59
|
&:active {
|
|
@@ -56,6 +63,7 @@
|
|
|
56
63
|
.glyphicon();
|
|
57
64
|
float: right;
|
|
58
65
|
content: @dlt-c8y-icon-check;
|
|
66
|
+
font-size: 18px;
|
|
59
67
|
}
|
|
60
68
|
}
|
|
61
69
|
color: @component-color-active;
|
|
@@ -151,7 +159,13 @@
|
|
|
151
159
|
pointer-events: none;
|
|
152
160
|
}
|
|
153
161
|
}
|
|
154
|
-
|
|
162
|
+
&__btn{
|
|
163
|
+
.btn-clean();
|
|
164
|
+
white-space: normal;
|
|
165
|
+
&:focus{
|
|
166
|
+
outline: none;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
155
169
|
&--link {
|
|
156
170
|
cursor: pointer;
|
|
157
171
|
|
|
@@ -582,6 +596,7 @@ c8y-li-drag-handle, c8y-list-item-drag-handle {
|
|
|
582
596
|
}
|
|
583
597
|
|
|
584
598
|
.c8y-list--timeline__item__date {
|
|
599
|
+
margin-left: 1px;
|
|
585
600
|
margin-right: 40px;
|
|
586
601
|
width: 64px;
|
|
587
602
|
font-size: @font-size-xs;
|
package/styles/_datepicker.less
CHANGED
|
@@ -91,11 +91,24 @@
|
|
|
91
91
|
width: 30px;
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
|
+
|
|
94
95
|
.form-inline & {
|
|
95
96
|
.form-group {
|
|
96
97
|
margin-right: 0;
|
|
97
98
|
}
|
|
98
99
|
}
|
|
100
|
+
|
|
101
|
+
.uib-time.am-pm {
|
|
102
|
+
width: 60px;
|
|
103
|
+
|
|
104
|
+
.btn {
|
|
105
|
+
height: 28px;
|
|
106
|
+
margin-left: 2px;
|
|
107
|
+
padding-top: 2px;
|
|
108
|
+
padding-bottom: 2px;
|
|
109
|
+
width: 100%;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
99
112
|
}
|
|
100
113
|
|
|
101
114
|
// fix z-index when attached to body
|
package/styles/_layouts.less
CHANGED
|
@@ -47,6 +47,51 @@ body {
|
|
|
47
47
|
*/
|
|
48
48
|
.createGridCols3(5);
|
|
49
49
|
|
|
50
|
+
|
|
51
|
+
// grid with 3 columns collapsed with the last column collapsed
|
|
52
|
+
.grid__col--8-4-0 {
|
|
53
|
+
@media(min-width: @screen-md-min) {
|
|
54
|
+
transition: .35s;
|
|
55
|
+
grid-template-columns: 8fr 4fr 0fr;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.grid__col--5-7-0 {
|
|
60
|
+
@media(min-width: @screen-md-min) {
|
|
61
|
+
transition: .35s;
|
|
62
|
+
grid-template-columns: 5fr 7fr 0fr;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.grid__col--6-6-0 {
|
|
67
|
+
@media(min-width: @screen-md-min) {
|
|
68
|
+
transition: .35s;
|
|
69
|
+
grid-template-columns: 6fr 6fr 0fr;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
// grid with 3 columns collapsed with the first column collapsed
|
|
73
|
+
.grid__col--0-4-8 {
|
|
74
|
+
@media(min-width: @screen-md-min) {
|
|
75
|
+
transition: .35s;
|
|
76
|
+
grid-template-columns: 0fr 4fr 8fr;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.grid__col--0-7-5 {
|
|
81
|
+
@media(min-width: @screen-md-min) {
|
|
82
|
+
transition: .35s;
|
|
83
|
+
grid-template-columns: 0fr 7fr 5fr;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.grid__col--0-6-6 {
|
|
88
|
+
@media(min-width: @screen-md-min) {
|
|
89
|
+
transition: .35s;
|
|
90
|
+
grid-template-columns: 0fr 6fr 6fr;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
|
|
50
95
|
/* Mixin that generate classes for setting two rows on a 12 rows grid
|
|
51
96
|
* example:
|
|
52
97
|
* `grid__row-4-6`
|
|
@@ -26,6 +26,22 @@
|
|
|
26
26
|
border-bottom: 1px dotted @gray-50;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
+
&--to-h3{
|
|
30
|
+
h1, h2{
|
|
31
|
+
margin: 0 0 1rem;
|
|
32
|
+
padding: 2rem 0;
|
|
33
|
+
border-top: 1px dotted @gray-50;
|
|
34
|
+
font-weight: 600;
|
|
35
|
+
font-size: var(--c8y-font-size-h3);
|
|
36
|
+
&:first-child{
|
|
37
|
+
border-top: 0;
|
|
38
|
+
}
|
|
39
|
+
&:not(:first-child){
|
|
40
|
+
margin-top: 2rem;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
29
45
|
img {
|
|
30
46
|
max-width: 100%;
|
|
31
47
|
height: auto;
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
@label-color-success: @status-success-dark;
|
|
15
15
|
//** Info label background color
|
|
16
16
|
@label-background-info: @status-info-light;
|
|
17
|
-
@label-color-info: @status-info;
|
|
17
|
+
@label-color-info: @status-info-dark;
|
|
18
18
|
//** Warning label background color
|
|
19
19
|
@label-background-warning: @status-warning-lightest;
|
|
20
20
|
@label-color-warning: @status-warning-dark;
|
package/variables/_tag-vars.less
CHANGED