engine/app/assets/stylesheets/locomotive/plugins/toggle.css

43 lines
969 B
CSS
Raw Normal View History

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