File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11<template >
2- <div >
2+ <div class =" multi-state-panel-wrapper" >
3+ <v-icon class =" multi-state-hint-icon" small >format_list_bulleted</v-icon >
34 <KioskPanel
45 :isEnabled =" calculateEnabled"
56 pa =" 1"
3233
3334 <v-dialog v-model =" dialogOpen" max-width =" 320" >
3435 <v-card >
35- <v-list dense >
36+ <v-list class = " multi-state-list " >
3637 <v-list-item
3738 v-for =" state in config.states"
3839 :key =" state.id"
3940 @click =" selectState(state)"
41+ class =" multi-state-item"
4042 :class =" state.id === activeStateId ? 'multi-state-item-active' : 'multi-state-item-passive'"
4143 >
4244 <v-list-item-icon v-if =" state.icon" >
@@ -157,6 +159,20 @@ export default {
157159 opacity : 0 !important ;
158160}
159161
162+ .multi-state-panel-wrapper {
163+ position : relative ;
164+ }
165+
166+ .multi-state-hint-icon.v-icon {
167+ position : absolute ;
168+ top : 8px ;
169+ right : 8px ;
170+ z-index : 2 ;
171+ font-size : 16px !important ;
172+ color : #0d47a1 !important ;
173+ pointer-events : none ;
174+ }
175+
160176.multi-state-panel-content {
161177 display : flex ;
162178 flex-direction : column ;
@@ -171,8 +187,24 @@ export default {
171187 margin-top : 2px ;
172188}
173189
190+ .multi-state-list {
191+ padding-top : 0 !important ;
192+ padding-bottom : 0 !important ;
193+ }
194+
195+ .multi-state-item {
196+ min-height : 80px ;
197+ }
198+
199+ .multi-state-item .v-list-item__icon {
200+ align-self : center ;
201+ margin-top : 0 ;
202+ margin-bottom : 0 ;
203+ }
204+
174205.multi-state-item-active {
175206 opacity : 1 ;
207+ background-color : rgba (25 , 118 , 210 , 0.22 );
176208}
177209
178210.multi-state-item-passive {
You can’t perform that action at this time.
0 commit comments