@colijnit/corecomponents_v12 260.1.9 → 260.1.10
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/bundles/colijnit-corecomponents_v12.umd.js +2 -2
- package/bundles/colijnit-corecomponents_v12.umd.js.map +1 -1
- package/colijnit-corecomponents_v12.metadata.json +1 -1
- package/esm2015/lib/components/hour-scheduling-expandable/hour-scheduling-expandable.component.js +2 -2
- package/esm2015/lib/components/simple-grid/simple-grid.component.js +28 -28
- package/fesm2015/colijnit-corecomponents_v12.js +28 -28
- package/fesm2015/colijnit-corecomponents_v12.js.map +1 -1
- package/lib/components/simple-grid/style/_layout.scss +47 -8
- package/package.json +1 -1
|
@@ -10,9 +10,11 @@
|
|
|
10
10
|
|
|
11
11
|
co-input-checkbox {
|
|
12
12
|
justify-content: center;
|
|
13
|
+
|
|
13
14
|
.checkbox {
|
|
14
15
|
.checkmark {
|
|
15
16
|
left: $cc-simple-grid-input-checkbox-check-mark-width * .15;
|
|
17
|
+
|
|
16
18
|
&.show {
|
|
17
19
|
}
|
|
18
20
|
}
|
|
@@ -24,6 +26,38 @@
|
|
|
24
26
|
table-layout: fixed;
|
|
25
27
|
width: 100%;
|
|
26
28
|
border-collapse: collapse;
|
|
29
|
+
|
|
30
|
+
colgroup {
|
|
31
|
+
col {
|
|
32
|
+
&:last-child.icons-col {
|
|
33
|
+
min-width: 30px;
|
|
34
|
+
max-width: 100%;
|
|
35
|
+
|
|
36
|
+
&.col-width-row-buttons {
|
|
37
|
+
width: 140px;
|
|
38
|
+
max-width: 140px;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&.col-width-delete {
|
|
42
|
+
width: 30px;
|
|
43
|
+
max-width: 30px;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
td {
|
|
51
|
+
&:last-child.icons-container {
|
|
52
|
+
width: auto;
|
|
53
|
+
padding: 0;
|
|
54
|
+
height: 100%;
|
|
55
|
+
display: flex;
|
|
56
|
+
justify-content: center;
|
|
57
|
+
align-items: center;
|
|
58
|
+
gap: 4px;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
27
61
|
}
|
|
28
62
|
// styling outside of grid because of drag and drop functionality
|
|
29
63
|
.simple-grid-column-auto-fit {
|
|
@@ -70,12 +104,15 @@
|
|
|
70
104
|
}
|
|
71
105
|
.co-simple-grid-cell {
|
|
72
106
|
width: 100%;
|
|
107
|
+
|
|
73
108
|
.co-icon {
|
|
74
109
|
width: $cc-simple-grid-cell-icon-size;
|
|
75
110
|
height: $cc-simple-grid-cell-icon-size;
|
|
76
111
|
}
|
|
112
|
+
|
|
77
113
|
.co-button {
|
|
78
114
|
background-color: $cc-simple-grid-button-background-color;
|
|
115
|
+
|
|
79
116
|
.co-icon {
|
|
80
117
|
width: $cc-simple-grid-cell-icon-size;
|
|
81
118
|
height: $cc-simple-grid-cell-icon-size;
|
|
@@ -85,6 +122,7 @@
|
|
|
85
122
|
.simple-grid-column-cell-value {
|
|
86
123
|
height: 100%;
|
|
87
124
|
width: 100%;
|
|
125
|
+
|
|
88
126
|
> * {
|
|
89
127
|
height: 100%;
|
|
90
128
|
width: 100%;
|
|
@@ -97,11 +135,13 @@
|
|
|
97
135
|
border-width: $cc-simple-grid-cell-field-border-width;
|
|
98
136
|
padding: $cc-simple-grid-cell-field-padding;
|
|
99
137
|
border-radius: $cc-simple-grid-cell-field-radius;
|
|
138
|
+
|
|
100
139
|
span {
|
|
101
140
|
white-space: normal;
|
|
102
141
|
text-overflow: ellipsis;
|
|
103
142
|
overflow: hidden;
|
|
104
143
|
}
|
|
144
|
+
|
|
105
145
|
.form-input {
|
|
106
146
|
width: 100%;
|
|
107
147
|
}
|
|
@@ -116,9 +156,11 @@
|
|
|
116
156
|
text-overflow: ellipsis;
|
|
117
157
|
white-space: nowrap;
|
|
118
158
|
border-bottom: 2px solid $cc-color-grid-row-hover-background;
|
|
159
|
+
|
|
119
160
|
&.with-menu {
|
|
120
161
|
cursor: pointer;
|
|
121
162
|
}
|
|
163
|
+
|
|
122
164
|
&.with-sort {
|
|
123
165
|
cursor: pointer;
|
|
124
166
|
}
|
|
@@ -134,6 +176,7 @@
|
|
|
134
176
|
visibility: hidden;
|
|
135
177
|
overflow: hidden;
|
|
136
178
|
transition: opacity .3s ease-in-out;
|
|
179
|
+
|
|
137
180
|
.co-button {
|
|
138
181
|
width: 20px;
|
|
139
182
|
height: 20px;
|
|
@@ -142,6 +185,7 @@
|
|
|
142
185
|
}
|
|
143
186
|
.simple-grid-column-header {
|
|
144
187
|
position: relative;
|
|
188
|
+
|
|
145
189
|
&:hover {
|
|
146
190
|
.sort-column {
|
|
147
191
|
opacity: 1;
|
|
@@ -168,10 +212,12 @@
|
|
|
168
212
|
border-width: $cc-simple-grid-row-border-width;
|
|
169
213
|
border-style: solid;
|
|
170
214
|
border-color: $cc-simple-grid-row-border-color;
|
|
215
|
+
|
|
171
216
|
&.disabled {
|
|
172
217
|
opacity: $cc-simple-grid-row-disabled-opacity;
|
|
173
218
|
background: $cc-simple-grid-row-disabled-background-color;
|
|
174
219
|
}
|
|
220
|
+
|
|
175
221
|
&.editing {
|
|
176
222
|
.form-input {
|
|
177
223
|
&:before, &:hover, &:hover:before, &.cc-input-focused, &.cc-input-focused:before {
|
|
@@ -214,6 +260,7 @@
|
|
|
214
260
|
0 8px 10px 1px rgba(0, 0, 0, 0.14),
|
|
215
261
|
0 3px 14px 2px rgba(0, 0, 0, 0.12);
|
|
216
262
|
display: table;
|
|
263
|
+
|
|
217
264
|
td {
|
|
218
265
|
flex-grow: 2;
|
|
219
266
|
font-size: 10px;
|
|
@@ -285,14 +332,6 @@
|
|
|
285
332
|
}
|
|
286
333
|
}
|
|
287
334
|
|
|
288
|
-
.icons-container {
|
|
289
|
-
display: flex;
|
|
290
|
-
justify-content: center;
|
|
291
|
-
align-items: center;
|
|
292
|
-
height: 100%;
|
|
293
|
-
gap: 4px;
|
|
294
|
-
}
|
|
295
|
-
|
|
296
335
|
.icon-item {
|
|
297
336
|
&:hover {
|
|
298
337
|
cursor: pointer;
|