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

Commit

Permalink
use polyfill-next-selector instead of @polyfill rule
Browse files Browse the repository at this point in the history
  • Loading branch information
frankiefu committed May 16, 2014
1 parent da2decf commit 5e0a53c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core-drawer-panel.css
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ right-drawer: make drawer on the right side
transition: transform ease-in-out 0.3s, width ease-in-out 0.3s;
}

/*@polyfill :host [drawer] */
polyfill-next-selector { content: ':host [drawer]'; }
::content[select="[drawer]"] > * {
position: absolute;
top: 0;
Expand Down Expand Up @@ -114,7 +114,7 @@ narrow layout
box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.15);
}

/*@polyfill :host .narrow-layout > #drawer > [drawer] */
polyfill-next-selector { content: ':host .narrow-layout > #drawer > [drawer]'; }
.narrow-layout > #drawer > ::content[select="[drawer]"] > * {
border: 0;
}
Expand Down Expand Up @@ -146,7 +146,7 @@ narrow layout
opacity: 1;
}

/*@polyfill :host .narrow-layout > #main > [main] */
polyfill-next-selector { content: ':host .narrow-layout > #main > [main]'; }
.narrow-layout > #main > ::content[select="[main]"] > * {
margin: 0;
min-height: 100%;
Expand Down

0 comments on commit 5e0a53c

Please sign in to comment.