Skip to content

Commit 95aa5cc

Browse files
committed
build CSS
1 parent 0d78de6 commit 95aa5cc

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

dist/magic-input.css

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.mgc {
1+
input[type="checkbox"].mgc {
22
position: relative;
33
width: 16px;
44
height: 16px;
@@ -14,7 +14,7 @@
1414
background-color: #fff;
1515
border: 1px solid #d7d7d7;
1616
}
17-
.mgc:checked:after {
17+
input[type="checkbox"].mgc:checked:after {
1818
content: '';
1919
display: block;
2020
height: 4px;
@@ -27,18 +27,18 @@
2727
top: 3px;
2828
left: 3px;
2929
}
30-
.mgc:disabled {
30+
input[type="checkbox"].mgc:disabled {
3131
opacity: 0.65;
3232
}
33-
.mgc:focus {
33+
input[type="checkbox"].mgc:focus {
3434
outline: none;
3535
box-shadow: inset 0 1px 1px rgba(255,255,255,0.075), 0 0px 2px #38a7ff;
3636
}
37-
.mgc:checked {
37+
input[type="checkbox"].mgc:checked {
3838
background-color: #fff;
3939
border-color: #d7d7d7;
4040
}
41-
.mgc:checked:after {
41+
input[type="checkbox"].mgc:checked:after {
4242
border-color: #414141;
4343
}
4444
.mgc-primary {
@@ -119,7 +119,7 @@
119119
height: 5px;
120120
width: 10px;
121121
}
122-
.mgr {
122+
input[type="radio"].mgr {
123123
position: relative;
124124
width: 16px;
125125
height: 16px;
@@ -133,31 +133,31 @@
133133
background-color: #fff;
134134
border: 1px solid #d7d7d7;
135135
}
136-
.mgr:disabled {
136+
input[type="radio"].mgr:disabled {
137137
opacity: 0.65;
138138
}
139-
.mgr:before {
139+
input[type="radio"].mgr:before {
140140
content: '';
141141
display: block;
142142
height: 0px;
143143
width: 0px;
144144
-webkit-transition: width 0.25s, height 0.25s;
145145
transition: width 0.25s, height 0.25s;
146146
}
147-
.mgr:checked:before {
147+
input[type="radio"].mgr:checked:before {
148148
height: 8px;
149149
width: 8px;
150150
border-radius: 50%;
151151
margin: 3px 0 0 3px;
152152
}
153-
.mgr:focus {
153+
input[type="radio"].mgr:focus {
154154
outline: none;
155155
box-shadow: inset 0 1px 1px rgba(255,255,255,0.075), 0 0px 2px #38a7ff;
156156
}
157-
.mgr:checked {
157+
input[type="radio"].mgr:checked {
158158
border: 1px solid #555;
159159
}
160-
.mgr:checked:before {
160+
input[type="radio"].mgr:checked:before {
161161
background-color: #555;
162162
}
163163
.mgr-primary {

dist/magic-input.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)