summaryrefslogtreecommitdiffstats
path: root/accounts/static/layout.css
diff options
context:
space:
mode:
authorJonah BrĂ¼chert <jbb@kaidan.im>2024-04-03 00:52:46 +0200
committerJonah BrĂ¼chert <jbb@kaidan.im>2024-04-03 00:52:46 +0200
commitb4ed28d6c80fea63492e51b62fcfa847322eb6c0 (patch)
tree453318497b158c7dff88721d314c7b1ebc9c9ab4 /accounts/static/layout.css
parent27b8fffe81be92f1ad004578621dacde999acf69 (diff)
downloadweb-b4ed28d6c80fea63492e51b62fcfa847322eb6c0.tar.gz
web-b4ed28d6c80fea63492e51b62fcfa847322eb6c0.tar.bz2
web-b4ed28d6c80fea63492e51b62fcfa847322eb6c0.zip
Use bootstrap for flash messages
Diffstat (limited to 'accounts/static/layout.css')
-rw-r--r--accounts/static/layout.css15
1 files changed, 8 insertions, 7 deletions
diff --git a/accounts/static/layout.css b/accounts/static/layout.css
index 0901983..1d6a3bf 100644
--- a/accounts/static/layout.css
+++ b/accounts/static/layout.css
@@ -210,16 +210,17 @@ ul.flashes li {
display: block;
padding: .2em .6em;
- border: 1px solid #ee3;
- border-radius: 3px;
- background-color: #ffd;
+ --bs-alert-border-color: #ee3;
+ --bs-alert-bg: #ffd;
}
+
ul.flashes li.error {
- border-color: #e33;
- background-color: #fdd;
+ --bs-alert-border-color: #e33;
+ --bs-alert-bg: #fdd;
}
+
ul.flashes li.success {
- border-color: #3e3;
- background-color: #dfd;
+ --bs-alert-border-color: #3e3;
+ --bs-alert-bg: #dfd;
}