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

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

Issue 1599603002: [DevTools] Device Mode toolbar updates. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased 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/Toolbar.js ('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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
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: #6D6D6D; 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 flex: none;
60 } 61 }
61 62
62 @media (-webkit-min-device-pixel-ratio: 1.5) { 63 @media (-webkit-min-device-pixel-ratio: 1.5) {
63 .toolbar-dropdown-arrow { 64 .toolbar-dropdown-arrow {
64 -webkit-mask-image: url(Images/toolbarButtonGlyphs_2x.png); 65 -webkit-mask-image: url(Images/toolbarButtonGlyphs_2x.png);
65 } 66 }
66 } /* media */ 67 } /* media */
67 68
68 /* Toolbar item */ 69 /* Toolbar item */
69 70
70 .toolbar-button { 71 .toolbar-button {
71 white-space: nowrap; 72 white-space: nowrap;
72 overflow: hidden; 73 overflow: hidden;
73 min-width: 28px; 74 min-width: 28px;
74 background: transparent; 75 background: transparent;
75 } 76 }
76 77
77 .toolbar-text { 78 .toolbar-text {
78 margin: 0 5px; 79 margin: 0 5px;
79 flex: none; 80 flex: none;
80 color: #5a5a5a; 81 color: #5a5a5a;
81 } 82 }
82 83
84 .toolbar-has-dropdown {
85 justify-content: space-between;
86 }
87
83 .toolbar-has-dropdown .toolbar-text { 88 .toolbar-has-dropdown .toolbar-text {
84 margin-right: 1px; 89 margin: 0 4px 0 0;
90 text-overflow: ellipsis;
91 flex: auto;
92 overflow: hidden;
93 text-align: right;
85 } 94 }
86 95
87 .toolbar-has-glyph .toolbar-text { 96 .toolbar-has-glyph .toolbar-text {
88 margin-left: 0; 97 margin-left: 0;
89 } 98 }
90 99
91 .toolbar-button:not(.toolbar-has-glyph):not(.toolbar-has-dropdown):not(.menu-too lbar-item) { 100 .toolbar-button:not(.toolbar-has-glyph):not(.toolbar-has-dropdown):not(.menu-too lbar-item) {
92 font-weight: bold; 101 font-weight: bold;
93 } 102 }
94 103
95 .toolbar-button:not(.toolbar-has-glyph).hover { 104 .toolbar-button:not(.toolbar-has-glyph):not(.toolbar-has-dropdown):not(.menu-too lbar-item).hover {
96 background-color: #f3f3f3; 105 background-color: #f3f3f3;
97 } 106 }
98 107
99 .toolbar-dimmed .toolbar-text {
100 color: #999;
101 }
102
103 .toolbar-dimmed .toolbar-dropdown-arrow {
104 background-color: #999;
105 }
106
107 .toolbar-glyph { 108 .toolbar-glyph {
108 -webkit-mask-image: url(Images/toolbarButtonGlyphs.png); 109 -webkit-mask-image: url(Images/toolbarButtonGlyphs.png);
109 -webkit-mask-size: 352px 168px; 110 -webkit-mask-size: 352px 168px;
110 background-color: #5a5a5a; 111 background-color: #5a5a5a;
111 width: 28px; 112 width: 28px;
112 height: 24px; 113 height: 24px;
113 flex: none; 114 flex: none;
114 transform: translateX(-2px); 115 transform: translateX(-2px);
115 } 116 }
116 117
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after
457 .toolbar-state-active .filter-toolbar-item.toolbar-glyph, 458 .toolbar-state-active .filter-toolbar-item.toolbar-glyph,
458 .toolbar-state-active .block-toolbar-item.toolbar-glyph { 459 .toolbar-state-active .block-toolbar-item.toolbar-glyph {
459 background-color: rgb(216, 0, 0) !important; 460 background-color: rgb(216, 0, 0) !important;
460 } 461 }
461 462
462 :host-context(.-theme-with-dark-background) .toolbar-state-active .filter-toolba r-item.toolbar-glyph, 463 :host-context(.-theme-with-dark-background) .toolbar-state-active .filter-toolba r-item.toolbar-glyph,
463 :host-context(.-theme-with-dark-background) .toolbar-state-active .block-toolbar -item.toolbar-glyph, 464 :host-context(.-theme-with-dark-background) .toolbar-state-active .block-toolbar -item.toolbar-glyph,
464 :host-context(.-theme-with-dark-background) .toolbar-state-on .record-toolbar-it em.toolbar-glyph { 465 :host-context(.-theme-with-dark-background) .toolbar-state-on .record-toolbar-it em.toolbar-glyph {
465 background-color: hsl(0, 100%, 65%) !important; 466 background-color: hsl(0, 100%, 65%) !important;
466 } 467 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/ui/Toolbar.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698