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

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

Issue 2272193002: [DevTools] Extract small-bubble component. (Closed)
Patch Set: Created 4 years, 3 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
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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 background-color: white; 76 background-color: white;
77 } 77 }
78 78
79 .toolbar-background { 79 .toolbar-background {
80 padding-left: 1px; 80 padding-left: 1px;
81 border-bottom: 1px solid rgb(64%, 64%, 64%); 81 border-bottom: 1px solid rgb(64%, 64%, 64%);
82 background-origin: padding-box; 82 background-origin: padding-box;
83 background-clip: padding-box; 83 background-clip: padding-box;
84 } 84 }
85 85
86 .bubble-repeat-count {
87 display: inline-block;
88 height: 14px;
89 background-color: rgb(128, 151, 189);
90 vertical-align: middle;
91 white-space: nowrap;
92 padding: 1px 4px;
93 text-align: left;
94 font-size: 11px;
95 line-height: normal;
96 font-weight: bold;
97 text-shadow: none;
98 color: white;
99 margin-top: -1px;
100 border-radius: 7px;
101 }
102
103 .error-message { 86 .error-message {
104 color: red; 87 color: red;
105 } 88 }
106 89
107 .-theme-with-dark-background .error-message { 90 .-theme-with-dark-background .error-message {
108 color: hsl(0, 100%, 65%); 91 color: hsl(0, 100%, 65%);
109 } 92 }
110 93
111 .panel { 94 .panel {
112 display: flex; 95 display: flex;
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after
415 height: 16px; 398 height: 16px;
416 margin-top: 9px; 399 margin-top: 9px;
417 margin-left: 4px; 400 margin-left: 4px;
418 line-height: 1em; 401 line-height: 1em;
419 } 402 }
420 403
421 li .status:empty { 404 li .status:empty {
422 display: none; 405 display: none;
423 } 406 }
424 407
425 li .status .bubble-repeat-count:empty {
426 display: none;
427 }
428
429 li.selected .status .bubble-repeat-count {
430 background-color: white !important;
431 color: rgb(132, 154, 190) !important;
432 }
433
434 :focus li.selected .status .bubble-repeat-count {
435 color: rgb(36, 98, 172) !important;
436 }
437
438 body.inactive li.selected .status .bubble-repeat-count {
439 color: rgb(159, 159, 159) !important;
440 }
441
442 .sidebar-tree.small .sidebar-tree-item, 408 .sidebar-tree.small .sidebar-tree-item,
443 .sidebar-tree .children.small .sidebar-tree-item, 409 .sidebar-tree .children.small .sidebar-tree-item,
444 .sidebar-tree-item.small { 410 .sidebar-tree-item.small {
445 height: 20px; 411 height: 20px;
446 } 412 }
447 413
448 .sidebar-tree.small .sidebar-tree-item .icon, 414 .sidebar-tree.small .sidebar-tree-item .icon,
449 .sidebar-tree .children.small .sidebar-tree-item .icon, 415 .sidebar-tree .children.small .sidebar-tree-item .icon,
450 .sidebar-tree-item.small .icon { 416 .sidebar-tree-item.small .icon {
451 width: 16px; 417 width: 16px;
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
514 .sidebar-tree.small .sidebar-tree-item .subtitle, 480 .sidebar-tree.small .sidebar-tree-item .subtitle,
515 .sidebar-tree .children.small .sidebar-tree-item .subtitle, 481 .sidebar-tree .children.small .sidebar-tree-item .subtitle,
516 .sidebar-tree-item.small .subtitle { 482 .sidebar-tree-item.small .subtitle {
517 display: none; 483 display: none;
518 } 484 }
519 485
520 .sidebar-tree-item.selected .subtitle { 486 .sidebar-tree-item.selected .subtitle {
521 color: white; 487 color: white;
522 } 488 }
523 489
524 .bubble-repeat-count.debug,
525 .console-debug-level .bubble-repeat-count {
526 background-color: rgb(0, 0, 255) !important;
527 }
528
529 .bubble-repeat-count.warning,
530 .console-warning-level .bubble-repeat-count {
531 background-color: rgb(232, 164, 0) !important;
532 }
533
534 .bubble-repeat-count.error,
535 .console-error-level .bubble-repeat-count {
536 background-color: rgb(216, 35, 35) !important;
537 }
538
539 .soft-context-menu-glass-pane { 490 .soft-context-menu-glass-pane {
540 z-index: 20000; 491 z-index: 20000;
541 } 492 }
542 493
543 .root-view { 494 .root-view {
544 background-color: white; 495 background-color: white;
545 overflow: hidden; 496 overflow: hidden;
546 position: absolute !important; 497 position: absolute !important;
547 left: 0; 498 left: 0;
548 top: 0; 499 top: 0;
549 right: 0; 500 right: 0;
550 bottom: 0; 501 bottom: 0;
551 } 502 }
552 503
553 .drawer-toolbar { 504 .drawer-toolbar {
554 margin-right: -6px; 505 margin-right: -6px;
555 } 506 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698