Skip to content

Commit

Permalink
Merge branch 'improvement/ghi-65-dimmed-close-icon-for-inactive-tabs-…
Browse files Browse the repository at this point in the history
…on-hover' into develop
  • Loading branch information
arcticicestudio committed Apr 1, 2017
2 parents e185d48 + dd56053 commit 3d86698
Showing 1 changed file with 5 additions and 13 deletions.
18 changes: 5 additions & 13 deletions styles/tabs.less
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ copyright Copyright (C) 2016 +
position: relative;
transition: color @transition-time ease, border @transition-time ease, background @transition-time ease;

.close-icon:hover:before {
color: @text-color-highlight;
}

.status-added,
.status-ignored,
.status-modified {
Expand All @@ -50,10 +54,6 @@ copyright Copyright (C) 2016 +
&:hover {
color: @text-color-highlight;
background: @tab-background-color-hover;

.close-icon {
display: block;
}
}
}

Expand Down Expand Up @@ -83,14 +83,6 @@ copyright Copyright (C) 2016 +
.status-ignored {
color: @text-color-ignored;
}

.close-icon:before {
color: @text-color-subtle;
}

.close-icon:hover:before {
color: @text-color-highlight;
}
}

.tab.modified:hover .close-icon:before {
Expand Down Expand Up @@ -120,7 +112,7 @@ copyright Copyright (C) 2016 +
transition: transform @transition-time ease, color @transition-time ease, background @transition-time ease;

&:before {
color: @text-color-highlight;
color: @text-color-subtle;
font-size: 12px;
position: absolute;
top: 2px;
Expand Down

0 comments on commit 3d86698

Please sign in to comment.