blob: 3a28c5fb429934a2c62f63287b3d2008a7facc92 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
@import '../../../../assets/styles/tlv-sprite';
@import '../../../../assets/styles/sprite';
.checkbox-container {
display:inline-block;
position:relative;
text-align: left;
height: 20px;
.checkbox-icon {
display: inline-block;
}
.checkbox-label {
font-weight: inherit;
font-size: inherit;
}
.checkbox-label-content {
margin-left:2px;
}
.checkbox-icon::before {
.tlv-sprite;
background-position: -10px -60px;
width: 14px;
height: 14px;
content: '';
display: inline-block;
margin-right: 0px;
margin-top: -2px;
vertical-align: middle;
}
input[type=checkbox].checkbox-hidden {
width:0;
height:0;
display:none;
&:checked ~ .checkbox-icon::before{
.sprite-new;
.filled-checkbox-icon
}
&[disabled] ~ .checkbox-icon::before {
/* TODO: add disabled styles here */
background-image: none;
background-color: #EFEFEF;
border-radius: 2px;
border: solid #CCC 1px;
}
}
.checkbox-animation {
background-color: #009fdb;
position: absolute;
left: 2px;
top: 4px;
width:10px;
height:10px;
border-radius: 50%;
z-index: 1;
pointer-events: none;
opacity:0;
}
}
|