-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFABSCheckbox.css
More file actions
190 lines (158 loc) · 3.68 KB
/
FABSCheckbox.css
File metadata and controls
190 lines (158 loc) · 3.68 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
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
/*
Font Awesome Bootstrap Checkbox and Radio Buttons
Author: Samer Abu Rabie
V 1.0.1
*/
/* FABSCheckbox Radio Button*/
.checkbox input[type=checkbox] {
opacity: 0;
}
.checkbox {
margin-top: 0;
}
.checkbox label {
padding-left: 0;
padding-right: 0;
}
.checkbox-inline {
padding-left: 0;
padding-right: 0;
}
.checkbox input[type=checkbox]:disabled + label {
opacity: 0.60;
cursor: default;
}
/* unchecked icon */
.checkbox input[type=checkbox] + label:before {
font-family: FontAwesome;
content: "\f096";
margin-left: 5px;
margin-right: 5px;
vertical-align: middle;
font-size: 16pt;
color: #3e3b3b;
}
/* checked icon */
.checkbox input[type=checkbox]:checked + label:before {
content: "\f14a";
}
/*Checkbox focus style*/
input[type=checkbox]:focus + label:before {
outline: none;
border-color: #9ecaed;
box-shadow: 0 0 15px #9ecaed;
}
/*Different versions of the checkbox*/
.checkbox-default input[type=checkbox] + label:before {
color: #3e3b3b;
}
.checkbox-default input[type=checkbox]:checked + label:before {
color: #3e3b3b;
}
.checkbox-primary input[type=checkbox] + label:before {
color: #337ab7;
}
.checkbox-primary input[type=checkbox]:checked + label:before {
color: #337ab7;
}
.checkbox-info input[type=checkbox] + label:before {
color: #31b0d5;
}
.checkbox-info input[type=checkbox]:checked + label:before {
color: #31b0d5;
}
.checkbox-warning input[type=checkbox] + label:before {
color: #ec971f;
}
.checkbox-warning input[type=checkbox]:checked + label:before {
color: #ec971f;
}
.checkbox-success input[type=checkbox] + label:before {
color: #5cb85c;
}
.checkbox-success input[type=checkbox]:checked + label:before {
color: #5cb85c;
}
.checkbox-danger input[type=checkbox] + label:before {
color: #c9302c;
}
.checkbox-danger input[type=checkbox]:checked + label:before {
color: #c9302c;
}
/* FABSCheckbox Radio Button*/
.radio input[type=radio] {
opacity: 0;
}
.radio input[type=radio]:disabled + label {
opacity: 0.60;
cursor: default;
}
.radio {
margin-top: 0;
}
.radio label {
padding-left: 0;
padding-right: 0;
}
.radio-inline {
padding-left: 0;
padding-right: 0;
}
/* unchecked icon */
.radio input[type=radio] + label:before {
font-family: FontAwesome;
content: "\f1db";
margin-left: 5px;
margin-right: 5px;
vertical-align: middle;
font-size: 16pt;
color: #3e3b3b;
}
/* checked icon */
.radio input[type=radio]:checked + label:before {
content: "\f192";
}
/*Focus css*/
input[type=radio]:focus + label:before {
outline: none;
border-color: #9ecaed;
box-shadow: 0 0 15px #9ecaed;
border-radius:100%;
}
/*Different versions of the checkbox*/
.radio-default input[type=radio] + label:before {
color: #3e3b3b;
}
.radio-default input[type=radio]:checked + label:before {
color: #3e3b3b;
}
.radio-primary input[type=radio] + label:before {
color: #337ab7;
}
.radio-primary input[type=radio]:checked + label:before {
color: #337ab7;
}
.radio-info input[type=radio] + label:before {
color: #31b0d5;
}
.radio-info input[type=radio]:checked + label:before {
color: #31b0d5;
}
.radio-warning input[type=radio] + label:before {
color: #ec971f;
}
.radio-warning input[type=radio]:checked + label:before {
color: #ec971f;
}
.radio-success input[type=radio] + label:before {
color: #5cb85c;
}
.radio-success input[type=radio]:checked + label:before {
color: #5cb85c;
}
.radio-danger input[type=radio] + label:before {
color: #c9302c;
}
.radio-danger input[type=radio]:checked + label:before {
color: #c9302c;
}