diff options
author | winh <winnie@gitlab.com> | 2017-07-31 15:21:19 +0200 |
---|---|---|
committer | winh <winnie@gitlab.com> | 2017-08-01 18:47:24 +0200 |
commit | cf4b39a6def577ae46c831d9b5074308ee11315e (patch) | |
tree | b69f0bdf751240a274635af15237007cbfff3453 | |
parent | dd108ce531ff33aed316de8af5d8714cd3da5bf3 (diff) | |
download | gitlab-ce-cf4b39a6def577ae46c831d9b5074308ee11315e.tar.gz |
Make dropdown style on project page consistent
-rw-r--r-- | app/assets/stylesheets/pages/projects.scss | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/app/assets/stylesheets/pages/projects.scss b/app/assets/stylesheets/pages/projects.scss index b3a90dff89a..27337c92180 100644 --- a/app/assets/stylesheets/pages/projects.scss +++ b/app/assets/stylesheets/pages/projects.scss @@ -286,6 +286,49 @@ max-height: 250px; overflow-y: auto; } + + // TODO: fallback to global style + .dropdown-menu { + li { + padding: 0 1px; + + &.dropdown-header { + padding: 8px 16px; + } + + a { + border-radius: 0; + padding: 8px 16px; + + &.is-focused, + &:hover, + &:active, + &:focus { + background-color: $gray-darker; + } + + &.is-active { + font-weight: inherit; + + &::before { + top: 16px; + } + } + } + } + } + + .dropdown-menu.dropdown-menu-selectable { + li { + a { + padding: 8px 40px; + + &.is-active::before { + left: 16px; + } + } + } + } } .split-one { |