blob: eebb09c87da75fddcb9dacb77a7e99867be08410 [file] [log] [blame]
<style include="cr-shared-style">
:host([pairing-failed_]) #secondaryLabel {
color: var(--cros-text-color-alert);
}
#container {
max-height: 32px;
}
#container:hover {
background-color: var(--cr-hover-background-color);
cursor: pointer;
}
.text-row {
display: flex;
flex-direction: column;
justify-content: center;
margin-inline-start: 24px;
min-height: var(--settings-row-min-height);
}
.cr-row {
padding: 0;
}
.secondary {
color: var(--cros-text-color-disabled);
font-size: 11px;
}
</style>
<div id="wrapper" focus-row-container>
<div id="container"
class="cr-row continuation"
actionable
focus-row-control
selectable
aria-label$="[[getAriaLabel_(device.*, itemIndex, listSize)]]"
role="button"
focus-type="rowWrapper"
on-keydown="onKeydown_"
on-click="onSelected_">
<bluetooth-icon device="[[device]]"></bluetooth-icon>
<div aria-live="polite"
aria-label="[[getSecondaryAriaLabel_(
secondaryLabel_, pairingFailed_, device.*)]]"
class="text-row">
<div id="deviceName" aria-hidden="true">
[[getDeviceName_(device.*)]]
</div>
<div id="secondaryLabel"
aria-hidden="true"
class="secondary">
[[secondaryLabel_]]
</div>
</div>
</div>
</div>