[TASK] Update styleguide dependency to 8.0.1
[Packages/TYPO3.CMS.git] / Build / Resources / Public / Less / TYPO3 / _element_buttons.less
1 //
2 // Button
3 //
4 .btn-sm {
5 min-height: floor(2px + (@padding-small-vertical * 2) + (@font-size-small * @line-height-small));
6 }
7
8 //
9 // Button Group
10 //
11 .btn-group {
12 font-size: 0;
13 .collapse + .btn.collapsed:last-child {
14 border-radius: @border-radius-base;
15 }
16 .btn-default.disabled {
17 color: #999;
18 }
19 }
20
21 //
22 // Button Checkbox and Radio
23 //
24 .btn-radio,
25 .btn-checkbox {
26 input[type="radio"],
27 input[type="checkbox"] {
28 position: absolute;
29 clip: rect(0,0,0,0);
30 pointer-events: none;
31 }
32 .fa:before {
33 content: "\f096";
34 }
35 input[type=radio]:checked,
36 input[type=checkbox]:checked {
37 + .fa:before {
38 content: "\f00c";
39 }
40 }
41 }