v-checkbox.css
3.44 KB
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
.v-checkbox-wrapper{
cursor: pointer;
font-size: 12px;
display: inline-block;
position: relative;
}
.v-checkbox{
white-space: nowrap;
cursor: pointer;
outline: none;
display: inline-block;
line-height: 1;
position: relative;
vertical-align: text-bottom;
}
.v-checkbox-checked:after {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border-radius: 2px;
border: 1px solid #108ee9;
content: "";
-webkit-animation-fill-mode: both;
animation-fill-mode: both;
visibility: hidden
}
.v-checkbox-input{
position: absolute;
left: 0;
z-index: 1;
cursor: pointer;
opacity: 0;
filter: alpha(opacity=0);
top: 0;
bottom: 0;
right: 0;
/* width: 100%;
height: 100%;*/
}
.v-checkbox-inner{
position: relative;
top: 0;
left: 0;
display: block;
width: 14px;
height: 14px;
border: 1px solid #abbacc;
border-radius: 2px;
background-color: #fff;
-webkit-transition: all .3s;
transition: all .3s;
}
.v-checkbox-inner:after {
-webkit-transform: rotate(45deg) scale(0);
-ms-transform: rotate(45deg) scale(0);
transform: rotate(45deg) scale(0);
position: absolute;
left: 4px;
top: 1px;
display: table;
width: 5px;
height: 8px;
border: 2px solid #fff;
border-top: 0;
border-left: 0;
content: " ";
-webkit-transition: all .1s cubic-bezier(.71,-.46,.88,.6);
transition: all .1s cubic-bezier(.71,-.46,.88,.6)
}
.v-checkbox-checked .v-checkbox-inner:after {
-webkit-transform: rotate(45deg) scale(1);
-ms-transform: rotate(45deg) scale(1);
transform: rotate(45deg) scale(1);
position: absolute;
display: table;
border: 2px solid #fff;
border-top: 0;
border-left: 0;
content: " ";
-webkit-transition: all .2s cubic-bezier(.12,.4,.29,1.46) .1s;
transition: all .2s cubic-bezier(.12,.4,.29,1.46) .1s;
}
.v-checkbox-checked .v-checkbox-inner,.v-checkbox-indeterminate .v-checkbox-inner{
background-color: #108ee9;
border-color: #108ee9;
}
.v-checkbox-input:focus+.v-checkbox-inner,
.v-checkbox-wrapper:hover .v-checkbox-inner,
.v-checkbox:hover .v-checkbox-inner {
border-color: #108ee9
}
.v-checkbox-disabled {
cursor: not-allowed
}
.v-checkbox-disabled.v-checkbox-checked .v-checkbox-inner:after {
-webkit-animation-name: none;
animation-name: none;
border-color: rgba(0,0,0,.25)
}
.v-checkbox-disabled .v-checkbox-input {
cursor: not-allowed
}
.v-checkbox-disabled .v-checkbox-inner {
border-color: #d9d9d9!important;
background-color: #f7f7f7
}
.v-checkbox-disabled .v-checkbox-inner:after {
-webkit-animation-name: none;
animation-name: none;
border-color: #f7f7f7
}
.v-checkbox-disabled+span {
color: rgba(0,0,0,.25);
cursor: not-allowed
}
.v-checkbox-indeterminate .v-checkbox-inner:after {
content: " ";
-webkit-transform: scale(1);
-ms-transform: scale(1);
transform: scale(1);
position: absolute;
left: 2px;
top: 5px;
width: 8px;
height: 1px
}
.v-checkbox-indeterminate.v-checkbox-disabled .v-checkbox-inner:after {
border-color: rgba(0,0,0,.25)
}
.v-select-items-multiple{
display: table;
width: 100%;
padding: 5px;
}
.v-select-items-multiple span{
vertical-align: middle;
font-size: 14px;
font-weight: normal;
color: rgba(0, 0, 0, 0.65);
}
.v-select-items-multiple:hover{
background-color: #e6f7ff;
}