From 85c8f506779464fc6168244b50ce34afcf20ae17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Behmo?= Date: Mon, 11 Aug 2025 17:13:42 +0200 Subject: [PATCH] feat: slightly simplify SCSS and style for toast/modal --- tutordeck/server/static/scss/deck.scss | 8 ++------ tutordeck/server/templates/index.html | 14 +++++++------- 2 files changed, 9 insertions(+), 13 deletions(-) diff --git a/tutordeck/server/static/scss/deck.scss b/tutordeck/server/static/scss/deck.scss index 5688138..59e1836 100644 --- a/tutordeck/server/static/scss/deck.scss +++ b/tutordeck/server/static/scss/deck.scss @@ -63,7 +63,7 @@ button:disabled { padding: 0.5em 1em; } - .close-modal-button { + .close-modal-button, .close-toast-button { background: none; border: 1px solid #888; color: $black; @@ -72,11 +72,7 @@ button:disabled { font-size: 1em; } - .close-toast-button { - @extend .close-modal-button; - } - - .run_modal_button { + form button { background: none; border: none; background-color: $light-blue; diff --git a/tutordeck/server/templates/index.html b/tutordeck/server/templates/index.html index e1b6859..95069ad 100644 --- a/tutordeck/server/templates/index.html +++ b/tutordeck/server/templates/index.html @@ -70,16 +70,16 @@
- - {{ toast_description }} + + {{ toast_description }}