File tree Expand file tree Collapse file tree 2 files changed +61
-3
lines changed Expand file tree Collapse file tree 2 files changed +61
-3
lines changed Original file line number Diff line number Diff line change 27
27
}
28
28
29
29
& .form-group-collapsible {
30
- & > .form-label {
30
+ & > .form-label {
31
31
position : unset ;
32
32
}
33
33
@@ -118,7 +118,7 @@ textarea {
118
118
}
119
119
120
120
& .selected {
121
- background-color :$dropdown-option-selected-color ;
121
+ background-color : $dropdown-option-selected-color ;
122
122
}
123
123
}
124
124
}
@@ -238,4 +238,61 @@ hr {
238
238
max-height : 450px ;
239
239
min-width : 150px ;
240
240
min-height : 150px ;
241
- }
241
+ }
242
+
243
+ summary {
244
+ display : block ;
245
+ cursor : pointer ;
246
+ outline : 0 ;
247
+ }
248
+
249
+ summary ::-webkit-details-marker {
250
+ display : none ;
251
+ }
252
+
253
+ details {
254
+ display : block ;
255
+ white-space : nowrap ;
256
+ position : relative ;
257
+ padding-left : 20px ;
258
+ margin : 10px 0 ;
259
+
260
+ & [open ]:before {
261
+ content : " " ;
262
+ left : 7px ;
263
+ position : absolute ;
264
+ top : 25px ;
265
+ height : calc (100% - 25px );
266
+ border-left : 1px dotted #ccc ;
267
+ width : 1px ;
268
+ }
269
+
270
+ & [open ] > summary :before {
271
+ left : -25px ;
272
+ top : 1px ;
273
+ @extend .paperbits-icon ;
274
+ @extend .paperbits-circle-delete ;
275
+ color : $collapse-button-color ;
276
+ }
277
+
278
+ & > summary {
279
+ font-weight : bold ;
280
+ margin-bottom : 10px ;
281
+
282
+ & :before {
283
+ left : -25px ;
284
+ top : 1px ;
285
+ position : absolute ;
286
+ @extend .paperbits-icon ;
287
+ @extend .paperbits-circle-add ;
288
+ color : $collapse-button-color ;
289
+ display : inline-block ;
290
+ width : 1.6rem ;
291
+ text-align : center ;
292
+ }
293
+
294
+ & :-webkit-details-marker {
295
+ display : none ;
296
+ }
297
+ }
298
+ }
Original file line number Diff line number Diff line change 2
2
::after ,
3
3
::before {
4
4
box-sizing : border-box ;
5
+ min-width : 0 ;
5
6
}
6
7
html {
7
8
font-family : sans-serif ;
You can’t perform that action at this time.
0 commit comments