Skip to content

Commit

Permalink
Merge pull request #103 from PolymerLabs/header-css-updates
Browse files Browse the repository at this point in the history
Clean up app-header CSS
  • Loading branch information
frankiefu committed Mar 11, 2016
2 parents b20577b + 5dcce52 commit 73a2092
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
9 changes: 1 addition & 8 deletions app-header/app-header.html
Original file line number Diff line number Diff line change
Expand Up @@ -94,16 +94,11 @@
:host {
position: relative;
display: block;
-webkit-transform: translateZ(0);
-webkit-transition-property: -webkit-transform;
transition-property: -webkit-transform;
transition-property: transform;
transition-timing-function: linear;
}

:host > ::content > app-toolbar:first-of-type {
-webkit-transform: translateZ(0);
}

:host::after {
content: "";
position: absolute;
Expand All @@ -116,9 +111,7 @@
opacity: 0;
box-shadow: inset 0px 5px 6px -3px rgba(0, 0, 0, 0.4);
will-change: opacity;
-webkit-transition: opacity 0.4s;
transition: opacity 0.4s;
-webkit-transform: translateZ(0);
@apply(--app-header-shadow);
}

Expand Down
1 change: 0 additions & 1 deletion app-header/demo/notes.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@
background-color: #e91e63;
color: #fff;
--app-header-shadow: {
-webkit-transition: none;
transition: none;
};
}
Expand Down
1 change: 1 addition & 0 deletions templates/pesto/src/recipe-list.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
background-repeat: no-repeat;
background-position: center center;
background-size: 240px;
-webkit-transform-origin: center top !important;
transform-origin: center top !important;

/* The difference in font size is used to calculate the scale of the title in the transition. */
Expand Down

0 comments on commit 73a2092

Please sign in to comment.