-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
104 lines (104 loc) · 2.29 KB
/
index.css
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
.y-checkbox__control
{
position: absolute;
z-index: -1;
margin: 0;
opacity: 0;
}
.y-checkbox_theme_normal {
font-family: Arial, Helvetica, sans-serif;
}
.y-checkbox_theme_normal:hover {
cursor: pointer;
}
.y-checkbox_theme_normal {
position: relative;
display: inline-block;
border-radius: 3px;
background: rgba(0,0,0,0.2);
}
.y-checkbox_theme_normal:before {
position: absolute;
top: 1px;
right: 1px;
bottom: 1px;
left: 1px;
content: '';
border-radius: 2px;
background: #fff;
}
.y-checkbox_theme_normal:after {
position: absolute;
top: -5px;
left: 2px;
content: '';
background-image: url("tip.svg");
background-size: 100%;
visibility: hidden;
opacity: 0;
transition: transform 0.05s ease-out, opacity 0.05s ease-out, visibility 0s linear 0.05s;
}
.y-checkbox_theme_normal.y-checkbox_size_m {
font-size: 13px;
}
.y-checkbox_theme_normal.y-checkbox_size_m {
line-height: 14px;
top: 2px;
width: 14px;
height: 14px;
margin-right: 5px;
}
.y-checkbox_theme_normal.y-checkbox_size_m:after {
width: 15px;
height: 15px;
transform: translateY(-5px);
}
.y-checkbox_theme_normal.y-checkbox_size_l {
font-size: 15px;
}
.y-checkbox_theme_normal.y-checkbox_size_l {
line-height: 17px;
top: 3px;
width: 17px;
height: 17px;
margin-right: 7px;
}
.y-checkbox_theme_normal.y-checkbox_size_l:after {
width: 18px;
height: 18px;
transform: translateY(-7px);
}
.y-checkbox_theme_normal.y-checkbox_checked {
background: rgba(153,122,0,0.5);
}
.y-checkbox_theme_normal.y-checkbox_checked:before {
background: #ffeba0;
}
.y-checkbox_theme_normal.y-checkbox_checked:after {
visibility: visible;
opacity: 1;
transform: translateY(0px);
transition-delay: 0s;
}
.y-checkbox_theme_normal.y-checkbox_focused {
box-shadow: 0 0 0 1px #fc0, inset 0 0 0 1px #fc0;
}
.y-checkbox_theme_normal.y-checkbox_hovered {
background: rgba(0,0,0,0.3);
}
.y-checkbox_theme_normal.y-checkbox_hovered.y-checkbox_checked {
background: rgba(129,103,0,0.6);
}
.y-checkbox_theme_normal.y-checkbox_disabled {
cursor: default;
color: #999;
}
.y-checkbox_theme_normal.y-checkbox_disabled {
background: rgba(0,0,0,0.08);
}
.y-checkbox_theme_normal.y-checkbox_disabled:before {
display: none;
}
.y-checkbox_theme_normal.y-checkbox_disabled.y-checkbox_checked:after {
opacity: 0.4;
}