From 05bcb7835da55298e0e984bfe8f0a8e944be2fbd Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Sat, 27 Aug 2022 04:20:33 +0400 Subject: [PATCH] Removed email field styles. Styled a disabled refresh button. --- homepage/static/assets/css/guestbook.css | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/homepage/static/assets/css/guestbook.css b/homepage/static/assets/css/guestbook.css index 3e42b87..3f737ee 100644 --- a/homepage/static/assets/css/guestbook.css +++ b/homepage/static/assets/css/guestbook.css @@ -7,8 +7,7 @@ button { font: inherit; padding: 0; } -button.refresh { - color: var(--primary-color); } +button.refresh { color: var(--primary-color); } button.refresh:hover { color: var(--secondary-color); @@ -16,19 +15,21 @@ button.refresh:hover { text-decoration: underline dotted; transition: .5s; } +button.refresh:disabled { + color: gray; + cursor: progress; } + #new-post { display: grid; gap: .5rem; grid-template-areas: - "n e w" + "n w w" "m m m" "c a s"; grid-template-columns: 1fr 1fr 1fr; } #new-post input[name="name"] { grid-area: n; } -#new-post input[name="email"] { grid-area: e; } - #new-post input[name="website"] { grid-area: w; } #new-post span.checkboxes { grid-area: c; } @@ -88,7 +89,6 @@ button.refresh:hover { gap: 1.5rem; grid-template-areas: "n" - "e" "w" "m" "c"