File tree Expand file tree Collapse file tree 1 file changed +22
-1
lines changed
src/panel_material_ui/widgets Expand file tree Collapse file tree 1 file changed +22
-1
lines changed Original file line number Diff line number Diff line change @@ -116,7 +116,28 @@ export function render({model}) {
116116 bgcolor : isActive ? (
117117 `rgba(var(--mui-palette-${ color } -mainChannel) / var(--mui-palette-action-selectedOpacity))`
118118 ) : "inherit" ,
119- borderLeft : `3px solid var(--mui-palette-${ color } -main)`
119+ borderLeft : `6px solid var(--mui-palette-${ color } -main)` ,
120+ ".MuiListItemText-root" : {
121+ ".MuiTypography-root.MuiListItemText-primary" : {
122+ fontWeight : "bold"
123+ }
124+ }
125+ } ,
126+ "&.MuiListItemButton-root.Mui-focusVisible" : {
127+ borderLeft : isActive ? `6px solid var(--mui-palette-${ color } -main)` : "3px solid var(--mui-palette-secondary-main)" ,
128+ borderTop : "3px solid var(--mui-palette-secondary-main)" ,
129+ borderRight : "3px solid var(--mui-palette-secondary-main)" ,
130+ borderBottom : "3px solid var(--mui-palette-secondary-main)" ,
131+ bgcolor : isActive ? (
132+ `rgba(var(--mui-palette-${ color } -mainChannel) / var(--mui-palette-action-selectedOpacity))`
133+ ) : "inherit"
134+ } ,
135+ "&.MuiListItemButton-root:hover" : {
136+ ".MuiListItemText-root" : {
137+ ".MuiTypography-root.MuiListItemText-primary" : {
138+ textDecoration : "underline"
139+ }
140+ }
120141 }
121142 } }
122143 >
You can’t perform that action at this time.
0 commit comments