Debian Codegraph @

src/cmd/vendor/github.com/google/pprof/internal/driver/html/common.css

raw
1 * {
2 margin: 0;
3 padding: 0;
4 box-sizing: border-box;
5 }
6 html, body {
7 height: 100%;
8 }
9 body {
10 font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
11 font-size: 13px;
12 line-height: 1.4;
13 display: flex;
14 flex-direction: column;
15 }
16 a {
17 color: #2a66d9;
18 }
19 .header {
20 display: flex;
21 align-items: center;
22 height: 44px;
23 min-height: 44px;
24 background-color: #eee;
25 color: #212121;
26 padding: 0 1rem;
27 }
28 .header > div {
29 margin: 0 0.125em;
30 }
31 .header .title h1 {
32 font-size: 1.75em;
33 margin-right: 1rem;
34 margin-bottom: 4px;
35 }
36 .header .title a {
37 color: #212121;
38 text-decoration: none;
39 }
40 .header .title a:hover {
41 text-decoration: underline;
42 }
43 .header .description {
44 width: 100%;
45 text-align: right;
46 white-space: nowrap;
47 }
48 @media screen and (max-width: 799px) {
49 .header input {
50 display: none;
51 }
52 }
53 #detailsbox {
54 display: none;
55 position: fixed;
56 top: 40px;
57 right: 20px;
58 background-color: #ffffff;
59 box-shadow: 0 1px 5px rgba(0,0,0,.3);
60 line-height: 24px;
61 padding: 1em;
62 text-align: left;
63 }
64 .header input {
65 background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' style='pointer-events:none;display:block;width:100%25;height:100%25;fill:%23757575'%3E%3Cpath d='M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61.0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/%3E%3C/svg%3E") no-repeat 4px center/20px 20px;
66 border: 1px solid #d1d2d3;
67 border-radius: 2px 0 0 2px;
68 padding: 0.25em;
69 padding-left: 28px;
70 margin-left: 1em;
71 font-family: 'Roboto', 'Noto', sans-serif;
72 font-size: 1em;
73 line-height: 24px;
74 color: #212121;
75 }
76 .downArrow {
77 border-top: .36em solid #ccc;
78 border-left: .36em solid transparent;
79 border-right: .36em solid transparent;
80 margin-bottom: .05em;
81 margin-left: .5em;
82 transition: border-top-color 200ms;
83 }
84 .menu-item {
85 height: 100%;
86 text-transform: uppercase;
87 font-family: 'Roboto Medium', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
88 position: relative;
89 }
90 .menu-item .menu-name:hover {
91 opacity: 0.75;
92 }
93 .menu-item .menu-name:hover .downArrow {
94 border-top-color: #666;
95 }
96 .menu-name {
97 height: 100%;
98 padding: 0 0.5em;
99 display: flex;
100 align-items: center;
101 justify-content: center;
102 }
103 .menu-name a {
104 text-decoration: none;
105 color: #212121;
106 }
107 .submenu {
108 display: none;
109 margin-top: -4px;
110 min-width: 10em;
111 position: absolute;
112 left: 0px;
113 background-color: white;
114 box-shadow: 0 1px 5px rgba(0,0,0,.3);
115 font-size: 100%;
116 text-transform: none;
117 white-space: nowrap;
118 }
119 .menu-item, .submenu {
120 user-select: none;
121 -moz-user-select: none;
122 -ms-user-select: none;
123 -webkit-user-select: none;
124 }
125 .submenu hr {
126 border: 0;
127 border-top: 2px solid #eee;
128 }
129 .submenu a {
130 display: block;
131 padding: .5em 1em;
132 text-decoration: none;
133 }
134 .submenu a:hover, .submenu a.active {
135 color: white;
136 background-color: #6b82d6;
137 }
138 .submenu a.disabled {
139 color: gray;
140 pointer-events: none;
141 }
142 .menu-check-mark {
143 position: absolute;
144 left: 2px;
145 }
146 .menu-delete-btn {
147 position: absolute;
148 right: 2px;
149 }
150
151 .help {
152 padding-left: 1em;
153 }
154
155 {{/* Used to disable events when a modal dialog is displayed */}}
156 #dialog-overlay {
157 display: none;
158 position: fixed;
159 left: 0px;
160 top: 0px;
161 width: 100%;
162 height: 100%;
163 background-color: rgba(1,1,1,0.1);
164 }
165
166 .dialog {
167 {{/* Displayed centered horizontally near the top */}}
168 display: none;
169 position: fixed;
170 margin: 0px;
171 top: 60px;
172 left: 50%;
173 transform: translateX(-50%);
174 font-size: 125%;
175 background-color: #ffffff;
176 box-shadow: 0 1px 5px rgba(0,0,0,.3);
177 }
178 .dialog-header {
179 font-size: 120%;
180 border-bottom: 1px solid #CCCCCC;
181 width: 100%;
182 text-align: center;
183 background: #EEEEEE;
184 user-select: none;
185 }
186 .dialog-footer {
187 border-top: 1px solid #CCCCCC;
188 width: 100%;
189 text-align: right;
190 padding: 10px;
191 }
192 .dialog-error {
193 margin: 10px;
194 color: red;
195 }
196 .dialog input {
197 margin: 10px;
198 font-size: inherit;
199 }
200 .dialog button {
201 margin-left: 10px;
202 font-size: inherit;
203 }
204 #save-dialog, #delete-dialog {
205 width: 50%;
206 max-width: 20em;
207 }
208 #delete-prompt {
209 padding: 10px;
210 }
211
212 #content {
213 overflow-y: scroll;
214 padding: 1em;
215 }
216 #top {
217 overflow-y: scroll;
218 }
219 #graph {
220 overflow: hidden;
221 width: 100%;
222 height: 100%;
223 }
224 #graph svg {
225 width: 100%;
226 height: 100%;
227 padding: 10px;
228 }
229 #content.source .filename {
230 margin-top: 0;
231 margin-bottom: 1em;
232 font-size: 120%;
233 }
234 #content.source pre {
235 margin-bottom: 3em;
236 }
237 table {
238 border-spacing: 0px;
239 width: 100%;
240 padding-bottom: 1em;
241 white-space: nowrap;
242 }
243 table thead {
244 font-family: 'Roboto Medium', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
245 }
246 table tr th {
247 position: sticky;
248 top: 0;
249 background-color: #ddd;
250 text-align: right;
251 padding: .3em .5em;
252 }
253 table tr td {
254 padding: .3em .5em;
255 text-align: right;
256 }
257 #top table tr th:nth-child(6),
258 #top table tr th:nth-child(7),
259 #top table tr td:nth-child(6),
260 #top table tr td:nth-child(7) {
261 text-align: left;
262 }
263 #top table tr td:nth-child(6) {
264 width: 100%;
265 text-overflow: ellipsis;
266 overflow: hidden;
267 white-space: nowrap;
268 }
269 #flathdr1, #flathdr2, #cumhdr1, #cumhdr2, #namehdr {
270 cursor: ns-resize;
271 }
272 .hilite {
273 background-color: #ebf5fb;
274 font-weight: bold;
275 }
276 /* stacking order */
277 .boxtext { z-index: 2; } /* flame graph box text */
278 #current-details { z-index: 2; } /* flame graph current box info */
279 #detailsbox { z-index: 3; } /* profile details */
280 .submenu { z-index: 4; }
281 .dialog { z-index: 5; }