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

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

Issue 1172643002: DevTools: migrate sidebar pane's titleElement to use Toolbar. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebaselined 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
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
11 .toolbar-shadow { 11 .toolbar-shadow {
12 position: relative; 12 position: relative;
13 white-space: nowrap; 13 white-space: nowrap;
14 height: 24px; 14 height: 24px;
15 overflow: hidden; 15 overflow: hidden;
16 z-index: 12; 16 z-index: 12;
17 display: flex; 17 display: flex;
18 flex: none; 18 flex: none;
19 align-items: center; 19 align-items: center;
20 } 20 }
21 21
22 .toolbar-shadow.with-border {
23 border-bottom: 1px solid #ddd;
24 }
25
22 :host-context(.material) .toolbar-shadow { 26 :host-context(.material) .toolbar-shadow {
23 height: 28px; 27 height: 28px;
24 } 28 }
25 29
26 .toolbar-shadow.vertical { 30 .toolbar-shadow.vertical {
27 flex-direction: column; 31 flex-direction: column;
28 height: auto; 32 height: auto;
29 width: 32px; 33 width: 32px;
30 } 34 }
31 35
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 } 120 }
117 121
118 button.toolbar-item { 122 button.toolbar-item {
119 width: 30px; 123 width: 30px;
120 } 124 }
121 125
122 :host-context(.material) button.toolbar-item { 126 :host-context(.material) button.toolbar-item {
123 width: 32px; 127 width: 32px;
124 } 128 }
125 129
126 :host-context(.material) button.toolbar-item:hover { 130 .toolbar-item:hover {
127 background-color: #eee; 131 background-color: rgba(110, 110, 110, 0.1);
128 } 132 }
129 133
130 button.toolbar-item.toggled-on .glyph { 134 button.toolbar-item.toggled-on .glyph {
131 background-color: rgb(66, 129, 235) !important; 135 background-color: rgb(66, 129, 235) !important;
132 } 136 }
133 137
134 button.toolbar-item:hover .glyph { 138 button.toolbar-item:hover .glyph {
135 opacity: 1; 139 opacity: 1;
136 } 140 }
137 141
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 -webkit-appearance: none; 200 -webkit-appearance: none;
197 border: 0; 201 border: 0;
198 border-radius: 0; 202 border-radius: 0;
199 padding: 0 15px 0 5px; 203 padding: 0 15px 0 5px;
200 margin-right: -10px; 204 margin-right: -10px;
201 position: relative; 205 position: relative;
202 line-height: 22px; 206 line-height: 22px;
203 } 207 }
204 208
205 .toolbar-item.checkbox { 209 .toolbar-item.checkbox {
206 margin: auto 6px auto 0; 210 padding-right: 5px;
207 height: auto;
208 display: flex;
209 } 211 }
210 212
211 .toolbar-item > .glyph { 213 .toolbar-item > .glyph {
212 -webkit-mask-image: url(Images/toolbarButtonGlyphs.png); 214 -webkit-mask-image: url(Images/toolbarButtonGlyphs.png);
213 -webkit-mask-size: 352px 144px; 215 -webkit-mask-size: 352px 144px;
214 background-color: rgba(0, 0, 0, 0.75); 216 background-color: rgba(0, 0, 0, 0.75);
215 opacity: 0.8; 217 opacity: 0.8;
216 z-index: 1; 218 z-index: 1;
217 width: 32px; 219 width: 32px;
218 height: 24px; 220 height: 24px;
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
443 445
444 .filter-toolbar-item > .glyph { 446 .filter-toolbar-item > .glyph {
445 -webkit-mask-position: -32px -48px; 447 -webkit-mask-position: -32px -48px;
446 } 448 }
447 449
448 .filter-toolbar-item.toggled-shown .glyph { 450 .filter-toolbar-item.toggled-shown .glyph {
449 background-color: rgb(66, 129, 235); 451 background-color: rgb(66, 129, 235);
450 } 452 }
451 453
452 .filter-toolbar-item.toggled-shown { 454 .filter-toolbar-item.toggled-shown {
453 background-color: rgba(105, 105, 105, 0.1); 455 background-color: #eee;
454 } 456 }
455 457
456 .filter-toolbar-item.toggled-active .glyph { 458 .filter-toolbar-item.toggled-active .glyph {
457 background-color: rgb(216, 0, 0); 459 background-color: rgb(216, 0, 0);
458 } 460 }
459 461
460 .waterfall-toolbar-item .glyph { 462 .waterfall-toolbar-item .glyph {
461 -webkit-mask-position: -128px -48px; 463 -webkit-mask-position: -128px -48px;
462 } 464 }
463 465
464 .pan-toolbar-item .glyph { 466 .pan-toolbar-item .glyph {
465 -webkit-mask-position: -98px -120px; 467 -webkit-mask-position: -98px -120px;
466 } 468 }
467 469
468 .center-toolbar-item .glyph { 470 .center-toolbar-item .glyph {
469 -webkit-mask-position: -128px -120px; 471 -webkit-mask-position: -128px -120px;
470 } 472 }
471 473
472 .rotate-toolbar-item .glyph { 474 .rotate-toolbar-item .glyph {
473 -webkit-mask-position: -160px -120px; 475 -webkit-mask-position: -160px -120px;
474 } 476 }
475 477
476 .element-state-toolbar-item .glyph { 478 .pin-toolbar-item .glyph {
477 -webkit-mask-position: -256px -120px; 479 -webkit-mask-position: -256px -120px;
478 } 480 }
479 481
482 .pin-toolbar-item.toggled-on,
483 .animation-toolbar-item.toggled-on {
484 background-color: #eee;
485 }
486
480 .animation-toolbar-item .glyph { 487 .animation-toolbar-item .glyph {
481 -webkit-mask-position: -192px -120px; 488 -webkit-mask-position: -192px -120px;
482 } 489 }
483 490
484 .eyedropper-toolbar-item .glyph { 491 .eyedropper-toolbar-item .glyph {
485 -webkit-mask-position: -288px -120px; 492 -webkit-mask-position: -288px -120px;
486 } 493 }
487 494
488 .add-toolbar-item .glyph { 495 .add-toolbar-item .glyph {
489 -webkit-mask-position: -224px -120px; 496 -webkit-mask-position: -224px -120px;
(...skipping 24 matching lines...) Expand all
514 } 521 }
515 522
516 .playback-rate-button.toggled-on > .toolbar-button-text { 523 .playback-rate-button.toggled-on > .toolbar-button-text {
517 color: rgb(66, 129, 235); 524 color: rgb(66, 129, 235);
518 } 525 }
519 526
520 button.playback-rate-button { 527 button.playback-rate-button {
521 width: auto; 528 width: auto;
522 margin-right: 10px; 529 margin-right: 10px;
523 } 530 }
OLDNEW
« Source/devtools/front_end/ui/Widget.js ('K') | « Source/devtools/front_end/ui/Widget.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698