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