| OLD | NEW |
| 1 <!DOCTYPE html><html dir="$i18n{textdirection}" lang="$i18n{language}"><head><!-
- | 1 <!DOCTYPE html><html dir="$i18n{textdirection}" lang="$i18n{language}"><head><!-
- |
| 2 @license | 2 @license |
| 3 Copyright (c) 2016 The Polymer Project Authors. All rights reserved. | 3 Copyright (c) 2016 The Polymer Project Authors. All rights reserved. |
| 4 This code may only be used under the BSD style license found at http://polymer.g
ithub.io/LICENSE.txt | 4 This code may only be used under the BSD style license found at http://polymer.g
ithub.io/LICENSE.txt |
| 5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt | 5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt |
| 6 The complete set of contributors may be found at http://polymer.github.io/CONTRI
BUTORS.txt | 6 The complete set of contributors may be found at http://polymer.github.io/CONTRI
BUTORS.txt |
| 7 Code distributed by Google as part of the polymer project is also | 7 Code distributed by Google as part of the polymer project is also |
| 8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN
TS.txt | 8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN
TS.txt |
| 9 --><!-- | 9 --><!-- |
| 10 @license | 10 @license |
| (...skipping 629 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 640 :host([animated]) { | 640 :host([animated]) { |
| 641 @apply(--shadow-transition); | 641 @apply(--shadow-transition); |
| 642 } | 642 } |
| 643 </style> | 643 </style> |
| 644 | 644 |
| 645 <content></content> | 645 <content></content> |
| 646 </template> | 646 </template> |
| 647 </dom-module> | 647 </dom-module> |
| 648 <dom-module id="paper-button" assetpath="chrome://resources/polymer/v1_0/paper-b
utton/"> | 648 <dom-module id="paper-button" assetpath="chrome://resources/polymer/v1_0/paper-b
utton/"> |
| 649 <template strip-whitespace=""> | 649 <template strip-whitespace=""> |
| 650 | |
| 651 <style include="paper-material"> | 650 <style include="paper-material"> |
| 652 :host { | 651 :host { |
| 653 display: inline-block; | 652 @apply(--layout-inline); |
| 653 @apply(--layout-center-center); |
| 654 position: relative; | 654 position: relative; |
| 655 box-sizing: border-box; | 655 box-sizing: border-box; |
| 656 min-width: 5.14em; | 656 min-width: 5.14em; |
| 657 margin: 0 0.29em; | 657 margin: 0 0.29em; |
| 658 background: transparent; | 658 background: transparent; |
| 659 text-align: center; | 659 -webkit-tap-highlight-color: rgba(0, 0, 0, 0); |
| 660 -webkit-tap-highlight-color: transparent; |
| 660 font: inherit; | 661 font: inherit; |
| 661 text-transform: uppercase; | 662 text-transform: uppercase; |
| 662 outline-width: 0; | 663 outline-width: 0; |
| 663 border-radius: 3px; | 664 border-radius: 3px; |
| 664 -moz-user-select: none; | 665 -moz-user-select: none; |
| 665 -ms-user-select: none; | 666 -ms-user-select: none; |
| 666 -webkit-user-select: none; | 667 -webkit-user-select: none; |
| 667 user-select: none; | 668 user-select: none; |
| 668 cursor: pointer; | 669 cursor: pointer; |
| 669 z-index: 0; | 670 z-index: 0; |
| 670 padding: 0.7em 0.57em; | 671 padding: 0.7em 0.57em; |
| 671 | 672 |
| 673 @apply(--paper-font-common-base); |
| 672 @apply(--paper-button); | 674 @apply(--paper-button); |
| 673 } | 675 } |
| 674 | 676 |
| 675 :host([raised].keyboard-focus) { | 677 :host([raised].keyboard-focus) { |
| 676 font-weight: bold; | 678 font-weight: bold; |
| 677 @apply(--paper-button-raised-keyboard-focus); | 679 @apply(--paper-button-raised-keyboard-focus); |
| 678 } | 680 } |
| 679 | 681 |
| 680 :host(:not([raised]).keyboard-focus) { | 682 :host(:not([raised]).keyboard-focus) { |
| 681 font-weight: bold; | 683 font-weight: bold; |
| 682 @apply(--paper-button-flat-keyboard-focus); | 684 @apply(--paper-button-flat-keyboard-focus); |
| 683 } | 685 } |
| 684 | 686 |
| 685 :host([disabled]) { | 687 :host([disabled]) { |
| 686 background: #eaeaea; | 688 background: #eaeaea; |
| 687 color: #a8a8a8; | 689 color: #a8a8a8; |
| 688 cursor: auto; | 690 cursor: auto; |
| 689 pointer-events: none; | 691 pointer-events: none; |
| 690 | 692 |
| 691 @apply(--paper-button-disabled); | 693 @apply(--paper-button-disabled); |
| 692 } | 694 } |
| 693 | 695 |
| 694 paper-ripple { | 696 paper-ripple { |
| 695 color: var(--paper-button-ink-color); | 697 color: var(--paper-button-ink-color); |
| 696 } | 698 } |
| 699 </style> |
| 697 | 700 |
| 698 :host > ::content * { | |
| 699 text-transform: inherit; | |
| 700 } | |
| 701 </style> | |
| 702 <content></content> | 701 <content></content> |
| 703 </template> | 702 </template> |
| 704 </dom-module> | |
| 705 | 703 |
| 704 </dom-module> |
| 706 <style is="custom-style"> | 705 <style is="custom-style"> |
| 707 | 706 |
| 708 :root { | 707 :root { |
| 709 | 708 |
| 710 /* Material Design color palette for Google products */ | 709 /* Material Design color palette for Google products */ |
| 711 | 710 |
| 712 --google-red-100: #f4c7c3; | 711 --google-red-100: #f4c7c3; |
| 713 --google-red-300: #e67c73; | 712 --google-red-300: #e67c73; |
| 714 --google-red-500: #db4437; | 713 --google-red-500: #db4437; |
| 715 --google-red-700: #c53929; | 714 --google-red-700: #c53929; |
| (...skipping 2021 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2737 <if expr="is_macosx"> | 2736 <if expr="is_macosx"> |
| 2738 <command id="undo-command" shortcut="Meta-U+005A"></command> | 2737 <command id="undo-command" shortcut="Meta-U+005A"></command> |
| 2739 <command id="find-command" shortcut="Meta-U+0046"></command> | 2738 <command id="find-command" shortcut="Meta-U+0046"></command> |
| 2740 </if> | 2739 </if> |
| 2741 <if expr="not is_macosx"> | 2740 <if expr="not is_macosx"> |
| 2742 <command id="undo-command" shortcut="Ctrl-U+005A"></command> | 2741 <command id="undo-command" shortcut="Ctrl-U+005A"></command> |
| 2743 <command id="find-command" shortcut="Ctrl-U+0046"></command> | 2742 <command id="find-command" shortcut="Ctrl-U+0046"></command> |
| 2744 </if> | 2743 </if> |
| 2745 <link rel="import" href="chrome://resources/html/polymer.html"> | 2744 <link rel="import" href="chrome://resources/html/polymer.html"> |
| 2746 <script src="crisper.js"></script></body></html> | 2745 <script src="crisper.js"></script></body></html> |
| OLD | NEW |