summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets
diff options
context:
space:
mode:
authorAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2017-04-17 19:21:30 +0000
committerAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2017-04-17 19:21:30 +0000
commitd16f42a254d092133d8907fac4be1b448ae36078 (patch)
treece2e7b008d9162bab31d6ec8d700035182f71bea /app/assets/stylesheets
parent16f3813106d5ad2217867ceefac44ccde39791d7 (diff)
parentde62d3b48c45030b91113e61bae0f3a2f24797e9 (diff)
downloadgitlab-ce-d16f42a254d092133d8907fac4be1b448ae36078.tar.gz
Merge branch '28575-expand-collapse-look' into 'master'
Expand/collapse button -> Change to make it look like a toggle Closes #28575 See merge request !10720
Diffstat (limited to 'app/assets/stylesheets')
-rw-r--r--app/assets/stylesheets/pages/commits.scss7
1 files changed, 6 insertions, 1 deletions
diff --git a/app/assets/stylesheets/pages/commits.scss b/app/assets/stylesheets/pages/commits.scss
index 0dad91ba128..9e3142c8aa3 100644
--- a/app/assets/stylesheets/pages/commits.scss
+++ b/app/assets/stylesheets/pages/commits.scss
@@ -135,7 +135,7 @@
.text-expander {
display: inline-block;
- background: $gray-light;
+ background: $white-light;
color: $gl-text-color-secondary;
padding: 0 5px;
cursor: pointer;
@@ -146,6 +146,11 @@
line-height: $gl-font-size;
outline: none;
+ &.open {
+ background: $gray-light;
+ box-shadow: inset 0 0 2px rgba($black, 0.2);
+ }
+
&:hover {
background-color: darken($gray-light, 10%);
text-decoration: none;