diff --git a/index.css b/index.css index 373bf63c..ea78f087 100644 --- a/index.css +++ b/index.css @@ -19,6 +19,11 @@ font { pointer-events: none; } +form input:invalid { + outline: 1px solid #ed4337; + outline-offset: 1px; +} + input, select, button { @@ -53,6 +58,7 @@ input:read-only { input[type="radio"] { vertical-align: bottom; cursor: pointer; + accent-color: var(--header); } textarea { @@ -1506,12 +1512,6 @@ div.states > select { appearance: none; } -div.states > .burgName, -div.states > .burgState, -div.states > .burgCulture { - width: 6em; -} - div.states span.inactive { color: #c6c2c2; } @@ -1893,10 +1893,11 @@ div.editorLine { } #militaryOptionsTable input[type="number"] { - width: 4em; + width: 5em; } -#militaryOptionsTable button { +#militaryOptionsTable button, +#burgGroupsBody button { width: 100%; } @@ -1929,7 +1930,12 @@ ul.share-buttons img { width: 2em; } -input[type="checkbox"] { +input[type="checkbox"].native { + accent-color: var(--header); + cursor: pointer; +} + +input[type="checkbox"]:not(.native) { display: none; } diff --git a/index.html b/index.html index 0c8a1e58..d2d184b4 100644 --- a/index.html +++ b/index.html @@ -646,14 +646,6 @@ > Emblems -