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/html/util.html"> | 2 <link rel="import" href="chrome://resources/html/util.html"> |
3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button.html"> | 3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button.html"> |
4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-spinner/paper-spi
nner.html"> | 4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-spinner/paper-spi
nner.html"> |
5 <link rel="import" href="/icons.html"> | 5 <link rel="import" href="/icons.html"> |
6 <link rel="import" href="/settings_shared_css.html"> | 6 <link rel="import" href="/settings_shared_css.html"> |
7 | 7 |
8 <dom-module id="settings-camera"> | 8 <dom-module id="settings-camera"> |
9 <template> | 9 <template> |
10 <style include="settings-shared"> | 10 <style include="settings-shared"> |
11 #perspectiveBox { | 11 #perspectiveBox { |
12 -webkit-perspective: 600px; | |
13 height: 228px; | 12 height: 228px; |
| 13 perspective: 600px; |
14 width: 228px; | 14 width: 228px; |
15 } | 15 } |
16 | 16 |
17 #userImageStreamCrop { | 17 #userImageStreamCrop { |
18 height: 228px; | 18 height: 228px; |
19 overflow: hidden; | 19 overflow: hidden; |
20 position: relative; | 20 position: relative; |
21 width: 228px; | 21 width: 228px; |
22 } | 22 } |
23 | 23 |
24 #userImageStreamCrop.flip-x { | 24 #userImageStreamCrop.flip-x { |
25 -webkit-transform: rotateY(180deg); | 25 transform: rotateY(180deg); |
26 } | 26 } |
27 | 27 |
28 paper-spinner { | 28 paper-spinner { |
29 bottom: 0; | 29 bottom: 0; |
30 left: 0; | 30 left: 0; |
31 margin: auto auto; | 31 margin: auto auto; |
32 position: absolute; | 32 position: absolute; |
33 right: 0; | 33 right: 0; |
34 top: 0; | 34 top: 0; |
35 } | 35 } |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 </paper-icon-button> | 79 </paper-icon-button> |
80 <paper-icon-button id="takePhoto" tabindex="1" | 80 <paper-icon-button id="takePhoto" tabindex="1" |
81 icon="settings:camera-alt" title="$i18n{takePhoto}" | 81 icon="settings:camera-alt" title="$i18n{takePhoto}" |
82 on-tap="takePhoto" disabled="[[!cameraOnline_]]"> | 82 on-tap="takePhoto" disabled="[[!cameraOnline_]]"> |
83 </paper-icon-button> | 83 </paper-icon-button> |
84 </div> | 84 </div> |
85 </div> | 85 </div> |
86 </template> | 86 </template> |
87 <script src="camera.js"></script> | 87 <script src="camera.js"></script> |
88 </dom-module> | 88 </dom-module> |
OLD | NEW |