OLD | NEW |
---|---|
1 <link rel="import" href="chrome://resources/cr_elements/cr_scrollable_behavior.h tml"> | 1 <link rel="import" href="chrome://resources/cr_elements/cr_scrollable_behavior.h tml"> |
2 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> | 2 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> |
3 <link rel="import" href="chrome://resources/html/polymer.html"> | 3 <link rel="import" href="chrome://resources/html/polymer.html"> |
4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/classe s/iron-flex-layout.html"> | 4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/classe s/iron-flex-layout.html"> |
5 <link rel="import" href="chrome://resources/polymer/v1_0/iron-list/iron-list.htm l"> | 5 <link rel="import" href="chrome://resources/polymer/v1_0/iron-list/iron-list.htm l"> |
6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-spinner/paper-spi nner.html"> | 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-spinner/paper-spi nner.html"> |
7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-toggle-button/pap er-toggle-button.html"> | 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-toggle-button/pap er-toggle-button.html"> |
8 <link rel="import" href="../i18n_setup.html"> | 8 <link rel="import" href="../i18n_setup.html"> |
9 <link rel="import" href="../icons.html"> | 9 <link rel="import" href="../icons.html"> |
10 <link rel="import" href="../settings_shared_css.html"> | 10 <link rel="import" href="../settings_shared_css.html"> |
(...skipping 10 matching lines...) Expand all Loading... | |
21 } | 21 } |
22 | 22 |
23 .header { | 23 .header { |
24 margin-top: 10px; | 24 margin-top: 10px; |
25 } | 25 } |
26 | 26 |
27 paper-spinner { | 27 paper-spinner { |
28 @apply(--cr-icon-height-width); | 28 @apply(--cr-icon-height-width); |
29 } | 29 } |
30 | 30 |
31 #onoff { | |
dschuyler
2017/04/27 21:52:16
Can this be onOff or on-off
stevenjb
2017/04/28 16:33:13
Done.
| |
32 font-weight: 600; | |
33 } | |
34 | |
31 #onoff[on] { | 35 #onoff[on] { |
32 color: var(--settings-toggle-color); | 36 color: var(--settings-toggle-color); |
37 font-weight: 500; | |
33 } | 38 } |
34 </style> | 39 </style> |
35 | 40 |
36 <div class="settings-box first"> | 41 <div class="settings-box first"> |
37 <div id="onoff" class="start" on$="[[bluetoothToggleState]]"> | 42 <div id="onoff" class="start" on$="[[bluetoothToggleState]]"> |
38 [[getOnOffString_(bluetoothToggleState, | 43 [[getOnOffString_(bluetoothToggleState, |
39 '$i18nPolymer{deviceOn}', '$i18nPolymer{deviceOff}')]] | 44 '$i18nPolymer{deviceOn}', '$i18nPolymer{deviceOff}')]] |
40 </div> | 45 </div> |
41 <paper-toggle-button id="enableBluetooth" | 46 <paper-toggle-button id="enableBluetooth" |
42 checked="{{bluetoothToggleState}}" | 47 checked="{{bluetoothToggleState}}" |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
98 dialog-id="[[dialogId_]]" | 103 dialog-id="[[dialogId_]]" |
99 error-message="[[errorMessage_]]" | 104 error-message="[[errorMessage_]]" |
100 on-close="onDialogClose_" | 105 on-close="onDialogClose_" |
101 on-device-event="onDeviceEvent_" | 106 on-device-event="onDeviceEvent_" |
102 pairing-device="[[pairingDevice_]]"> | 107 pairing-device="[[pairingDevice_]]"> |
103 </bluetooth-device-dialog> | 108 </bluetooth-device-dialog> |
104 | 109 |
105 </template> | 110 </template> |
106 <script src="bluetooth_subpage.js"></script> | 111 <script src="bluetooth_subpage.js"></script> |
107 </dom-module> | 112 </dom-module> |
OLD | NEW |