20eea7dfea2c43581f1b9cfa9f1c900e71654223
[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 }
17
18 //
19 // Button Checkbox and Radio
20 //
21 .btn-radio,
22 .btn-checkbox {
23 input[type="radio"],
24 input[type="checkbox"] {
25 position: absolute;
26 clip: rect(0,0,0,0);
27 pointer-events: none;
28 }
29 .fa:before {
30 content: "\f096";
31 }
32 input[type=radio]:checked,
33 input[type=checkbox]:checked {
34 + .fa:before {
35 content: "\f00c";
36 }
37 }
38 }