OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. |
3 * Copyright (C) 2009 Anthony Ricaud <rik@webkit.org> | 3 * Copyright (C) 2009 Anthony Ricaud <rik@webkit.org> |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * | 8 * |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
194 } | 194 } |
195 | 195 |
196 .toolbar > .tabbed-pane-header { | 196 .toolbar > .tabbed-pane-header { |
197 flex: auto; | 197 flex: auto; |
198 } | 198 } |
199 | 199 |
200 .tabbed-pane-header.locked .tabbed-pane-header-tab:not(.selected) { | 200 .tabbed-pane-header.locked .tabbed-pane-header-tab:not(.selected) { |
201 opacity: 0.6; | 201 opacity: 0.6; |
202 } | 202 } |
203 | 203 |
204 .toolbar-controls-left { | 204 .toolbar-controls-left, |
| 205 .toolbar-controls-right, |
| 206 { |
205 flex: none; | 207 flex: none; |
206 opacity: 0.8; | 208 opacity: 0.8; |
207 padding-top: 1px; | |
208 } | |
209 | |
210 .toolbar-controls-right { | |
211 flex: none; | |
212 margin-right: 2px; | |
213 padding-top: 1px; | |
214 } | |
215 | |
216 .toolbar-controls-right .status-bar-item | |
217 { | |
218 opacity: 0.8; | |
219 } | 209 } |
220 | 210 |
221 .search-replace { | 211 .search-replace { |
222 -webkit-appearance: none; | 212 -webkit-appearance: none; |
223 border: 0; | 213 border: 0; |
224 padding: 0 3px; | 214 padding: 0 3px; |
225 margin: 0; | 215 margin: 0; |
226 flex: 1; | 216 flex: 1; |
227 } | 217 } |
228 | 218 |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
385 background-position: -143px -96px; | 375 background-position: -143px -96px; |
386 } | 376 } |
387 | 377 |
388 .close-button-gray:active { | 378 .close-button-gray:active { |
389 background-position: -160px -96px; | 379 background-position: -160px -96px; |
390 } | 380 } |
391 | 381 |
392 .status-bar { | 382 .status-bar { |
393 position: relative; | 383 position: relative; |
394 white-space: nowrap; | 384 white-space: nowrap; |
395 height: 23px; | 385 height: 24px; |
396 overflow: hidden; | 386 overflow: hidden; |
397 z-index: 12; | 387 z-index: 12; |
398 display: flex; | 388 display: flex; |
399 flex: none; | 389 flex: none; |
400 } | 390 } |
401 | 391 |
402 .status-bar > div { | 392 .status-bar > div { |
403 display: inline-flex; | 393 display: inline-flex; |
404 overflow: visible; | 394 overflow: visible; |
405 } | 395 } |
406 | 396 |
407 .status-bar-item { | 397 .status-bar-item { |
408 display: inline-block; | 398 position: relative; |
409 height: 22px; | 399 display: flex; |
410 padding: 0; | |
411 margin-left: -1px; | |
412 margin-right: 0; | |
413 vertical-align: top; | |
414 border: 0 transparent none; | 400 border: 0 transparent none; |
415 background-color: transparent; | 401 background-color: transparent; |
416 flex: none; | 402 flex: none; |
| 403 font-size: 12px; |
| 404 align-items: center; |
| 405 padding: 0; |
| 406 height: 24px; |
417 } | 407 } |
418 | 408 |
419 .status-bar-text { | 409 .status-bar-text { |
420 padding-left: 5px; | 410 padding-left: 5px; |
421 padding-right: 15px; | 411 padding-right: 15px; |
422 height: auto; | 412 height: auto; |
423 margin: auto 0; | 413 margin: auto 0; |
424 white-space: nowrap; | 414 white-space: nowrap; |
425 overflow: hidden; | 415 overflow: hidden; |
426 } | 416 } |
427 | 417 |
428 #drawer-view-anchor { | 418 #drawer-view-anchor { |
429 display: inline-block; | 419 display: inline-block; |
430 } | 420 } |
431 | 421 |
432 .status-bar-item:active { | 422 .status-bar-item:active { |
433 position: relative; | 423 position: relative; |
434 z-index: 200; | 424 z-index: 200; |
435 } | 425 } |
436 | 426 |
437 .glyph { | |
438 position: absolute; | |
439 top: -1px; | |
440 bottom: 1px; | |
441 left: 0; | |
442 right: 0; | |
443 background-color: rgba(0, 0, 0, 0.75); | |
444 z-index: 1; | |
445 } | |
446 | |
447 .status-bar-item .status-bar-button-text { | 427 .status-bar-item .status-bar-button-text { |
448 font-weight: bold; | 428 font-weight: bold; |
449 color: rgba(97, 97, 97, 1); | 429 color: rgba(97, 97, 97, 1); |
450 } | 430 } |
451 | 431 |
452 .long-click-glyph { | 432 .long-click-glyph { |
453 background-color: rgba(0, 0, 0, 0.75); | 433 background-color: rgba(0, 0, 0, 0.75); |
454 -webkit-mask-image: url(Images/statusbarButtonGlyphs.png); | 434 -webkit-mask-image: url(Images/statusbarButtonGlyphs.png); |
455 -webkit-mask-position: -288px -48px; | 435 -webkit-mask-position: -288px -48px; |
456 -webkit-mask-size: 320px 144px; | 436 -webkit-mask-size: 320px 144px; |
457 z-index: 1; | 437 z-index: 1; |
458 } | 438 } |
459 | 439 |
460 @media (-webkit-min-device-pixel-ratio: 1.5) { | 440 @media (-webkit-min-device-pixel-ratio: 1.5) { |
461 .long-click-glyph { | 441 .long-click-glyph { |
462 -webkit-mask-image: url(Images/statusbarButtonGlyphs_2x.png); | 442 -webkit-mask-image: url(Images/statusbarButtonGlyphs_2x.png); |
463 } | 443 } |
464 } /* media */ | 444 } /* media */ |
465 | 445 |
466 .long-click-glyph.shadow { | |
467 top: 1px; | |
468 background-color: white !important; | |
469 z-index: 0; | |
470 } | |
471 | |
472 button.status-bar-item { | 446 button.status-bar-item { |
473 position: relative; | 447 position: relative; |
474 width: 32px; | 448 width: 32px; |
| 449 height: 23px; |
475 } | 450 } |
476 | 451 |
477 .status-bar button.status-bar-item .glyph { | 452 button.status-bar-item.toggled-on .glyph { |
478 margin: 0 -1px; | |
479 } | |
480 | |
481 button.status-bar-item .glyph.shadow { | |
482 background-color: rgba(255, 255, 255, 0.33); | |
483 } | |
484 | |
485 button.status-bar-item.toggled-on .glyph:not(.shadow) { | |
486 background-color: rgb(66, 129, 235) !important; | 453 background-color: rgb(66, 129, 235) !important; |
487 } | 454 } |
488 | 455 |
489 button.status-bar-item:hover .glyph { | 456 button.status-bar-item:hover .glyph { |
490 opacity: 1; | 457 opacity: 1; |
491 } | 458 } |
492 | 459 |
493 button.status-bar-item:active .glyph { | 460 button.status-bar-item:active .glyph { |
494 opacity: 0.8; | 461 opacity: 0.8; |
495 } | 462 } |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
559 | 526 |
560 .status-bar-item.checkbox { | 527 .status-bar-item.checkbox { |
561 margin: auto 6px auto 0; | 528 margin: auto 6px auto 0; |
562 height: auto; | 529 height: auto; |
563 display: flex; | 530 display: flex; |
564 } | 531 } |
565 | 532 |
566 .status-bar-item > .glyph { | 533 .status-bar-item > .glyph { |
567 -webkit-mask-image: url(Images/statusbarButtonGlyphs.png); | 534 -webkit-mask-image: url(Images/statusbarButtonGlyphs.png); |
568 -webkit-mask-size: 320px 144px; | 535 -webkit-mask-size: 320px 144px; |
| 536 background-color: rgba(0, 0, 0, 0.75); |
569 opacity: 0.8; | 537 opacity: 0.8; |
| 538 flex: auto; |
| 539 z-index: 1; |
| 540 position: absolute; |
| 541 top: 0; |
| 542 right: 0; |
| 543 bottom: 0; |
| 544 left: 0; |
570 } | 545 } |
571 | 546 |
572 @media (-webkit-min-device-pixel-ratio: 1.5) { | 547 @media (-webkit-min-device-pixel-ratio: 1.5) { |
573 .status-bar-item > .glyph { | 548 .status-bar-item > .glyph { |
574 -webkit-mask-image: url(Images/statusbarButtonGlyphs_2x.png); | 549 -webkit-mask-image: url(Images/statusbarButtonGlyphs_2x.png); |
575 } | 550 } |
576 } /* media */ | 551 } /* media */ |
577 | 552 |
578 button.status-bar-item.dock-status-bar-item.toggled-undocked .glyph { | 553 button.status-bar-item.dock-status-bar-item.toggled-undocked .glyph { |
579 -webkit-mask-position: 0 -48px; | 554 -webkit-mask-position: 0 -48px; |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
704 | 679 |
705 .green-ball { | 680 .green-ball { |
706 background-position: -235px -96px; | 681 background-position: -235px -96px; |
707 } | 682 } |
708 | 683 |
709 .orange-ball { | 684 .orange-ball { |
710 background-position: -246px -96px; | 685 background-position: -246px -96px; |
711 } | 686 } |
712 | 687 |
713 .status-bar-counter { | 688 .status-bar-counter { |
714 display: inline-block; | |
715 padding: 4px 6px 6px 0; | |
716 font-size: 11px; | |
717 height: 19px; | |
718 cursor: pointer; | 689 cursor: pointer; |
719 line-height: 14px; | |
720 } | 690 } |
721 | 691 |
722 .status-bar-counter:hover { | 692 .status-bar-counter:hover .status-bar-counter-item { |
723 border-bottom: 1px solid rgb(96, 96, 96); | 693 border-bottom: 1px solid rgb(96, 96, 96); |
| 694 margin-bottom: -1px; |
724 } | 695 } |
725 | 696 |
726 .status-bar-counter-item { | 697 .status-bar-counter-item { |
727 margin-left: 6px; | 698 margin-left: 6px; |
728 } | 699 } |
729 | 700 |
730 .status-bar-counter-item.status-bar-counter-item-first { | 701 .status-bar-counter-item.status-bar-counter-item-first { |
731 margin-left: 0; | 702 margin-left: 0; |
732 } | 703 } |
733 | 704 |
734 .status-bar-counter-item > div { | 705 .status-bar-counter-item > div { |
735 vertical-align: -1px; | |
736 margin-right: 2px; | 706 margin-right: 2px; |
737 } | 707 } |
738 | 708 |
739 #drawer-tabbed-pane > .tabbed-pane-header { | 709 #drawer-tabbed-pane > .tabbed-pane-header { |
740 background-color: #eee; | 710 background-color: #eee; |
741 } | 711 } |
742 | 712 |
743 #drawer-contents .tabbed-pane-header .tabbed-pane-header-tab { | 713 #drawer-contents .tabbed-pane-header .tabbed-pane-header-tab { |
744 cursor: default; | 714 cursor: default; |
745 } | 715 } |
(...skipping 1296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2042 } | 2012 } |
2043 | 2013 |
2044 .node-search-status-bar-item .glyph { | 2014 .node-search-status-bar-item .glyph { |
2045 -webkit-mask-position: -224px -24px; | 2015 -webkit-mask-position: -224px -24px; |
2046 } | 2016 } |
2047 | 2017 |
2048 .emulation-status-bar-item .glyph { | 2018 .emulation-status-bar-item .glyph { |
2049 -webkit-mask-position: -164px 0px; | 2019 -webkit-mask-position: -164px 0px; |
2050 } | 2020 } |
2051 | 2021 |
2052 .emulation-status-bar-item.warning::before { | 2022 .emulation-status-bar-item.warning::after { |
2053 background-image: url(Images/statusbarButtonGlyphs.png); | 2023 background-image: url(Images/statusbarButtonGlyphs.png); |
2054 background-size: 320px 144px; | 2024 background-size: 320px 144px; |
2055 width: 10px; | 2025 width: 10px; |
2056 height: 10px; | 2026 height: 10px; |
2057 content: ""; | 2027 content: ""; |
2058 position: relative; | 2028 position: relative; |
2059 top: 4px; | 2029 top: 4px; |
2060 left: -7px; | 2030 left: 13px; |
2061 background-position: -202px -107px; | 2031 background-position: -202px -107px; |
2062 float: right; | 2032 z-index: 1; |
2063 } | 2033 } |
2064 | 2034 |
2065 @media (-webkit-min-device-pixel-ratio: 1.5) { | 2035 @media (-webkit-min-device-pixel-ratio: 1.5) { |
2066 .emulation-status-bar-item.warning::before { | 2036 .emulation-status-bar-item.warning::before { |
2067 background-image: url(Images/statusbarButtonGlyphs_2x.png); | 2037 background-image: url(Images/statusbarButtonGlyphs_2x.png); |
2068 } | 2038 } |
2069 } /* media */ | 2039 } /* media */ |
2070 | 2040 |
2071 .delete-storage-status-bar-item .glyph { | 2041 .delete-storage-status-bar-item .glyph { |
2072 -webkit-mask-position: -128px 0; | 2042 -webkit-mask-position: -128px 0; |
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2416 } | 2386 } |
2417 | 2387 |
2418 #search-results-pane-file-based .search-match .search-match-content { | 2388 #search-results-pane-file-based .search-match .search-match-content { |
2419 color: #000; | 2389 color: #000; |
2420 } | 2390 } |
2421 | 2391 |
2422 .record-profile-status-bar-item .glyph { | 2392 .record-profile-status-bar-item .glyph { |
2423 -webkit-mask-position: -288px 0; | 2393 -webkit-mask-position: -288px 0; |
2424 } | 2394 } |
2425 | 2395 |
2426 button.record-profile-status-bar-item.toggled-on .glyph:not(.shadow) { | 2396 button.record-profile-status-bar-item.toggled-on .glyph { |
2427 -webkit-mask-position: -288px -24px; | 2397 -webkit-mask-position: -288px -24px; |
2428 background-color: rgb(216, 0, 0) !important; | 2398 background-color: rgb(216, 0, 0) !important; |
2429 } | 2399 } |
2430 | 2400 |
2431 .empty-view, | 2401 .empty-view, |
2432 .storage-view .storage-table-error { | 2402 .storage-view .storage-table-error { |
2433 position: absolute; | 2403 position: absolute; |
2434 top: 0; | 2404 top: 0; |
2435 bottom: 25%; | 2405 bottom: 25%; |
2436 left: 0; | 2406 left: 0; |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2601 border-left: 1px solid gray; | 2571 border-left: 1px solid gray; |
2602 } | 2572 } |
2603 | 2573 |
2604 #drawer-editor-view { | 2574 #drawer-editor-view { |
2605 flex: auto; | 2575 flex: auto; |
2606 } | 2576 } |
2607 | 2577 |
2608 .toolbar-close-button-item { | 2578 .toolbar-close-button-item { |
2609 display: inline-block; | 2579 display: inline-block; |
2610 float: right; | 2580 float: right; |
2611 padding-right: 4px; | 2581 padding-right: 8px; |
2612 padding-top: 4px; | 2582 padding-top: 4px; |
2613 padding-left: 2px; | 2583 padding-left: 2px; |
2614 } | 2584 } |
2615 | 2585 |
2616 body.undocked .toolbar-close-button-item { | 2586 body.undocked .toolbar-close-button-item { |
2617 display: none; | 2587 display: none; |
2618 } | 2588 } |
2619 | 2589 |
2620 .root-view > .split-view > .split-view-sidebar { | 2590 .root-view > .split-view > .split-view-sidebar { |
2621 position: relative; | 2591 position: relative; |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2777 font-size: 80%; | 2747 font-size: 80%; |
2778 white-space: nowrap; | 2748 white-space: nowrap; |
2779 pointer-events: none; | 2749 pointer-events: none; |
2780 } | 2750 } |
2781 | 2751 |
2782 .link { | 2752 .link { |
2783 cursor: pointer; | 2753 cursor: pointer; |
2784 text-decoration: underline; | 2754 text-decoration: underline; |
2785 color: rgb(17, 85, 204); | 2755 color: rgb(17, 85, 204); |
2786 } | 2756 } |
OLD | NEW |