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

Side by Side Diff: chrome_linux/resources/inspector/elementsPanel.css

Issue 310483004: Roll reference builds to 35.0.1916.114. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/reference_builds/
Patch Set: Created 6 years, 6 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2009 Anthony Ricaud <rik@webkit.org> 3 * Copyright (C) 2009 Anthony Ricaud <rik@webkit.org>
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 13 matching lines...) Expand all
24 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 24 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
25 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 */ 28 */
29 29
30 #elements-content { 30 #elements-content {
31 flex: 1 1; 31 flex: 1 1;
32 overflow: auto; 32 overflow: auto;
33 padding-left: 0; 33 padding-left: 0;
34 -webkit-transform: translateZ(0);
34 } 35 }
35 36
36 #elements-crumbs { 37 #elements-crumbs {
37 flex: 0 0 19px; 38 flex: 0 0 19px;
38 background-color: rgb(236, 236, 236); 39 background-color: white;
39 border-top: 1px solid #ccc; 40 border-top: 1px solid #ccc;
41 overflow: hidden;
42 height: 19px;
43 width: 100%;
40 } 44 }
41 45
42 #elements-content > ol { 46 #elements-content > ol {
43 display: inline-block; 47 display: inline-block;
44 min-height: 100%; 48 min-height: 100%;
49 -webkit-transform: translateZ(0);
45 } 50 }
46 51
47 #elements-content .editing { 52 #elements-content .editing {
48 margin-left: 8px; 53 margin-left: 8px;
49 } 54 }
50 55
51 #elements-content .elements-gutter-decoration { 56 #elements-content .elements-gutter-decoration {
52 position: absolute; 57 position: absolute;
53 left: 1px; 58 left: 1px;
54 margin-top: 2px; 59 margin-top: 2px;
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 } 214 }
210 215
211 .styles-section .properties li.not-parsed-ok { 216 .styles-section .properties li.not-parsed-ok {
212 margin-left: 0; 217 margin-left: 0;
213 } 218 }
214 219
215 .styles-section.computed-style .properties li.not-parsed-ok { 220 .styles-section.computed-style .properties li.not-parsed-ok {
216 margin-left: -6px; 221 margin-left: -6px;
217 } 222 }
218 223
224 .styles-section .properties li.filter-match,
225 .styles-section .simple-selector.filter-match {
226 background-color: rgba(255, 255, 0, 0.5);
227 }
228
229 .styles-section .properties li.overloaded.filter-match {
230 background-color: rgba(255, 255, 0, 0.25);
231 }
232
219 .styles-section .properties li.not-parsed-ok .exclamation-mark { 233 .styles-section .properties li.not-parsed-ok .exclamation-mark {
220 display: inline-block; 234 display: inline-block;
221 position: relative; 235 position: relative;
222 width: 11px; 236 width: 11px;
223 height: 10px; 237 height: 10px;
224 margin: 0 7px 0 0; 238 margin: 0 7px 0 0;
225 top: 1px; 239 top: 1px;
226 left: -36px; /* outdent to compensate for the top-level property indent */ 240 left: -36px; /* outdent to compensate for the top-level property indent */
227 -webkit-user-select: none; 241 -webkit-user-select: none;
228 cursor: default; 242 cursor: default;
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 opacity: 1.0; 311 opacity: 1.0;
298 } 312 }
299 313
300 .styles-section.expanded .properties { 314 .styles-section.expanded .properties {
301 display: block; 315 display: block;
302 } 316 }
303 317
304 .styles-section .properties li { 318 .styles-section .properties li {
305 margin-left: 12px; 319 margin-left: 12px;
306 padding-left: 22px; 320 padding-left: 22px;
307 padding-top: 0;
308 white-space: normal; 321 white-space: normal;
309 text-overflow: ellipsis; 322 text-overflow: ellipsis;
310 overflow: hidden; 323 overflow: hidden;
311 cursor: auto; 324 cursor: auto;
312 } 325 }
313 326
314 .styles-section.computed-style.expanded .properties > li { 327 .styles-section.computed-style.expanded .properties > li {
315 padding-left: 0; 328 padding-left: 0;
316 } 329 }
317 330
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
367 margin-right: 2px; 380 margin-right: 2px;
368 margin-left: -6px; 381 margin-left: -6px;
369 opacity: 0.55; 382 opacity: 0.55;
370 width: 8px; 383 width: 8px;
371 height: 10px; 384 height: 10px;
372 display: inline-block; 385 display: inline-block;
373 } 386 }
374 387
375 @media (-webkit-min-device-pixel-ratio: 1.5) { 388 @media (-webkit-min-device-pixel-ratio: 1.5) {
376 .styles-section.matched-styles .properties li.parent .expand-element { 389 .styles-section.matched-styles .properties li.parent .expand-element {
377 background-image: url(Images/statusbarButtonGlyphs2x.png); 390 background-image: url(Images/statusbarButtonGlyphs_2x.png);
378 } 391 }
379 } /* media */ 392 } /* media */
380 393
381 .styles-section.matched-styles .properties li.parent .expand-element { 394 .styles-section.matched-styles .properties li.parent .expand-element {
382 background-position: -4px -96px; 395 background-position: -4px -96px;
383 } 396 }
384 397
385 .styles-section.matched-styles .properties li.parent.expanded .expand-element { 398 .styles-section.matched-styles .properties li.parent.expanded .expand-element {
386 background-position: -20px -96px; 399 background-position: -20px -96px;
387 } 400 }
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
420 .styles-section .properties .inactive, 433 .styles-section .properties .inactive,
421 .styles-section .properties .disabled, 434 .styles-section .properties .disabled,
422 .styles-section .properties .not-parsed-ok:not(.has-ignorable-error) { 435 .styles-section .properties .not-parsed-ok:not(.has-ignorable-error) {
423 text-decoration: line-through; 436 text-decoration: line-through;
424 } 437 }
425 438
426 .styles-section .properties .has-ignorable-error .webkit-css-property { 439 .styles-section .properties .has-ignorable-error .webkit-css-property {
427 color: inherit; 440 color: inherit;
428 } 441 }
429 442
430 .styles-section.computed-style .properties {
431 margin-top: 18px;
432 }
433
434 .styles-section.computed-style .properties .disabled { 443 .styles-section.computed-style .properties .disabled {
435 text-decoration: none; 444 text-decoration: none;
436 opacity: 0.5; 445 opacity: 0.5;
437 } 446 }
438 447
439 .styles-section .properties .implicit, 448 .styles-section .properties .implicit,
440 .styles-section .properties .inherited { 449 .styles-section .properties .inherited {
441 opacity: 0.5; 450 opacity: 0.5;
442 } 451 }
443 452
444 .styles-section .properties .has-ignorable-error { 453 .styles-section .properties .has-ignorable-error {
445 color: gray; 454 color: gray;
446 } 455 }
447 456
448 .styles-element-state-pane { 457 .styles-element-state-pane {
449 background-color: rgb(240, 240, 240);
450 overflow: hidden; 458 overflow: hidden;
451 margin-top: -56px; 459 margin-top: -56px;
452 padding-top: 18px; 460 padding-top: 18px;
453 height: 56px; 461 height: 56px;
454 -webkit-transition: margin-top 0.1s ease-in-out; 462 -webkit-transition: margin-top 0.1s ease-in-out;
455 padding-left: 2px; 463 padding-left: 2px;
456 } 464 }
457 465
458 .styles-element-state-pane.expanded { 466 .styles-element-state-pane.expanded {
459 border-bottom: 1px solid rgb(189, 189, 189); 467 border-bottom: 1px solid rgb(189, 189, 189);
460 margin-top: 0; 468 margin-top: 0;
461 } 469 }
462 470
463 .styles-element-state-pane > table { 471 .styles-element-state-pane > table {
464 width: 100%; 472 width: 100%;
465 border-spacing: 0; 473 border-spacing: 0;
466 } 474 }
467 475
468 .styles-element-state-pane input { 476 .styles-element-state-pane label {
469 margin: 2px; 477 display: flex;
470 vertical-align: -2px; 478 margin: 1px;
471 } 479 }
472 480
473 .styles-selector { 481 .styles-selector {
474 cursor: text; 482 cursor: text;
475 } 483 }
476 484
477 .body .styles-section .properties .inherited { 485 .body .styles-section .properties .inherited {
478 display: none; 486 display: none;
479 } 487 }
480 488
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
532 color: transparent; 540 color: transparent;
533 text-shadow: none; 541 text-shadow: none;
534 float: left; 542 float: left;
535 width: 8px; 543 width: 8px;
536 margin-right: 4px; 544 margin-right: 4px;
537 margin-top: 2px; 545 margin-top: 2px;
538 } 546 }
539 547
540 @media (-webkit-min-device-pixel-ratio: 1.5) { 548 @media (-webkit-min-device-pixel-ratio: 1.5) {
541 .event-bars .event-bar .header::before { 549 .event-bars .event-bar .header::before {
542 background-image: url(Images/statusbarButtonGlyphs2x.png); 550 background-image: url(Images/statusbarButtonGlyphs_2x.png);
543 } 551 }
544 } /* media */ 552 } /* media */
545 553
546 .event-bars .event-bar .header::before { 554 .event-bars .event-bar .header::before {
547 background-position: -4px -96px; 555 background-position: -4px -96px;
548 } 556 }
549 557
550 .event-bars .event-bar.expanded .header::before { 558 .event-bars .event-bar.expanded .header::before {
551 background-position: -20px -96px; 559 background-position: -20px -96px;
552 } 560 }
553 561
554 .image-preview-container { 562 .image-preview-container {
555 background: transparent; 563 background: transparent;
556 text-align: center; 564 text-align: center;
557 } 565 }
558 566
559 .image-preview-container img { 567 .image-preview-container img {
560 margin: 2px auto; 568 margin: 2px auto;
561 max-width: 100px; 569 max-width: 100px;
562 max-height: 100px; 570 max-height: 100px;
563 background-image: url(Images/checker.png); 571 background-image: url(Images/checker.png);
564 -webkit-user-select: text; 572 -webkit-user-select: text;
565 -webkit-user-drag: auto; 573 -webkit-user-drag: auto;
566 } 574 }
567 575
568 .sidebar-pane.composite { 576 .sidebar-pane.composite {
569 overflow: hidden;
570 position: absolute; 577 position: absolute;
571 } 578 }
572 579
573 .sidebar-pane.composite > .body { 580 .sidebar-pane.composite > .body {
574 height: 100%; 581 height: 100%;
575 } 582 }
576 583
577 .sidebar-pane.composite .metrics { 584 .sidebar-pane.composite .metrics {
578 border-bottom: 1px solid rgb(64%, 64%, 64%); 585 border-bottom: 1px solid rgb(64%, 64%, 64%);
579 height: 206px; 586 height: 206px;
580 display: -webkit-flex; 587 display: flex;
581 -webkit-flex-direction: column; 588 flex-direction: column;
582 -webkit-align-items: center; 589 -webkit-align-items: center;
583 -webkit-justify-content: center; 590 -webkit-justify-content: center;
584 } 591 }
585 592
593 .sidebar-pane .metrics-and-styles,
594 .sidebar-pane .metrics-and-computed {
595 display: flex !important;
596 flex-direction: column !important;
597 position: relative;
598 }
599
600 .sidebar-pane .style-panes-wrapper {
601 flex: 1;
602 overflow-y: auto;
603 position: relative;
604 }
605
606 .sidebar-pane.composite .metrics-and-computed .sidebar-pane-toolbar,
607 .sidebar-pane.composite .metrics-and-styles .sidebar-pane-toolbar {
608 position: absolute;
609 }
610
611 .sidebar-pane-filter-box {
612 display: flex;
613 border-top: 1px solid rgb(191, 191, 191);
614 flex-basis: 19px;
615 }
616
617 .sidebar-pane-filter-box > input {
618 outline: none !important;
619 border: none;
620 width: 100%;
621 margin: 0 4px;
622 background: transparent;
623 }
624
625 .styles-filter-engaged {
626 background-color: rgba(255, 255, 0, 0.5);
627 }
628
586 .sidebar-pane.composite .metrics-and-computed .sidebar-pane-toolbar { 629 .sidebar-pane.composite .metrics-and-computed .sidebar-pane-toolbar {
587 margin-top: 4px; 630 margin-top: 4px;
588 margin-bottom: -4px; 631 margin-bottom: -4px;
589 position: relative; 632 position: relative;
590 } 633 }
591 634
592 .sidebar-pane.composite .platform-fonts .body { 635 .sidebar-pane.composite .platform-fonts .body {
593 padding: 1ex; 636 padding: 1ex;
594 -webkit-user-select: text; 637 -webkit-user-select: text;
595 } 638 }
(...skipping 16 matching lines...) Expand all
612 655
613 .sidebar-pane.composite .platform-fonts .font-stats-item .delimeter { 656 .sidebar-pane.composite .platform-fonts .font-stats-item .delimeter {
614 margin: 0 1ex 0 1ex; 657 margin: 0 1ex 0 1ex;
615 } 658 }
616 659
617 .sidebar-pane.composite .metrics-and-styles .metrics { 660 .sidebar-pane.composite .metrics-and-styles .metrics {
618 border-bottom: none; 661 border-bottom: none;
619 } 662 }
620 663
621 .styles-section.computed-style > .header > .sidebar-pane-subtitle { 664 .styles-section.computed-style > .header > .sidebar-pane-subtitle {
622 top: 4px; 665 line-height: 17px;
623 left: 8px; 666 margin: 2px;
624 -webkit-user-select: none; 667 -webkit-user-select: none;
625 } 668 }
626 669
627 .styles-section.computed-style > .header > .sidebar-pane-subtitle > input { 670 .styles-section.computed-style > .header > .sidebar-pane-subtitle > input {
628 vertical-align: middle; 671 vertical-align: middle;
629 } 672 }
630 673
631 .sidebar-pane.composite .sidebar-pane-toolbar > .sidebar-pane-subtitle { 674 .sidebar-pane.composite .sidebar-pane-toolbar > .sidebar-pane-subtitle {
632 left: 8px; 675 left: 8px;
633 } 676 }
634 677
678 .sidebar-pane > .body > .split-view {
679 position: absolute;
680 top: 0;
681 bottom: 0;
682 left: 0;
683 right: 0;
684 }
685
635 .panel.elements .sidebar-pane-toolbar > select { 686 .panel.elements .sidebar-pane-toolbar > select {
636 float: right; 687 float: right;
637 width: 23px; 688 width: 23px;
638 height: 17px; 689 height: 17px;
639 color: transparent; 690 color: transparent;
640 background-color: transparent; 691 background-color: transparent;
641 border: none; 692 border: none;
642 background-repeat: no-repeat; 693 background-repeat: no-repeat;
643 margin: 1px 0 0 0; 694 margin: 1px 0 0 0;
644 padding: 0; 695 padding: 0;
(...skipping 27 matching lines...) Expand all
672 .styles-section:not(.read-only) span.simple-selector.styles-panel-hovered { 723 .styles-section:not(.read-only) span.simple-selector.styles-panel-hovered {
673 text-decoration: underline; 724 text-decoration: underline;
674 cursor: default; 725 cursor: default;
675 } 726 }
676 727
677 .styles-clipboard-only { 728 .styles-clipboard-only {
678 display: inline-block; 729 display: inline-block;
679 width: 0; 730 width: 0;
680 opacity: 0; 731 opacity: 0;
681 } 732 }
733
734 li.child-editing .styles-clipboard-only {
735 display: none;
736 }
OLDNEW
« no previous file with comments | « chrome_linux/resources/inspector/devtools_extension_api.js ('k') | chrome_linux/resources/inspector/filter.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698