Skip to content

Commit 8670d1d

Browse files
committed
styling changes, Electron app still fully functional
1 parent dbf7154 commit 8670d1d

21 files changed

Lines changed: 94 additions & 57 deletions

app/assets/Rounded_Elegance.ttf

-224 KB
Binary file not shown.

app/assets/chronos-v4-pangolin.png

-351 KB
Loading

app/assets/icon.png

-572 KB
Loading

app/assets/icon_inverted.png

189 KB
Loading

app/assets/icon_old.png

283 KB
Loading

app/components/Applications.tsx

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,37 +46,42 @@ const Applications = () => {
4646
};
4747

4848
const useStyles = makeStyles(theme => ({
49+
// card: myPostgres, myMongo, ToddDB buttons
4950
paper: {
5051
height: 340,
5152
textAlign: 'center',
5253
color: 'rgba(33, 34, 41, 1.2)',
5354
whiteSpace: 'nowrap',
54-
backgroundColor: 'rgba(33, 34, 41, 0.2)',
55-
border: '3px ridge #808080',
55+
backgroundColor: '#ffffff',
56+
// border: '3px ridge #808080',
57+
border: '0',
5658
boxShadow: '0 10px 10px rgba(0,0,0,0.5)',
5759
'&:hover, &.Mui-focusVisible': {
58-
color: 'white',
59-
background: 'rgba(33, 34, 41, 1.2)',
60+
backgroundColor: 'rgb(61, 67, 78)',
61+
color: '#ffffff',
6062
},
6163
},
6264
hover: {
6365
position: 'relative',
6466
bottom: 20,
65-
right: 40,
67+
right: 47,
6668
boxShadow: 'none',
67-
'&:hover, &.Mui-focusVisible': { color: 'red' },
69+
'&:hover, &.Mui-focusVisible': { color: '#ffffff' },
70+
backgroundColor: 'transparent',
6871
},
6972
btnStyle: {
7073
position: 'relative',
7174
top: 50,
7275
margin: '0 auto',
73-
color: 'rgb(255, 243, 72)',
74-
backgroundColor: 'grey',
76+
color: '#e0e7ef',
77+
backgroundColor: 'transparent',
7578
},
7679
fontStyles: {
7780
fontSize: '3rem',
7881
[theme.breakpoints.up('lg')]: {
7982
fontSize: '2.75rem',
83+
// MAIN PAGE SQUARE BUTTON FONTS
84+
fontFamily: 'Montserrat'
8085
},
8186
},
8287
}));
@@ -89,6 +94,7 @@ const Applications = () => {
8994
<Grid item lg={4} md={6} sm={12} key={i}>
9095
<div id="card-hover">
9196
<Card
97+
id={`card-${i}`}
9298
className={classes.paper}
9399
variant="outlined"
94100
onClick={event => handleClick(event, app[0], i)}

app/components/Copyright.tsx

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,26 @@
11
import React from 'react';
22
import { Typography, Link } from '@material-ui/core';
3+
import { makeStyles } from '@material-ui/core/styles';
4+
import '../stylesheets/Applications.css';
35

46
export interface CopyrightProps {}
57

6-
const Copyright = () => (
7-
<Typography variant="body2" color="textSecondary" align="center">
8+
const Copyright = () => {
9+
const useStyles = makeStyles(theme => ({
10+
copyright: {
11+
fontFamily: 'Montserrat',
12+
position: 'fixed',
13+
}
14+
}))
15+
const classes = useStyles();
16+
return (
17+
<Typography className={classes.copyright} variant="body2" color="textSecondary" align="center">
818
{'Copyright © '}
919
<Link color="inherit" href="https://chronoslany.com/" target="_blank">
1020
Team Chronos
1121
</Link>{' '}
1222
{new Date().getFullYear()}
1323
{'.'}
1424
</Typography>
15-
);
25+
)};
1626
export default Copyright;

app/components/Home.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import '../stylesheets/Home.scss';
66
const Home = () => (
77
<div className="home">
88
<div className="pangolin-container">
9-
<img src={'../assets/chronos-v4-pangolin.png'} alt="Chronos logo" />
9+
<img src={'../assets/icon.png'} alt="Chronos logo" />
1010
</div>
1111
<h1 id="welcome">Welcome to Chronos</h1>
1212
<p>Your all-in-one application monitoring tool.</p>

app/components/Occupied.tsx

Lines changed: 19 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,18 @@ const Occupied: React.FC = () => {
1010
const [open, setOpen] = useState(false);
1111

1212
const useStyles = makeStyles(theme => ({
13+
// card: "+" button only
1314
paper: {
1415
color: 'rgba(33, 34, 41, 0.75)',
1516
height: 340,
1617
width: '100%',
17-
backgroundColor: 'rgba(33, 34, 41, 0.2)',
18-
border: '3px ridge #808080',
18+
backgroundColor: '#ffffff',
19+
// border: '3px ridge #808080',
20+
border: '0',
1921
boxShadow: '0 10px 10px rgba(0,0,0,0.5)',
2022
'&:hover, &.Mui-focusVisible': {
21-
backgroundColor: 'rgba(33, 34, 41, 1.2)',
22-
color: 'rgb(255, 243, 72)',
23+
backgroundColor: 'rgb(61, 67, 78)',
24+
color: '#ffffff',
2325
},
2426
},
2527
grid: {
@@ -28,31 +30,37 @@ const Occupied: React.FC = () => {
2830
maxHeight: '75vh',
2931
},
3032
icon: {
31-
width: '100px',
32-
height: '100px',
33+
width: '75px',
34+
height: '75px',
3335
boxShadow: 'none',
3436
},
35-
heroContent: {
37+
// APPLICATION HEADER
38+
applicationHeader: {
3639
fontWeight: 700,
37-
color: '#333',
40+
fontFamily: 'Montserrat',
41+
color: '#ffffff',
3842
padding: theme.spacing(8, 0, 6),
39-
backgroundColor: '#e8e8e8',
43+
backgroundColor: '#5490c8',
44+
boxShadow: '2px 2px 2px 2px rgba(0,0,0,0.5)',
4045
},
46+
subTitle: {
47+
fontFamily: 'Montserrat',
48+
}
4149
}));
4250

4351
const classes = useStyles();
4452

4553
return (
4654
<>
4755
<Typography
48-
className={classes.heroContent}
56+
className={classes.applicationHeader}
4957
variant="h2"
5058
align="center"
5159
color="textPrimary"
5260
gutterBottom
5361
>
5462
Applications
55-
<Typography>Click a Card to Begin!</Typography>
63+
<Typography className={classes.subTitle}>Select A Microservice</Typography>
5664
</Typography>
5765
<Modal open={open} onClose={() => setOpen(false)}>
5866
<AddModal setOpen={setOpen} />

app/components/Splash.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const Splash: React.FC<SplashProps> = ({ setFirstVisit }) => {
1414
return (
1515
<div id="splash">
1616
<img src={'../assets/icon.png'} alt="Chronos Logo" />
17-
<span>chronos</span>
17+
<span>CHRONOS</span>
1818
</div>
1919
);
2020
};

0 commit comments

Comments
 (0)