OLD | NEW |
(Empty) | |
| 1 /* |
| 2 Copyright 2013 The Polymer Authors. All rights reserved. |
| 3 Use of this source code is governed by a BSD-style |
| 4 license that can be found in the LICENSE file. |
| 5 */ |
| 6 |
| 7 :host { |
| 8 /* technical */ |
| 9 display: block; |
| 10 box-sizing: border-box; |
| 11 -moz-box-sizing: border-box; |
| 12 /* border/shadow */ |
| 13 border-bottom: 1px solid rgba(0, 0, 0, 0.15); |
| 14 /* size */ |
| 15 height: 60px; |
| 16 font-size: 21px; |
| 17 font-family: 'Helvetica Neue Medium', 'HelveticaNeue-Medium', Helvetica,
sans-serif; |
| 18 position: relative; |
| 19 } |
| 20 |
| 21 :host(.polymer-ui-light-theme:host) { |
| 22 background: #f2f2f2 -webkit-linear-gradient(top, rgba(197,197,197,0), rgba(197
,197,197,0.15)); |
| 23 background: #f2f2f2 -moz-linear-gradient(top, rgba(197,197,197,0), rgba(197,19
7,197,0.15)); |
| 24 background: #f2f2f2 -ms-linear-gradient(top, rgba(197,197,197,0), rgba(197,197
,197,0.15)); |
| 25 color: #333333; |
| 26 } |
| 27 |
| 28 :host(.polymer-ui-dark-theme:host) { |
| 29 background: #444444 none; |
| 30 color: #f3f3f3; |
| 31 } |
| 32 |
| 33 :host(.narrow-layout[responsive]:host) { |
| 34 position: fixed; |
| 35 right: 0; |
| 36 bottom: 0; |
| 37 left: 0; |
| 38 z-index: 1; |
| 39 border: 0; |
| 40 border-top: 1px solid rgba(0, 0, 0, 0.28); |
| 41 } |
| 42 |
| 43 /* TODO(sorvell): use of !important due to inability to |
| 44 naturally win over an :host style */ |
| 45 /*@polyfill :host > polymer-ui-icon-button */ |
| 46 ::content > polymer-ui-icon-button { |
| 47 margin: 0px 8px 0 8px !important; |
| 48 } |
| 49 |
| 50 /*@polyfill :host > polymer-ui-menu-button */ |
| 51 ::content > polymer-ui-menu-button { |
| 52 margin: 0px 8px 0 8px !important; |
| 53 } |
| 54 |
| 55 /*@polyfill :host > polymer-ui-toolbar */ |
| 56 ::content > polymer-ui-toolbar { |
| 57 margin: 0; |
| 58 } |
| 59 |
| 60 /*@polyfill :host > polymer-ui-toolbar:not(.narrow-layout) */ |
| 61 ::content > polymer-ui-toolbar:not(.narrow-layout) { |
| 62 border: 0; |
| 63 background: transparent none; |
| 64 } |
OLD | NEW |