body { --text: #fff; --bg-main: #121212; --bg-secondary: #202020; --active: #fbc117; --space: 5px; --danger: #f04141; --danger-light: #f9d0d5; --dark-grey: #767676; --light-grey: #c3c3c3; } body.light-theme { --text: #000; --bg-main: #e3e7ea; --bg-secondary: #fff; } body { margin: auto; padding: 0; min-height: 572px; font-family: Sans-Serif; background-color: var(--bg-main); color: var(--text); } div.some-block input[type="checkbox"] { appearance: none; -moz-appearance: none; -webkit-appearance: none; } h2 { clear: both; font-size: 12px; font-weight: normal; margin: 0; } h1, h2 { color: var(--text); } input[type="url"], input[type="text"], select { padding: 5px 10px; width: 400px; margin: auto; border-radius: 3px; box-sizing: border-box; margin-bottom: var(--space); background-color: var(--bg-main); border-style: solid; border-color: #767676; color: var(--text); } select { font-size: 16px; font-weight: bold; padding: 8px; background-color: var(--bg-secondary); border: none; ; margin: 0; width: auto; border-radius: 3px; } input[type="radio"] { appearance: radio; -moz-appearance: radio; -webkit-appearance: radio; } input[type="radio"]:checked+label { background: transparent; } input:checked+label { background: var(--active); } input:checked+label:after { left: calc(100% - var(--space)); transform: translateX(-100%); } .settings-block { display: block; margin: 30px 0; padding: 5px 15px; } a.button * { vertical-align: middle; } a.button:hover { background-color: var(--active); color: var(--text); stroke: var(--text); } a.button:active { background-color: var(--active); box-shadow: 0 var(--space) var(--bg-main); transform: translateY(4px); } input:invalid { color: var(--danger); border-color: var(--danger); background-color: var(--danger-light); } .margin-bottom { margin-bottom: 20px; } div.exceptions { clear: left; } div.exceptions>input { width: 240px; float: left; } #add-to-exceptions { float: right; border: var(--active) solid 1px; background-color: var(--active); color: var(--text); font-weight: bold; cursor: pointer; border-radius: 50%; padding: 1px 1px 0px 1px; margin-right: 5px; } #add-to-exceptions svg { height: 20px; width: 20px; } ul { padding: 0; list-style-type: none; color: var(--text); margin: 20px 20px 0 20px; } li { white-space: nowrap; border-bottom: solid 0.5px var(--bg-secondary); padding: 20px 0px 20px 20px; } #exceptions-items button { float: right; margin-right: -5px; border: var(--active) solid 1px; background-color: var(--active); color: var(--text); font-weight: bold; cursor: pointer; border-radius: 50%; padding: 2px 2px 0px 2px; } .button svg { height: 18px; width: 18px; } .autocomplete { position: relative; display: inline-block; width: 100%; } .autocomplete input { background: url(../../assets/images/chevron-down.svg) right no-repeat; } .autocomplete-items { position: absolute; border: 1px solid var(--bg-main); border-bottom: none; border-top: none; z-index: 99; top: 85%; left: 0; right: 0; overflow-y: auto; max-height: 175px; color: var(--text); overflow-x: hidden; max-width: 380px; } .autocomplete-items div { padding: 10px; cursor: pointer; background-color: var(--bg-secondary); border-bottom: 1px solid var(--bg-main); } .autocomplete-items div:hover { background-color: var(--active); } .autocomplete-active { background-color: var(--active); color: var(--text); } section.option-block { width: 50%; margin: 0 50px; } body.option { display: flex; align-items: flex-start; padding: 40px; } section.links { margin: 00px 0; } section.links a { display: flex; align-items: center; font-size: 30px; text-decoration: none; color: white; margin: 20px 0; font-weight: bold; transition: 0.1s; } section.links a:hover { color: var(--active); } section.links a.selected { color: var(--active); } .option td { vertical-align: middle; } input[type="range"] { width: 50%; } ::placeholder { color: var(--text); opacity: 0.7; } input[type="text"]:focus, input[type="url"]:focus { outline: none; } #volume-value { color: var(--active); } /* \25BE */ hr { height: 2px; margin: 0 15px; background-color: rgb(77, 77, 77); border: none; } .light-theme.popup, .light-theme .popup { background-color: var(--bg-secondary); } body.light-theme { --text: #000; --bg-main: #e3e7ea; --bg-secondary: #fff; } body.light-theme textarea { color: black; border: 1px solid #767676; } body.light-theme textarea:focus { outline: none; } body.light-theme a { color: black; } div.some-block { padding: 0 15px; justify-content: space-between; display: flex; align-items: center; margin-top: 10px; margin-bottom: 10px; } div.option-block { margin: 30px 0; } h4 { margin: 10px 0; font-size: 18px; } div.some-block h4 { margin: 0; /* width: 70%; */ } div.option-block h4 { margin-right: 5px; width: 80%; font-size: 18px; } div.option-block h1 { margin: 0; font-size: 28px; color: var(--active); } div.some-block input[type="checkbox"] { width: 48px; height: 25px; background-color: var(--light-grey); border-radius: 50px; transition: .4s; cursor: pointer; } div.some-block input[type="checkbox"]:checked { background-color: var(--active); } div.some-block input[type="checkbox"]:focus { outline: none; } div.some-block input[type="checkbox"]::before { content: ""; display: inline-block; width: 20px; height: 20px; box-sizing: border-box; position: relative; top: 2.5px; left: 4px; height: 20px; background-color: white; border-radius: 50%; transition: .4s; } div.some-block input[type="checkbox"]:checked::before { left: 24px; } div.buttons { margin-bottom: 15px; } a.button { stroke: var(--text); display: block; border-radius: 5px; border: var(--active) solid 1px; color: var(--text); font-size: 12px; font-weight: bold; margin: 7.5px 15px; padding: 10px; text-align: center; text-decoration: none; cursor: pointer; transition-duration: 0.1s; } div.buttons-inline { display: flex; justify-content: end; padding: 0 15px; } a.button-inline { display: inline-block; margin: 7.5px 0; } a.button:hover { background-color: var(--active); color: var(--text); stroke: var(--text); } a.button:active { background-color: var(--active); box-shadow: 0 var(--space) var(--bg-main); transform: translateY(1px); } textarea { line-height: 21px; background-color: var(--bg-secondary); color: white; border: none; resize: none; width: 100%; } button.default { margin-left: 30px; background-color: transparent; border: none; color: white; padding: 5px; width: 34px; height: 34px; text-align: center; text-decoration: none; display: inline-block; font-size: 16px; margin: 4px 2px; cursor: pointer; } button.default svg { color: var(--text); } @media (prefers-color-scheme: light) { body { --text: #000; --text-secondary: #fff; --bg-main: #e3e7ea; --bg-secondary: #fff; } body.dark-theme { --text: #fff; --text-secondary: #000; --bg-main: #3c4043; --bg-secondary: #292a2d; } .popup { background-color: var(--bg-secondary); } }