2 Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
3 This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
4 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
5 The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
6 Code distributed by Google as part of the polymer project is also
7 subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
25 box-sizing: border-box
;
26 -mox-box-sizing: border-box
;
30 transition: -webkit-transform ease-in-out
0.3s, width ease-in-out
0.3s;
31 transition: transform ease-in-out
0.3s, width ease-in-out
0.3s;
35 right-drawer: make drawer on the right side
37 .right-drawer #drawer {
42 .right-drawer.transition #drawer {
43 transition: -webkit-transform ease-in-out
0.3s, width ease-in-out
0.3s;
44 transition: transform ease-in-out
0.3s, width ease-in-out
0.3s;
47 polyfill-next-selector
{ content: ':host [drawer]'; }
48 ::content
[select
="[drawer]"] > * {
54 box-sizing: border-box
;
55 -moz-box-sizing: border-box
;
66 transition: left ease-in-out
0.3s, padding ease-in-out
0.3s;
73 .right-drawer.transition #main {
74 transition: right ease-in-out
0.3s, padding ease-in-out
0.3s;
77 polyfill-next-selector
{ content: '#main > [main]'; }
78 ::content
[select
="[main]"] > * {
88 background-color: rgba
(0, 0, 0, 0.3);
91 transition: opacity ease-in-out
0.38s, visibility ease-in-out
0.38s;
97 .narrow-layout > #drawer.core-selected {
98 box-shadow: 2px 2px 4px rgba
(0, 0, 0, 0.15);
101 .right-drawer.narrow-layout > #drawer.core-selected {
102 box-shadow: -2px 2px 4px rgba
(0, 0, 0, 0.15);
105 polyfill-next-selector
{ content: ':host .narrow-layout > #drawer > [drawer]'; }
106 .narrow-layout > #drawer > ::content[select="[drawer]"] > * {
110 .narrow-layout > #drawer:not(.core-selected) {
111 -webkit-transform: translate3d
(-100%, 0, 0);
112 transform: translate3d
(-100%, 0, 0);
115 .right-drawer.narrow-layout > #drawer:not(.core-selected) {
117 -webkit-transform: translate3d
(100%, 0, 0);
118 transform: translate3d
(100%, 0, 0);
121 .narrow-layout > #main {
126 .right-drawer.narrow-layout > #main {
132 .narrow-layout
> #
main:not
(.core-selected
) #scrim
,
138 polyfill-next-selector
{ content: ':host .narrow-layout > #main > [main]'; }
139 .narrow-layout > #main > ::content[select="[main]"] > * {
144 box-sizing: border-box
;
145 -moz-box-sizing: border-box
;