| OLD | NEW |
| 1 <link rel="import" href="chrome://resources/html/polymer.html"> | 1 <link rel="import" href="chrome://resources/html/polymer.html"> |
| 2 <link rel="import" href="chrome://resources/cr_elements/icons.html"> | 2 <link rel="import" href="chrome://resources/cr_elements/icons.html"> |
| 3 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> | 3 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> |
| 4 <link rel="import" href="chrome://resources/html/util.html"> | 4 <link rel="import" href="chrome://resources/html/util.html"> |
| 5 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html"> | 5 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html"> |
| 6 <link rel="import" href="chrome://resources/polymer/v1_0/iron-a11y-keys/iron-a11
y-keys.html"> | 6 <link rel="import" href="chrome://resources/polymer/v1_0/iron-a11y-keys/iron-a11
y-keys.html"> |
| 7 <link rel="import" href="chrome://resources/polymer/v1_0/iron-selector/iron-sele
ctor.html"> | 7 <link rel="import" href="chrome://resources/polymer/v1_0/iron-selector/iron-sele
ctor.html"> |
| 8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button.html"> | 8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button.html"> |
| 9 <link rel="import" href="/i18n_setup.html"> | 9 <link rel="import" href="/i18n_setup.html"> |
| 10 <link rel="import" href="/icons.html"> | 10 <link rel="import" href="/icons.html"> |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 } | 76 } |
| 77 | 77 |
| 78 #discardControlBar { | 78 #discardControlBar { |
| 79 background-color: var(--paper-grey-800); | 79 background-color: var(--paper-grey-800); |
| 80 border-bottom-left-radius: 2px; | 80 border-bottom-left-radius: 2px; |
| 81 border-bottom-right-radius: 2px; | 81 border-bottom-right-radius: 2px; |
| 82 padding: 8px; | 82 padding: 8px; |
| 83 } | 83 } |
| 84 | 84 |
| 85 #discardOldImage { | 85 #discardOldImage { |
| 86 --iron-icon-fill-color: white; |
| 86 background-color: var(--paper-red-500); | 87 background-color: var(--paper-red-500); |
| 87 border-radius: 50%; | 88 border-radius: 50%; |
| 88 color: white; | |
| 89 display: block; | 89 display: block; |
| 90 margin: 0 auto 0 auto; | 90 margin: 0 auto 0 auto; |
| 91 } | 91 } |
| 92 </style> | 92 </style> |
| 93 <div id="container" class="settings-box" tabindex="0"> | 93 <div id="container" class="settings-box" tabindex="0"> |
| 94 <iron-a11y-keys keys="up down left right space enter" | 94 <iron-a11y-keys keys="up down left right space enter" |
| 95 on-keys-pressed="onKeysPress_"> | 95 on-keys-pressed="onKeysPress_"> |
| 96 </iron-a11y-keys> | 96 </iron-a11y-keys> |
| 97 <div id="availableIcons" class="start"> | 97 <div id="availableIcons" class="start"> |
| 98 <iron-selector id="selector" on-iron-activate="onImageActivate_" | 98 <iron-selector id="selector" on-iron-activate="onImageActivate_" |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 </div> | 139 </div> |
| 140 <settings-camera id="camera" | 140 <settings-camera id="camera" |
| 141 camera-active="[[isCameraActive_(cameraPresent_, selectedItem_)]]" | 141 camera-active="[[isCameraActive_(cameraPresent_, selectedItem_)]]" |
| 142 on-phototaken="onPhotoTaken_"> | 142 on-phototaken="onPhotoTaken_"> |
| 143 </settings-camera> | 143 </settings-camera> |
| 144 </div> | 144 </div> |
| 145 </div> | 145 </div> |
| 146 </template> | 146 </template> |
| 147 <script src="change_picture.js"></script> | 147 <script src="change_picture.js"></script> |
| 148 </dom-module> | 148 </dom-module> |
| OLD | NEW |