mirror of
https://github.com/webOSArchive/mochi
synced 2026-11-06 19:02:33 -05:00
35 lines
746 B
Plaintext
35 lines
746 B
Plaintext
/* ToggleButton.css */
|
|
.mochi-toggle-button {
|
|
display: inline-block;
|
|
height: 24px;
|
|
line-height: 24px;
|
|
min-width: 48px;
|
|
vertical-align: middle;
|
|
border-radius: 12px;
|
|
background-size: auto 100%;
|
|
color: white;
|
|
font-size: 14px;
|
|
font-weight: bold;
|
|
text-transform: uppercase;
|
|
}
|
|
.mochi-toggle-button-knob {
|
|
position: relative;
|
|
width: 20px;
|
|
height: 20px;
|
|
margin: 2px;
|
|
border-radius: 10px;
|
|
background-color: white;
|
|
left: 0px;
|
|
overflow: hidden;
|
|
}
|
|
.mochi-toggle-button.disabled {
|
|
opacity: 0.4;
|
|
filter: alpha(opacity=40);
|
|
}
|
|
.mochi-toggle-animate {
|
|
-webkit-transition: background-color 0.1s linear;
|
|
-moz-transition: background-color 0.1s linear;
|
|
-o-transition: background-color 0.1s linear;
|
|
transition: background-color 0.1s linear;
|
|
}
|