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

Commit

Permalink
position shadow behind other elements
Browse files Browse the repository at this point in the history
  • Loading branch information
Yvonne Yip committed Jun 23, 2014
1 parent 10b45d6 commit 11e201a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions paper-dialog.css
Expand Up @@ -9,6 +9,7 @@
left: 0;
bottom: 0;
right: 0;
z-index: -1;
}

#container {
Expand Down
5 changes: 3 additions & 2 deletions paper-dialog.html
Expand Up @@ -27,8 +27,9 @@

<link href="paper-dialog.css" rel="stylesheet">

<div id="shadow"></div>
<paper-shadow z="3" target="{{$.shadow}}" hasPosition></paper-shadow>
<div id="shadow">
<paper-shadow z="3" hasPosition></paper-shadow>
</div>

<core-overlay id="overlay" opened="{{opened}}" target="{{}}" sizingTarget="{{$.container}}" closeSelector="[dismissive],[affirmative]" transition="{{transition}}" margin="20"></core-overlay>

Expand Down

0 comments on commit 11e201a

Please sign in to comment.