-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathcomponent-frame.css
More file actions
162 lines (138 loc) · 2.96 KB
/
component-frame.css
File metadata and controls
162 lines (138 loc) · 2.96 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
156
157
158
159
160
161
162
/** component-frame.css
*
* .component-frame and .frame-body
* NB: may be unused, deleted in 4d2db54746392090df7084978770f58f4709e56c ?
*/
.component-frame {
background: var(--color-brand-gray6);
padding: 0 15px 0 15px;
display: flex;
justify-content: center;
position: relative;
}
.frame-icon {
padding: 12px 0 12px 0;
display: inline-block;
line-height: 1;
}
.frame-icon img {
width: 34px;
}
.frame-body {
margin-left: var(--base-extra-small-space);
padding-top: 12px;
padding-bottom: 12px;
padding-right: 0;
line-height: 2;
display: flex;
align-items: center;
flex-wrap: wrap;
}
.frame-body .title {
margin: 0 0 0 0;
font-size: 1.125rem;
line-height: 1.5rem;
font-weight: var(--weight-semibold);
color: var(--color-brand-gray1);
display: inline-block;
word-break: break-word;
font-family: "Source Sans Pro", sans-serif;
}
.frame-body .title span {
display: inline;
}
.component-frame .frame-link-dropdowns {
display: inline-block;
line-height: 1;
}
.frame-body .frame-link {
position: relative;
color: var(--color-brand-gray1);
font-size: 1.125rem;
font-weight: var(--weight-semibold);
}
.frame-body .frame-link .version {
margin: 0 8px 0 4px;
}
.frame-dropdown {
position: absolute;
display: none;
left: auto;
top: 100%;
z-index: 1;
padding: 0;
right: 4px;
}
.component-frame .frame-dropdown.show {
display: block;
}
.frame-link-dropdowns .frame-link {
color: var(--color-brand-gray1);
font-family: "Source Sans Pro", sans-serif;
}
.frame-link-dropdowns .frame-link svg {
color: var(--color-brand-black);
font-size: var(--font-base);
}
.frame-dropdown .frame-dropdown-list,
.frame-dropdown .related {
margin: 0;
padding: 0.5rem 0;
list-style: none;
min-width: 125px;
}
.frame-dropdown ul {
background: var(--color-brand-white);
border-radius: 0;
margin: 0;
}
.frame-dropdown ul li a,
.frame-dropdown .related li a {
padding: 0.5rem 1rem;
display: inline-block;
width: 100%;
color: var(--color-brand-primary);
font-weight: var(--weight-semibold);
line-height: var(--line-height-base);
}
.frame-dropdown ul li a:hover,
.frame-dropdown .related li a:hover {
background-color: var(--color-brand-gray7);
}
.frame-link-dropdowns .version {
font-family: "Source Sans Pro", sans-serif;
font-size: var(--font-medium);
}
.frame-dropdown .related {
border-left: 3px solid var(--color-brand-gray8);
}
ul.frame-dropdown-list li:last-child,
.frame-dropdown ul.related li:last-child {
border-bottom: 0;
margin-bottom: 0;
padding-bottom: 0;
}
.frame-link,
.frame-item,
.navbar-item {
font-size: var(--font-base);
color: var(--color-brand-gray4);
text-decoration: none;
}
.frame-link:hover,
.frame-item:hover,
.frame-link:active,
.frame-item:active,
.frame-link:visited,
.frame-item:visited,
.navbar-item:hover {
text-decoration: none;
}
.version-control-box {
position: relative;
z-index: 9;
}
.frame-dropdown .column {
display: flex;
box-shadow: 0 3px 10px 0 #e5e5e5;
}