engine/app/assets/stylesheets/locomotive/plugins/toggle.css
2011-10-30 14:28:45 +01:00

43 lines
969 B
CSS

.toggleSwitch {
position: relative;
top: 3px;
}
div.toggleSwitch span.leftLabel{
float: left;
}
div.toggleSwitch span.leftLabel, div.toggleSwitch span.rightLabel{
line-height: 20px;
padding: 0 5px;
font-size: 0.8em;
font-weight: bold;
}
div.toggleSwitch div.switchArea {
float: left;
background: transparent url(/assets/locomotive//plugins/toggle_shadow-bg.png) top left no-repeat;
width: 64px;
height: 24px;
cursor: pointer;
}
div.toggleSwitch span.switchHandle {
display: block;
background: #aaa;
background: transparent url(/assets/locomotive//plugins/toggle_handle-bg.png) top left no-repeat;
width: 30px;
height: 100%;
cursor: pointer;
cursor: hand;
margin-left: 0;
}
div.toggleSwitch span.switchHandle.left {
background-image: url(/assets/locomotive//plugins/toggle_handle_left-bg.png);
}
div.toggleSwitch span.switchHandle.right {
background-image: url(/assets/locomotive//plugins/toggle_handle_right-bg.png);
}