Proyectos de Subversion LeadersLinked - SPA

Rev

Rev 2274 | Rev 2276 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 2274 Rev 2275
Línea 13... Línea 13...
13
} from '@mui/material'
13
} from '@mui/material'
14
import { MoreVert } from '@mui/icons-material'
14
import { MoreVert } from '@mui/icons-material'
Línea 15... Línea 15...
15
 
15
 
16
const WidgetContainer = styled(Card)(({ theme }) => ({
16
const WidgetContainer = styled(Card)(({ theme }) => ({
-
 
17
  backgroundColor: theme.palette.background.default,
17
  backgroundColor: theme.palette.background.default,
18
  borderRadius: 0,
18
  boxShadow: theme.shadows[1],
19
  boxShadow: theme.shadows[1],
19
  height: 'fit-content',
20
  height: 'fit-content',
20
  position: 'relative',
21
  position: 'relative',
21
  width: '100%',
22
  width: '100%',
Línea 100... Línea 101...
100
        sx: { fontSize: '16px', fontWeight: 600, color: 'var(--title-color)' }
101
        sx: { fontSize: '16px', fontWeight: 600, color: 'var(--title-color)' }
101
      }}
102
      }}
102
      subheaderTypographyProps={{
103
      subheaderTypographyProps={{
103
        sx: { fontSize: '14px', color: 'var(--subtitle-color)' }
104
        sx: { fontSize: '14px', color: 'var(--subtitle-color)' }
104
      }}
105
      }}
105
      sx={styles}
106
      sx={{ padding: 1, paddingBottom: 0, ...styles }}
106
      {...props}
107
      {...props}
107
    />
108
    />
108
  )
109
  )
109
}
110
}
Línea 110... Línea 111...
110
 
111
 
111
export function WidgetBody({ children, styles, ...props }) {
112
export function WidgetBody({ children, styles, ...props }) {
112
  return (
113
  return (
113
    <CardContent sx={styles} {...props}>
114
    <CardContent sx={{ padding: 1, ...styles }} {...props}>
114
      {children}
115
      {children}
115
    </CardContent>
116
    </CardContent>
116
  )
117
  )
Línea 117... Línea 118...
117
}
118
}
118
 
119
 
-
 
120
export function WidgetActions({ children, styles, ...props }) {
119
export function WidgetActions({ children, styles, ...props }) {
121
  return (
-
 
122
    <CardActions
-
 
123
      sx={{ padding: 1, paddingTop: 0, ...styles }}
-
 
124
      disableSpacing
120
  return (
125
      {...props}
121
    <CardActions sx={styles} disableSpacing {...props}>
126
    >
122
      {children}
127
      {children}
123
    </CardActions>
128
    </CardActions>