Skip to content

Commit dafe935

Browse files
committed
FIXED graphs container bug, minor formatting changes
1 parent 3cbeff4 commit dafe935

18 files changed

Lines changed: 157 additions & 141 deletions

app/components/Applications.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ const Applications = () => {
8787
[theme.breakpoints.up('lg')]: {
8888
fontSize: '18px',
8989
// MAIN PAGE SQUARE BUTTON FONTS
90-
fontFamily: 'Inter'
90+
fontFamily: 'Open Sans'
9191
},
9292
},
9393
}));

app/components/Contact.tsx

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,16 @@ const Contact: React.FC = () => {
77
<div className="contact-border">
88
<div className="contact-container">
99
<div className="contact-blurb">
10-
<h1>Contact Us!</h1>
10+
<h1>Contact Us</h1>
1111
<br />
12-
<p>The Chronos Team is always looking for any feedback or suggestions for Chronos.</p>
12+
<p>Please feel free to provide any feedback, concerns, or comments.</p>
1313
<p>
1414
You can find issues the team is currently working on&nbsp;
15-
<a href="https://github.com/open-source-labs/Chronos/issues" target="_blank">
15+
<a id="issueLink" href="https://github.com/open-source-labs/Chronos/issues" target="_blank">
1616
here
1717
</a>
1818
.
1919
</p>
20-
<p>
21-
If you would like your voice heard, fill out the form and we will get back to you
22-
ASAP!
23-
</p>
24-
</div>
25-
<div className="chronos-contact-container">
26-
<img src={'../assets/chronos-v4.png'} alt="Chronos logo" />
2720
</div>
2821
</div>
2922
<div className="email-container">
@@ -40,9 +33,12 @@ const Contact: React.FC = () => {
4033
<label htmlFor="subject">Subject: &nbsp;</label>
4134
<input type="text" id="subject" name="subject" placeholder="Subject" />
4235
<br />
43-
<label htmlFor="message">Message: </label>
44-
<br />
45-
<textarea id="message" name="message" placeholder="Write something.."></textarea>
36+
<label htmlFor="message">Message:
37+
<span>
38+
<textarea id="message" name="message" placeholder="Write something.."></textarea>
39+
</span>
40+
</label>
41+
4642
<br />
4743
<label htmlFor="myfile">Select a file: </label>
4844
<input type="file" id="myfile" name="myfile" accept="image/*"></input>

app/components/Copyright.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ export interface CopyrightProps {}
88
const Copyright = () => {
99
const useStyles = makeStyles(theme => ({
1010
copyright: {
11-
fontFamily: 'Inter',
11+
fontFamily: 'Open Sans',
1212
position: 'fixed',
13+
color: "#ffffff"
1314
}
1415
}))
1516
const classes = useStyles();

app/components/Occupied.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ const Occupied: React.FC = () => {
6969
};
7070

7171
const useStyles = makeStyles<Theme, StyleProps>(theme => ({
72-
// card: "+" button only
7372
paper: {
7473
height: 280,
7574
width: 280,
@@ -81,7 +80,7 @@ const Occupied: React.FC = () => {
8180
border: '0',
8281
boxShadow: '0 6px 6px 0 rgba(153, 153, 153, 0.14), 0 6px 6px -2px rgba(153, 153, 153, 0.2), 0 6px 8px 0 rgba(153, 153, 153, 0.12)',
8382
'&:hover, &.Mui-focusVisible': {
84-
backgroundColor: `#ccd8e1`,
83+
backgroundColor: `#b5d3e9`,
8584
color: '#ffffff',
8685
},
8786
},
@@ -130,7 +129,7 @@ const Occupied: React.FC = () => {
130129
<section className="header" id="rightHeader">
131130
<form className="form">
132131
<label className="inputContainer">
133-
<input className="form" id="textInput" value={`Search`} type="text" name="search" />
132+
<input className="form" id="textInput" value="Search..." type="text" name="search" />
134133
<hr />
135134
</label>
136135
<button className="form" id="submitBtn" type="submit">

app/components/Settings.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ import React from 'react';
77
const Settings: React.FC = () => {
88
return (
99
<div className="home">
10-
<h1>Currently under construction, coming soon!</h1>
11-
<p>Contact the Chronos Team for anything you'd like to see!</p>
10+
<p>Contact the Chronos Team for anything you'd like to see</p>
1211
</div>
1312
);
1413
};

app/index.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,10 @@
88
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap"/>
99
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Open+Sans&family=Inter:wght@100&family=Lexend+Peta&display=swap" />
1010
<script src="https://cdn.plot.ly/plotly-latest.min.js" charset="utf-8"></script>
11+
<base href="/" />
1112
</head>
1213
<body>
1314
<div id="app"></div>
15+
<!-- <script type="text/x-typescript" src="index.tsx"></script> -->
1416
</body>
1517
</html>

app/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { createMuiTheme, ThemeProvider } from '@material-ui/core';
77
const theme = createMuiTheme({
88
typography: {
99
// Graph font when you shrink window
10-
fontFamily: ['Inter', 'sans-serif'].join(','),
10+
fontFamily: ['Open Sans', 'sans-serif'].join(','),
1111
},
1212
});
1313

app/stylesheets/About.scss

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,34 +3,37 @@
33
.para {
44
color: $background;
55
text-align: left;
6-
font-size: 18px;
7-
}
8-
9-
h3 {
10-
font-size: 20px;
11-
color: $background;
12-
font-weight: 700;
6+
7+
p {
8+
font-size: 18px;
9+
}
10+
11+
h3 {
12+
font-size: 32px;
13+
}
1314
}
1415

1516
.doya {
1617
display: flex;
1718
flex-direction: row;
18-
// justify-content: left;
1919
align-items: flex-start;
2020
align-self: flex-start;
2121
align-content: flex-start;
2222
vertical-align: top;
2323
}
2424

2525
.blurb {
26-
margin: 500px;
26+
margin-left: 300px;
27+
margin-right: 200px;
2728
display: flex;
2829
flex-direction: column;
2930
justify-content: left;
3031
}
3132

3233
#sproutSpan {
3334
display: inline-block;
35+
margin-top: 0px;
36+
margin-bottom: 0px;
3437
margin-left: 15px;
3538
margin-right: 10px;
3639
height: $sproutSize;

app/stylesheets/AddModal.scss

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,12 @@
1212
background-color: $grey;
1313
border-top-left-radius: 5px;
1414
border-top-right-radius: 5px;
15+
color: $darkgrey;
1516

1617
h2 {
1718
@include modalHeader();
19+
font-size: 24px;
20+
color: $darkgrey;
1821
}
1922
}
2023

@@ -23,6 +26,9 @@
2326
@include centerWithFlex($direction: column);
2427
padding: 20px 30px;
2528
width: 100%;
29+
font-size: 12px;
30+
font-family: 'Open Sans';
31+
color: $darkgrey;
2632

2733
p,
2834
span {
@@ -31,7 +37,7 @@
3137

3238
span {
3339
font-weight: 300;
34-
font-size: 80%;
40+
font-size: 90%;
3541
}
3642

3743
p {
@@ -58,16 +64,19 @@
5864
select,
5965
input,
6066
textarea {
61-
font-size: 100%;
67+
font-family: 'Open Sans';
68+
font-size: 14px;
6269
padding: 5px;
6370
border: thin solid $grey;
6471
flex: 1;
6572
border-radius: 3px;
73+
color: $darkgrey;
6674
}
6775

6876
// Select field
6977
select {
7078
cursor: pointer;
79+
font-family: 'Open Sans';
7180
height: 30px;
7281
margin: 0;
7382
appearance: none;
@@ -81,6 +90,7 @@
8190
// Text input
8291
input {
8392
height: 30px;
93+
color: $darkgrey;
8494
}
8595

8696
// Textarea
@@ -98,22 +108,23 @@
98108

99109
/* Submit button */
100110
button {
111+
font-family: 'Open Sans';
112+
font-size: 16px;
113+
font-weight: 800;
101114
height: 40px;
102-
font-size: 115%;
103115
width: 50%;
104116
color: #fff;
105-
background-color: $navy;
117+
background-color: $header;
106118
transition: 0.1s;
107119
margin: 20px 0;
108120
font-weight: 400;
109121
letter-spacing: 2px;
110-
border: thin solid $navy;
122+
border: none;
111123
padding: 4px;
112124
text-transform: uppercase;
113125

114126
&:hover {
115-
color: $navy;
116-
background-color: lighten($navy, 65%);
127+
background-color: $lightblue;
117128
}
118129
}
119130
}

app/stylesheets/Contact.scss

Lines changed: 42 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,85 +1,79 @@
11
@import './constants.scss';
22

33
.contact {
4-
background-color: #f4f4f4;
54
height: 100%;
6-
display: flex;
7-
justify-content: flex-start;
5+
vertical-align: top;
6+
justify-content: center;
7+
color: $darkgrey;
88
}
99
.contact-border {
10-
width: 120vh;
10+
display: flex;
11+
flex-direction: column;
12+
font-size: 14px;
13+
width: 60vw;
1114
margin: 10vh 20vh;
12-
background-color: rgb(245, 237, 237);
15+
background-color: $background;
1316
border-radius: 10px;
14-
border: 1px solid black;
15-
z-index: 0;
16-
display: flex;
17-
flex-direction: row;
18-
padding-top: 50px;
19-
padding-left: 40px;
17+
border: none;
18+
box-shadow: $boxshadow2;
19+
padding: 30px;
2020
}
2121
.contact-container {
2222
padding: 20px;
2323
margin-right: 0;
24-
height: 70vh;
2524
justify-content: left;
26-
width: 45%;
27-
min-width: 30vh;
28-
line-height: 3vh;
25+
min-width: 50%;
2926
}
3027
.contact-blurb {
31-
padding-left: 2vh;
32-
font-size: 20px;
28+
min-width: 50%;
29+
font-size: 14px;
3330
}
3431
.email-container {
3532
flex-direction: row;
36-
margin: 0 0;
37-
margin-left: 20vh;
38-
width: 50vh;
39-
min-width: 20vh;
40-
line-height: 5vh;
41-
font-size: 20px;
33+
padding: 20px;
34+
margin: 0;
35+
min-width: 50%;
36+
font-size: 14px;
4237
}
4338
.email-container textarea {
44-
font-size: 15px;
45-
width: 30vh;
46-
height: 20vh;
39+
font-size: 12px;
4740
}
4841
.email-container input {
49-
font-size: 15px;
50-
}
51-
.chronos-contact-container {
52-
height: 20vh;
53-
width: 40vh;
54-
}
55-
.chronos-contact-container img {
56-
margin-top: 5vh;
57-
height: 20vh;
58-
width: 40vh;
42+
font-size: 12px;
5943
}
44+
6045
.email-container input[type='text'] {
61-
width: 20vh;
46+
width: 300px;
6247
}
6348
.email-container #email {
64-
width: 23.5vh;
49+
width: 300px;
6550
}
6651
.email-container #subject {
67-
width: 22.5vh;
52+
width: 300px;
6853
}
6954

7055
#myfile {
71-
font-size: 17px;
56+
font-size: 12px;
7257
}
7358

7459
#contact-submit {
75-
font-size: 16px;
60+
font-size: 14px;
7661
width: 9vh;
77-
}
78-
79-
#contact-submit:hover {
80-
font-size: 13px;
81-
background-color: cyan;
82-
padding: 3px 7px;
62+
border: none;
63+
outline: none;
64+
color: $background;
65+
background-color: $header;
8366
border-radius: 4px;
84-
border-color: #313639;
67+
padding: 5px;
68+
&:hover {
69+
background-color: $lightblue;
70+
}
8571
}
72+
73+
#issueLink {
74+
color: $header;
75+
text-decoration: none;
76+
&:hover {
77+
color: $lightblue;
78+
}
79+
}

0 commit comments

Comments
 (0)