aboutsummaryrefslogtreecommitdiff
path: root/src/components/popper
diff options
context:
space:
mode:
authorHJ <30-hj@users.noreply.git.pleroma.social>2020-02-18 21:20:43 +0000
committerHJ <30-hj@users.noreply.git.pleroma.social>2020-02-18 21:20:43 +0000
commit3ddf7ebe2c94f88be12644d7a7a675f6f8331707 (patch)
tree878e90d5381ce14f9c3d88ab77e998ef6238760d /src/components/popper
parent26e455bb4cadb90b4351f2a2e8f53eaa15d9e569 (diff)
parent32902e01f80a2ff27e9f4fc5a922c47b63f397fd (diff)
Merge branch 'themes-accent' into 'develop'
Themes v3 Part 1 "2.1" codenamed "One step for themes, a giant burder for code reviewers" Closes #750 and #774 See merge request pleroma/pleroma-fe!1037
Diffstat (limited to 'src/components/popper')
-rw-r--r--src/components/popper/popper.scss29
1 files changed, 23 insertions, 6 deletions
diff --git a/src/components/popper/popper.scss b/src/components/popper/popper.scss
index 06daa871..99b7e6fc 100644
--- a/src/components/popper/popper.scss
+++ b/src/components/popper/popper.scss
@@ -9,7 +9,15 @@
border-radius: $fallback--btnRadius;
border-radius: var(--btnRadius, $fallback--btnRadius);
background-color: $fallback--bg;
- background-color: var(--bg, $fallback--bg);
+ background-color: var(--popover, $fallback--bg);
+ color: $fallback--text;
+ color: var(--popoverText, $fallback--text);
+ --faint: var(--popoverFaintText, $fallback--faint);
+ --faintLink: var(--popoverFaintLink, $fallback--faint);
+ --lightText: var(--popoverLightText, $fallback--lightText);
+ --postLink: var(--popoverPostLink, $fallback--link);
+ --postFaintLink: var(--popoverPostFaintLink, $fallback--link);
+ --icon: var(--popoverIcon, $fallback--icon);
}
.popover-arrow {
@@ -129,6 +137,8 @@
width: 100%;
height: 100%;
+ --btnText: var(--popoverText, $fallback--text);
+
&-icon {
padding-left: 0.5rem;
@@ -137,11 +147,18 @@
}
}
- &:hover {
- // TODO: improve the look on breeze themes
- background-color: $fallback--fg;
- background-color: var(--btn, $fallback--fg);
- box-shadow: none;
+ &:active, &:hover {
+ background-color: $fallback--lightBg;
+ background-color: var(--selectedMenuPopover, $fallback--lightBg);
+ color: $fallback--link;
+ color: var(--selectedMenuPopoverText, $fallback--link);
+ --faint: var(--selectedMenuPopoverFaintText, $fallback--faint);
+ --faintLink: var(--selectedMenuPopoverFaintLink, $fallback--faint);
+ --lightText: var(--selectedMenuPopoverLightText, $fallback--lightText);
+ --icon: var(--selectedMenuPopoverIcon, $fallback--icon);
+ i {
+ color: var(--selectedMenuPopoverIcon, $fallback--icon);
+ }
}
}
}