source: src/components/scrollbar/styles.ts@ 5d6f37a

main
Last change on this file since 5d6f37a was 5d6f37a, checked in by Naum Shapkarovski <naumshapkarovski@…>, 7 weeks ago

add customer

  • Property mode set to 100644
File size: 626 bytes
Line 
1import SimpleBar from 'simplebar-react';
2// @mui
3import { alpha, styled } from '@mui/material/styles';
4
5// ----------------------------------------------------------------------
6
7export const StyledRootScrollbar = styled('div')(() => ({
8 flexGrow: 1,
9 height: '100%',
10 overflow: 'hidden',
11}));
12
13export const StyledScrollbar = styled(SimpleBar)(({ theme }) => ({
14 maxHeight: '100%',
15 '& .simplebar-scrollbar': {
16 '&:before': {
17 backgroundColor: alpha(theme.palette.grey[600], 0.48),
18 },
19 '&.simplebar-visible:before': {
20 opacity: 1,
21 },
22 },
23 '& .simplebar-mask': {
24 zIndex: 'inherit',
25 },
26}));
Note: See TracBrowser for help on using the repository browser.