iron-component-page.css
2.84 KB
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
/**
@license
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/
:host {
font-family: 'Roboto', 'Noto', sans-serif;
@apply(--layout-fit);
@apply(--layout);
@apply(--layout-vertical);
overflow: hidden;
background: var(--paper-grey-50);
}
p {
max-width: 20em;
}
paper-header-panel {
@apply(--layout-flex);
background: var(--paper-grey-50);
}
paper-toolbar {
--paper-toolbar-background: var(--paper-grey-50);
--paper-toolbar-color: var(--paper-grey-800);
flex-shrink: 0;
}
:host > paper-header-panel {
opacity: 0;
transition: opacity 0.5s;
}
:host(.loaded) > paper-header-panel {
opacity: 1.0;
}
#content {
display: block;
background: var(--paper-grey-50);
}
paper-toolbar a {
margin: 0 10px;
cursor: pointer;
}
paper-toolbar a:last-child {
margin-right: 0;
}
paper-toolbar a, paper-toolbar a iron-icon {
font-weight: normal;
color: var(--paper-grey-500);
}
paper-toolbar iron-icon {
margin: -2px 5px 0 0;
}
paper-toolbar a:hover, paper-toolbar a:hover iron-icon, paper-toolbar a.iron-selected, paper-toolbar a.iron-selected iron-icon {
color: var(--paper-grey-800);
}
#demo {
@apply(--layout-fit);
}
#nodocs {
background: var(--paper-grey-50);
font-size: 24px;
font-weight: 400;
color: var(--paper-grey-400);
}
#demo {
border: 0;
background: transparent;
width: 100%;
height: 100%;
overflow-x: none;
overflow-y: auto;
}
#view > * {
display: none;
}
#view > .iron-selected {
display: block;
}
#docs {
padding: 20px;
max-width: 48em;
margin: 0 auto;
}
#active {
font-size: 20px;
font-family: Roboto, Noto;
border: 0;
background: transparent;
}
paper-toolbar a {
font-size: 14px;
text-transform: uppercase;
cursor: pointer;
}
#cart-icon {
margin-left: 10px;
cursor: pointer;
}
#catalog-heading {
margin: 4px 0 18px;
}
#catalog-heading h2 {
color: var(--paper-grey-800);
@apply(--paper-font-title);
margin: 0;
}
#catalog-heading .version {
color: var(--paper-grey-500);
font-size: 18px;
line-height: 24px;
font-weight: 400;
}
#catalog-heading .version:before {
content: "(";
}
#catalog-heading .version:after {
content: ")";
}
[catalog-only] {
display: none;
}
:host([_catalog]) [catalog-only] {
display: block;
}
:host([_catalog]) [catalog-hidden] {
display: none;
}