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

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

Issue 1574213006: DevTools: beautified styles sidebar toolbar. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments addressed. Created 4 years, 11 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
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/ui/infobar.css ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2014 The Chromium Authors. All rights reserved. 2 * Copyright (c) 2014 The Chromium Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be 3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file. 4 * found in the LICENSE file.
5 */ 5 */
6 6
7 :host { 7 :host {
8 flex: none; 8 flex: none;
9 padding: 0 2px; 9 padding: 0 2px;
10 } 10 }
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 padding: 0; 44 padding: 0;
45 height: 26px; 45 height: 26px;
46 border: none; 46 border: none;
47 color: #5a5a5a; 47 color: #5a5a5a;
48 } 48 }
49 49
50 .toolbar-dropdown-arrow { 50 .toolbar-dropdown-arrow {
51 -webkit-mask-image: url(Images/toolbarButtonGlyphs.png); 51 -webkit-mask-image: url(Images/toolbarButtonGlyphs.png);
52 -webkit-mask-size: 352px 168px; 52 -webkit-mask-size: 352px 168px;
53 -webkit-mask-position: -18px -96px; 53 -webkit-mask-position: -18px -96px;
54 background-color: #444; 54 background-color: #6D6D6D;
55 width: 12px; 55 width: 12px;
56 height: 12px; 56 height: 12px;
57 display: inline-block; 57 display: inline-block;
58 pointer-events: none; 58 pointer-events: none;
59 margin: auto 0; 59 margin: auto 0;
60 } 60 }
61 61
62 @media (-webkit-min-device-pixel-ratio: 1.5) { 62 @media (-webkit-min-device-pixel-ratio: 1.5) {
63 .toolbar-dropdown-arrow { 63 .toolbar-dropdown-arrow {
64 -webkit-mask-image: url(Images/toolbarButtonGlyphs_2x.png); 64 -webkit-mask-image: url(Images/toolbarButtonGlyphs_2x.png);
65 } 65 }
66 } /* media */ 66 } /* media */
67 67
68 /* Text-glyph item */ 68 /* Toolbar item */
69 69
70 .toolbar-text-glyph { 70 .toolbar-button {
71 white-space: nowrap; 71 white-space: nowrap;
72 overflow: hidden; 72 overflow: hidden;
73 min-width: 28px; 73 min-width: 28px;
74 background: transparent; 74 background: transparent;
75 } 75 }
76 76
77 .toolbar-text { 77 .toolbar-text {
78 margin: 0 5px; 78 margin: 0 5px;
79 flex: none; 79 flex: none;
80 color: #5a5a5a; 80 color: #5a5a5a;
81 } 81 }
82 82
83 .toolbar-has-dropdown .toolbar-text { 83 .toolbar-has-dropdown .toolbar-text {
84 margin-right: 1px; 84 margin-right: 1px;
85 } 85 }
86 86
87 .toolbar-has-glyph .toolbar-text { 87 .toolbar-has-glyph .toolbar-text {
88 margin-left: 0; 88 margin-left: 0;
89 } 89 }
90 90
91 .toolbar-bold .toolbar-text { 91 .toolbar-button:not(.toolbar-has-glyph):not(.toolbar-has-dropdown):not(.menu-too lbar-item) {
92 font-weight: bold; 92 font-weight: bold;
93 } 93 }
94 94
95 .toolbar-button:not(.toolbar-has-glyph).hover {
96 background-color: #f3f3f3;
97 }
98
95 .toolbar-dimmed .toolbar-text { 99 .toolbar-dimmed .toolbar-text {
96 color: #999; 100 color: #999;
97 } 101 }
98 102
99 .toolbar-dimmed .toolbar-dropdown-arrow { 103 .toolbar-dimmed .toolbar-dropdown-arrow {
100 background-color: #999; 104 background-color: #999;
101 } 105 }
102 106
103 .toolbar-glyph { 107 .toolbar-glyph {
104 -webkit-mask-image: url(Images/toolbarButtonGlyphs.png); 108 -webkit-mask-image: url(Images/toolbarButtonGlyphs.png);
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after
453 .toolbar-state-active .filter-toolbar-item.toolbar-glyph, 457 .toolbar-state-active .filter-toolbar-item.toolbar-glyph,
454 .toolbar-state-active .block-toolbar-item.toolbar-glyph { 458 .toolbar-state-active .block-toolbar-item.toolbar-glyph {
455 background-color: rgb(216, 0, 0) !important; 459 background-color: rgb(216, 0, 0) !important;
456 } 460 }
457 461
458 :host-context(.-theme-with-dark-background) .toolbar-state-active .filter-toolba r-item.toolbar-glyph, 462 :host-context(.-theme-with-dark-background) .toolbar-state-active .filter-toolba r-item.toolbar-glyph,
459 :host-context(.-theme-with-dark-background) .toolbar-state-active .block-toolbar -item.toolbar-glyph, 463 :host-context(.-theme-with-dark-background) .toolbar-state-active .block-toolbar -item.toolbar-glyph,
460 :host-context(.-theme-with-dark-background) .toolbar-state-on .record-toolbar-it em.toolbar-glyph { 464 :host-context(.-theme-with-dark-background) .toolbar-state-on .record-toolbar-it em.toolbar-glyph {
461 background-color: hsl(0, 100%, 65%) !important; 465 background-color: hsl(0, 100%, 65%) !important;
462 } 466 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/ui/infobar.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698