Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
toolbar-tools should be position relative so we use abs position to
Browse files Browse the repository at this point in the history
position things inside toolbar
  • Loading branch information
frankiefu committed Aug 5, 2014
1 parent 2cbabb3 commit c2be482
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions core-toolbar.css
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
}

.toolbar-tools {
position: relative;
height: 64px;
padding: 0 8px;
pointer-events: none;
Expand Down Expand Up @@ -79,23 +80,6 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
left: 0;
}

/* shows bottom bar only when in normal height (!tall && !medium-tall) */
:host(.animate.no-overlap) > #topBar,
:host(.animate.no-overlap) > #middleBar {
transition: -webkit-transform 0.18s ease-in;
transition: transform 0.18s ease-in;
}

:host(.no-overlap:not(.medium-tall):not(.tall)) > #topBar {
-webkit-transform: translateY(-100%);
transform: translateY(-100%);
}

:host(.no-overlap:not(.medium-tall):not(.tall)) > #middleBar {
-webkit-transform: translateY(-200%);
transform: translateY(-200%);
}

/* make elements (e.g. buttons) respond to mouse/touch events */
polyfill-next-selector { content: '.toolbar-tools > *'; }
::content > * {
Expand Down

0 comments on commit c2be482

Please sign in to comment.