aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/static/css/resources
diff options
context:
space:
mode:
authorGravatar hedy <[email protected]>2024-01-16 20:21:16 +0800
committerGravatar hedy <[email protected]>2024-01-16 20:21:16 +0800
commita89848b80696e9e8d654b78e26954b2bb2ae6b84 (patch)
tree102e16a54ed23f3c71e7ca6605e2c881c2a19f9b /pydis_site/static/css/resources
parentMerge branch 'gdwr-dark-theme' of github.com:hedyhli/pydis-site into gdwr-dar... (diff)
Dark: Fix the filter box on resources page
Diffstat (limited to 'pydis_site/static/css/resources')
-rw-r--r--pydis_site/static/css/resources/resources.css20
1 files changed, 12 insertions, 8 deletions
diff --git a/pydis_site/static/css/resources/resources.css b/pydis_site/static/css/resources/resources.css
index ee5954da..582d96e4 100644
--- a/pydis_site/static/css/resources/resources.css
+++ b/pydis_site/static/css/resources/resources.css
@@ -199,22 +199,26 @@ button.delete {
}
/* Colors for delete button x's */
-button.delete.is-primary::before,
-button.delete.is-primary::after {
+[data-theme="light"] button.delete.is-primary::before,
+[data-theme="light"] button.delete.is-primary::after {
background-color: #2a45a2;
}
-button.delete.is-success::before,
-button.delete.is-success::after {
+[data-theme="light"] button.delete.is-success::before,
+[data-theme="light"] button.delete.is-success::after {
background-color: #2c9659;
}
-button.delete.is-danger::before,
-button.delete.is-danger::after {
+[data-theme="light"] button.delete.is-danger::before,
+[data-theme="light"] button.delete.is-danger::after {
background-color: #c32841;
}
-button.delete.is-info::before,
-button.delete.is-info::after {
+[data-theme="light"] button.delete.is-info::before,
+[data-theme="light"] button.delete.is-info::after {
background-color: #237fbd;
}
+[data-theme="dark"] button.delete::before,
+[data-theme="dark"] button.delete::after {
+ background-color: #FFFFFF;
+}
/* Give outlines to active tags */
span.filter-box-tag,