All files / src/components/u-navbar-multi.vue/select.vue index.vue

70% Statements 7/10
33.33% Branches 2/6
50% Functions 1/2
77.77% Lines 7/9

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 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75      7x     7x                                       7x 7x 7x 7x           7x                                                                              
<script>
import { USelect } from '../../u-select.vue';
 
export default {
    name: 'u-navbar-select-multi',
    groupName: 'u-navbar-select-group-multi',
    childName: 'u-navbar-select-item-multi',
    extends: USelect,
};
</script>
 
<style module>
@extends '../../u-select.vue/index.css';
 
.root {
    background: none;
    border: none;
    height: var(--navbar-height);
    line-height: var(--navbar-height);
    padding-left: var(--navbar-select-padding-left);
    padding-right: var(--navbar-select-padding-right);
    width: var(--navbar-select-width);
    vertical-align: top;
}
 
.root:not(:last-child) {
    margin-right: var(--navbar-item-space);
}
 
.root:focus {
    box-shadow: none;
}

.root:hover {
    background: var(--navbar-select-hover-background);
}
 
.root[focused] {
    background: var(--navbar-select-focused-background);
}
 
.root::before {
    font-size: var(--navbar-item-font-size);
    line-height: var(--navbar-height);
}
 
.root::after {
    icon-font: url('../../i-icon.vue/icons/keyboard-arrow-down.svg');
    height: auto;
    line-height: var(--navbar-height);
    color: white;
    font-size: 20px;
    right: 6px;
    top: 0;
}
 
.placeholder {
    color: white;
    font-size: var(--navbar-item-font-size);
}
 
.text {
    color: white;
    font-size: var(--navbar-item-font-size);
    line-height: var(--navbar-height);
}
 
.popper {
    margin-top: 3px;
    box-shadow: var(--navbar-select-box-shadow);
    background: var(--navbar-select-item-background);
    border: none;
}
</style>