.customize-control-ast-responsive-slider { .wrapper { position: relative; height: 100%; } .input-field-wrapper { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; } input[type=range] { -webkit-appearance: none; -webkit-transition: background 0.3s; -moz-transition: background 0.3s; transition: background 0.3s; background-color: rgba(0, 0, 0, 0.1); height: 5px; padding: 0; -webkit-box-flex: 1; -ms-flex: 1; flex: 1; &:focus { box-shadow: none; outline: none; } &:hover, &:focus { background-color: rgba(0, 0, 0, 0.25); } &::-webkit-slider-thumb { -webkit-appearance: none; width: 15px; height: 15px; border-radius: 50%; -webkit-border-radius: 50%; background-color: #3498D9; -webkit-appearance: none; width: 15px; height: 15px; border: none; border-radius: 50%; background-color: #3498D9; } &::-moz-range-thumb { width: 15px; height: 15px; border: none; border-radius: 50%; background-color: #3498D9; } &::-ms-thumb { width: 15px; height: 15px; border-radius: 50%; border: 0; background-color: #3498D9; } &::-moz-range-track { border: inherit; background: transparent; } &::-ms-track { border: inherit; color: transparent; background: transparent; } &::-ms-fill-lower, &::-ms-fill-upper { background: transparent; } &::-ms-tooltip { display: none; } } .astra_range_value { font-size: 14px; padding: 0 0 0 5px; font-weight: 400; position: relative; } .ast-responsive-slider-reset { color: rgba(0, 0, 0, 0.2); position: absolute; top: -28px; right: 1.5em; display: inline-block; -webkit-transition: color 0.5s ease-in; -moz-transition: color 0.5s ease-in; -ms-transition: color 0.5s ease-in; -o-transition: color 0.5s ease-in; transition: color 0.5s ease-in; span { font-size: 13px; line-height: 24px; transition: unset; } &:hover, &:focus { color: red; } } } .astra_range_value { input.ast-responsive-range-value-input { width: 50px; height: 22px; font-size: 12px; padding: 3px; } .ast-range-unit { margin-left: 5px; } } .customize-control-ast-responsive-slider .input-field-wrapper { display: none; &.active { display: flex; justify-content: space-between; margin-right: 0; flex: 0 1; width: 100%; } } /** * Responsive Icons */ .ast-responsive-slider-btns { display: inline-block; float: right; line-height: 1; margin-top: 5px; > li { margin-bottom: 0; display: none; &.active { display: inline-block; } } button[type="button"] { padding: 0; cursor: pointer; background: none; border: none; opacity: .75; outline: none; > i { width: 15px; height: 15px; font-size: 15px; } } }