forked from Sarah/Lieb-Website
changed Checkboxes for BuildList
This commit is contained in:
parent
3d72cf2d29
commit
1eaef04a12
3 changed files with 98 additions and 11 deletions
|
@ -21,3 +21,49 @@
|
|||
padding-left: 8px;
|
||||
padding-right: 8px;
|
||||
}
|
||||
|
||||
/*checkboxes*/
|
||||
label {
|
||||
-webkit-touch-callout: none;
|
||||
-webkit-user-select: none;
|
||||
-khtml-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
input[type=checkbox].css-checkbox {
|
||||
position: absolute;
|
||||
overflow: hidden;
|
||||
clip: rect(0 0 0 0);
|
||||
height:1px;
|
||||
width:1px;
|
||||
margin:-1px;
|
||||
padding:0;
|
||||
border:0;
|
||||
}
|
||||
|
||||
input[type=checkbox].css-checkbox + label.css-label {
|
||||
padding-left:23px;
|
||||
height:17px;
|
||||
display:inline-block;
|
||||
line-height:17px;
|
||||
background-repeat:no-repeat;
|
||||
background-position: 0 0;
|
||||
background-size: 17px;
|
||||
font-size:17px;
|
||||
vertical-align:middle;
|
||||
cursor:pointer;
|
||||
}
|
||||
|
||||
input[type=checkbox].css-checkbox:checked + label.css-label {
|
||||
background-position: 0 -17px;
|
||||
}
|
||||
|
||||
.css-label{
|
||||
background-image:url(dark-check-green.png);
|
||||
}
|
||||
|
||||
|
||||
.dark-check-green{background-image:url(dark-check-green.png);}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue