From fa84c6f543f3f5cad09638a343e5aaccec1dfa66 Mon Sep 17 00:00:00 2001 From: nkoexe Date: Sat, 31 Aug 2024 22:44:24 +0200 Subject: [PATCH] updater visual tweaks --- sostituzioni/view/static/style/updater.css | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/sostituzioni/view/static/style/updater.css b/sostituzioni/view/static/style/updater.css index 627b0f6..9bf1a96 100644 --- a/sostituzioni/view/static/style/updater.css +++ b/sostituzioni/view/static/style/updater.css @@ -98,13 +98,13 @@ a { max-width: 100%; border-radius: 70px; background-color: #c00f19; - transition: all 0.3s, box-shadow 0.8s; + transition: all 0.3s, box-shadow .5s ease-out; user-select: none; } #button.active { - width: 500px; - box-shadow: 0 5px 15px #00000080, 0 15px 30px #00000055; + width: min(500px, 100%); + box-shadow: 0 5px 10px #00000080, 0 15px 30px #00000055; cursor: pointer; } @@ -145,6 +145,14 @@ a { } } +@media (max-width: 350px) { + #button-text-container-inner { + width: 100%; + flex-direction: column; + text-align: center; + } +} + #button-text {} #button-icon {