mirror of
https://github.com/koloml/furbooru-tagging-assistant.git
synced 2025-12-23 23:02:58 +00:00
Merge pull request #87 from koloml/bugfix/maintenance-popups-tags-appearance
Fixed tag in popups having broken appearance after themes updates for Philomena, updated how colors applied to tags
This commit is contained in:
@@ -112,6 +112,9 @@ export async function buildStyle(buildOptions) {
|
||||
}
|
||||
},
|
||||
emptyOutDir: false,
|
||||
},
|
||||
resolve: {
|
||||
alias: makeAliases(buildOptions.rootDir)
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
4
src/styles/booru-colors.scss
Normal file
4
src/styles/booru-colors.scss
Normal file
@@ -0,0 +1,4 @@
|
||||
// These variables are defined dynamically based on the category of the tag
|
||||
$resolved-tag-background: var(--tag-background);
|
||||
$resolved-tag-border: var(--tag-border);
|
||||
$resolved-tag-color: var(--tag-color);
|
||||
@@ -1,4 +1,5 @@
|
||||
@use '../colors';
|
||||
@use '$styles/colors';
|
||||
@use '$styles/booru-colors';
|
||||
|
||||
// This will fix wierd misplacing of the modified media boxes in the listing.
|
||||
.js-resizable-media-container {
|
||||
@@ -62,17 +63,12 @@
|
||||
|
||||
.tag {
|
||||
cursor: pointer;
|
||||
padding: 0 6px;
|
||||
padding: 5px;
|
||||
user-select: none;
|
||||
|
||||
&:hover {
|
||||
background: colors.$tag-text;
|
||||
color: colors.$tag-background;
|
||||
}
|
||||
|
||||
&[data-tag-category=error]:hover {
|
||||
background: colors.$tag-error-text;
|
||||
color: colors.$tag-error-background;
|
||||
background: booru-colors.$resolved-tag-color;
|
||||
color: booru-colors.$resolved-tag-background;
|
||||
}
|
||||
|
||||
&.is-missing:not(.is-added),
|
||||
|
||||
Reference in New Issue
Block a user