<style include="settings-shared input-device-settings-shared">
#mouseSwapToggleButton {
border-bottom: var(--cr-separator-line);
}
#helpSection {
align-items: center;
background-color: var(--cros-sys-app_base_shaded);
border-radius: 12px;
display: flex;
margin: 8px;
padding: 16px 12px;
}
#helpIconSection {
--iron-icon-height: 48px;
--iron-icon-width: 48px;
flex-basis: 48px;
}
#helpSectionText {
flex: 1;
margin-inline-start: 12px;
}
.help-title {
color: var(--cros-text-color-primary);
font: var(--cros-button-1-font);
margin-bottom: 5px;
}
.secondary {
font: var(--cros-body-2-font);
}
#buttonsSection {
border-top: var(--cr-separator-line);
}
</style>
<settings-toggle-button id="mouseSwapToggleButton"
aria-describedby="description"
label="$i18n{mouseSwapButtonsLabel}"
pref="{{primaryRightPref_}}">
</settings-toggle-button>
<div id="helpSection">
<div id="helpIconSection">
<iron-icon icon="os-settings:mouse-banner"></iron-icon>
</div>
<div id="helpSectionText">
<div class="help-title">
[[getcustomizeMouseButtonsNudgeHeader_(selectedMouse.*)]]
</div>
<div class="secondary">
[[getDescription_(selectedMouse.*)]]
</div>
</div>
</div>
<div id="buttonsSection">
<customize-buttons-subsection
button-remapping-list="{{selectedMouse.settings.buttonRemappings}}"
action-list$="[[buttonActionList_]]"
meta-key="[[metaKey_]]">
</customize-buttons-subsection>
</div>