Apply 0.5s transition on header colors
// FREEBIE
This commit is contained in:
parent
f72c1dff13
commit
f81d882213
3 changed files with 9 additions and 5 deletions
|
@ -31,6 +31,7 @@ body {
|
||||||
#header {
|
#header {
|
||||||
background-color: $grey_l;
|
background-color: $grey_l;
|
||||||
color: $grey_d;
|
color: $grey_d;
|
||||||
|
transition: background-color 0.5s;
|
||||||
|
|
||||||
&.active {
|
&.active {
|
||||||
background-color: $blue;
|
background-color: $blue;
|
||||||
|
|
|
@ -58,7 +58,8 @@
|
||||||
height: 64px;
|
height: 64px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
color: white;
|
color: white;
|
||||||
background: #999999;
|
background-color: #999999;
|
||||||
|
transition: background-color 0.5s;
|
||||||
|
|
||||||
.avatar {
|
.avatar {
|
||||||
margin-bottom: -30px;
|
margin-bottom: -30px;
|
||||||
|
@ -71,7 +72,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.inactive .conversation-header {
|
.inactive .conversation-header {
|
||||||
background: $grey_l !important;
|
background-color: $grey_l !important;
|
||||||
color: $grey_d;
|
color: $grey_d;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -39,7 +39,8 @@ body {
|
||||||
|
|
||||||
#header {
|
#header {
|
||||||
background-color: #f3f3f3;
|
background-color: #f3f3f3;
|
||||||
color: #454545; }
|
color: #454545;
|
||||||
|
transition: background-color 0.5s; }
|
||||||
#header.active {
|
#header.active {
|
||||||
background-color: #2090ea;
|
background-color: #2090ea;
|
||||||
color: white; }
|
color: white; }
|
||||||
|
@ -473,7 +474,8 @@ input[type=text]:active, input[type=text]:focus, input[type=search]:active, inpu
|
||||||
height: 64px;
|
height: 64px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
color: white;
|
color: white;
|
||||||
background: #999999; }
|
background-color: #999999;
|
||||||
|
transition: background-color 0.5s; }
|
||||||
.conversation-header .avatar {
|
.conversation-header .avatar {
|
||||||
margin-bottom: -30px;
|
margin-bottom: -30px;
|
||||||
border: solid 2px white;
|
border: solid 2px white;
|
||||||
|
@ -484,7 +486,7 @@ input[type=text]:active, input[type=text]:focus, input[type=search]:active, inpu
|
||||||
position: relative; }
|
position: relative; }
|
||||||
|
|
||||||
.inactive .conversation-header {
|
.inactive .conversation-header {
|
||||||
background: #f3f3f3 !important;
|
background-color: #f3f3f3 !important;
|
||||||
color: #454545; }
|
color: #454545; }
|
||||||
|
|
||||||
input.search {
|
input.search {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue