Skip to content

Commit

Permalink
Darken dropdown border.
Browse files Browse the repository at this point in the history
  • Loading branch information
srph committed Nov 12, 2015
1 parent 86ab012 commit c578d43
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
6 changes: 3 additions & 3 deletions docs/dist/style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 7 additions & 4 deletions styles/components/_dropdown.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
min-width: 160px;
font-size: $font-size-base;
background-color: $brand-white;
border: 1px solid $brand-gray-lt;
border: 1px solid $brand-gray;
border-radius: $border-radius-base;
box-shadow: 0 0 5px $brand-gray-lt;
box-shadow: 0 3px 3px rgba(0,0,0,0.1);
}

> .menu::before,
Expand All @@ -28,7 +28,10 @@
}

> .menu::before {
border-bottom-color: $brand-gray-dk;
// Because we're taking advantage of the color bleeding,
// we need to show a darker color than the dropdown's border color.
// Otherwise, it would appear lighter against the dropdown's border.
border-bottom-color: $brand-black;
}

> .menu::after {
Expand Down Expand Up @@ -71,7 +74,7 @@
}

> .menu > a .badge {
float: right;
float: right;
background-color: $brand-primary;
color: $brand-white;
}
Expand Down

0 comments on commit c578d43

Please sign in to comment.