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

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

Issue 2912563003: DevTools: cleanup button styles (Closed)
Patch Set: a Created 3 years, 7 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) 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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 background-color: #333; 130 background-color: #333;
131 } 131 }
132 132
133 :not(.toolbar-render-as-links) .toolbar-button:enabled.hover:not(:active) .toolb ar-text { 133 :not(.toolbar-render-as-links) .toolbar-button:enabled.hover:not(:active) .toolb ar-text {
134 color: #333; 134 color: #333;
135 } 135 }
136 136
137 .toolbar-button.toolbar-state-on .toolbar-glyph, 137 .toolbar-button.toolbar-state-on .toolbar-glyph,
138 .toolbar-blue-on-hover .toolbar-button:not(.toolbar-state-on):enabled.hover:not( :active), 138 .toolbar-blue-on-hover .toolbar-button:not(.toolbar-state-on):enabled.hover:not( :active),
139 .-theme-selection-color { 139 .-theme-selection-color {
140 background-color: hsl(218, 81%, 59%); 140 background-color: #4285F4;
pfeldman 2017/05/30 21:18:17 This was kind-of nice, hinting us at the fact that
luoe 2017/05/30 22:39:45 The only reason is to be more consistent and use f
141 } 141 }
142 142
143 .toolbar-button.toolbar-state-on .toolbar-text, 143 .toolbar-button.toolbar-state-on .toolbar-text,
144 .-theme-selection-color { 144 .-theme-selection-color {
145 color: hsl(218, 81%, 59%); 145 color: #4285F4;
146 } 146 }
147 147
148 .toolbar-blue-on-hover .toolbar-button:not(.toolbar-state-on):enabled.hover .too lbar-glyph { 148 .toolbar-blue-on-hover .toolbar-button:not(.toolbar-state-on):enabled.hover .too lbar-glyph {
149 background-color: white; 149 background-color: white;
150 } 150 }
151 151
152 .toolbar-blue-on-hover .toolbar-button:not(.toolbar-state-on):enabled.hover .too lbar-text { 152 .toolbar-blue-on-hover .toolbar-button:not(.toolbar-state-on):enabled.hover .too lbar-text {
153 color: white; 153 color: white;
154 } 154 }
155 155
156 .toolbar-button.toolbar-state-on:enabled.hover:not(:active) .toolbar-glyph, 156 .toolbar-button.toolbar-state-on:enabled.hover:not(:active) .toolbar-glyph,
157 .toolbar-blue-on-hover .toolbar-button:not(.toolbar-state-on):enabled:active.hov er, 157 .toolbar-blue-on-hover .toolbar-button:not(.toolbar-state-on):enabled:active.hov er,
158 .-theme-selection-color { 158 .-theme-selection-color {
159 background-color: hsl(218, 96%, 54%); 159 background-color: rgb(56, 121, 217);
160 } 160 }
161 161
162 .toolbar-button.toolbar-state-on:enabled.hover:not(:active) .toolbar-text, 162 .toolbar-button.toolbar-state-on:enabled.hover:not(:active) .toolbar-text,
163 .-theme-selection-color { 163 .-theme-selection-color {
164 color: hsl(218, 96%, 54%); 164 color: rgb(56, 121, 217);
165 } 165 }
166 166
167 .toolbar-toggled-gray .toolbar-button.toolbar-state-on { 167 .toolbar-toggled-gray .toolbar-button.toolbar-state-on {
168 background-color: #f3f3f3 !important; 168 background-color: #f3f3f3 !important;
169 } 169 }
170 170
171 .toolbar-button.toolbar-state-on.toolbar-toggle-with-red-color .toolbar-glyph, 171 .toolbar-button.toolbar-state-on.toolbar-toggle-with-red-color .toolbar-glyph,
172 .toolbar-button.toolbar-state-off.toolbar-default-with-red-color .toolbar-glyph { 172 .toolbar-button.toolbar-state-off.toolbar-default-with-red-color .toolbar-glyph {
173 background-color: rgb(216, 0, 0) !important; 173 background-color: rgb(216, 0, 0) !important;
174 } 174 }
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 295
296 .toolbar-shadow.floating { 296 .toolbar-shadow.floating {
297 flex-direction: column; 297 flex-direction: column;
298 height: auto; 298 height: auto;
299 background-color: white; 299 background-color: white;
300 border: 1px solid #ccc; 300 border: 1px solid #ccc;
301 margin-top: -1px; 301 margin-top: -1px;
302 width: 28px; 302 width: 28px;
303 left: -2px; 303 left: -2px;
304 } 304 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698