Skip to content

Commit

Permalink
Merge pull request #7271 from panda01/fix/app-switcher-colors
Browse files Browse the repository at this point in the history
App switcher colors Adjustments
  • Loading branch information
panda01 committed May 25, 2016
2 parents d6a80b3 + abc76e0 commit c9fc5de
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 36 deletions.
34 changes: 3 additions & 31 deletions src/ui/public/chrome/directives/app_switcher/app_switcher.less
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,7 @@ body { overflow-x: hidden; }
> a {
display: block;
height: 100%;
color: @white;
}

&:hover {
background-color: @app-links-active-background;
color: #ebf7fa;
}

.app-icon {
Expand Down Expand Up @@ -127,38 +123,14 @@ body { overflow-x: hidden; }
line-height: @app-icon-height;
}

&:hover,
&.active {
background-color: @app-links-active-background;
> a {
color: #333;
color: @white;
text-decoration: none;
}
img {
filter: none;
}
}

&:nth-child(1) {
background-color: @firstLinkColor;
&:hover {
background-color: lighten(@firstLinkColor, 5%);
}
}

&:nth-child(2) {
background-color: @secondLinkColor;
&:hover {
background-color: lighten(@secondLinkColor, 5%);
}
}

&:nth-child(3) {
background-color: @thirdLinkColor;
&:hover {
background-color: lighten(@thirdLinkColor, 5%);
}
}

}

}
6 changes: 1 addition & 5 deletions src/ui/public/styles/variables/for-theme.less
Original file line number Diff line number Diff line change
Expand Up @@ -326,8 +326,4 @@
@transition-time: .35s;
@transition-delay: .25s;
@app-links-wrapper-background: #3caed2;
@app-links-active-background: lighten(@app-links-wrapper-background, 7.5%);

@firstLinkColor: #E4BB51;
@secondLinkColor: #8AC336;
@thirdLinkColor: #59C6C5;
@app-links-active-background: #2f99c1;

0 comments on commit c9fc5de

Please sign in to comment.