[UI] Responsiveness overall polish

This commit is contained in:
rainydaysavings 2020-08-31 21:03:16 +01:00 committed by Hugo Sales
parent b2c2e6b6c6
commit a51c546f8c
5 changed files with 155 additions and 143 deletions

View File

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

View File

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

View File

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

View File

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

View File

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