mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 16:53:34 +00:00
[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.
This commit is contained in:
@@ -147,62 +147,37 @@
|
||||
}
|
||||
}
|
||||
|
||||
.groupings {
|
||||
.card {
|
||||
#search {
|
||||
margin-bottom: 1rem;
|
||||
.filter {
|
||||
ul:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
a {
|
||||
@include themify($themes) {
|
||||
color: themed("textHeadingColor");
|
||||
}
|
||||
}
|
||||
.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) {
|
||||
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");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user