OLD | NEW |
1 /* | 1 /* |
2 Copyright (c) 2014 The Polymer Project Authors. All rights reserved. | 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.g
ithub.io/LICENSE.txt | 3 This code may only be used under the BSD style license found at http://polymer.g
ithub.io/LICENSE.txt |
4 The complete set of authors may be found at http://polymer.github.io/AUTHORS.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/CONTRI
BUTORS.txt | 5 The complete set of contributors may be found at http://polymer.github.io/CONTRI
BUTORS.txt |
6 Code distributed by Google as part of the polymer project is also | 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/PATEN
TS.txt | 7 subject to an additional IP rights grant found at http://polymer.github.io/PATEN
TS.txt |
8 */ | 8 */ |
9 | 9 |
10 :host { | 10 :host { |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 | 81 |
82 /* bottom bar */ | 82 /* bottom bar */ |
83 #bottomBar { | 83 #bottomBar { |
84 position: absolute; | 84 position: absolute; |
85 right: 0; | 85 right: 0; |
86 bottom: 0; | 86 bottom: 0; |
87 left: 0; | 87 left: 0; |
88 } | 88 } |
89 | 89 |
90 /* make elements (e.g. buttons) respond to mouse/touch events */ | 90 /* make elements (e.g. buttons) respond to mouse/touch events */ |
91 polyfill-next-selector { content: '.toolbar-tools > *'; } | 91 polyfill-next-selector { content: '.toolbar-tools > *:not([disabled])'; } |
92 ::content > * { | 92 ::content > *:not([disabled]) { |
93 pointer-events: auto; | 93 pointer-events: auto; |
94 } | 94 } |
95 | 95 |
96 /* elements spacing */ | 96 /* elements spacing */ |
97 polyfill-next-selector { content: '.toolbar-tools > *'; } | 97 polyfill-next-selector { content: '.toolbar-tools > *'; } |
98 ::content > * { | 98 ::content > * { |
99 margin: 0 8px; | 99 margin: 0 8px; |
100 } | 100 } |
101 | 101 |
102 /* misc helpers */ | 102 /* misc helpers */ |
103 polyfill-next-selector { content: '.toolbar-tools > .fit'; } | 103 polyfill-next-selector { content: '.toolbar-tools > .fit'; } |
104 ::content > .fit { | 104 ::content > .fit { |
105 position: absolute; | 105 position: absolute; |
106 top: auto; | 106 top: auto; |
107 right: 0; | 107 right: 0; |
108 bottom: 0; | 108 bottom: 0; |
109 left: 0; | 109 left: 0; |
110 width: auto; | 110 width: auto; |
111 margin: 0; | 111 margin: 0; |
112 } | 112 } |
113 | 113 |
114 polyfill-next-selector { content: ':host .indent'; } | 114 polyfill-next-selector { content: ':host .indent'; } |
115 ::content > .indent { | 115 ::content > .indent { |
116 margin-left: 60px; | 116 margin-left: 60px; |
117 } | 117 } |
OLD | NEW |