aboutsummaryrefslogtreecommitdiff
path: root/p/themes/Ansum/_components.scss
diff options
context:
space:
mode:
Diffstat (limited to 'p/themes/Ansum/_components.scss')
-rw-r--r--p/themes/Ansum/_components.scss15
1 files changed, 13 insertions, 2 deletions
diff --git a/p/themes/Ansum/_components.scss b/p/themes/Ansum/_components.scss
index 36b660345..88ab37296 100644
--- a/p/themes/Ansum/_components.scss
+++ b/p/themes/Ansum/_components.scss
@@ -22,6 +22,12 @@
}
/*=== Dropdown */
+.dropdown {
+ .dropdown-target:target + .btn {
+ background-color: variables.$grey-medium-light;
+ }
+}
+
.dropdown-menu {
margin: 9px 0 0 0;
padding: 0.5rem 0 1rem 0;
@@ -51,7 +57,9 @@
@include mixins.transition(all, 0.075s, ease-in-out);
- a, .as-link {
+ > a,
+ > span,
+ > .as-link {
padding: 0 2rem;
color: variables.$main-font-color;
font-size: inherit;
@@ -60,7 +68,10 @@
span.icon {
padding: 0 0.25rem !important;
}
+ }
+ > a,
+ > .as-link {
&:not(.addItem):hover {
background: variables.$main-first;
color: variables.$white;
@@ -86,7 +97,7 @@
}
&:not(.addItem) {
- a:hover,
+ > a:hover,
button:hover {
background: variables.$main-first;
color: variables.$white;