Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(52)

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/ui/helpScreen.css

Issue 1397403003: [DevTools] Remove HelpScreen, turn SettingsScreen into dialog and web component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@screens
Patch Set: rebased Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 .help-window-outer {
2 position: absolute !important;
3 top: 0;
4 left: 0;
5 right: 0;
6 bottom: 0;
7 z-index: 2000;
8 }
9
10 .help-window-main {
11 color: white;
12 background-color: rgba(17, 17, 17, 0.85);
13 display: -webkit-flex;
14 -webkit-flex-direction: column;
15 border-top-width: 0;
16 border-radius: 10px;
17 }
18
19 .help-window-caption {
20 border-bottom: solid 1px rgb(153, 153, 153);
21 margin: 0 8px;
22 padding: 0 2px;
23 line-height: 28px;
24 }
25
26 .help-window-title {
27 font-size: 16px;
28 margin: 0;
29 padding-top: 1px;
30 margin-bottom: -1px;
31 }
32
33 .help-content {
34 overflow-y: auto;
35 overflow-x: hidden;
36 margin: 8px 8px 8px 0;
37 padding: 0 4px;
38 flex: auto;
39 }
40
41 .help-footnote {
42 border-top: 1px solid #EEEEEE;
43 margin: 0;
44 padding: 12px;
45 }
46
47 .help-window-main .help-container-wrapper::-webkit-scrollbar {
48 width: 11px;
49 }
50
51 .help-window-main .help-container-wrapper::-webkit-scrollbar-corner,
52 .help-window-main .help-container-wrapper::-webkit-resizer {
53 display: none;
54 }
55
56 .help-window-main .help-container-wrapper::-webkit-scrollbar-thumb:vertical {
57 background: linear-gradient(to right, rgb(128, 128, 128), rgb(96, 96, 96) 40 %, rgb(128, 128, 128));
58 border-radius: 5px;
59 min-height: 20px;
60 }
61
62 .help-window-main .help-container-wrapper::-webkit-scrollbar-thumb:vertical:hove r,
63 .help-window-main .help-container-wrapper::-webkit-scrollbar-thumb:vertical:acti ve {
64 background: linear-gradient(to right, rgb(176, 176, 176), rgb(144, 144, 144) 40%, rgb(176, 176, 176));
65 }
66
67 .help-window-main .help-container-wrapper::-webkit-scrollbar-track:vertical {
68 background: linear-gradient(to right, rgb(10, 10, 10), rgb(32, 32, 32) 25%, rgb(32, 32, 32));
69 border-radius: 5px;
70 }
71
72 .help-close-button {
73 position: absolute;
74 top: 8px;
75 right: 8px;
76 z-index: 10;
77 }
78
79 body.dock-to-bottom .help-content {
80 margin-bottom: 8px;
81 }
82
83 .help-container {
84 width: 100%;
85 -webkit-user-select: auto;
86 -webkit-column-width: 288px;
87 }
88
89 .help-no-columns {
90 -webkit-column-width: initial !important;
91 }
92
93 .help-block {
94 display: block;
95 padding-bottom: 9px;
96 width: 288px;
97 -webkit-column-break-inside: avoid;
98 }
99
100 .settings-tab.help-container {
101 -webkit-column-width: 308px;
102 }
103
104 .settings-tab .help-block {
105 margin-left: 20px;
106 }
107
108 .settings-tab .field-error-message {
109 color: DarkRed;
110 height: 0; /* Avoid changing element height when content is set. */
111 }
112
113 .help-line {
114 padding-bottom: 5px;
115 margin-bottom: 5px;
116 }
117
118 .help-key-cell {
119 display: inline-block;
120 width: 153px;
121 white-space: nowrap;
122 text-align: right;
123 vertical-align: middle;
124 padding-right: 6px;
125 }
126
127 .help-cell {
128 display: inline-block;
129 width: 135px;
130 vertical-align: middle;
131 }
132
133 .help-section-title {
134 font-size: 120%;
135 text-align: left;
136 }
137
138 .help-key {
139 padding: 0.1em 0.6em;
140 border: 1px solid #ccc;
141 font-size: 11px;
142 background-color: #f7f7f7;
143 color: #333;
144 box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), 0 0 0 2px #ffffff inset;
145 border-radius: 3px;
146 display: inline-block;
147 margin: 0 0.1em;
148 text-shadow: 0 1px 0 #fff;
149 line-height: 1.5;
150 white-space: nowrap;
151 font-family: Lucida Grande, sans-serif;
152 }
153
154 .help-combine-keys,
155 .help-key-delimiter {
156 font-size: 9px;
157 }
158
159 .help-combine-keys {
160 margin: 0 0.3em;
161 }
162
163 .help-key-delimiter {
164 margin: 0 0.5em;
165 display: none;
166 }
167
168 .help-window-outer fieldset {
169 margin: 0;
170 padding: 0;
171 border: none;
172 }
173
174 .settings-tab label {
175 padding-right: 4px;
176 display: inline-flex;
177 }
178
179 #general-tab-content .help-block fieldset legend {
180 font-size: 14px;
181 }
182
183 .help-block p p {
184 padding-left: 30px;
185 }
186
187 .help-content p.help-section {
188 margin: 0 0 15px 0;
189 }
190
191 .settings-experiments-warning-subsection-warning {
192 color: rgb(200, 0, 0);
193 }
194
195 .settings-experiments-warning-subsection-message {
196 color: inherit;
197 }
198
199 .help-content input[type=checkbox] {
200 margin: 1px 7px 1px 2px;
201 }
202
203 .help-content option {
204 background-color: #EEEEEE;
205 color: #222;
206 }
207
208 #settings-screen .help-window-main{
209 color: rgb(48, 57, 66);
210 background-color: white;
211 border-radius: 0;
212 }
213
214 #settings-screen .help-window-main {
215 position: absolute;
216 top: 10px;
217 right: 10px;
218 bottom: 10px;
219 left: 10px;
220 height: initial;
221 padding: 11px 0 0 0;
222 box-shadow: 1px 1px 5px 2px rgba(128, 128, 128, 0.7);
223 }
224
225 #settings-screen .help-window-label {
226 font-size: 18px;
227 color: inherit;
228 padding: 1px 0 15px 17px;
229 }
230
231 .help-container-wrapper {
232 position: absolute;
233 top: 40px;
234 left: 0px;
235 right: 0;
236 bottom: 0;
237 overflow: auto;
238 }
239
240 .settings-tab.help-content {
241 margin: 0;
242 padding: 0;
243 }
244
245 .settings-tab input:not([type]),
246 .settings-tab input[type="text"] {
247 border: 1px solid rgb(213, 213, 213);
248 border-radius: 2px;
249 color: #444444;
250 padding: 3px;
251 }
252
253 .settings-tab input.numeric {
254 text-align: right;
255 }
256
257 .settings-tab-container {
258 flex: auto;
259 overflow: hidden;
260 }
261
262 .settings-tab-container header {
263 padding: 0 0 6px;
264 border-bottom: 1px solid #EEEEEE;
265 }
266
267 #experiments-tab-content .help-container {
268 -webkit-column-width: 470px;
269 }
270
271 #experiments-tab-content .help-block {
272 width: 470px;
273 margin-left: 0;
274 }
275
276 .settings-tab-container header > h3 {
277 font-size: 18px;
278 font-weight: normal;
279 margin: 0;
280 padding-bottom: 3px;
281 }
282
283 .settings-tab .help-section-title {
284 margin-left: -20px;
285 color: #222;
286 }
287
288 .settings-tab .help-block fieldset:disabled label:hover {
289 color: inherit;
290 }
291
292 .settings-tab .help-block label:hover {
293 color: #222;
294 }
295
296 .settings-tab p {
297 margin: 12px 0;
298 }
299
300 .settings-tab select {
301 margin-left: 10px;
302 }
303
304 #workspace-tab-content .settings-tab.help-content.help-container {
305 -webkit-column-width: initial;
306 }
307
308
309 #workspace-tab-content .button:hover {
310 opacity: 1.0 !important;
311 }
312
313 #workspace-tab-content .help-block {
314 width: auto;
315 margin-right: 20px;
316 }
317
318 .settings-tab .settings-list {
319 border: 1px solid hsl(0, 0%, 85%);
320 border-radius: 2px;
321 }
322
323 .settings-tab .settings-list .settings-list-item:not(.editable) {
324 background-color: #eee;
325 }
326
327 .excluded-folders-list .settings-list-item:not(.editable) .settings-list-column- path:before,
328 .settings-list-item:not(.editable) .list-column.settings-list-column-url:before {
329 content: "\1F512";
330 margin-right: 5px;
331 }
332
333
334 .settings-tab .settings-list .settings-list-item .settings-list-item-contents {
335 width: 100%;
336 height: 40px;
337 -webkit-box-align: center;
338 -webkit-transition: 150ms background-color;
339 display: -webkit-box;
340 padding-right: 8px;
341 }
342
343 .settings-tab .settings-list .settings-list-item .settings-list-item-contents > :first-child {
344 -webkit-box-align: center;
345 -webkit-box-flex: 1;
346 -webkit-padding-end: 5px;
347 display: -webkit-box;
348 }
349
350 .settings-tab .settings-list .settings-list-item.selected:not(.editable) {
351 background-color: hsl(0, 0%, 82%);
352 }
353
354 .settings-tab .settings-list .settings-list-item:hover {
355 background-color: hsl(215, 54%, 93%);
356 }
357
358 .settings-tab .settings-list .settings-list-item.selected:not(.editable):hover {
359 background-color: hsl(215, 51%, 82%);
360 }
361
362 .settings-tab .settings-list .settings-list-item .remove-item-button {
363 -webkit-transition: 150ms opacity;
364 background-color: hsla(0, 0%, 0%, 0);
365 background-image: -webkit-image-set(
366 url(Images/settingsListRemove.png) 1x,
367 url(Images/settingsListRemove_2x.png) 2x);
368 background-size: 48px 16px;
369 border: none;
370 display: block;
371 height: 16px;
372 width: 16px;
373 opacity: 0;
374 pointer-events: none;
375 }
376
377 .settings-tab .settings-list .settings-list-item.selected .remove-item-button,
378 .settings-tab .settings-list .settings-list-item:hover .remove-item-button {
379 opacity: 1;
380 pointer-events: auto;
381 }
382
383 .settings-tab .settings-list .settings-list-item .remove-item-button:hover {
384 background-position-x: -32px;
385 }
386
387 .settings-tab .settings-list .settings-list-item .remove-item-button:active {
388 background-position-x: -16px;
389 }
390
391 .settings-list-item-columns {
392 height: 100%;
393 }
394
395 .settings-tab .settings-list .settings-list-item .list-column {
396 displaY: -webkit-box;
397 -webkit-box-align: center;
398 padding-left: 5px;
399 padding-right: 2px;
400 box-sizing: border-box;
401 overflow: hidden;
402 text-overflow: ellipsis;
403 height: 100%;
404 }
405
406 .settings-tab .settings-list .settings-list-item .list-column .list-column-edito r {
407 width: 100%;
408 }
409
410 .settings-tab .settings-list .settings-list-item.add-list-item .remove-item-butt on {
411 visibility: hidden;
412 }
413
414 .settings-tab .settings-list .settings-list-item.editable .list-column .list-col umn-editor {
415 display: none;
416 }
417
418 .settings-tab .settings-list .settings-list-item.editable.item-editing .list-col umn .list-column-editor {
419 display: block;
420 }
421
422 .settings-tab .settings-list .settings-list-item.editable.item-editing .list-col umn .list-column-text {
423 display: none;
424 }
425
426 .settings-tab .settings-list .settings-list-item.editable.item-editing .list-col umn .list-column-editor.editable-item-error {
427 background-color: pink;
428 }
429
430 input.list-column-editor {
431 border: 1px solid rgb(213, 213, 213);
432 border-radius: 2px;
433 color: #444444;
434 padding: 3px;
435 }
436 select.list-column-editor {
437 padding: 2px;
438 margin-left: 0;
439 }
440
441 .settings-tab .file-system-container {
442 margin-bottom: 20px;
443 }
444
445 .settings-tab .file-system-header {
446 display: flex;
447 flex-direction: row;
448 align-items: baseline;
449 }
450
451 .settings-tab .file-system-path {
452 white-space: nowrap;
453 font-size: 1.4em;
454 padding-right: 5px;
455 -webkit-box-flex: 1;
456 color: hsl(210, 16%, 22%);
457 margin-bottom: 8px;
458 overflow: hidden;
459 flex: 0 1 auto;
460 margin-right: 5px;
461 text-overflow: ellipsis;
462 }
463
464 .settings-tab .file-system-path-name {
465 padding-right: 6px;
466 font-weight: bold;
467 }
468
469 .file-systems-list .settings-list-item .list-column.settings-list-column-path {
470 width: 100%;
471 }
472
473 .file-mappings-list .settings-list-item .list-column.settings-list-column-url {
474 width: 50%;
475 }
476
477 .file-mappings-list .settings-list-item .list-column.settings-list-column-path {
478 width: 50%;
479 }
480
481 .blackbox-patterns-list {
482 max-width: 700px;
483 }
484
485 .blackbox-patterns-list .settings-list-item .list-column.settings-list-column-pa ttern {
486 width: 80%;
487 }
488
489 .blackbox-patterns-list .settings-list-item .list-column.settings-list-column-va lue {
490 width: 20%;
491 }
492
493 .excluded-folders-header {
494 margin-top: 10px;
495 }
496
497 .excluded-folders-list .settings-list-item .list-column.settings-list-column-pat h {
498 width: 100%;
499 }
500
501 .settings-tab .settings-list .settings-list-item.disabled .settings-list-column- pattern .list-column-text {
502 color: #666;
503 text-decoration: line-through;
504 }
505
506 .settings-dialog {
507 display: -webkit-flex;
508 -webkit-flex-direction: column;
509 }
510
511 .settings-dialog .dialog-contents {
512 display: flex;
513 flex-direction: column;
514 }
515
516 .settings-dialog .header {
517 flex: 0 0 auto;
518 color: #333;
519 font-size: 14px;
520 margin: 0;
521 padding: 14px 17px 14px;
522 }
523
524 .settings-dialog .contents {
525 flex: 1 1 auto;
526 overflow-x: hidden;
527 overflow-y: auto;
528 }
529
530 .settings-dialog .block-header {
531 color: black;
532 font-size: 1.2em;
533 margin-bottom: 0.8em;
534 }
535
536 .blackbox-dialog .columns-header {
537 color: black;
538 font-weight: bold;
539 margin-bottom: 0.4em;
540 display: -webkit-box;
541 padding: 0;
542 max-width: 700px;
543 }
544
545 .blackbox-dialog .columns-header span {
546 width: 80%;
547 display: -webkit-box;
548 }
549
550 .blackbox-dialog .columns-header span + span {
551 margin-left: -17px;
552 width: 20%;
553 }
554
555 .blackbox-content-scripts {
556 padding: 0 0 14px 0;
557 margin-left: -4px;
558 }
559
560 .settings-dialog .done-button {
561 float: right;
562 }
563
564 .settings-glass-pane {
565 -webkit-box-align: center;
566 -webkit-box-orient: vertical;
567 -webkit-box-pack: center;
568 display: -webkit-box;
569 z-index: 2000 !important;
570 padding: 5px;
571 background-color: rgba(255, 255, 255, 0.4) !important;
572 }
573
574 .help-indent-labels label {
575 padding-left: 10px;
576 }
577
578 .dialog-contents .section {
579 min-width: 400px;
580 }
581
582 .settings-experiment-hidden {
583 display: none;
584 }
585
586 .settings-experiment-hidden label {
587 background-color: #ddd;
588 }
589
590 .settings-developer-mode .settings-experiment-hidden {
591 display: block;
592 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698