/*====== * * CSS for Customize Extra Types * ======*/ /*====== Range Value ======*/ .range-slider { width: 100%; } .range-slider__range { -webkit-appearance: none; width: calc(100% - (95px)); height: 10px; border-radius: 5px; background: #d7dcdf; outline: none; padding: 0; margin: 0; } .range-slider__range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 20px; height: 20px; border-radius: 50%; background: #0074a2; cursor: pointer; -webkit-transition: background .15s ease-in-out; transition: background .15s ease-in-out; } .range-slider__range::-webkit-slider-thumb:hover { background: #0074a2; } .range-slider__range:active::-webkit-slider-thumb { background: #0074a2; } .range-slider__range::-moz-range-thumb { width: 20px; height: 20px; border: 0; border-radius: 50%; background: #0074a2; cursor: pointer; -webkit-transition: background .15s ease-in-out; transition: background .15s ease-in-out; } .range-slider__range::-moz-range-thumb:hover { background: #0074a2; } .range-slider__range:active::-moz-range-thumb { background: #0074a2; } .range-slider__value { display: inline-block; position: relative; width: 60px; color: #fff; line-height: 20px; text-align: center; border-radius: 3px; background: #0074a2; padding: 5px 10px; margin-left: 8px; } ::-moz-range-track { background: #d7dcdf; border: 0; } input::-moz-focus-inner, input::-moz-focus-outer { border: 0; } /*====== Toggle ======*/ input[type=checkbox].tgl { display: none; } 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 { box-sizing: border-box; } 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 { background: none; } 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 { background: none; } input[type=checkbox].tgl + .tgl-btn { outline: 0; display: block; width: 4em; height: 2em; position: relative; cursor: pointer; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } input[type=checkbox].tgl + .tgl-btn:after, input[type=checkbox].tgl + .tgl-btn:before { position: relative; display: block; content: ""; width: 50%; height: 100%; } input[type=checkbox].tgl + .tgl-btn:after { left: 0; } input[type=checkbox].tgl + .tgl-btn:before { display: none; } input[type=checkbox].tgl:checked + .tgl-btn:after { left: 50%; } input[type=checkbox].tgl-light + .tgl-btn { background: #f0f0f0; border-radius: 2em; padding: 2px; -webkit-transition: all .4s ease; transition: all .4s ease; } input[type=checkbox].tgl-light + .tgl-btn:after { border-radius: 50%; background: #fff; -webkit-transition: all .2s ease; transition: all .2s ease; } input[type=checkbox].tgl-light:checked + .tgl-btn { background: #9FD6AE; } input[type=checkbox].tgl-toggle + .tgl-btn { background: #fbfbfb; border-radius: 2em; padding: 2px; -webkit-transition: all .4s ease; transition: all .4s ease; border: 1px solid #e8eae9; } input[type=checkbox].tgl-toggle + .tgl-btn:after { border-radius: 2em; background: #fbfbfb; -webkit-transition: left 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), padding 0.3s ease, margin 0.3s ease; transition: left 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), padding 0.3s ease, margin 0.3s ease; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), 0 4px 0 rgba(0, 0, 0, 0.08); } input[type=checkbox].tgl-toggle + .tgl-btn:hover:after { will-change: padding; } input[type=checkbox].tgl-toggle + .tgl-btn:active { box-shadow: inset 0 0 0 2em #e8eae9; } input[type=checkbox].tgl-toggle + .tgl-btn:active:after { padding-right: .8em; } input[type=checkbox].tgl-toggle:checked + .tgl-btn { background: #00bd1e; border: 0; } input[type=checkbox].tgl-toggle:checked + .tgl-btn:active { box-shadow: none; } input[type=checkbox].tgl-toggle:checked + .tgl-btn:active:after { margin-left: -.8em; } input[type=checkbox].tgl-flat + .tgl-btn { padding: 2px; -webkit-transition: all .2s ease; transition: all .2s ease; background: #fff; border: 4px solid #f2f2f2; border-radius: 2em; } input[type=checkbox].tgl-flat + .tgl-btn:after { -webkit-transition: all .2s ease; transition: all .2s ease; background: #f2f2f2; content: ""; border-radius: 1em; } input[type=checkbox].tgl-flat:checked + .tgl-btn { border: 4px solid #7FC6A6; } input[type=checkbox].tgl-flat:checked + .tgl-btn:after { left: 50%; background: #7FC6A6; } /*====== Radio Image ======*/ .customize-control-radio-image .ui-button { margin: 0; border-radius: 0; border: none; background: transparent; } .customize-control-radio-image .ui-button-text { padding: 0; } .customize-control-radio-image img { box-sizing: border-box; max-width: 100%; height: auto; padding: 1px; border: 2px solid #d7dcdf; width: 98px; } .customize-control-radio-image img:hover, .customize-control-radio-image img:focus { border-color: #0074a2; } .customize-control-radio-image .ui-state-active img { border-color: #0074a2; }