]>
Commit | Line | Data |
---|---|---|
947f0963 TL |
1 | .#{$prefix}form-cb-wrap { |
2 | vertical-align: top; | |
3 | } | |
4 | ||
5 | .#{$prefix}form-cb-wrap-inner { | |
6 | position: relative; | |
7 | } | |
8 | ||
9 | .#{$prefix}form-cb { | |
10 | position: absolute; | |
11 | left: 0; | |
12 | right: auto; | |
13 | vertical-align: top; | |
14 | overflow: hidden; | |
15 | padding: 0; | |
16 | border: 0; | |
17 | &::-moz-focus-inner { | |
18 | padding: 0; | |
19 | border: 0; | |
20 | } | |
21 | } | |
22 | ||
23 | .#{$prefix}form-cb-input { | |
24 | position: absolute; | |
25 | margin: 0; | |
26 | padding: 0; | |
27 | border: 0; | |
28 | top: 0; | |
29 | left: 0; | |
30 | width: 100%; | |
31 | height: 100%; | |
32 | @include opacity(0); | |
33 | } | |
34 | ||
35 | @if $include-rtl { | |
36 | .#{$prefix}rtl.#{$prefix}form-cb { | |
37 | right: 0; | |
38 | left: auto; | |
39 | } | |
40 | } | |
41 | ||
42 | /* allow for the component to be positioned after the label */ | |
43 | .#{$prefix}form-cb-after { | |
44 | left: auto; | |
45 | right: 0; | |
46 | } | |
47 | ||
48 | @if $include-rtl { | |
49 | .#{$prefix}rtl.#{$prefix}form-cb-after { | |
50 | left: 0; | |
51 | right: auto; | |
52 | } | |
53 | } | |
54 | ||
55 | /* some browsers like IE 10 need a block element to be able to measure | |
56 | the height of a multi-line element */ | |
57 | .#{$prefix}form-cb-label { | |
58 | display: inline-block; | |
59 | ||
60 | &.#{$prefix}form-cb-no-box-label { | |
61 | display: none; | |
62 | } | |
63 | } |