forked from Polymer/old-docs-site
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathelementpage.scss
More file actions
86 lines (72 loc) · 1.7 KB
/
elementpage.scss
File metadata and controls
86 lines (72 loc) · 1.7 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
/*
* @license
* Copyright (c) 2014 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
*/
@import "base";
//@import "spec";
//@import "polymer";
/* Elements */
.element-list {
> [data-element-file] {
padding-bottom: $additonalPadding;
border-top: 1px solid $main-bg;
height: 95px;
overflow: hidden;
cursor: pointer;
// transition: height 300ms ease-in-out;
&.expand {
height: auto;
}
}
header {
margin: $additonalPadding 0;
h2 {
margin: 0 !important;
// Note: permalink :target anchors don't work when these are flexbox.
@include display-flex;
@include align-items(center);
@include justify-content(flex-end);
span {
@include flex(1);
}
}
a {
margin-left: 20px;
&:not(.permalink) {
font-size: initial;
}
&[disabled] {
opacity: 0.3;
}
}
}
.name {
display: inline-block;
code {
white-space: nowrap;
}
}
.nodocs {
margin-left: 17px;
font-style: italic;
&:after {
content: 'No documentation available.';
}
}
iframe {
border: none;
width: 100%;
}
.bower_install_instructions,
.api_documentation {
display: block;
> label {
font-weight: 500;
}
}
}