diff --git a/src/popup.css b/src/popup.css index 7b162a3..9e5b1db 100644 --- a/src/popup.css +++ b/src/popup.css @@ -132,18 +132,35 @@ label { align-items: center; text-wrap: nowrap; gap: 6px; - margin-top: 20px; + align-content: center; } -.primary-promt input { - font-size: 50px; +#header-name { + margin-bottom: 17.25px; +} + +#header-pov { + margin-top: 8px; + margin-bottom: 21.25px; + transition: .5s; } #other { - display: none; /* Modified by options.js */ - gap: 6px; - margin-top: 12px; + display: grid; + overflow: hidden; + margin-top: 8px; margin-left: 18px; + gap: 6px; + height: 0; + transition: .5s; +} + +#other.show-other { + height: 297px; /* Height of other options */ +} + +#header-pov.show-other { + margin-top: 16px; } #other li { @@ -217,6 +234,7 @@ h1 { ul { list-style: none; padding-left: 0; + margin: 0; } @@ -225,8 +243,7 @@ ul { display: grid; grid-template-columns: 7fr 5fr; gap: 8px; - margin-top: 20px; - margin-bottom: 20px; + margin-top: 34px; } button:not(.delete) { @@ -246,8 +263,6 @@ button:not(.delete) { #button-grid > button { border-radius: .5em; width: 100%; - margin-top: 6px; - margin-bottom: 6px; gap: 8px; text-align: center; } @@ -349,11 +364,11 @@ button:not(.delete):active > svg { } #toggle:hover { -background-color: var(--color-l-red-10); + background-color: var(--color-l-red-10); } #toggle:active { -background-color: var(--color-l-red-20); + background-color: var(--color-l-red-20); } #toggle.is-on { @@ -375,7 +390,7 @@ background-color: var(--color-l-red-20); #configuration { background-color: var(--color-l-gray-10); - padding: 10px; + padding: 16px 10px; border: 1px solid var(--border-color); border-radius: .5em; margin-top: var(--small-text); @@ -389,42 +404,6 @@ label { font-size: 50px; } -#other { - display: none; /* Modified by options.js */ - gap: 6px; - margin-top: 12px; - margin-left: 18px; -} - -#other li { - display: grid; - grid-template-columns: 1fr 2fr; - align-items: center; - gap: 6px; -} - -#other > li > label { - font-size: var(--small-text); - text-align: right; - text-wrap: nowrap; -} - -#other > li > input { - font-size: var(--small-text); -} - -#other > li > select { - font-size: var(--small-text); - width: min-content; -} - -#also > li { - display: flex; - align-items: center; - gap: 6px; - margin-top: 6px; -} - .lhs { text-align: right; } @@ -454,10 +433,11 @@ label { #links { text-align: right; + padding: var(--small-text) 0; } #links > li { - margin-top: 6px; + margin-bottom: 6px; } a { diff --git a/src/popup.html b/src/popup.html index b08678c..11c1512 100644 --- a/src/popup.html +++ b/src/popup.html @@ -22,14 +22,14 @@