mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-14 01:24:06 -08:00
71 lines
1.9 KiB
CSS
71 lines
1.9 KiB
CSS
/* iCheck plugin Line skin, black
|
|
----------------------------------- */
|
|
.icheckbox_line,
|
|
.iradio_line {
|
|
position: relative;
|
|
display: block;
|
|
margin: 0;
|
|
padding: 5px 15px 5px 38px;
|
|
font-size: 13px;
|
|
line-height: 17px;
|
|
color: #fff;
|
|
background: #000;
|
|
border: none;
|
|
-webkit-border-radius: 3px;
|
|
-moz-border-radius: 3px;
|
|
border-radius: 3px;
|
|
cursor: pointer;
|
|
}
|
|
.icheckbox_line .icheck_line-icon,
|
|
.iradio_line .icheck_line-icon {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 13px;
|
|
width: 13px;
|
|
height: 11px;
|
|
margin: -5px 0 0 0;
|
|
padding: 0;
|
|
overflow: hidden;
|
|
background: url(line.png) no-repeat;
|
|
border: none;
|
|
}
|
|
.icheckbox_line.hover,
|
|
.icheckbox_line.checked.hover,
|
|
.iradio_line.hover {
|
|
background: #444;
|
|
}
|
|
.icheckbox_line.checked,
|
|
.iradio_line.checked {
|
|
background: #000;
|
|
}
|
|
.icheckbox_line.checked .icheck_line-icon,
|
|
.iradio_line.checked .icheck_line-icon {
|
|
background-position: -15px 0;
|
|
}
|
|
.icheckbox_line.disabled,
|
|
.iradio_line.disabled {
|
|
background: #ccc;
|
|
cursor: default;
|
|
}
|
|
.icheckbox_line.disabled .icheck_line-icon,
|
|
.iradio_line.disabled .icheck_line-icon {
|
|
background-position: -30px 0;
|
|
}
|
|
.icheckbox_line.checked.disabled,
|
|
.iradio_line.checked.disabled {
|
|
background: #ccc;
|
|
}
|
|
.icheckbox_line.checked.disabled .icheck_line-icon,
|
|
.iradio_line.checked.disabled .icheck_line-icon {
|
|
background-position: -45px 0;
|
|
}
|
|
|
|
/* HiDPI support */
|
|
@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
|
|
.icheckbox_line .icheck_line-icon,
|
|
.iradio_line .icheck_line-icon {
|
|
background-image: url([email protected]);
|
|
-webkit-background-size: 60px 13px;
|
|
background-size: 60px 13px;
|
|
}
|
|
} |