@@ -13,6 +13,7 @@ import { makeStyles } from '@material-ui/core/styles';
1313import { DashboardContext } from '../context/DashboardContext' ;
1414
1515import ServicesModal from '../modals/ServicesModal' ;
16+ import '../stylesheets/Applications.css' ;
1617
1718const Applications = ( ) => {
1819 const { applications, getApplications, deleteApp } = useContext ( DashboardContext ) ;
@@ -44,14 +45,15 @@ const Applications = () => {
4445 color : 'white' ,
4546 fontSize : '3rem' ,
4647 whiteSpace : 'nowrap' ,
47- background : 'rgb(33, 34, 41) ' ,
48+ backgroundColor : '#24262f ' ,
4849 border : '2px solid black' ,
4950 boxShadow : '0 3px 5px 2px rgba(255, 105, 135, .3)' ,
5051 '&:hover, &.Mui-focusVisible' : { background : 'rgba(33, 34, 41, 0.75)' } ,
5152 } ,
5253 hover : {
5354 color : 'white' ,
5455 boxShadow : 'none' ,
56+ '&:hover, &.Mui-focusVisible' : { color : 'red' } ,
5557 } ,
5658 btnStyle : {
5759 position : 'relative' ,
@@ -68,28 +70,31 @@ const Applications = () => {
6870 < >
6971 { applications . map ( ( app : string , i : number | any | string | undefined ) => (
7072 < Grid item xs = { 6 } key = { i } >
71- < Card
72- className = { classes . paper }
73- variant = "outlined"
74- onClick = { ( event : React . MouseEvent < HTMLElement > ) => handleClick ( app , i ) }
75- >
76- < CardHeader
77- avatar = {
78- < IconButton
79- className = { classes . hover }
80- aria-label = "Delete"
81- onClick = { ( event : React . MouseEvent < HTMLElement > ) => confirmDelete ( app , i ) }
82- >
83- < DeleteForeverOutlinedIcon />
84- </ IconButton >
85- }
86- > </ CardHeader >
87- < CardContent >
88- < Typography variant = "h2" > { app } </ Typography >
89- </ CardContent >
90- </ Card >
73+ < div id = "card-hover" >
74+ < Card
75+ className = { classes . paper }
76+ variant = "outlined"
77+ onClick = { ( event : React . MouseEvent < HTMLElement > ) => handleClick ( app , i ) }
78+ >
79+ < CardHeader
80+ avatar = {
81+ < IconButton
82+ className = { classes . hover }
83+ aria-label = "Delete"
84+ onClick = { ( event : React . MouseEvent < HTMLElement > ) => confirmDelete ( app , i ) }
85+ >
86+ < DeleteForeverOutlinedIcon />
87+ </ IconButton >
88+ }
89+ > </ CardHeader >
90+ < CardContent >
91+ < Typography variant = "h2" > { app } </ Typography >
92+ </ CardContent >
93+ </ Card >
94+ </ div >
9195 </ Grid >
9296 ) ) }
97+
9398 < Modal open = { open } onClose = { ( ) => setOpen ( false ) } >
9499 < ServicesModal i = { index } app = { app } />
95100 </ Modal >
@@ -98,3 +103,5 @@ const Applications = () => {
98103} ;
99104
100105export default Applications ;
106+
107+ //name, desc, creation date
0 commit comments