Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | 7x 7x 7x 7x 7x 7x 7x | <script>
import { UListViewItem } from '../u-list-view.vue';
export default {
name: 'u-pill',
parentName: 'u-pills',
extends: UListViewItem,
};
</script>
<style module>
.root {
cursor: var(--cursor-pointer);
display: inline-block;
height: 30px;
line-height: 28px;
padding: 0 12px;
background: var(--field-background);
color: var(--field-color);
border: 1px solid var(--field-border-color);
border-radius: var(--border-radius-base);
}
.root:not(:last-child) {
margin-right: 4px;
}
.root:hover {
border-color: var(--brand-primary);
}
.root[selected] {
background: var(--brand-primary);
color: white;
border-color: var(--brand-primary);
}
.root[disabled] {
cursor: var(--cursor-not-allowed);
color: var(--field-border-color);
border-color: var(--field-border-color);
}
.root[selected][disabled] {
background: var(--gray-light);
}
</style>
|