META-INF.resources.primefaces.inputswitch.inputswitch.css Maven / Gradle / Ivy
.ui-inputswitch {
display: inline-block;
padding: 0;
position: relative;
overflow: hidden;
cursor: pointer;
user-select: none;
-moz-user-select: none;
-khtml-user-select: none;
-webkit-user-select: none;
height: 24px;
}
.ui-inputswitch .ui-inputswitch-on,
.ui-inputswitch .ui-inputswitch-off {
white-space: nowrap;
display: block;
position: absolute;
top: 0;
width: auto;
overflow: hidden;
user-select: none;
-moz-user-select: none;
-khtml-user-select: none;
-webkit-user-select: none;
font-weight: bold;
height: 20px;
padding-top: 4px;
}
.ui-inputswitch .ui-inputswitch-off {
right: 0;
text-align: right;
}
.ui-inputswitch .ui-inputswitch-off span {
display: inline-block;
text-align: center;
padding-left: 2px;
padding-right: 3px;
}
.ui-inputswitch .ui-inputswitch-on {
left: 0;
padding-right: 4px;
border: 0 none;
}
.ui-inputswitch .ui-inputswitch-on span {
display: inline-block;
text-align: center;
padding-left: 3px;
padding-right: 2px;
}
.ui-inputswitch .ui-inputswitch-handle {
display: block;
width: 0;
position: absolute;
top: 0;
left: 0;
height: 24px;
border-top: 0 none;
border-bottom: 0 none;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy