Skip to content
Snippets Groups Projects
Commit 7f209aa2 authored by Olivia206's avatar Olivia206
Browse files

dropdown filters for diplomas

parent c23e130d
No related branches found
No related tags found
No related merge requests found
...@@ -19,7 +19,7 @@ ul.diplomas ...@@ -19,7 +19,7 @@ ul.diplomas
.diplomas-select .diplomas-select
text-align: right text-align: right
position: relative position: relative
@include h3 @include meta
button button
@include button-reset @include button-reset
@include icon(caret, after) @include icon(caret, after)
...@@ -27,31 +27,36 @@ ul.diplomas ...@@ -27,31 +27,36 @@ ul.diplomas
margin-left: 5px margin-left: 5px
.dropdown-menu .dropdown-menu
@include inset(100%, 0, auto, auto) @include inset(calc(100% + #{$spacing0}), 0, auto, auto)
background-color: black background-color: $color-background-alt
display: none display: none
position: absolute position: absolute
@include media-breakpoint-down(md) @include media-breakpoint-down(md)
// padding-left: $container-gutter-width right: half(-$grid-gutter-sm)
// padding-right: $container-gutter-width left: half(-$grid-gutter-sm)
&, &,
a a
color: white color: black
a a
display: block display: block
padding: $spacing0 font-size: $body-size
padding: $spacing1
text-decoration: none
white-space: normal white-space: normal
@include media-breakpoint-down(md)
padding: $spacing0 $spacing1
&:not(:first-child) &:not(:first-child)
border-top: 1px solid $color-border border-top: 1px solid $color-border
@include media-breakpoint-up(md)
font-size: px2rem(22)
&:hover &:hover
background-color: lighten(black, 3) background-color: $color-accent
color: white
&:focus &:focus
color: black color: black
button[aria-expanded="true"] button[aria-expanded="true"]
@include icon('caret-top', 'after') @include icon('caret-top', 'after')
font-size: px2rem(6)
+ .dropdown-menu + .dropdown-menu
display: block display: block
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment