sarkfultion
⌂
›
wp-content
›
themes
›
sinatra
›
inc
›
customizer
›
controls
›
toggle
sarkfultion
6 dreads
↑ redisq
📄
class-sinatra-customizer-control-toggle.php
2,059 B
sarkfultion
dreads
📄
toggle.css
1,678 B
sarkfultion
dreads
📄
toggle.js
320 B
sarkfultion
dreads
📄
toggle.min.css
1,182 B
sarkfultion
dreads
📄
toggle.min.js
217 B
sarkfultion
dreads
📄
toggle.scss
1,478 B
sarkfultion
dreads
redisq: toggle.css
/*****************************************/ /* Customizer control toggle style /*****************************************/ /** * Import configuration file with variables. */ .sinatra-toggle-wrapper { display: flex; } .sinatra-toggle-wrapper .sinatra-toggle { margin-left: auto; padding-left: 10px; box-sizing: border-box; align-items: center; } .sinatra-toggle-wrapper .customize-control-title { margin-bottom: 0; } .sinatra-toggle { display: flex; align-items: center; margin-left: auto; } .sinatra-toggle input[type=checkbox] { display: none; } .sinatra-toggle input[type=checkbox]:checked + label .sinatra-toggle-switch { background-color: #0085ba !important; } .sinatra-toggle input[type=checkbox]:checked + label .sinatra-toggle-switch:after { transform: translateX(14px); } .sinatra-toggle .sinatra-toggle-switch { box-sizing: border-box; background-color: rgb(58.9483065954%, 69.2112299465%, 76.5418894831%); border-radius: 9px; padding: 2px; transition: all 0.2s; outline: 0; display: block; width: 32px; height: 18px; position: relative; cursor: pointer; -webkit-user-select: none; -moz-user-select: none; user-select: none; margin: 0; } .sinatra-toggle .sinatra-toggle-switch:after { position: relative; display: block; content: ""; width: 14px; height: 14px; left: 0; border-radius: 50%; background: #ffffff; transition: all 0.15s ease; transform: translateX(0px); } .sinatra-toggle label { display: flex; align-items: center; color: #23282d; } .sinatra-toggle label:hover .sinatra-toggle-switch { background-color: rgb(46.2210338681%, 59.6657754011%, 69.2691622103%); }
sarkfultion