@clayui/css 3.133.0 → 3.134.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/lib/css/atlas.css +63 -8
- package/lib/css/atlas.css.map +1 -1
- package/lib/css/base.css +64 -8
- package/lib/css/base.css.map +1 -1
- package/lib/css/cadmin.css +38 -9
- package/lib/css/cadmin.css.map +1 -1
- package/lib/images/icons/flags-en-IE.svg +12 -0
- package/lib/images/icons/flags-en-LV.svg +11 -0
- package/lib/images/icons/flags-my-MM.svg +13 -0
- package/lib/images/icons/icons.svg +1 -1
- package/package.json +2 -2
- package/src/images/icons/flags-en-IE.svg +12 -0
- package/src/images/icons/flags-en-LV.svg +11 -0
- package/src/images/icons/flags-my-MM.svg +13 -0
- package/src/scss/_license-text.scss +1 -1
- package/src/scss/atlas/variables/_labels.scss +1 -0
- package/src/scss/atlas/variables/_modals.scss +1 -0
- package/src/scss/cadmin/variables/_labels.scss +4 -5
- package/src/scss/cadmin/variables/_modals.scss +18 -2
- package/src/scss/cadmin/variables/_utilities.scss +7 -0
- package/src/scss/functions/_lx-icons-generated.scss +6 -0
- package/src/scss/mixins/_forms.scss +690 -432
- package/src/scss/mixins/_input-groups.scss +222 -107
- package/src/scss/mixins/_labels.scss +100 -48
- package/src/scss/mixins/_menubar.scss +131 -60
- package/src/scss/mixins/_modals.scss +36 -20
- package/src/scss/mixins/_nav.scss +86 -34
- package/src/scss/mixins/_pagination.scss +241 -151
- package/src/scss/mixins/_panels.scss +86 -51
- package/src/scss/mixins/_popovers.scss +82 -32
- package/src/scss/mixins/_sheet.scss +19 -7
- package/src/scss/mixins/_sidebar.scss +195 -89
- package/src/scss/mixins/_slideout.scss +96 -46
- package/src/scss/variables/_labels.scss +4 -5
- package/src/scss/variables/_modals.scss +18 -2
- package/src/scss/variables/_utilities.scss +6 -0
|
@@ -107,106 +107,141 @@
|
|
|
107
107
|
$enabled: setter(map-get($map, enabled), true);
|
|
108
108
|
|
|
109
109
|
@if ($enabled) {
|
|
110
|
-
@
|
|
111
|
-
|
|
112
|
-
> a,
|
|
113
|
-
> button {
|
|
114
|
-
@include clay-link(map-get($map, link));
|
|
110
|
+
@if (length($map) != 0) {
|
|
111
|
+
@include clay-css($map);
|
|
115
112
|
}
|
|
116
113
|
|
|
117
|
-
|
|
114
|
+
$_link: map-get($map, link);
|
|
115
|
+
|
|
116
|
+
@if ($_link) {
|
|
118
117
|
> a,
|
|
119
118
|
> button {
|
|
120
|
-
@include clay-link(map-
|
|
119
|
+
@include clay-link(map-get($map, link));
|
|
121
120
|
}
|
|
122
|
-
}
|
|
123
121
|
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
122
|
+
$_active-class: map-get($_link, active-class);
|
|
123
|
+
|
|
124
|
+
@if ($_active-class) {
|
|
125
|
+
&.active {
|
|
126
|
+
> a,
|
|
127
|
+
> button {
|
|
128
|
+
@include clay-link($_active-class);
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
$_disabled: map-get($_link, disabled);
|
|
134
|
+
|
|
135
|
+
@if ($_disabled) {
|
|
136
|
+
&.disabled {
|
|
137
|
+
> a,
|
|
138
|
+
> button {
|
|
139
|
+
@include clay-link($_disabled);
|
|
140
|
+
}
|
|
141
|
+
}
|
|
128
142
|
}
|
|
129
143
|
}
|
|
130
144
|
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
145
|
+
$_dropdown-menu: map-get($map, dropdown-menu);
|
|
146
|
+
|
|
147
|
+
@if ($_dropdown-menu) {
|
|
148
|
+
.dropdown-menu {
|
|
149
|
+
@include clay-dropdown-menu-variant($_dropdown-menu);
|
|
150
|
+
}
|
|
135
151
|
}
|
|
136
152
|
|
|
137
|
-
|
|
138
|
-
|
|
153
|
+
$_lexicon-icon: map-get($map, lexicon-icon);
|
|
154
|
+
|
|
155
|
+
@if ($_lexicon-icon) {
|
|
156
|
+
.lexicon-icon {
|
|
157
|
+
@include clay-css($_lexicon-icon);
|
|
158
|
+
}
|
|
139
159
|
}
|
|
140
160
|
|
|
141
|
-
|
|
142
|
-
|
|
161
|
+
$_pagination-results: map-get($map, pagination-results);
|
|
162
|
+
|
|
163
|
+
@if ($_pagination-results) {
|
|
164
|
+
+ .pagination-results {
|
|
165
|
+
@include clay-css($_pagination-results);
|
|
166
|
+
}
|
|
143
167
|
}
|
|
144
168
|
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
{
|
|
149
|
-
$media-breakpoint-down: map-
|
|
150
|
-
$
|
|
151
|
-
media-breakpoint-down,
|
|
169
|
+
$_media-breakpoint-down: map-get($map, media-breakpoint-down);
|
|
170
|
+
|
|
171
|
+
@if ($_media-breakpoint-down) {
|
|
172
|
+
@each $breakpoint in map-keys($_media-breakpoint-down) {
|
|
173
|
+
$media-breakpoint-down: map-get(
|
|
174
|
+
$_media-breakpoint-down,
|
|
152
175
|
$breakpoint
|
|
153
176
|
);
|
|
154
177
|
|
|
155
178
|
@include media-breakpoint-down($breakpoint) {
|
|
156
179
|
@include clay-css($media-breakpoint-down);
|
|
157
180
|
|
|
158
|
-
|
|
159
|
-
> button {
|
|
160
|
-
@include clay-link(
|
|
161
|
-
map-get($media-breakpoint-down, link)
|
|
162
|
-
);
|
|
163
|
-
}
|
|
181
|
+
$_link: map-get($media-breakpoint-down, link);
|
|
164
182
|
|
|
165
|
-
|
|
183
|
+
@if ($_link) {
|
|
166
184
|
> a,
|
|
167
185
|
> button {
|
|
168
|
-
@include clay-link(
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
186
|
+
@include clay-link($_link);
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
$_active-class: map-get($_link, active-class);
|
|
190
|
+
|
|
191
|
+
@if ($_active-class) {
|
|
192
|
+
&.active {
|
|
193
|
+
> a,
|
|
194
|
+
> button {
|
|
195
|
+
@include clay-link($_active-class);
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
$_disabled: map-get($_link, disabled);
|
|
201
|
+
|
|
202
|
+
@if ($_disabled) {
|
|
203
|
+
&.disabled {
|
|
204
|
+
> a,
|
|
205
|
+
> button {
|
|
206
|
+
@include clay-link($_disabled);
|
|
207
|
+
}
|
|
208
|
+
}
|
|
175
209
|
}
|
|
176
210
|
}
|
|
177
211
|
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
212
|
+
$_dropdown-menu: map-get(
|
|
213
|
+
$media-breakpoint-down,
|
|
214
|
+
dropdown-menu
|
|
215
|
+
);
|
|
216
|
+
|
|
217
|
+
@if ($_dropdown-menu) {
|
|
218
|
+
.dropdown-menu {
|
|
219
|
+
@include clay-dropdown-menu-variant(
|
|
220
|
+
$_dropdown-menu
|
|
187
221
|
);
|
|
188
222
|
}
|
|
189
223
|
}
|
|
190
224
|
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
}
|
|
225
|
+
$_lexicon-icon: map-get(
|
|
226
|
+
$media-breakpoint-down,
|
|
227
|
+
lexicon-icon
|
|
228
|
+
);
|
|
196
229
|
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
230
|
+
@if ($_lexicon-icon) {
|
|
231
|
+
.lexicon-icon {
|
|
232
|
+
@include clay-css($_lexicon-icon);
|
|
233
|
+
}
|
|
201
234
|
}
|
|
202
235
|
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
236
|
+
$_pagination-results: map-get(
|
|
237
|
+
$media-breakpoint-down,
|
|
238
|
+
pagination-results
|
|
239
|
+
);
|
|
240
|
+
|
|
241
|
+
@if ($_pagination-results) {
|
|
242
|
+
+ .pagination-results {
|
|
243
|
+
@include clay-css($_pagination-results);
|
|
244
|
+
}
|
|
210
245
|
}
|
|
211
246
|
}
|
|
212
247
|
}
|
|
@@ -288,132 +323,187 @@
|
|
|
288
323
|
$enabled: setter(map-get($map, enabled), true);
|
|
289
324
|
|
|
290
325
|
@if ($enabled) {
|
|
291
|
-
@
|
|
326
|
+
@if (length($map) != 0) {
|
|
327
|
+
@include clay-css($map);
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
$_page-item: map-get($map, page-item);
|
|
292
331
|
|
|
293
|
-
|
|
294
|
-
|
|
332
|
+
@if ($_page-item) {
|
|
333
|
+
.page-item {
|
|
334
|
+
@include clay-css($_page-item);
|
|
335
|
+
}
|
|
295
336
|
}
|
|
296
337
|
|
|
297
|
-
|
|
298
|
-
|
|
338
|
+
$_page-link: map-get($map, page-link);
|
|
339
|
+
|
|
340
|
+
@if ($_page-link) {
|
|
341
|
+
.page-link {
|
|
342
|
+
@include clay-link($_page-link);
|
|
343
|
+
}
|
|
299
344
|
}
|
|
300
345
|
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
346
|
+
$_page-link-first: map-get($map, page-link-first);
|
|
347
|
+
|
|
348
|
+
@if ($_page-link-first) {
|
|
349
|
+
.page-item:first-child .page-link,
|
|
350
|
+
.page-link-first {
|
|
351
|
+
@include clay-css($_page-link-first);
|
|
352
|
+
}
|
|
304
353
|
}
|
|
305
354
|
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
355
|
+
$_page-link-last: map-get($map, page-link-last);
|
|
356
|
+
|
|
357
|
+
@if ($_page-link-last) {
|
|
358
|
+
.page-item:last-child .page-link,
|
|
359
|
+
.page-link-last {
|
|
360
|
+
@include clay-css($_page-link-last);
|
|
361
|
+
}
|
|
309
362
|
}
|
|
310
363
|
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
364
|
+
@if ($_page-link) {
|
|
365
|
+
.page-item {
|
|
366
|
+
$_active-class: map-get($_page-link, active-class);
|
|
367
|
+
|
|
368
|
+
@if ($_active-class) {
|
|
369
|
+
&.active {
|
|
370
|
+
.page-link {
|
|
371
|
+
@include clay-link($_active-class);
|
|
372
|
+
}
|
|
373
|
+
}
|
|
317
374
|
}
|
|
318
|
-
}
|
|
319
375
|
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
376
|
+
$_disabled: map-get($_page-link, disabled);
|
|
377
|
+
|
|
378
|
+
@if ($_disabled) {
|
|
379
|
+
&.disabled {
|
|
380
|
+
.page-link {
|
|
381
|
+
@include clay-link($_disabled);
|
|
382
|
+
}
|
|
383
|
+
}
|
|
325
384
|
}
|
|
326
385
|
}
|
|
327
386
|
}
|
|
328
387
|
|
|
329
|
-
|
|
330
|
-
|
|
388
|
+
$_pagination: map-get($map, pagination);
|
|
389
|
+
|
|
390
|
+
@if ($_pagination) {
|
|
391
|
+
.pagination {
|
|
392
|
+
@include clay-pagination-variant($_pagination);
|
|
393
|
+
}
|
|
331
394
|
}
|
|
332
395
|
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
396
|
+
$_pagination-items-per-page: map-get(
|
|
397
|
+
$map,
|
|
398
|
+
pagination-items-per-page
|
|
399
|
+
);
|
|
400
|
+
|
|
401
|
+
@if ($_pagination-items-per-page) {
|
|
402
|
+
.pagination-items-per-page {
|
|
403
|
+
@include clay-pagination-items-per-page-variant(
|
|
404
|
+
$_pagination-items-per-page
|
|
405
|
+
);
|
|
406
|
+
}
|
|
337
407
|
}
|
|
338
408
|
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
{
|
|
343
|
-
$media-breakpoint-down: map-
|
|
344
|
-
$
|
|
345
|
-
media-breakpoint-down,
|
|
409
|
+
$_media-breakpoint-down: map-get($map, media-breakpoint-down);
|
|
410
|
+
|
|
411
|
+
@if ($_media-breakpoint-down) {
|
|
412
|
+
@each $breakpoint in map-keys($_media-breakpoint-down) {
|
|
413
|
+
$media-breakpoint-down: map-get(
|
|
414
|
+
$_media-breakpoint-down,
|
|
346
415
|
$breakpoint
|
|
347
416
|
);
|
|
348
417
|
|
|
349
418
|
@include media-breakpoint-down($breakpoint) {
|
|
350
419
|
@include clay-css($media-breakpoint-down);
|
|
351
420
|
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
421
|
+
$_page-item: map-get($media-breakpoint-down, page-item);
|
|
422
|
+
|
|
423
|
+
@if ($_page-item) {
|
|
424
|
+
.page-item {
|
|
425
|
+
@include clay-css($_page-item);
|
|
426
|
+
}
|
|
356
427
|
}
|
|
357
428
|
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
429
|
+
$_page-link: map-get($media-breakpoint-down, page-link);
|
|
430
|
+
|
|
431
|
+
@if ($_page-link) {
|
|
432
|
+
.page-link {
|
|
433
|
+
@include clay-link($_page-link);
|
|
434
|
+
}
|
|
362
435
|
}
|
|
363
436
|
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
437
|
+
$_page-link-first: map-get(
|
|
438
|
+
$media-breakpoint-down,
|
|
439
|
+
page-link-first
|
|
440
|
+
);
|
|
441
|
+
|
|
442
|
+
@if ($_page-link-first) {
|
|
443
|
+
.page-item:first-child .page-link,
|
|
444
|
+
.page-link-first {
|
|
445
|
+
@include clay-css($_page-link-first);
|
|
446
|
+
}
|
|
369
447
|
}
|
|
370
448
|
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
449
|
+
$_page-link-last: map-get(
|
|
450
|
+
$media-breakpoint-down,
|
|
451
|
+
page-link-last
|
|
452
|
+
);
|
|
453
|
+
|
|
454
|
+
@if ($_page-link-last) {
|
|
455
|
+
.page-item:last-child .page-link,
|
|
456
|
+
.page-link-last {
|
|
457
|
+
@include clay-css($_page-link-last);
|
|
458
|
+
}
|
|
376
459
|
}
|
|
377
460
|
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
461
|
+
@if ($_page-link) {
|
|
462
|
+
.page-item {
|
|
463
|
+
$_active: map-get($_page-link, active);
|
|
464
|
+
|
|
465
|
+
@if ($_active) {
|
|
466
|
+
&.active {
|
|
467
|
+
.page-link {
|
|
468
|
+
@include clay-link($_active);
|
|
469
|
+
}
|
|
470
|
+
}
|
|
388
471
|
}
|
|
389
|
-
}
|
|
390
472
|
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
);
|
|
473
|
+
$_disabled: map-get($_page-link, disabled);
|
|
474
|
+
|
|
475
|
+
@if ($_disabled) {
|
|
476
|
+
&.disabled {
|
|
477
|
+
.page-link {
|
|
478
|
+
@include clay-link($_disabled);
|
|
479
|
+
}
|
|
480
|
+
}
|
|
400
481
|
}
|
|
401
482
|
}
|
|
402
483
|
}
|
|
403
484
|
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
485
|
+
$_pagination: map-get(
|
|
486
|
+
$media-breakpoint-down,
|
|
487
|
+
pagination
|
|
488
|
+
);
|
|
489
|
+
|
|
490
|
+
@if ($_pagination) {
|
|
491
|
+
.pagination {
|
|
492
|
+
@include clay-pagination-variant($_pagination);
|
|
493
|
+
}
|
|
408
494
|
}
|
|
409
495
|
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
496
|
+
$_pagination-items-per-page: map-get(
|
|
497
|
+
$media-breakpoint-down,
|
|
498
|
+
pagination-items-per-page
|
|
499
|
+
);
|
|
500
|
+
|
|
501
|
+
@if ($_pagination-items-per-page) {
|
|
502
|
+
.pagination-items-per-page {
|
|
503
|
+
@include clay-pagination-items-per-page-variant(
|
|
504
|
+
$_pagination-items-per-page
|
|
505
|
+
);
|
|
506
|
+
}
|
|
417
507
|
}
|
|
418
508
|
}
|
|
419
509
|
}
|
|
@@ -308,83 +308,118 @@
|
|
|
308
308
|
);
|
|
309
309
|
|
|
310
310
|
@if ($enabled) {
|
|
311
|
-
@
|
|
311
|
+
@if (length($base) != 0) {
|
|
312
|
+
@include clay-css($base);
|
|
313
|
+
}
|
|
312
314
|
|
|
313
|
-
|
|
314
|
-
|
|
315
|
+
@if (length($header) != 0) {
|
|
316
|
+
.panel-header {
|
|
317
|
+
@include clay-css($header);
|
|
315
318
|
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
+
@if (map-get($header-c-inner, enabled)) {
|
|
320
|
+
.c-inner {
|
|
321
|
+
@include clay-css($header-c-inner);
|
|
322
|
+
}
|
|
319
323
|
}
|
|
320
|
-
}
|
|
321
324
|
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
+
@if (length($header-collapsed) != 0) {
|
|
326
|
+
&.collapsed {
|
|
327
|
+
@include clay-css($header-collapsed);
|
|
328
|
+
}
|
|
329
|
+
}
|
|
325
330
|
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
331
|
+
@if (length($header-link) != 0) {
|
|
332
|
+
&.panel-header-link {
|
|
333
|
+
@include clay-link($header-link);
|
|
334
|
+
}
|
|
335
|
+
}
|
|
329
336
|
|
|
330
|
-
|
|
331
|
-
$_panel-header: setter(map-get($map, panel-header), ());
|
|
337
|
+
$_panel-header: map-get($map, panel-header);
|
|
332
338
|
|
|
333
|
-
@
|
|
334
|
-
map-get(
|
|
335
|
-
|
|
336
|
-
|
|
339
|
+
@if ($_panel-header) {
|
|
340
|
+
$_collapse-icon: map-get(
|
|
341
|
+
$_panel-header,
|
|
342
|
+
'&.collapse-icon'
|
|
343
|
+
);
|
|
337
344
|
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
345
|
+
@if ($_collapse-icon) {
|
|
346
|
+
&.collapse-icon {
|
|
347
|
+
@include clay-css($_collapse-icon);
|
|
348
|
+
}
|
|
349
|
+
}
|
|
342
350
|
}
|
|
343
|
-
}
|
|
344
351
|
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
352
|
+
@if (length($collapse-icon) != 0) {
|
|
353
|
+
&:not(.collapse-icon-middle) {
|
|
354
|
+
.collapse-icon-closed,
|
|
355
|
+
.collapse-icon-open {
|
|
356
|
+
@include clay-css($collapse-icon);
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
}
|
|
350
360
|
|
|
351
|
-
|
|
361
|
+
$_collapse-icon-middle: map-get($map, collapse-icon-middle);
|
|
352
362
|
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
363
|
+
@if ($_collapse-icon-middle) {
|
|
364
|
+
&.collapse-icon-middle {
|
|
365
|
+
@include clay-css($_collapse-icon-middle);
|
|
366
|
+
|
|
367
|
+
$_collapse-icon: map-get(
|
|
368
|
+
$_collapse-icon-middle,
|
|
369
|
+
collapse-icon
|
|
370
|
+
);
|
|
371
|
+
|
|
372
|
+
@if ($_collapse-icon) {
|
|
373
|
+
.collapse-icon-closed,
|
|
374
|
+
.collapse-icon-open {
|
|
375
|
+
@include clay-css($_collapse-icon);
|
|
376
|
+
}
|
|
377
|
+
}
|
|
378
|
+
}
|
|
358
379
|
}
|
|
359
|
-
}
|
|
360
380
|
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
381
|
+
$_border-color: map-get($base, border-color);
|
|
382
|
+
|
|
383
|
+
@if ($_border-color) {
|
|
384
|
+
.panel-group & {
|
|
385
|
+
+ .panel-collapse > .panel-body {
|
|
386
|
+
border-color: $_border-color;
|
|
387
|
+
}
|
|
388
|
+
}
|
|
364
389
|
}
|
|
365
390
|
}
|
|
366
391
|
}
|
|
367
392
|
|
|
368
|
-
|
|
369
|
-
|
|
393
|
+
@if (length($title) != 0) {
|
|
394
|
+
.panel-title {
|
|
395
|
+
@include clay-css($title);
|
|
396
|
+
}
|
|
370
397
|
}
|
|
371
398
|
|
|
372
|
-
|
|
373
|
-
|
|
399
|
+
@if (length($body) != 0) {
|
|
400
|
+
.panel-body {
|
|
401
|
+
@include clay-css($body);
|
|
402
|
+
}
|
|
374
403
|
}
|
|
375
404
|
|
|
376
|
-
|
|
377
|
-
|
|
405
|
+
@if (length($footer) != 0) {
|
|
406
|
+
.panel-footer {
|
|
407
|
+
@include clay-css($footer);
|
|
408
|
+
}
|
|
378
409
|
}
|
|
379
410
|
|
|
380
411
|
// For Focus Box Shadow
|
|
381
412
|
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
413
|
+
$_border-radius: map-get($header-link, border-radius);
|
|
414
|
+
|
|
415
|
+
@if ($_border-radius) {
|
|
416
|
+
@at-root {
|
|
417
|
+
.panel-group.panel-group-flush & {
|
|
418
|
+
.panel-header-link {
|
|
419
|
+
&,
|
|
420
|
+
&.collapsed {
|
|
421
|
+
border-radius: $_border-radius;
|
|
422
|
+
}
|
|
388
423
|
}
|
|
389
424
|
}
|
|
390
425
|
}
|