diff options
author | Tim Zallmann <tzallmann@gitlab.com> | 2017-11-06 12:04:55 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-11-06 12:04:55 +0000 |
commit | 57497f6f30adb9e2929a55ed45ea1bfd627aea88 (patch) | |
tree | ce5d4ec3f2e532263243f177d245a05297e72451 /app/assets/stylesheets | |
parent | db6a125d4d602237fb0deb37eb55a747cd0251b2 (diff) | |
download | gitlab-ce-57497f6f30adb9e2929a55ed45ea1bfd627aea88.tar.gz |
Resolve "Editor icons"
Diffstat (limited to 'app/assets/stylesheets')
-rw-r--r-- | app/assets/stylesheets/framework/markdown_area.scss | 14 | ||||
-rw-r--r-- | app/assets/stylesheets/framework/zen.scss | 8 |
2 files changed, 19 insertions, 3 deletions
diff --git a/app/assets/stylesheets/framework/markdown_area.scss b/app/assets/stylesheets/framework/markdown_area.scss index 0a5a16c09b0..cd6f94fb354 100644 --- a/app/assets/stylesheets/framework/markdown_area.scss +++ b/app/assets/stylesheets/framework/markdown_area.scss @@ -138,15 +138,23 @@ .toolbar-btn { float: left; - padding: 0 5px; - color: $gl-text-color-secondary; + padding: 0 7px; background: transparent; border: 0; outline: 0; + svg { + width: 14px; + height: 14px; + margin-top: 3px; + fill: $gl-text-color-secondary; + } + &:hover, &:focus { - color: $gl-link-color; + svg { + fill: $gl-link-color; + } } } diff --git a/app/assets/stylesheets/framework/zen.scss b/app/assets/stylesheets/framework/zen.scss index 0c226ff7598..32a0feb1c4b 100644 --- a/app/assets/stylesheets/framework/zen.scss +++ b/app/assets/stylesheets/framework/zen.scss @@ -57,7 +57,15 @@ padding: 5px; font-size: 36px; + svg { + fill: $gl-text-color; + } + &:hover { color: $black; + + svg { + fill: $black; + } } } |