Initial commit
[2ch-be.git] / artist / css / backuponoff.css
blob8a5a0a18c8182393c617b3531c1eeb15be8a9584
1 .onoffswitch {
2 position: relative; width: 64px;
3 -webkit-user-select:none; -moz-user-select:none; -ms-user-select: none;
5 .onoffswitch-checkbox {
6 display: none;
8 .onoffswitch-label {
9 overflow: hidden; cursor: pointer;
10 border: 2px solid #999999; border-radius: 20px;
12 .onoffswitch-inner {
13 display: block; width: 200%; margin-left: -100%;
14 -moz-transition: margin 0.3s ease-in 0s; -webkit-transition: margin 0.3s ease-in 0s;
15 -o-transition: margin 0.3s ease-in 0s; transition: margin 0.3s ease-in 0s;
17 .onoffswitch-inner:before, .onoffswitch-inner:after {
18 display: block; float: left; width: 50%; height: 23px; padding: 0; line-height: 23px;
19 font-size: 14px; color: white; font-family: Trebuchet, Arial, sans-serif; font-weight: bold;
20 -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
22 .onoffswitch-inner:before {
23 content: "ON";
24 padding-left: 6px;
25 background-color: #EEEEEE; color: #383838;
27 .onoffswitch-inner:after {
28 content: "OFF";
29 padding-right: 6px;
30 background-color: #EEEEEE; color: #999999;
31 text-align: right;
33 .onoffswitch-switch {
34 display: block; width: 14px; margin: 4.5px;
35 background: #A1A1A1;
36 border: 2px solid #999999; border-radius: 20px;
37 position: absolute; right: 37px; height: 15px;
38 -moz-transition: all 0.3s ease-in 0s; -webkit-transition: all 0.3s ease-in 0s;
39 -o-transition: all 0.3s ease-in 0s; transition: all 0.3s ease-in 0s;
41 .onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
42 margin-left: 0;
44 .onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
45 right: 0px;
46 background-color: #63C5E6;