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

Commit

Permalink
Use layout attributes in demo. Also shim css styles for polyfill
Browse files Browse the repository at this point in the history
  • Loading branch information
ebidel committed Aug 28, 2014
1 parent 4b8e03a commit 5454f3c
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,6 @@
padding: 24px;
}

section {
display: flex;
justify-content: center;
align-items: center;
}

.example {
margin: 35px 15px;
}
Expand Down Expand Up @@ -78,6 +72,9 @@
border-radius: 5px;
}

</style>

<style shim-shadowdom>
core-tooltip.fancy::shadow .polymer-tooltip {
opacity: 0;
-webkit-transition: all 300ms cubic-bezier(0,1.92,.99,1.07);
Expand All @@ -92,10 +89,9 @@
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}
</style>
<style shim-shadowdom2>

.on /deep/ .polymer-tooltip {
visibility: visible;
visibility: visible !important;
}
</style>

Expand All @@ -106,7 +102,7 @@

<em>click the page to toggle all examples...</em>

<section class="small">
<section class="small" layout horizontal center-center>

<div class="example">

Expand Down Expand Up @@ -139,7 +135,7 @@

</section>

<section>
<section layout horizontal center-center>

<div class="example">

Expand All @@ -162,7 +158,7 @@

</section>

<section>
<section layout horizontal center-center>

<div class="example">

Expand Down

0 comments on commit 5454f3c

Please sign in to comment.