[UI] Responsiveness overall polish

This commit is contained in:
rainydaysavings 2020-08-31 21:03:16 +01:00 committed by Hugo Sales
parent baac5ef19c
commit 0b3543aaff
Signed by untrusted user: someonewithpc
GPG Key ID: 7D0C7EAFC9D835A0
5 changed files with 155 additions and 143 deletions

View File

@ -212,7 +212,7 @@ input.larger {
} }
/* styling radio buttons and checkboxes */ /* styling radio buttons and checkboxes */
input[type="checkbox"] + label::before { .content input[type="checkbox"] + label::before {
content: ''; content: '';
position: relative; position: relative;
display: inline-block; display: inline-block;
@ -222,19 +222,19 @@ input[type="checkbox"] + label::before {
background: var(--fg); background: var(--fg);
border-radius: 10% border-radius: 10%
} }
input[type="checkbox"]:checked + label::before { .content input[type="checkbox"]:checked + label::before {
background: var(--accent); background: var(--accent);
border-radius: 10%; border-radius: 10%;
background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyAgIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgICB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIiAgIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyIgICB4bWxuczpzdmc9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgICB4bWxuczpzb2RpcG9kaT0iaHR0cDovL3NvZGlwb2RpLnNvdXJjZWZvcmdlLm5ldC9EVEQvc29kaXBvZGktMC5kdGQiICAgeG1sbnM6aW5rc2NhcGU9Imh0dHA6Ly93d3cuaW5rc2NhcGUub3JnL25hbWVzcGFjZXMvaW5rc2NhcGUiICAgdmVyc2lvbj0iMS4xIiAgIHdpZHRoPSIzMiIgICBoZWlnaHQ9IjMyIiA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IGlua3NjYXBlOmN5PSIxNiIgICAgIGlua3NjYXBlOndpbmRvdy14PSIwIiAgICAgaW5rc2NhcGU6d2luZG93LXk9IjMwIiAgICAgaW5rc2NhcGU6d2luZG93LW1heGltaXplZD0iMSIgICAgIGlua3NjYXBlOmN1cnJlbnQtbGF5ZXI9InN2ZzYiIC8+ICA8dGl0bGUgICAgIGlkPSJ0aXRsZTIiPmNoZWNrbWFyazwvdGl0bGU+ICA8cGF0aCAgICAgZD0iTTI3IDRsLTE1IDE1LTctNy01IDUgMTIgMTIgMjAtMjB6IiAgICAgaWQ9InBhdGg0IiAgICAgc3R5bGU9ImZpbGw6IzJlMzQ0MDtmaWxsLW9wYWNpdHk6MSIgLz48L3N2Zz4=); background-position: center;
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 80%; background-size: 80%;
} }
input[type="checkbox"]:focus + label::before, .content input[type="checkbox"]:focus + label::before,
input[type="checkbox"]:hover + label::before{ .content input[type="checkbox"]:hover + label::before{
border-radius: 10%; border-radius: 10%;
box-shadow: 0 0px 8px var(--accent); box-shadow: 0 0px 8px var(--accent);
} }
input[type="checkbox"] { .content input[type="checkbox"] {
position: absolute; position: absolute;
height: 1px; height: 1px;
width: 1px; width: 1px;
@ -244,7 +244,7 @@ input[type="checkbox"] {
} }
input[type="radio"] + label::before { .content input[type="radio"] + label::before {
content: ''; content: '';
position: relative; position: relative;
display: inline-block; display: inline-block;
@ -254,16 +254,16 @@ input[type="radio"] + label::before {
background: var(--fg); background: var(--fg);
border-radius: 50% border-radius: 50%
} }
input[type="radio"]:checked + label::before { .content input[type="radio"]:checked + label::before {
background: var(--accent); background: var(--accent);
border-radius: 50% border-radius: 50%
} }
input[type="radio"]:focus + label::before, .content input[type="radio"]:focus + label::before,
input[type="radio"]:hover + label::before{ .content input[type="radio"]:hover + label::before{
border-radius: 50%; border-radius: 50%;
box-shadow: 0 0px 8px var(--accent); box-shadow: 0 0px 8px var(--accent);
} }
input[type="radio"] { .content input[type="radio"] {
position: absolute; position: absolute;
height: 1px; height: 1px;
width: 1px; width: 1px;
@ -271,7 +271,7 @@ input[type="radio"] {
clip: rect(1px 1px 1px 1px); /* IE6, IE7 */ clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
clip: rect(1px, 1px, 1px, 1px); clip: rect(1px, 1px, 1px, 1px);
} }
button[type=submit] { .content button[type=submit] {
background: var(--bg1); background: var(--bg1);
padding: 0.3em 1em; padding: 0.3em 1em;
color: var(--fg); color: var(--fg);
@ -283,8 +283,8 @@ button[type=submit] {
font-size: var(--small-size); font-size: var(--small-size);
font-weight: 700; font-weight: 700;
} }
button[type=submit]:focus, .content button[type=submit]:focus,
button[type=submit]:hover { .content [type=submit]:hover {
border-radius: var(--small-size); border-radius: var(--small-size);
box-shadow: 0 0px 8px var(--accent); box-shadow: 0 0px 8px var(--accent);
} }

View File

@ -14,13 +14,13 @@
/* colours and shadows */ /* colours and shadows */
--fg: #eceff4; --fg: #eceff4;
--accent: #81a1c1; --accent: #81a1c1;
--accent-low: #81a1c140; --accent-low: #81a1c160;
--bg1: #2e3440; --bg1: #2e3440;
--bg2: #3b4252; --bg2: #3b4252;
--bg3: #434c5e; --bg3: #434c5e;
--bg4: #4c566a; --bg4: #4c566a;
--bg5: #d8dee9; --bg5: #d8dee9;
--shadow: 0px 0px 40px 0px rgba(46,52,64,0.95); --shadow: 0px 0px 20px 0px rgba(46,52,64,0.95);
} }
/* DEFAULTS */ /* DEFAULTS */
@ -81,14 +81,9 @@ b {
top: 0; top: 0;
left: 0; left: 0;
right: 0; right: 0;
background-color: var(--bg1); background-color: var(--accent);
box-shadow: var(--shadow);
padding: var(--main-size); padding: var(--main-size);
height: var(--main-size); height: var(--main-size);
border: solid 1px var(--accent-low);
margin-left: -1px;
margin-right: 1px;
margin-top: -1px;
} }
#top { #top {
@ -110,8 +105,9 @@ b {
} }
.icon-menu label { .icon-menu label {
width: var(--unit-size); width: var(--unit-size);
height: 2px; height: 3px;
background: var(--fg); border-radius: 3px;
background: var(--bg1);
transition: all .5s ease-in-out; transition: all .5s ease-in-out;
} }
.icon-menu label::before, .icon-menu label::before,
@ -119,8 +115,9 @@ b {
content: ''; content: '';
position: absolute; position: absolute;
width: var(--unit-size); width: var(--unit-size);
height: 2px; height: 3px;
background: var(--fg); border-radius: 3px;
background: var(--bg1);
transition: all .5s ease-in-out; transition: all .5s ease-in-out;
} }
.icon-menu label::before { .icon-menu label::before {
@ -148,6 +145,7 @@ b {
padding: 0; padding: 0;
vertical-align: middle; vertical-align: middle;
margin-left: calc(0.2 * var(--unit-size)); margin-left: calc(0.2 * var(--unit-size));
color: var(--bg1);
} }
.icon-logo { .icon-logo {
@ -158,7 +156,7 @@ b {
height: var(--unit-size); height: var(--unit-size);
stroke-width: 0; stroke-width: 0;
stroke: currentColor; stroke: currentColor;
fill: currentColor; fill: var(--bg1);
vertical-align: middle; vertical-align: middle;
} }
@ -182,7 +180,7 @@ b {
} }
.arrow { .arrow {
border: solid var(--fg); border: solid var(--bg1);
border-width: 0 3px 3px 0; border-width: 0 3px 3px 0;
display: inline-block; display: inline-block;
padding: 0.3em; padding: 0.3em;
@ -242,7 +240,7 @@ input.larger {
} }
/* styling radio buttons and checkboxes */ /* styling radio buttons and checkboxes */
input[type="checkbox"] + label::before { .content input[type="checkbox"] + label::before {
content: ''; content: '';
position: relative; position: relative;
display: inline-block; display: inline-block;
@ -252,19 +250,19 @@ input[type="checkbox"] + label::before {
background: var(--fg); background: var(--fg);
border-radius: 10% border-radius: 10%
} }
input[type="checkbox"]:checked + label::before { .content input[type="checkbox"]:checked + label::before {
background: var(--accent); background: var(--accent);
border-radius: 10%; border-radius: 10%;
background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyAgIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgICB4bWxuczpjYz0iaHR0cDovL2N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jZmZmZmZmIiAgICAgYm9yZGVyY29sb3I9IiM2NjY2NjYiICAgICBib3JkZXJvcGFjaXR5PSIxIiAgICAgb2JqZWN0dG9sZXJhbmNlPSIxMCIgICAgIGdyaWR0b2xlcmFuY2U9IjEwIiAgICAgZ3VpZGV0b2xlcmFuY2U9IjEwIiAgICAgaW5rc2NhcGU6cGFnZW9wYWNpdHk9IjAiICAgICBpbmtzY2FwZTpwYWdlc2hhZG93PSIyIiAgICAgaW5rc2NhcGU6d2luZG93LXdpZHRoPSIyNTYwIiAgICAgaW5rc2NhcGU6d2luZG93LWhlaWdodD0iMTM4MiIgICAgIGlkPSJuYW1lZHZpZXc4IiAgICAgc2hvd2dyaWQ9ImZhbHNlIiAgICAgaW5rc2NhcGU6em9vbT0iMjkuODc1IiAgICAgaW5rc2NhcGU6Y3g9IjE2LjA2Njk0NiIgICAgIGlua3NjYXBlOmN5PSIxNiIgICAgIGlua3NjYXBlOndpbmRvdy14PSIwIiAgICAgaW5rc2NhcGU6d2luZG93LXk9IjMwIiAgICAgaW5rc2NhcGU6d2luZG93LW1heGltaXplZD0iMSIgICAgIGlua3NjYXBlOmN1cnJlbnQtbGF5ZXI9InN2ZzYiIC8+ICA8dGl0bGUgICAgIGlkPSJ0aXRsZTIiPmNoZWNrbWFyazwvdGl0bGU+ICA8cGF0aCAgICAgZD0iTTI3IDRsLTE1IDE1LTctNy01IDUgMTIgMTIgMjAtMjB6IiAgICAgaWQ9InBhdGg0IiAgICAgc3R5bGU9ImZpbGw6IzJlMzQ0MDtmaWxsLW9wYWNpdHk6MSIgLz48L3N2Zz4=); background-position: center; background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyAgIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgICB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9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Ym9yZGVyY29sb3I9IiM2NjY2NjYiICAgICBib3JkZXJvcGFjaXR5PSIxIiAgICAgb2JqZWN0dG9sZXJhbmNlPSIxMCIgICAgIGdyaWR0b2xlcmFuY2U9IjEwIiAgICAgZ3VpZGV0b2xlcmFuY2U9IjEwIiAgICAgaW5rc2NhcGU6cGFnZW9wYWNpdHk9IjAiICAgICBpbmtzY2FwZTpwYWdlc2hhZG93PSIyIiAgICAgaW5rc2NhcGU6d2luZG93LXdpZHRoPSIyNTYwIiAgICAgaW5rc2NhcGU6d2luZG93LWhlaWdodD0iMTM4MiIgICAgIGlkPSJuYW1lZHZpZXc4IiAgICAgc2hvd2dyaWQ9ImZhbHNlIiAgICAgaW5rc2NhcGU6em9vbT0iMjkuODc1IiAgICAgaW5rc2NhcGU6Y3g9IjE2LjA2Njk0NiIgICAgIGlua3NjYXBlOmN5PSIxNiIgICAgIGlua3NjYXBlOndpbmRvdy14PSIwIiAgICAgaW5rc2NhcGU6d2luZG93LXk9IjMwIiAgICAgaW5rc2NhcGU6d2luZG93LW1heGltaXplZD0iMSIgICAgIGlua3NjYXBlOmN1cnJlbnQtbGF5ZXI9InN2ZzYiIC8+ICA8dGl0bGUgICAgIGlkPSJ0aXRsZTIiPmNoZWNrbWFyazwvdGl0bGU+ICA8cGF0aCAgICAgZD0iTTI3IDRsLTE1IDE1LTctNy01IDUgMTIgMTIgMjAtMjB6IiAgICAgaWQ9InBhdGg0IiAgICAgc3R5bGU9ImZpbGw6IzJlMzQ0MDtmaWxsLW9wYWNpdHk6MSIgLz48L3N2Zz4=); background-position: center;
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 80%; background-size: 80%;
} }
input[type="checkbox"]:focus + label::before, .content input[type="checkbox"]:focus + label::before,
input[type="checkbox"]:hover + label::before{ .content input[type="checkbox"]:hover + label::before{
border-radius: 10%; border-radius: 10%;
box-shadow: 0 0px 8px var(--accent); box-shadow: 0 0px 8px var(--accent);
} }
input[type="checkbox"] { .content input[type="checkbox"] {
position: absolute; position: absolute;
height: 1px; height: 1px;
width: 1px; width: 1px;
@ -274,7 +272,7 @@ input[type="checkbox"] {
} }
input[type="radio"] + label::before { .content input[type="radio"] + label::before {
content: ''; content: '';
position: relative; position: relative;
display: inline-block; display: inline-block;
@ -284,16 +282,16 @@ input[type="radio"] + label::before {
background: var(--fg); background: var(--fg);
border-radius: 50% border-radius: 50%
} }
input[type="radio"]:checked + label::before { .content input[type="radio"]:checked + label::before {
background: var(--accent); background: var(--accent);
border-radius: 50% border-radius: 50%
} }
input[type="radio"]:focus + label::before, .content input[type="radio"]:focus + label::before,
input[type="radio"]:hover + label::before{ .content input[type="radio"]:hover + label::before{
border-radius: 50%; border-radius: 50%;
box-shadow: 0 0px 8px var(--accent); box-shadow: 0 0px 8px var(--accent);
} }
input[type="radio"] { .content input[type="radio"] {
position: absolute; position: absolute;
height: 1px; height: 1px;
width: 1px; width: 1px;
@ -301,7 +299,7 @@ input[type="radio"] {
clip: rect(1px 1px 1px 1px); /* IE6, IE7 */ clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
clip: rect(1px, 1px, 1px, 1px); clip: rect(1px, 1px, 1px, 1px);
} }
button[type=submit] { .content button[type=submit] {
background: var(--bg1); background: var(--bg1);
padding: 0.3em 1em; padding: 0.3em 1em;
color: var(--fg); color: var(--fg);
@ -313,8 +311,8 @@ button[type=submit] {
font-size: var(--small-size); font-size: var(--small-size);
font-weight: 700; font-weight: 700;
} }
button[type=submit]:focus, .content button[type=submit]:focus,
button[type=submit]:hover { .content [type=submit]:hover {
border-radius: var(--small-size); border-radius: var(--small-size);
box-shadow: 0 0px 8px var(--accent); box-shadow: 0 0px 8px var(--accent);
} }

View File

@ -35,11 +35,6 @@ html {
padding: 0; padding: 0;
} }
hr {
margin: 0;
color: var(--accent);
}
ul { ul {
text-decoration: none; text-decoration: none;
margin: 0; margin: 0;
@ -85,8 +80,7 @@ b {
top: 0; top: 0;
left: 0; left: 0;
right: 0; right: 0;
background-color: var(--bg1); background-color: var(--accent);
box-shadow: var(--shadow);
padding: var(--main-size); padding: var(--main-size);
height: var(--main-size); height: var(--main-size);
} }
@ -110,8 +104,9 @@ b {
} }
.icon-menu label { .icon-menu label {
width: var(--unit-size); width: var(--unit-size);
height: 2px; height: 3px;
background: var(--fg); border-radius: 3px;
background: var(--bg1);
transition: all .5s ease-in-out; transition: all .5s ease-in-out;
} }
.icon-menu label::before, .icon-menu label::before,
@ -119,8 +114,9 @@ b {
content: ''; content: '';
position: absolute; position: absolute;
width: var(--unit-size); width: var(--unit-size);
height: 2px; height: 3px;
background: var(--fg); border-radius: 3px;
background: var(--bg1);
transition: all .5s ease-in-out; transition: all .5s ease-in-out;
} }
.icon-menu label::before { .icon-menu label::before {
@ -148,6 +144,7 @@ b {
padding: 0; padding: 0;
vertical-align: middle; vertical-align: middle;
margin-left: calc(0.2 * var(--unit-size)); margin-left: calc(0.2 * var(--unit-size));
color: var(--bg1);
} }
.icon-logo { .icon-logo {
@ -158,7 +155,7 @@ b {
height: var(--unit-size); height: var(--unit-size);
stroke-width: 0; stroke-width: 0;
stroke: currentColor; stroke: currentColor;
fill: currentColor; fill: var(--bg1);
vertical-align: middle; vertical-align: middle;
} }
@ -182,7 +179,7 @@ b {
} }
.arrow { .arrow {
border: solid var(--fg); border: solid var(--bg1);
border-width: 0 3px 3px 0; border-width: 0 3px 3px 0;
display: inline-block; display: inline-block;
padding: 0.3em; padding: 0.3em;
@ -200,6 +197,7 @@ b {
position: fixed; position: fixed;
background-color: var(--bg1); background-color: var(--bg1);
margin-top: calc(3 * var(--main-size)); margin-top: calc(3 * var(--main-size));
border: solid 1px var(--accent-low);
} }
input.larger { input.larger {
@ -241,7 +239,7 @@ input.larger {
} }
/* styling radio buttons and checkboxes */ /* styling radio buttons and checkboxes */
input[type="checkbox"] + label::before { .content input[type="checkbox"] + label::before {
content: ''; content: '';
position: relative; position: relative;
display: inline-block; display: inline-block;
@ -251,19 +249,19 @@ input[type="checkbox"] + label::before {
background: var(--fg); background: var(--fg);
border-radius: 10% border-radius: 10%
} }
input[type="checkbox"]:checked + label::before { .content input[type="checkbox"]:checked + label::before {
background: var(--accent); background: var(--accent);
border-radius: 10%; border-radius: 10%;
background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyAgIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgICB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIiAgIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyIgICB4bWxuczpzdmc9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgICB4bWxuczpzb2RpcG9kaT0iaHR0cDovL3NvZGlwb2RpLnNvdXJjZWZvcmdlLm5ldC9EVEQvc29kaXBvZGktMC5kdGQiICAgeG1sbnM6aW5rc2NhcGU9Imh0dHA6Ly93d3cuaW5rc2NhcGUub3JnL25hbWVzcGFjZXMvaW5rc2NhcGUiICAgdmVyc2lvbj0iMS4xIiAgIHdpZHRoPSIzMiIgICBoZWlnaHQ9IjMyIiAgIHZpZXdCb3g9IjAgMCAzMiAzMiIgICBpZD0ic3ZnNiIgICBzb2RpcG9kaTpkb2NuYW1lPSJjaGVja21hcmsuc3ZnIiAgIGlua3NjYXBlOnZlcnNpb249IjEuMCAoNDAzNWE0ZmI0OSwgMjAyMC0wNS0wMSkiPiAgPG1ldGFkYXRhICAgICBpZD0ibWV0YWRhdGExMiI+ICAgIDxyZGY6UkRGPiAgICAgIDxjYzpXb3JrICAgICAgICAgcmRmOmFib3V0PSIiPiAgICAgICAgPGRjOmZvcm1hdD5pbWFnZS9zdmcreG1sPC9kYzpmb3JtYXQ+IC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Agc3R5bGU9ImZpbGw6IzJlMzQ0MDtmaWxsLW9wYWNpdHk6MSIgLz48L3N2Zz4=); background-position: center;
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 80%; background-size: 80%;
} }
input[type="checkbox"]:focus + label::before, .content input[type="checkbox"]:focus + label::before,
input[type="checkbox"]:hover + label::before{ .content input[type="checkbox"]:hover + label::before{
border-radius: 10%; border-radius: 10%;
box-shadow: 0 0px 8px var(--accent); box-shadow: 0 0px 8px var(--accent);
} }
input[type="checkbox"] { .content input[type="checkbox"] {
position: absolute; position: absolute;
height: 1px; height: 1px;
width: 1px; width: 1px;
@ -273,7 +271,7 @@ input[type="checkbox"] {
} }
input[type="radio"] + label::before { .content input[type="radio"] + label::before {
content: ''; content: '';
position: relative; position: relative;
display: inline-block; display: inline-block;
@ -283,16 +281,16 @@ input[type="radio"] + label::before {
background: var(--fg); background: var(--fg);
border-radius: 50% border-radius: 50%
} }
input[type="radio"]:checked + label::before { .content input[type="radio"]:checked + label::before {
background: var(--accent); background: var(--accent);
border-radius: 50% border-radius: 50%
} }
input[type="radio"]:focus + label::before, .content input[type="radio"]:focus + label::before,
input[type="radio"]:hover + label::before{ .content input[type="radio"]:hover + label::before{
border-radius: 50%; border-radius: 50%;
box-shadow: 0 0px 8px var(--accent); box-shadow: 0 0px 8px var(--accent);
} }
input[type="radio"] { .content input[type="radio"] {
position: absolute; position: absolute;
height: 1px; height: 1px;
width: 1px; width: 1px;
@ -300,7 +298,7 @@ input[type="radio"] {
clip: rect(1px 1px 1px 1px); /* IE6, IE7 */ clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
clip: rect(1px, 1px, 1px, 1px); clip: rect(1px, 1px, 1px, 1px);
} }
button[type=submit] { .content button[type=submit] {
background: var(--bg1); background: var(--bg1);
padding: 0.3em 1em; padding: 0.3em 1em;
color: var(--fg); color: var(--fg);
@ -312,8 +310,8 @@ button[type=submit] {
font-size: var(--small-size); font-size: var(--small-size);
font-weight: 700; font-weight: 700;
} }
button[type=submit]:focus, .content button[type=submit]:focus,
button[type=submit]:hover { .content [type=submit]:hover {
border-radius: var(--small-size); border-radius: var(--small-size);
box-shadow: 0 0px 8px var(--accent); box-shadow: 0 0px 8px var(--accent);
} }

View File

@ -4,16 +4,16 @@
margin-top: calc(4 * var(--main-size)); margin-top: calc(4 * var(--main-size));
justify-content: center; justify-content: center;
align-items: center; align-items: center;
margin-left: 1%; margin-left: 4%;
margin-right: 1%; margin-right: 4%;
margin-bottom: var(--unit-size); margin-bottom: 4%;
} }
.content .main { .content .main {
width: 100%; width: 100%;
margin-left: 1%; margin-left: 4%;
margin-right: 1%; margin-right: 4%;
margin-top: var(--unit-size); margin-top: var(--unit-size);
border-radius: var(--small-size); border-radius: var(--unit-size);
background-color: var(--bg3); background-color: var(--bg3);
border: solid 2px var(--accent-low); border: solid 2px var(--accent-low);
} }
@ -27,17 +27,19 @@
background-color: var(--bg1); background-color: var(--bg1);
padding: var(--medium-size); padding: var(--medium-size);
font-family: var(--head-font); font-family: var(--head-font);
border-radius: var(--small-size) var(--small-size) 0 0; border-radius: var(--unit-size) var(--unit-size) 0 0;
border-bottom: solid 2px var(--accent-low);
} }
.main-nav ul { .main-nav ul {
display: flex; display: flex;
align-items: stretch; align-items: stretch;
justify-content: space-evenly; justify-content: space-evenly;
text-align: center;
width: 100%; width: 100%;
font-size: var(--medium-size); font-size: var(--medium-size);
margin-left: 1%; margin-left: calc(2 * var(--side-margin));
margin-right: 1%; margin-right: calc(2 * var(--side-margin));
padding: 0; padding: 0;
} }
.main-nav li { .main-nav li {
@ -45,6 +47,7 @@
flex: 0 1 auto; flex: 0 1 auto;
list-style-type: none; list-style-type: none;
font-weight: 700; font-weight: 700;
width: 10%;
} }
.notes-wrap .main-nav ul { .notes-wrap .main-nav ul {
font-size: var(--unit-size); font-size: var(--unit-size);
@ -64,7 +67,7 @@
transition: all 0.8s ease; transition: all 0.8s ease;
} }
/* notes */ /* notices */
.notes { .notes {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
@ -74,7 +77,7 @@
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
font-size: var(--medium-size); font-size: var(--medium-size);
border-radius: var(--small-size); border-radius: var(--unit-size);
background-color: var(--bg3); background-color: var(--bg3);
box-shadow: var(--shadow); box-shadow: var(--shadow);
margin: var(--unit-size); margin: var(--unit-size);
@ -86,7 +89,7 @@
} }
.notes-wrap .timeline .notes > div { .notes-wrap .timeline .notes > div {
margin: var(--unit-size) var(--unit-size) 0 var(--unit-size); margin: var(--unit-size) var(--unit-size) 0 var(--unit-size);
border-radius: var(--small-size); border-radius: var(--unit-size);
width: 100%; width: 100%;
} }
.notes-wrap .timeline .notes > div:last-child { .notes-wrap .timeline .notes > div:last-child {
@ -101,14 +104,16 @@
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
border: solid 2px var(--accent-low); border: solid 2px var(--accent-low);
border-radius: var(--small-size); border-radius: var(--unit-size);
box-shadow: var(--shadow);
margin-bottom: var(--unit-size);
} }
.note-info { .note-info {
order: 1; order: 1;
background-color: var(--bg1); background-color: var(--bg1);
box-sizing: border-box; box-sizing: border-box;
padding: 5px 10px 5px 10px; padding: 5px 10px 5px 10px;
border-radius: var(--small-size) 0 0 0; border-radius: var(--unit-size) 0 0 0;
display: flex; display: flex;
align-items: center; align-items: center;
flex-grow: 1; flex-grow: 1;
@ -129,7 +134,7 @@
order: 3; order: 3;
word-break: break-word; word-break: break-word;
padding: var(--small-size); padding: var(--small-size);
border-radius: 0 0 var(--small-size) var(--small-size); border-radius: 0 0 var(--unit-size) var(--unit-size);
width: 100%; width: 100%;
} }
@ -137,7 +142,7 @@
order: 2; order: 2;
width: 50%; width: 50%;
justify-content: right; justify-content: right;
border-radius: 0 var(--small-size) 0 0; border-radius: 0 var(--unit-size) 0 0;
background-color: var(--bg1); background-color: var(--bg1);
box-sizing: border-box; box-sizing: border-box;
padding: 5px 10px 5px 10px; padding: 5px 10px 5px 10px;
@ -148,6 +153,7 @@
} }
.note-actions a { .note-actions a {
height: var(--main-size); height: var(--main-size);
margin-left: auto;
} }
.note-actions a svg { .note-actions a svg {
width: var(--main-size); width: var(--main-size);
@ -159,28 +165,30 @@
order: 4; order: 4;
width: 100%; width: 100%;
box-sizing: content-box; box-sizing: content-box;
padding: var(--unit-size); padding: var(--unit-size) var(--unit-size) 0 var(--unit-size);
} }
/* POSTING */ /* POSTING */
.content > form { .content > form {
display: flex; display: flex;
flex: max-content; flex: max-content;
width: -webkit-fill-available;
} }
.create-notice { .create-notice {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
flex: max-content; flex: max-content;
width: -webkit-fill-available;
margin-left: 4%; margin-left: 4%;
margin-right: 4%; margin-right: 4%;
border-radius: var(--small-size); border-radius: var(--unit-size);
border: solid 2px var(--accent-low); border: solid 2px var(--accent-low);
background-color: var(--bg3); background-color: var(--bg3);
} }
.create-right { .create-right {
order: 2; order: 2;
width: 90%; width: 90%;
border-radius: 0 var(--small-size) var(--small-size) 0; border-radius: 0 var(--unit-size) var(--unit-size) 0;
background-color: var(--bg3); background-color: var(--bg3);
} }
@ -189,15 +197,16 @@
order: 1; order: 1;
width: 10%; width: 10%;
background-color: var(--bg1); background-color: var(--bg1);
border-radius: var(--small-size) 0 0 var(--small-size); border-radius: var(--unit-size) 0 0 var(--unit-size);
font-size: var(--medium-size);
} }
.target-top { .target-top {
padding: var(--unit-size); padding: var(--unit-size) var(--unit-size) 0 var(--unit-size);
font-size: var(--medium-size);
} }
.target-bot { .target-bot {
padding-left: var(--unit-size); padding-left: var(--unit-size);
padding-bottom: var(--unit-size); padding-bottom: var(--unit-size);
font-size: var(--medium-size);
} }
.target .required { .target .required {
font-weight: 800; font-weight: 800;
@ -218,14 +227,14 @@
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
color: var(--fg); color: var(--fg);
font-size: var(--medium-size);
background-color: var(--bg1); background-color: var(--bg1);
border-radius: 0 var(--small-size) 0 0; border-radius: 0 var(--unit-size) 0 0;
} }
.scope div { .scope > div {
display: inline; display: inline;
vertical-align: middle; vertical-align: middle;
flex: 1; flex: 1;
font-size: var(--medium-size);
color: var(--fg); color: var(--fg);
padding: var(--unit-size); padding: var(--unit-size);
} }
@ -260,7 +269,7 @@
flex-shrink: 0; flex-shrink: 0;
} }
#form_content { #form_content {
background-color: var(--bg2); background-color: var(--bg3);
padding: var(--unit-size); padding: var(--unit-size);
color: var(--fg); color: var(--fg);
font-size: var(--medium-size); font-size: var(--medium-size);
@ -278,8 +287,8 @@
width: 100%; width: 100%;
box-sizing: border-box; box-sizing: border-box;
padding: 1%; padding: 1%;
background-color: var(--bg2); background-color: var(--bg3);
border-radius: 0 0 var(--small-size) 0; border-radius: 0 0 var(--unit-size) 0;
} }
.send { .send {
order: 2; order: 2;
@ -303,22 +312,21 @@
} }
#form_attachments:focus + label, #form_attachments:focus + label,
#form_attachments + label:hover { #form_attachments + label:hover {
border-radius: var(--small-size); border-radius: var(--unit-size);
box-shadow: 0 0px 8px var(--accent); box-shadow: 0 0px 8px var(--accent);
} }
.icon-attach { .icon-attach {
opacity: 1 !important;
cursor: pointer;
fill: var(--fg);
width: var(--main-size); width: var(--main-size);
height: var(--main-size); height: var(--main-size);
z-index: 0; font-size: var(--medium-size);
fill: var(--fg);
background-color: var(--bg1); background-color: var(--bg1);
padding: 0.3em 1em; padding: 0.3em 1em;
border-style: solid; border-style: solid;
border-color: var(--accent); border-color: var(--accent);
border-radius: var(--small-size); border-radius: var(--unit-size);
border-width: 2px; border-width: 2px;
font-size: var(--medium-size);
margin-bottom: -0.5em; margin-bottom: -0.5em;
cursor: pointer;
z-index: 0;
} }

View File

@ -4,16 +4,16 @@
margin-top: calc(4 * var(--main-size)); margin-top: calc(4 * var(--main-size));
justify-content: center; justify-content: center;
align-items: center; align-items: center;
margin-left: 0; margin-left: 1%;
margin-right: 0; margin-right: 1%;
margin-bottom: var(--unit-size); margin-bottom: 1%;
} }
.content .main { .content .main {
width: 100%; width: 100%;
margin-left: 1%; margin-left: 0;
margin-right: 1%; margin-right: 0;
margin-top: var(--unit-size); margin-top: var(--unit-size);
border-radius: var(--small-size); border-radius: var(--unit-size);
background-color: var(--bg3); background-color: var(--bg3);
border: solid 2px var(--accent-low); border: solid 2px var(--accent-low);
} }
@ -27,24 +27,27 @@
background-color: var(--bg1); background-color: var(--bg1);
padding: var(--medium-size); padding: var(--medium-size);
font-family: var(--head-font); font-family: var(--head-font);
border-radius: var(--small-size) var(--small-size) 0 0; border-radius: var(--unit-size) var(--unit-size) 0 0;
border-bottom: solid 2px var(--accent-low);
} }
.main-nav ul { .main-nav ul {
display: flex; display: flex;
align-items: stretch; align-items: stretch;
justify-content: space-evenly; justify-content: space-evenly;
text-align: center;
width: 100%; width: 100%;
font-size: var(--medium-size); font-size: var(--medium-size);
margin-left: 1%; margin-left: calc(2 * var(--side-margin));
margin-right: 1%; margin-right: calc(2 * var(--side-margin));
padding: 0; padding: 0;
} }
.main-nav li { .main-nav li {
display: block; display: block;
flex: 0 1 auto; flex: 1;
list-style-type: none; list-style-type: none;
font-weight: 700; font-weight: 700;
width: auto;
} }
.notes-wrap .main-nav ul { .notes-wrap .main-nav ul {
font-size: var(--unit-size); font-size: var(--unit-size);
@ -64,7 +67,7 @@
transition: all 0.8s ease; transition: all 0.8s ease;
} }
/* notes */ /* notices */
.notes { .notes {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
@ -74,10 +77,10 @@
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
font-size: var(--medium-size); font-size: var(--medium-size);
border-radius: var(--small-size); border-radius: var(--unit-size);
background-color: var(--bg3); background-color: var(--bg3);
box-shadow: var(--shadow); box-shadow: var(--shadow);
margin: 2%; margin: 1%;
border: solid 2px var(--accent-low); border: solid 2px var(--accent-low);
} }
.notes-wrap .timeline { .notes-wrap .timeline {
@ -86,11 +89,11 @@
} }
.notes-wrap .timeline .notes > div { .notes-wrap .timeline .notes > div {
margin: 2% 2% 0 2%; margin: 2% 2% 0 2%;
border-radius: var(--small-size); border-radius: var(--unit-size);
width: 100%; width: 100%;
} }
.notes-wrap .timeline .notes > div:last-child { .notes-wrap .timeline .notes > div:last-child {
margin: 2%; margin: 2%;
} }
.notes-wrap .main-nav { .notes-wrap .main-nav {
width: 100%; width: 100%;
@ -101,14 +104,16 @@
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
border: solid 2px var(--accent-low); border: solid 2px var(--accent-low);
border-radius: var(--small-size); border-radius: var(--unit-size);
box-shadow: var(--shadow);
margin-bottom: 2%;
} }
.note-info { .note-info {
order: 1; order: 1;
background-color: var(--bg1); background-color: var(--bg1);
box-sizing: border-box; box-sizing: border-box;
padding: 5px 10px 5px 10px; padding: 5px 10px 5px 10px;
border-radius: var(--small-size) 0 0 0; border-radius: var(--unit-size) 0 0 0;
display: flex; display: flex;
align-items: center; align-items: center;
flex-grow: 1; flex-grow: 1;
@ -129,7 +134,7 @@
order: 3; order: 3;
word-break: break-word; word-break: break-word;
padding: var(--small-size); padding: var(--small-size);
border-radius: 0 0 var(--small-size) var(--small-size); border-radius: 0 0 var(--unit-size) var(--unit-size);
width: 100%; width: 100%;
} }
@ -137,7 +142,7 @@
order: 2; order: 2;
width: 50%; width: 50%;
justify-content: right; justify-content: right;
border-radius: 0 var(--small-size) 0 0; border-radius: 0 var(--unit-size) 0 0;
background-color: var(--bg1); background-color: var(--bg1);
box-sizing: border-box; box-sizing: border-box;
padding: 5px 10px 5px 10px; padding: 5px 10px 5px 10px;
@ -148,6 +153,7 @@
} }
.note-actions a { .note-actions a {
height: var(--main-size); height: var(--main-size);
margin-left: auto;
} }
.note-actions a svg { .note-actions a svg {
width: var(--main-size); width: var(--main-size);
@ -159,45 +165,48 @@
order: 4; order: 4;
width: 100%; width: 100%;
box-sizing: content-box; box-sizing: content-box;
padding: var(--unit-size); padding: 2% 2% 0 2%;
} }
/* POSTING */ /* POSTING */
.content > form { .content > form {
display: flex; display: flex;
flex: max-content; flex: max-content;
width: -webkit-fill-available;
} }
.create-notice { .create-notice {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
flex: max-content; flex: max-content;
margin-left: 4%; width: -webkit-fill-available;
margin-right: 4%; margin-left: 0;
border-radius: var(--small-size); margin-right: 0;
border-radius: var(--unit-size);
border: solid 2px var(--accent-low); border: solid 2px var(--accent-low);
background-color: var(--bg3); background-color: var(--bg3);
} }
.create-right { .create-right {
order: 2; order: 2;
width: 90%; width: 75%;
border-radius: 0 var(--small-size) var(--small-size) 0; border-radius: 0 var(--unit-size) var(--unit-size) 0;
background-color: var(--bg3); background-color: var(--bg3);
} }
/* target multi-select */ /* target multi-select */
.target { .target {
order: 1; order: 1;
width: 10%; width: 25%;
background-color: var(--bg1); background-color: var(--bg1);
border-radius: var(--small-size) 0 0 var(--small-size); border-radius: var(--unit-size) 0 0 var(--unit-size);
font-size: var(--medium-size);
} }
.target-top { .target-top {
padding: var(--unit-size); padding: var(--unit-size) var(--unit-size) 0 var(--unit-size);
font-size: var(--medium-size);
} }
.target-bot { .target-bot {
padding-left: var(--unit-size); padding-left: var(--unit-size);
padding-bottom: var(--unit-size); padding-bottom: var(--unit-size);
font-size: var(--medium-size);
} }
.target .required { .target .required {
font-weight: 800; font-weight: 800;
@ -218,14 +227,14 @@
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
color: var(--fg); color: var(--fg);
font-size: var(--medium-size);
background-color: var(--bg1); background-color: var(--bg1);
border-radius: 0 var(--small-size) 0 0; border-radius: 0 var(--unit-size) 0 0;
} }
.scope div { .scope > div {
display: inline; display: inline;
vertical-align: middle; vertical-align: middle;
flex: 1; flex: 1;
font-size: var(--medium-size);
color: var(--fg); color: var(--fg);
padding: var(--unit-size); padding: var(--unit-size);
} }
@ -260,7 +269,7 @@
flex-shrink: 0; flex-shrink: 0;
} }
#form_content { #form_content {
background-color: var(--bg2); background-color: var(--bg3);
padding: var(--unit-size); padding: var(--unit-size);
color: var(--fg); color: var(--fg);
font-size: var(--medium-size); font-size: var(--medium-size);
@ -278,8 +287,8 @@
width: 100%; width: 100%;
box-sizing: border-box; box-sizing: border-box;
padding: 1%; padding: 1%;
background-color: var(--bg2); background-color: var(--bg3);
border-radius: 0 0 var(--small-size) 0; border-radius: 0 0 var(--unit-size) 0;
} }
.send { .send {
order: 2; order: 2;
@ -303,22 +312,21 @@
} }
#form_attachments:focus + label, #form_attachments:focus + label,
#form_attachments + label:hover { #form_attachments + label:hover {
border-radius: var(--small-size); border-radius: var(--unit-size);
box-shadow: 0 0px 8px var(--accent); box-shadow: 0 0px 8px var(--accent);
} }
.icon-attach { .icon-attach {
opacity: 1 !important;
cursor: pointer;
fill: var(--fg);
width: var(--main-size); width: var(--main-size);
height: var(--main-size); height: var(--main-size);
z-index: 0; font-size: var(--medium-size);
fill: var(--fg);
background-color: var(--bg1); background-color: var(--bg1);
padding: 0.3em 1em; padding: 0.3em 1em;
border-style: solid; border-style: solid;
border-color: var(--accent); border-color: var(--accent);
border-radius: var(--small-size); border-radius: var(--unit-size);
border-width: 2px; border-width: 2px;
font-size: var(--medium-size);
margin-bottom: -0.5em; margin-bottom: -0.5em;
cursor: pointer;
z-index: 0;
} }