Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 <link rel="import" href="chrome://md-settings/bluetooth_page/bluetooth_device_li st_item.html"> | 1 <link rel="import" href="chrome://md-settings/bluetooth_page/bluetooth_device_li st_item.html"> |
| 2 <link rel="import" href="chrome://md-settings/settings_dialog.html"> | 2 <link rel="import" href="chrome://md-settings/settings_dialog.html"> |
| 3 <link rel="import" href="chrome://resources/polymer/paper-button/paper-button.ht ml"> | 3 <link rel="import" href="chrome://resources/polymer/paper-button/paper-button.ht ml"> |
| 4 <link rel="import" href="chrome://resources/polymer/paper-input/paper-input.html "> | 4 <link rel="import" href="chrome://resources/polymer/paper-input/paper-input.html "> |
| 5 <link rel="import" href="chrome://md-settings/bluetooth_page/bluetooth_dialog_sh ared_css.html"> | |
| 6 | 5 |
| 7 <dom-module id="bluetooth-device-dialog"> | 6 <dom-module id="bluetooth-device-dialog"> |
| 8 <template> | 7 <template> |
| 9 <style include="settings-shared bluetooth-dialog-shared"></style> | 8 <style include="settings-shared"> |
| 9 #dialogOuterDiv { | |
| 10 margin-bottom: 16px; | |
| 11 } | |
| 12 | |
| 13 #dialogHeaderDiv { | |
| 14 height: 40px; | |
| 15 margin: 0 5px 10px; | |
| 16 } | |
| 17 | |
| 18 #dialogFooterDiv { | |
| 19 height: 40px; | |
| 20 margin: 0 20px; | |
| 21 } | |
| 22 | |
| 23 #dialogMessage { | |
| 24 margin-bottom: 10px; | |
| 25 } | |
| 26 | |
| 27 #dialogTitle { | |
| 28 font-size: 125%; | |
| 29 margin: 0 10px; | |
| 30 } | |
| 31 | |
| 32 #dialogDeviceList { | |
| 33 -webkit-margin-start: 4px; | |
| 34 height: 210px; | |
| 35 margin-bottom: 20px; | |
| 36 overflow-y: auto; | |
| 37 } | |
| 38 | |
| 39 #pairing { | |
| 40 margin-bottom: 10px; | |
| 41 } | |
| 42 | |
| 43 #pairing paper-input { | |
| 44 text-align: center; | |
| 45 } | |
| 46 | |
| 47 #pinDiv { | |
| 48 margin-top: 10px; | |
| 49 } | |
| 50 | |
| 51 iron-selector { | |
| 52 width: 100%; | |
| 53 } | |
| 54 | |
| 55 paper-spinner { | |
| 56 height: 20px; | |
| 57 margin: 0 10px; | |
| 58 width: 20px; | |
| 59 } | |
| 60 | |
| 61 /* .display indicates a displayed pin code or passkey. */ | |
| 62 span.display { | |
| 63 border: 1px solid #ccc; | |
| 64 border-radius: 4px; | |
| 65 box-shadow: 0 0 0 1px #222; | |
| 66 color: #222; | |
| 67 font-size: 16px; | |
| 68 height: 38px; | |
| 69 line-height: 38px; | |
| 70 margin: 0 5px; | |
| 71 padding: 0 15px; | |
| 72 text-align: center; | |
| 73 text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); | |
| 74 } | |
| 75 | |
| 76 span.display.next { | |
| 77 background: rgb(77, 144, 254); | |
| 78 border: 2px solid rgb(77, 144, 254); | |
| 79 box-shadow: none; | |
| 80 color: #fff; | |
| 81 } | |
| 82 | |
| 83 span.display.untyped { | |
| 84 border: 1px solid #d4d4d4; | |
| 85 box-shadow: 0 0 0 1px #888; | |
| 86 color: #666; | |
| 87 } | |
| 88 | |
| 89 /* .confirm indicates a confirmation passkey. */ | |
| 90 span.confirm { | |
| 91 color: #999; | |
| 92 font-size: 20px; | |
| 93 font-weight: 600; /* semibold */ | |
| 94 margin: 0 20px; | |
| 95 } | |
| 96 </style> | |
|
stevenjb
2016/05/09 17:02:57
If inlining CSS is the preference (requirement? I
Dan Beam
2016/05/09 18:27:37
i don't think we need to be prescriptive about uns
| |
| 10 <settings-dialog id="dialog" class="layout vertical"> | 97 <settings-dialog id="dialog" class="layout vertical"> |
| 11 <!-- TODO(dbeam): use .title instead. --> | 98 <!-- TODO(dbeam): use .title instead. --> |
| 12 <div class="body"> | 99 <div class="body"> |
| 13 <template is="dom-if" if="[[isDialog_(dialog, 'addDevice')]]"> | 100 <template is="dom-if" if="[[isDialog_(dialog, 'addDevice')]]"> |
| 14 | 101 |
| 15 <div id="dialogHeaderDiv" class="settings-box layout horizontal"> | 102 <div id="dialogHeaderDiv" class="settings-box layout horizontal"> |
| 16 <span id="dialogTitle" class="flex"> | 103 <span id="dialogTitle" class="flex"> |
| 17 $i18n{bluetoothAddDevicePageTitle} | 104 $i18n{bluetoothAddDevicePageTitle} |
| 18 </span> | 105 </span> |
| 19 <paper-icon-button icon="close" on-tap="onAddCancelTap_" | 106 <paper-icon-button icon="close" on-tap="onAddCancelTap_" |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 102 hidden$="[[showDismiss_(pairingDevice, pairingEvent)]]"> | 189 hidden$="[[showDismiss_(pairingDevice, pairingEvent)]]"> |
| 103 $i18n{cancel} | 190 $i18n{cancel} |
| 104 </paper-button> | 191 </paper-button> |
| 105 | 192 |
| 106 </template> | 193 </template> |
| 107 </div> | 194 </div> |
| 108 </settings-dialog> | 195 </settings-dialog> |
| 109 </template> | 196 </template> |
| 110 <script src="chrome://md-settings/bluetooth_page/bluetooth_device_dialog.js">< /script> | 197 <script src="chrome://md-settings/bluetooth_page/bluetooth_device_dialog.js">< /script> |
| 111 </dom-module> | 198 </dom-module> |
| OLD | NEW |