.switch { position: relative; width: 60px; height: 34px; float: right; input { opacity: 0; width: 0; height: 0; } } .hidden { display: none; } .slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; border-radius: 34px; &:before { position: absolute; content: ''; height: 26px; width: 26px; left: 4px; bottom: 4px; background-color: #fff; -webkit-transition: 0.4s; transition: 0.4s; border-radius: 50%; } } input { &[type=text] { width: 200px; padding: 0.5rem 1rem; box-sizing: border-box; border-image-slice: 1; border-image-source: map-get($theme-colours, 'gradient'); background: transparent; } &:checked+.slider { background: map-get($theme-colours, 'gradient'); &:before { -webkit-transform: translateX(26px); transform: translateX(26px); } } &:focus+.slider { box-shadow: 0 0 1px #e67e22; } } h4, .switch { display: inline; font-size: 1.4em; font-weight: 100; } h4, #engines { display: inline; } .section { margin-bottom: 20px; } h4 { cursor: pointer; } ul { padding-left: 5px; margin: 0; >label { vertical-align: middle; } } li { margin-top: 1px; } .range { -webkit-appearance: none; width: 200px; height: 15px; border-radius: 12px; outline: none; background: #ecf0f1; border-radius: 12px; box-shadow: 0 0 100px rgba(0, 0, 0, 0.3); &::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 25px; height: 25px; border-radius: 12px; background: map-get($theme-colours, 'gradient'); cursor: pointer; } &::-moz-range-thumb { width: 25px; height: 25px; border-radius: 12px; border: 0; background: map-get($theme-colours, 'gradient'); cursor: pointer; } } input[type=color] { border-radius: 100%; height: 30px; width: 30px; box-shadow: map-get($main-parts, 'shadow'); border: none; outline: none; -webkit-appearance: none; vertical-align: middle; &::-webkit-color-swatch-wrapper { padding: 0; } &::-webkit-color-swatch { border: none; border-radius: 100%; } } input[type=color]::-moz-color-swatch { border-radius: 100%; height: 30px; width: 30px; box-shadow: map-get($main-parts, 'shadow'); border: none; outline: none; -webkit-appearance: none; vertical-align: middle; &::-moz-color-swatch-wrapper { padding: 0; } &::-moz-color-swatch { border: none; border-radius: 100%; } } .customBackgroundHex { font-size: 1.2em; padding-left: 7px; vertical-align: middle; } // Dark Theme .dark { #blurRange, #brightnessRange { background-color: #535c68; } #customBackground, #backgroundAPI, #searchEngine, #language, #greetingName, #customSearchEngine { color: white; } .choices { background-color: white; } .modalLink { color: #3498db; } } .nodropdown { cursor: default; } .newFeature { color: #ff4757; font-size: 12px; } #customcss, #customjs { font-family: Consolas !important; border: solid 1px black !important; margin-left: 0px; } .MuiCheckbox-colorPrimary.Mui-checked { color: map-get($button-colours, 'reset') !important; }