| 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 |
|
| 25 |
input[type=checkbox].tgl, |
| 26 |
input[type=checkbox].tgl:after, |
| 27 |
input[type=checkbox].tgl:before, |
| 28 |
input[type=checkbox].tgl *, |
| 29 |
input[type=checkbox].tgl *:after, |
| 30 |
input[type=checkbox].tgl *:before, |
| 31 |
input[type=checkbox].tgl+.tgl-btn { |
| 32 |
box-sizing: border-box; |
| 33 |
} |
| 34 |
|
| 35 |
input[type=checkbox].tgl::-moz-selection, |
| 36 |
input[type=checkbox].tgl:after::-moz-selection, |
| 37 |
input[type=checkbox].tgl:before::-moz-selection, |
| 38 |
input[type=checkbox].tgl *::-moz-selection, |
| 39 |
input[type=checkbox].tgl *:after::-moz-selection, |
| 40 |
input[type=checkbox].tgl *:before::-moz-selection, |
| 41 |
input[type=checkbox].tgl+.tgl-btn::-moz-selection { |
| 42 |
background: none; |
| 43 |
} |
| 44 |
|
| 45 |
input[type=checkbox].tgl::selection, |
| 46 |
input[type=checkbox].tgl:after::selection, |
| 47 |
input[type=checkbox].tgl:before::selection, |
| 48 |
input[type=checkbox].tgl *::selection, |
| 49 |
input[type=checkbox].tgl *:after::selection, |
| 50 |
input[type=checkbox].tgl *:before::selection, |
| 51 |
input[type=checkbox].tgl+.tgl-btn::selection { |
| 52 |
background: none; |
| 53 |
} |
| 54 |
|
| 55 |
input[type=checkbox].tgl+.tgl-btn { |
| 56 |
outline: 0; |
| 57 |
display: block; |
| 58 |
width: 4em; |
| 59 |
height: 2em; |
| 60 |
position: relative; |
| 61 |
cursor: pointer; |
| 62 |
-webkit-user-select: none; |
| 63 |
-moz-user-select: none; |
| 64 |
-ms-user-select: none; |
| 65 |
user-select: none; |
| 66 |
} |
| 67 |
|
| 68 |
input[type=checkbox].tgl+.tgl-btn:after, |
| 69 |
input[type=checkbox].tgl+.tgl-btn:before { |
| 70 |
position: relative; |
| 71 |
display: block; |
| 72 |
content: ""; |
| 73 |
width: 50%; |
| 74 |
height: 100%; |
| 75 |
} |
| 76 |
|
| 77 |
input[type=checkbox].tgl+.tgl-btn:after { |
| 78 |
left: 0; |
| 79 |
} |
| 80 |
|
| 81 |
input[type=checkbox].tgl+.tgl-btn:before { |
| 82 |
display: none; |
| 83 |
} |
| 84 |
|
| 85 |
input[type=checkbox].tgl:checked+.tgl-btn:after { |
| 86 |
left: 50%; |
| 87 |
} |
| 88 |
|
| 89 |
input[type=checkbox].tgl-light+.tgl-btn { |
| 90 |
background: #b5b5b5; |
| 91 |
border-radius: 2em; |
| 92 |
padding: 2px; |
| 93 |
-webkit-transition: all .4s ease; |
| 94 |
transition: all .4s ease; |
| 95 |
} |
| 96 |
|
| 97 |
input[type=checkbox].tgl-light+.tgl-btn:after { |
| 98 |
border-radius: 50%; |
| 99 |
background: #fff; |
| 100 |
-webkit-transition: all .2s ease; |
| 101 |
transition: all .2s ease; |
| 102 |
} |
| 103 |
|
| 104 |
input[type=checkbox].tgl-light:checked+.tgl-btn { |
| 105 |
background: #15c7a4; |
| 106 |
} |
| 107 |
|
| 108 |
input[type=checkbox].tgl-ios+.tgl-btn { |
| 109 |
background: #fbfbfb; |
| 110 |
border-radius: 2em; |
| 111 |
padding: 2px; |
| 112 |
-webkit-transition: all .4s ease; |
| 113 |
transition: all .4s ease; |
| 114 |
border: 1px solid #e8eae9; |
| 115 |
} |
| 116 |
|
| 117 |
input[type=checkbox].tgl-ios+.tgl-btn:after { |
| 118 |
border-radius: 2em; |
| 119 |
background: #fbfbfb; |
| 120 |
-webkit-transition: left 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), padding 0.3s ease, margin 0.3s ease; |
| 121 |
transition: left 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), padding 0.3s ease, margin 0.3s ease; |
| 122 |
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), 0 4px 0 rgba(0, 0, 0, 0.08); |
| 123 |
} |
| 124 |
|
| 125 |
input[type=checkbox].tgl-ios+.tgl-btn:hover:after { |
| 126 |
will-change: padding; |
| 127 |
} |
| 128 |
|
| 129 |
input[type=checkbox].tgl-ios+.tgl-btn:active { |
| 130 |
box-shadow: inset 0 0 0 2em #e8eae9; |
| 131 |
} |
| 132 |
|
| 133 |
input[type=checkbox].tgl-ios+.tgl-btn:active:after { |
| 134 |
padding-right: .8em; |
| 135 |
} |
| 136 |
|
| 137 |
input[type=checkbox].tgl-ios:checked+.tgl-btn { |
| 138 |
background: #86d993; |
| 139 |
} |
| 140 |
|
| 141 |
input[type=checkbox].tgl-ios:checked+.tgl-btn:active { |
| 142 |
box-shadow: none; |
| 143 |
} |
| 144 |
|
| 145 |
input[type=checkbox].tgl-ios:checked+.tgl-btn:active:after { |
| 146 |
margin-left: -.8em; |
| 147 |
} |
| 148 |
|
| 149 |
input[type=checkbox].tgl-flat+.tgl-btn { |
| 150 |
padding: 2px; |
| 151 |
-webkit-transition: all .2s ease; |
| 152 |
transition: all .2s ease; |
| 153 |
background: #fff; |
| 154 |
border: 4px solid #f2f2f2; |
| 155 |
border-radius: 2em; |
| 156 |
} |
| 157 |
|
| 158 |
input[type=checkbox].tgl-flat+.tgl-btn:after { |
| 159 |
-webkit-transition: all .2s ease; |
| 160 |
transition: all .2s ease; |
| 161 |
background: #f2f2f2; |
| 162 |
content: ""; |
| 163 |
border-radius: 1em; |
| 164 |
} |
| 165 |
|
| 166 |
input[type=checkbox].tgl-flat:checked+.tgl-btn { |
| 167 |
border: 4px solid #7FC6A6; |
| 168 |
} |
| 169 |
|
| 170 |
input[type=checkbox].tgl-flat:checked+.tgl-btn:after { |
| 171 |
left: 50%; |
| 172 |
background: #7FC6A6; |
| 173 |
} |
| 174 |
|