| 1 |
.betterdocs-customize-subtitle { |
| 2 |
display: block; |
| 3 |
margin: 0 -12px; |
| 4 |
border: 1px solid #ddd; |
| 5 |
border-left: 0; |
| 6 |
border-right: 0; |
| 7 |
padding: 15px; |
| 8 |
font-size: 11px; |
| 9 |
font-weight: 600; |
| 10 |
letter-spacing: 2px; |
| 11 |
line-height: 1; |
| 12 |
text-transform: uppercase; |
| 13 |
color: #555; |
| 14 |
background-color: #fff; |
| 15 |
} |
| 16 |
|
| 17 |
.customize-control.customize-control-light { |
| 18 |
margin: 15px 0; |
| 19 |
} |
| 20 |
|
| 21 |
input[type=checkbox].tgl { |
| 22 |
display: none; |
| 23 |
} |
| 24 |
input[type=checkbox].tgl, input[type=checkbox].tgl:after, input[type=checkbox].tgl:before, input[type=checkbox].tgl *, input[type=checkbox].tgl *:after, input[type=checkbox].tgl *:before, input[type=checkbox].tgl + .tgl-btn { |
| 25 |
box-sizing: border-box; |
| 26 |
} |
| 27 |
input[type=checkbox].tgl::-moz-selection, input[type=checkbox].tgl:after::-moz-selection, input[type=checkbox].tgl:before::-moz-selection, input[type=checkbox].tgl *::-moz-selection, input[type=checkbox].tgl *:after::-moz-selection, input[type=checkbox].tgl *:before::-moz-selection, input[type=checkbox].tgl + .tgl-btn::-moz-selection { |
| 28 |
background: none; |
| 29 |
} |
| 30 |
input[type=checkbox].tgl::selection, input[type=checkbox].tgl:after::selection, input[type=checkbox].tgl:before::selection, input[type=checkbox].tgl *::selection, input[type=checkbox].tgl *:after::selection, input[type=checkbox].tgl *:before::selection, input[type=checkbox].tgl + .tgl-btn::selection { |
| 31 |
background: none; |
| 32 |
} |
| 33 |
input[type=checkbox].tgl + .tgl-btn { |
| 34 |
outline: 0; |
| 35 |
display: block; |
| 36 |
width: 4em; |
| 37 |
height: 2em; |
| 38 |
position: relative; |
| 39 |
cursor: pointer; |
| 40 |
-webkit-user-select: none; |
| 41 |
-moz-user-select: none; |
| 42 |
-ms-user-select: none; |
| 43 |
user-select: none; |
| 44 |
} |
| 45 |
input[type=checkbox].tgl + .tgl-btn:after, input[type=checkbox].tgl + .tgl-btn:before { |
| 46 |
position: relative; |
| 47 |
display: block; |
| 48 |
content: ""; |
| 49 |
width: 50%; |
| 50 |
height: 100%; |
| 51 |
} |
| 52 |
input[type=checkbox].tgl + .tgl-btn:after { |
| 53 |
left: 0; |
| 54 |
} |
| 55 |
input[type=checkbox].tgl + .tgl-btn:before { |
| 56 |
display: none; |
| 57 |
} |
| 58 |
input[type=checkbox].tgl:checked + .tgl-btn:after { |
| 59 |
left: 50%; |
| 60 |
} |
| 61 |
|
| 62 |
input[type=checkbox].tgl-light + .tgl-btn { |
| 63 |
background: #b5b5b5; |
| 64 |
border-radius: 2em; |
| 65 |
padding: 2px; |
| 66 |
-webkit-transition: all .4s ease; |
| 67 |
transition: all .4s ease; |
| 68 |
} |
| 69 |
input[type=checkbox].tgl-light + .tgl-btn:after { |
| 70 |
border-radius: 50%; |
| 71 |
background: #fff; |
| 72 |
-webkit-transition: all .2s ease; |
| 73 |
transition: all .2s ease; |
| 74 |
} |
| 75 |
input[type=checkbox].tgl-light:checked + .tgl-btn { |
| 76 |
background: #15c7a4; |
| 77 |
} |
| 78 |
|
| 79 |
input[type=checkbox].tgl-ios + .tgl-btn { |
| 80 |
background: #fbfbfb; |
| 81 |
border-radius: 2em; |
| 82 |
padding: 2px; |
| 83 |
-webkit-transition: all .4s ease; |
| 84 |
transition: all .4s ease; |
| 85 |
border: 1px solid #e8eae9; |
| 86 |
} |
| 87 |
input[type=checkbox].tgl-ios + .tgl-btn:after { |
| 88 |
border-radius: 2em; |
| 89 |
background: #fbfbfb; |
| 90 |
-webkit-transition: left 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), padding 0.3s ease, margin 0.3s ease; |
| 91 |
transition: left 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), padding 0.3s ease, margin 0.3s ease; |
| 92 |
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), 0 4px 0 rgba(0, 0, 0, 0.08); |
| 93 |
} |
| 94 |
input[type=checkbox].tgl-ios + .tgl-btn:hover:after { |
| 95 |
will-change: padding; |
| 96 |
} |
| 97 |
input[type=checkbox].tgl-ios + .tgl-btn:active { |
| 98 |
box-shadow: inset 0 0 0 2em #e8eae9; |
| 99 |
} |
| 100 |
input[type=checkbox].tgl-ios + .tgl-btn:active:after { |
| 101 |
padding-right: .8em; |
| 102 |
} |
| 103 |
input[type=checkbox].tgl-ios:checked + .tgl-btn { |
| 104 |
background: #86d993; |
| 105 |
} |
| 106 |
input[type=checkbox].tgl-ios:checked + .tgl-btn:active { |
| 107 |
box-shadow: none; |
| 108 |
} |
| 109 |
input[type=checkbox].tgl-ios:checked + .tgl-btn:active:after { |
| 110 |
margin-left: -.8em; |
| 111 |
} |
| 112 |
|
| 113 |
input[type=checkbox].tgl-flat + .tgl-btn { |
| 114 |
padding: 2px; |
| 115 |
-webkit-transition: all .2s ease; |
| 116 |
transition: all .2s ease; |
| 117 |
background: #fff; |
| 118 |
border: 4px solid #f2f2f2; |
| 119 |
border-radius: 2em; |
| 120 |
} |
| 121 |
input[type=checkbox].tgl-flat + .tgl-btn:after { |
| 122 |
-webkit-transition: all .2s ease; |
| 123 |
transition: all .2s ease; |
| 124 |
background: #f2f2f2; |
| 125 |
content: ""; |
| 126 |
border-radius: 1em; |
| 127 |
} |
| 128 |
input[type=checkbox].tgl-flat:checked + .tgl-btn { |
| 129 |
border: 4px solid #7FC6A6; |
| 130 |
} |
| 131 |
input[type=checkbox].tgl-flat:checked + .tgl-btn:after { |
| 132 |
left: 50%; |
| 133 |
background: #7FC6A6; |
| 134 |
} |
| 135 |
|