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

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

Issue 1169323004: DevTools: do not respect Chrome theme in DevTools, align toolbar items. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: overflow for tab header fixed. Created 5 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
« no previous file with comments | « Source/devtools/front_end/ui/tabbedPane.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 } 9 }
10 10
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 } 116 }
117 117
118 button.toolbar-item { 118 button.toolbar-item {
119 width: 30px; 119 width: 30px;
120 } 120 }
121 121
122 :host-context(.material) button.toolbar-item { 122 :host-context(.material) button.toolbar-item {
123 width: 32px; 123 width: 32px;
124 } 124 }
125 125
126 .toolbar-item:hover { 126 button.toolbar-item:hover,
127 .toolbar-item.checkbox:hover,
128 .toolbar-counter:hover {
127 background-color: rgba(110, 110, 110, 0.1); 129 background-color: rgba(110, 110, 110, 0.1);
128 } 130 }
129 131
130 button.toolbar-item.toggled-on .glyph { 132 button.toolbar-item.toggled-on .glyph {
131 background-color: rgb(66, 129, 235) !important; 133 background-color: rgb(66, 129, 235) !important;
132 } 134 }
133 135
134 button.toolbar-item:hover .glyph { 136 button.toolbar-item:hover .glyph {
135 opacity: 1; 137 opacity: 1;
136 } 138 }
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 line-height: 22px; 204 line-height: 22px;
203 } 205 }
204 206
205 .toolbar-item.checkbox { 207 .toolbar-item.checkbox {
206 padding-right: 5px; 208 padding-right: 5px;
207 } 209 }
208 210
209 .toolbar-item > .glyph { 211 .toolbar-item > .glyph {
210 -webkit-mask-image: url(Images/toolbarButtonGlyphs.png); 212 -webkit-mask-image: url(Images/toolbarButtonGlyphs.png);
211 -webkit-mask-size: 352px 144px; 213 -webkit-mask-size: 352px 144px;
212 background-color: rgba(0, 0, 0, 0.75); 214 opacity: 0.9;
213 opacity: 0.8; 215 background-color: #595959;
214 z-index: 1; 216 z-index: 1;
215 width: 32px; 217 width: 32px;
216 height: 24px; 218 height: 24px;
217 } 219 }
218 220
221 :host-context(:not(.material)) .toolbar-item > .glyph {
222 position: relative;
223 left: -1px;
224 }
225
219 226
220 @media (-webkit-min-device-pixel-ratio: 1.5) { 227 @media (-webkit-min-device-pixel-ratio: 1.5) {
221 .toolbar-item > .glyph { 228 .toolbar-item > .glyph {
222 -webkit-mask-image: url(Images/toolbarButtonGlyphs_2x.png); 229 -webkit-mask-image: url(Images/toolbarButtonGlyphs_2x.png);
223 } 230 }
224 } /* media */ 231 } /* media */
225 232
226 .toolbar-item.emulate-active { 233 .toolbar-item.emulate-active {
227 background-color: rgb(163,163,163); 234 background-color: rgb(163,163,163);
228 } 235 }
229 236
230 .toolbar-counter { 237 .toolbar-counter {
231 cursor: pointer; 238 cursor: pointer;
232 padding: 0 2px; 239 padding: 0 2px;
233 } 240 min-width: 30px;
234
235 .toolbar-counter:hover .toolbar-counter-item {
236 border-bottom: 1px solid rgb(96, 96, 96);
237 margin-bottom: -1px;
238 } 241 }
239 242
240 .toolbar-counter-item { 243 .toolbar-counter-item {
241 margin-left: 6px; 244 margin-left: 6px;
242 } 245 }
243 246
244 .toolbar-counter-item label { 247 .toolbar-counter-item label {
245 cursor: inherit; 248 cursor: inherit;
246 } 249 }
247 250
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
347 350
348 .record-toolbar-item .glyph { 351 .record-toolbar-item .glyph {
349 -webkit-mask-position: -288px 0; 352 -webkit-mask-position: -288px 0;
350 } 353 }
351 354
352 button.record-toolbar-item.toggled-on .glyph { 355 button.record-toolbar-item.toggled-on .glyph {
353 -webkit-mask-position: -288px -24px; 356 -webkit-mask-position: -288px -24px;
354 background-color: rgb(216, 0, 0) !important; 357 background-color: rgb(216, 0, 0) !important;
355 } 358 }
356 359
357 .record-filmstrip-toolbar-item .glyph { 360 .camera-toolbar-item .glyph {
358 -webkit-mask-position: -96px -24px; 361 -webkit-mask-position: -96px -24px;
359 } 362 }
360 363
361 .last-step-toolbar-item .glyph { 364 .last-step-toolbar-item .glyph {
362 -webkit-mask-position: 0 -72px; 365 -webkit-mask-position: 0 -72px;
363 } 366 }
364 367
365 .first-step-toolbar-item .glyph { 368 .first-step-toolbar-item .glyph {
366 -webkit-mask-position: 0 -72px; 369 -webkit-mask-position: 0 -72px;
367 transform: rotate(180deg); 370 transform: rotate(180deg);
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
441 444
442 .filter-toolbar-item > .glyph { 445 .filter-toolbar-item > .glyph {
443 -webkit-mask-position: -32px -48px; 446 -webkit-mask-position: -32px -48px;
444 } 447 }
445 448
446 .filter-toolbar-item.toggled-shown .glyph { 449 .filter-toolbar-item.toggled-shown .glyph {
447 background-color: rgb(66, 129, 235); 450 background-color: rgb(66, 129, 235);
448 } 451 }
449 452
450 .filter-toolbar-item.toggled-shown { 453 .filter-toolbar-item.toggled-shown {
451 background-color: #eee; 454 background-color: #f3f3f3;
452 } 455 }
453 456
454 .filter-toolbar-item.toggled-active .glyph { 457 .filter-toolbar-item.toggled-active .glyph {
455 background-color: rgb(216, 0, 0); 458 background-color: rgb(216, 0, 0);
456 } 459 }
457 460
458 .waterfall-toolbar-item .glyph { 461 .waterfall-toolbar-item .glyph {
459 -webkit-mask-position: -128px -48px; 462 -webkit-mask-position: -128px -48px;
460 } 463 }
461 464
462 .pan-toolbar-item .glyph { 465 .pan-toolbar-item .glyph {
463 -webkit-mask-position: -98px -120px; 466 -webkit-mask-position: -98px -120px;
464 } 467 }
465 468
466 .center-toolbar-item .glyph { 469 .center-toolbar-item .glyph {
467 -webkit-mask-position: -128px -120px; 470 -webkit-mask-position: -128px -120px;
468 } 471 }
469 472
470 .rotate-toolbar-item .glyph { 473 .rotate-toolbar-item .glyph {
471 -webkit-mask-position: -160px -120px; 474 -webkit-mask-position: -160px -120px;
472 } 475 }
473 476
474 .pin-toolbar-item .glyph { 477 .pin-toolbar-item .glyph {
475 -webkit-mask-position: -256px -120px; 478 -webkit-mask-position: -256px -120px;
476 } 479 }
477 480
478 .pin-toolbar-item.toggled-on, 481 .pin-toolbar-item.toggled-on,
479 .animation-toolbar-item.toggled-on { 482 .animation-toolbar-item.toggled-on {
480 background-color: #eee; 483 background-color: #f3f3f3;
481 } 484 }
482 485
483 .animation-toolbar-item .glyph { 486 .animation-toolbar-item .glyph {
484 -webkit-mask-position: -192px -120px; 487 -webkit-mask-position: -192px -120px;
485 } 488 }
486 489
487 .eyedropper-toolbar-item .glyph { 490 .eyedropper-toolbar-item .glyph {
488 -webkit-mask-position: -288px -120px; 491 -webkit-mask-position: -288px -120px;
489 } 492 }
490 493
(...skipping 26 matching lines...) Expand all
517 } 520 }
518 521
519 .playback-rate-button.toggled-on > .toolbar-button-text { 522 .playback-rate-button.toggled-on > .toolbar-button-text {
520 color: rgb(66, 129, 235); 523 color: rgb(66, 129, 235);
521 } 524 }
522 525
523 button.playback-rate-button { 526 button.playback-rate-button {
524 width: auto; 527 width: auto;
525 margin-right: 10px; 528 margin-right: 10px;
526 } 529 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/ui/tabbedPane.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698