| OLD | NEW |
| 1 <link rel="import" href="chrome://resources/cr_elements/cr_slider/cr_slider.html
"> | 1 <link rel="import" href="chrome://resources/cr_elements/cr_slider/cr_slider.html
"> |
| 2 <link rel="import" href="chrome://resources/html/polymer.html"> | 2 <link rel="import" href="chrome://resources/html/polymer.html"> |
| 3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-radio-button/pape
r-radio-button.html"> | 3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-radio-button/pape
r-radio-button.html"> |
| 4 <link rel="import" href="../controls/settings_radio_group.html"> | 4 <link rel="import" href="../controls/settings_radio_group.html"> |
| 5 <link rel="import" href="../controls/settings_toggle_button.html"> | 5 <link rel="import" href="../controls/settings_toggle_button.html"> |
| 6 <link rel="import" href="device_page_browser_proxy.html"> | 6 <link rel="import" href="device_page_browser_proxy.html"> |
| 7 <link rel="import" href="../settings_shared_css.html"> | 7 <link rel="import" href="../settings_shared_css.html"> |
| 8 | 8 |
| 9 <dom-module id="settings-pointers"> | 9 <dom-module id="settings-pointers"> |
| 10 <template> | 10 <template> |
| 11 <style include="settings-shared"> | 11 <style include="settings-shared"> |
| 12 h2 { | 12 h2 { |
| 13 -webkit-padding-start: var(--settings-box-row-padding); | 13 -webkit-padding-start: var(--settings-box-row-padding); |
| 14 } | 14 } |
| 15 | 15 |
| 16 /* Indent layout elements under .subsection, using margin instead of | 16 /* Indent layout elements under .subsection, using margin instead of |
| 17 * padding so the borders line up. */ | 17 * padding so the borders line up. */ |
| 18 .subsection > .settings-box { | 18 .subsection > .settings-box { |
| 19 margin: 0 calc( | 19 margin: 0 var(--settings-box-row-indent); |
| 20 var(--settings-box-row-padding) + var(--settings-indent-width)); | |
| 21 padding: 0; | 20 padding: 0; |
| 22 } | 21 } |
| 23 | 22 |
| 24 .subsection > .list-frame { | 23 .subsection > .list-frame { |
| 25 -webkit-margin-start: var(--settings-indent-width); | 24 -webkit-margin-start: var(--settings-indent-width); |
| 26 } | 25 } |
| 27 </style> | 26 </style> |
| 28 <div id="mouse" hidden$="[[!hasMouse]]" | 27 <div id="mouse" hidden$="[[!hasMouse]]" |
| 29 class$="[[getSubsectionClass_(hasMouse, hasTouchpad)]]"> | 28 class$="[[getSubsectionClass_(hasMouse, hasTouchpad)]]"> |
| 30 <!-- Subsection title only appears if both mouse and touchpad exist. --> | 29 <!-- Subsection title only appears if both mouse and touchpad exist. --> |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 on-keydown="onLearnMoreLinkActivated_"> | 81 on-keydown="onLearnMoreLinkActivated_"> |
| 83 $i18n{naturalScrollLearnMore} | 82 $i18n{naturalScrollLearnMore} |
| 84 </a> | 83 </a> |
| 85 </paper-radio-button> | 84 </paper-radio-button> |
| 86 </settings-radio-group> | 85 </settings-radio-group> |
| 87 </div> | 86 </div> |
| 88 </div> | 87 </div> |
| 89 </template> | 88 </template> |
| 90 <script src="pointers.js"></script> | 89 <script src="pointers.js"></script> |
| 91 </dom-module> | 90 </dom-module> |
| OLD | NEW |