diff options
author | TM Lee <tmlee.ltm@gmail.com> | 2017-06-19 13:50:30 +0000 |
---|---|---|
committer | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-06-19 13:50:30 +0000 |
commit | f5d16b0db81d094b751adc13e0f7e3e362493bf2 (patch) | |
tree | 27e2229c3db74a94f12267a2425783786266ab67 /app/assets/stylesheets/framework/selects.scss | |
parent | 9fe6c2b2c2dd92831c93297021b41d6721e4b201 (diff) | |
download | gitlab-ce-f5d16b0db81d094b751adc13e0f7e3e362493bf2.tar.gz |
[#27697] Make the arrow icons consistent in dropdown
Diffstat (limited to 'app/assets/stylesheets/framework/selects.scss')
-rw-r--r-- | app/assets/stylesheets/framework/selects.scss | 29 |
1 files changed, 19 insertions, 10 deletions
diff --git a/app/assets/stylesheets/framework/selects.scss b/app/assets/stylesheets/framework/selects.scss index 1b20c35ad98..40e654f4838 100644 --- a/app/assets/stylesheets/framework/selects.scss +++ b/app/assets/stylesheets/framework/selects.scss @@ -18,19 +18,28 @@ background-image: none; background-color: transparent; border: none; - padding-top: 6px; - padding-right: 10px; + padding-top: 12px; + padding-right: 20px; + font-size: 10px; b { - display: inline-block; - width: 0; - height: 0; - margin-left: 2px; - vertical-align: middle; - border-top: 5px dashed; - border-right: 5px solid transparent; - border-left: 5px solid transparent; + display: none; + } + + &::after { + content: "\f078"; + position: absolute; + z-index: 1; + text-align: center; + pointer-events: none; + box-sizing: border-box; color: $gray-darkest; + display: inline-block; + font: normal normal normal 14px/1 FontAwesome; + font-size: inherit; + text-rendering: auto; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; } } |