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

Commit

Permalink
fixes #25
Browse files Browse the repository at this point in the history
  • Loading branch information
frankiefu committed Sep 29, 2014
1 parent 0c65451 commit b605b20
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions core-drawer-panel.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
overflow: hidden;
}

#drawer {
core-selector > #drawer {
position: absolute;
top: 0;
left: 0;
Expand All @@ -27,20 +27,20 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
-mox-box-sizing: border-box;
}

.transition #drawer {
.transition > #drawer {
transition: -webkit-transform ease-in-out 0.3s, width ease-in-out 0.3s;
transition: transform ease-in-out 0.3s, width ease-in-out 0.3s;
}

/*
right-drawer: make drawer on the right side
*/
.right-drawer #drawer {
.right-drawer > #drawer {
left: auto;
right: 0;
}

.right-drawer.transition #drawer {
.right-drawer.transition > #drawer {
transition: -webkit-transform ease-in-out 0.3s, width ease-in-out 0.3s;
transition: transform ease-in-out 0.3s, width ease-in-out 0.3s;
}
Expand All @@ -56,22 +56,22 @@ polyfill-next-selector { content: ':host [drawer]'; }
-moz-box-sizing: border-box;
}

#main {
core-selector > #main {
position: absolute;
top: 0;
right: 0;
bottom: 0;
}

.transition #main {
.transition > #main {
transition: left ease-in-out 0.3s, padding ease-in-out 0.3s;
}

.right-drawer #main {
.right-drawer > #main {
left: 0;
}

.right-drawer.transition #main {
.right-drawer.transition > #main {
transition: right ease-in-out 0.3s, padding ease-in-out 0.3s;
}

Expand Down Expand Up @@ -130,7 +130,7 @@ polyfill-next-selector { content: ':host .narrow-layout > #drawer > [drawer]'; }
padding: 0;
}

.narrow-layout > #main:not(.core-selected) #scrim,
.narrow-layout > #main:not(.core-selected) > #scrim,
.dragging #scrim {
visibility: visible;
opacity: 1;
Expand Down

0 comments on commit b605b20

Please sign in to comment.