From 1587f84a5cca7eb0c00b00adc7226c2cf12791c2 Mon Sep 17 00:00:00 2001 From: Oscar Hinton Date: Fri, 21 Feb 2025 14:52:01 +0100 Subject: [PATCH] [PM-17494] Minimum effort removal of bootstrap from filters (#12995) Minimum effort migration of the filters to not depend on bootstrap. This migrates the card to tailwind but keeps most of the custom css as it's not strictly required to be migrated. --- .../src/app/tools/send/send.component.html | 11 ++- .../components/vault-filter.component.html | 13 ++-- apps/web/src/scss/vault-filters.scss | 77 +++++++------------ 3 files changed, 41 insertions(+), 60 deletions(-) diff --git a/apps/web/src/app/tools/send/send.component.html b/apps/web/src/app/tools/send/send.component.html index 5a88f45cdc6..7aab50b33e5 100644 --- a/apps/web/src/app/tools/send/send.component.html +++ b/apps/web/src/app/tools/send/send.component.html @@ -22,12 +22,15 @@ {{ "sendDisabledWarning" | i18n }}
-
-
-
+
+
+
{{ "filters" | i18n }}
-
+
-
+
+
-
+
{{ "filters" | i18n }}
-
+
.show-active, + > div .show-active { + display: inline; + } + } + li.active { + > button:first-of-type, + > div button:first-of-type { @include themify($themes) { - background-color: themed("inputBackgroundColor"); - border-color: themed("inputBorderColor"); - color: themed("inputTextColor"); - } - - &::placeholder { - @include themify($themes) { - color: themed("inputPlaceholderColor"); - } + color: themed("linkColor"); } } - h3 { - font-weight: normal; + > .bwi, + > div > .bwi { @include themify($themes) { - color: themed("textMuted"); - } - } - - ul:last-child { - margin-bottom: 0; - } - - .card-body a { - @include themify($themes) { - color: themed("textHeadingColor"); - font-weight: themed("linkWeight"); - } - } - .show-active { - display: none; - } - li.active { - > .show-active, - > div .show-active { - display: inline; - } - } - li.active { - > button:first-of-type, - > div button:first-of-type { - @include themify($themes) { - color: themed("linkColor"); - } - } - - > .bwi, - > div > .bwi { - @include themify($themes) { - color: themed("linkColor"); - } + color: themed("linkColor"); } } }