frontend/css/components/_dropdown.scss in trestle-0.9.8 vs frontend/css/components/_dropdown.scss in trestle-0.10.0.pre

- old
+ new

@@ -18,14 +18,14 @@ top: -$dropdown-arrow-width; left: 11px; border-left: $dropdown-arrow-outer-width solid transparent; border-right: $dropdown-arrow-outer-width solid transparent; - border-bottom: $dropdown-arrow-outer-width solid white; + border-bottom: $dropdown-arrow-outer-width solid $dropdown-bg; } - &.dropdown-menu-right { + &.dropdown-menu-end { &:before { left: auto; right: 12px; } @@ -47,9 +47,29 @@ &:after { top: auto; bottom: -$dropdown-arrow-width; border-bottom: 0; - border-top: $dropdown-arrow-outer-width solid white; + border-top: $dropdown-arrow-outer-width solid $dropdown-bg; + } + } +} + +.dropdown-menu-dark { + &:before { + border-bottom-color: $dropdown-dark-border-color; + } + + &:after { + border-bottom-color: $dropdown-dark-bg; + } + + .dropup & { + &:before { + border-top-color: $dropdown-dark-border-color; + } + + &:after { + border-top-color: $dropdown-dark-bg; } } }