Change right header color

// FREEBIE
This commit is contained in:
lilia 2016-03-21 11:03:50 -07:00
parent dd943163fe
commit d391f07c1e
3 changed files with 19 additions and 12 deletions

View file

@ -119,12 +119,12 @@
return;
}
this.$('#header').removeClass('active');
this.$('#header').addClass('inactive');
this.$('.conversation-stack').removeClass('inactive');
},
focusHeader: function() {
this.$('.conversation-stack').addClass('inactive');
this.$('#header').addClass('active');
this.$('#header').removeClass('inactive');
},
reloadBackgroundPage: function() {
chrome.runtime.reload();

View file

@ -29,13 +29,13 @@ body {
}
#header {
background-color: $grey_l;
color: $grey_d;
background-color: $blue;
color: white;
transition: background-color 0.5s;
&.active {
background-color: $blue;
color: white;
&.inactive {
background-color: $grey_l;
color: $grey_d;
}
h1 {
@ -97,6 +97,10 @@ button.back {
}
}
.inactive .menu .hamburger {
background: url('/images/menu_black.png') no-repeat center;
}
.menu {
position: relative;
float: right;

View file

@ -38,12 +38,12 @@ body {
display: none; }
#header {
background-color: #f3f3f3;
color: #454545;
background-color: #2090ea;
color: white;
transition: background-color 0.5s; }
#header.active {
background-color: #2090ea;
color: white; }
#header.inactive {
background-color: #f3f3f3;
color: #454545; }
#header h1 {
margin: 0;
line-height: 64px;
@ -89,6 +89,9 @@ button.back {
vertical-align: middle;
display: table-cell; }
.inactive .menu .hamburger {
background: url("/images/menu_black.png") no-repeat center; }
.menu {
position: relative;
float: right; }