diff --git a/src/pages/options/index.html b/src/pages/options/index.html index 7272dc9..d35abde 100644 --- a/src/pages/options/index.html +++ b/src/pages/options/index.html @@ -33,6 +33,8 @@ /* Reset ends */ :root { + border-color: black; + border-radius: 0; /* The initial theme is light but it's quickly inverted to dark. Dark theme should be the first theme user sees by default. @@ -81,6 +83,7 @@ vertical-align: text-bottom; } input[type="url"] { + border: 1px solid black; /*border-width: 0 0 1px 0; border-color: crimson;*/ flex-grow: 1; @@ -90,29 +93,19 @@ input[type="radio"], label { cursor: pointer; } - #disabled:checked + label { + #disabledRadio:checked + label { color: red; } - - div.nowrap { - /* Don't break sentences on spaces. */ - white-space: nowrap; - } - /* - #own:checked + label:after { - content: ":"; - } - */ - #own ~ div { + #ownInputs { display: flex; } /* - input#own ~ div:has(> input#customPacUrl):after { + input#ownRadio ~ div:has(> input#customPacUrl):after { border: 5px solid lime; background-color: navy; content: ""; } - input#own ~ div:after:not(:empty) { + input#ownRadio ~ div:after:not(:empty) { border: 5px solid pink; } */ @@ -154,6 +147,32 @@ #customPacUrl:disabled { /*background-color: grey;*/ } + #ownInputs button { + font-family: emoji, monospace; + width: 2em; + width: 2ch; + border-width: 1px 1px 1px 0px; + } + #ownInputs > input { + border-radius: 0; + } + #ownInputs > div { + display: flex; + } + #customPacUrl:disabled ~ .editPanel { + display: none; + } + #customPacUrl:not(:disabled) ~ .unlockPanel { + display: none; + } + #boxes { + padding: 1em 0; + padding: 1ch 0; + } + #boxes > div { + /* Don't break sentences on spaces. */ + white-space: nowrap; + }
@@ -163,35 +182,50 @@