Skip to content

Commit 292585f

Browse files
committed
new button styling
1 parent baccfe0 commit 292585f

8 files changed

Lines changed: 18 additions & 19 deletions

File tree

app/components/About/About.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const About: React.FC = React.memo(() => {
1212
<div className="about">
1313
<div className="blurb" data-testid="aboutPage">
1414
<h3 style={currentMode} className="mainTitle">About</h3>
15-
<p style={currentMode} className="text">
15+
<p style={currentMode} className="text" >
1616
The Chronos Team has a passion for building tools that are powerful, beautifully
1717
designed, and easy to use. Chronos was conceived as an Open Source endeavor that directly benefits the developer
1818
community. It can also monitor applications deployed using AWS, EC2, and ECS from Amazon.

app/components/About/styles.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@
3030
}
3131

3232
.text {
33-
font-size: 18px;
33+
font-size: 20px;
3434
color: $background;
3535
text-align: left;
36-
font-weight: 100;
36+
font-weight: 200;
3737
}
3838

3939
.blurb {

app/components/Occupied/Occupied.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ const Occupied = React.memo(() => {
9797
return (
9898
<Link
9999
to={services.length > 0 ? `/applications/example/${services.join(' ')}` : '#'}
100-
>
100+
className=''>
101101
<ApplicationsCard
102102
key={crypto.randomUUID()}
103103
application={application}

app/components/Occupied/styles.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,4 +100,9 @@ select:-webkit-autofill:focus {
100100
align-self: center;
101101
width: 80%;
102102
margin-top: 50px;
103+
text-decoration: none;
104+
}
105+
106+
a{
107+
text-decoration: none;
103108
}

app/components/SearchBar/SearchBar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ const SearchBar = (props) => {
2525
)
2626
}
2727

28-
export default SearchBar
28+
export default SearchBar;

app/components/TransferColumns.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { DataGrid } from '@material-ui/data-grid';
77
import * as DashboardContext from '../context/DashboardContext';
88
import lightAndDark from './Styling';
99
import { Button, TextField } from '@material-ui/core';
10-
import SearchBar from './SearchBar';
10+
import SearchBar from './SearchBar/SearchBar';
1111

1212

1313
interface Params {
@@ -188,9 +188,6 @@ const TransferColumns = React.memo(() => {
188188

189189
return (
190190
<>
191-
<SearchBar
192-
setSearchTerm={setSearchTerm}
193-
/>
194191
<div id="getChartsContainer">
195192
<Button
196193
id="getCharts"

app/components/WindowBar/WindowBar.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
import React from 'react';
2-
import Close from '@material-ui/icons/Close';
3-
import Maximize from '@material-ui/icons/CheckBoxOutlineBlankSharp';
4-
import Minimize from '@material-ui/icons/RemoveSharp';
2+
// import Close from '@material-ui/icons/Close';
3+
// import Maximize from '@material-ui/icons/CheckBoxOutlineBlankSharp';
4+
// import Minimize from '@material-ui/icons/RemoveSharp';
55
import './styles.scss';
66

7-
const { ipcRenderer } = window.require('electron');
7+
// const { ipcRenderer } = window.require('electron');
88

99
const WindowBar = () => {
1010
return (
1111
<div id="titleBar">
12-
<Minimize className="button" id="min-btn" onClick={() => ipcRenderer.send('min')} />
12+
{/* <Minimize className="button" id="min-btn" onClick={() => ipcRenderer.send('min')} />
1313
<Maximize className="button" id="max-btn" onClick={() => ipcRenderer.send('max')} />
14-
<Close className="button" id="close-btn" onClick={() => ipcRenderer.send('close')} />
14+
<Close className="button" id="close-btn" onClick={() => ipcRenderer.send('close')} /> */}
1515
</div>
1616
);
1717
}

app/containers/SidebarContainer.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import { DashboardContext } from '../context/DashboardContext';
1414
const SidebarContainer = React.memo(() => {
1515

1616
// Extract invervalID from ApplicationContext. Initival value: intervalID = null
17-
const { intervalID,setExample } = useContext(ApplicationContext);
17+
const { intervalID } = useContext(ApplicationContext);
1818
// Extract isLoading and setLoading state from AwsContext. Initial value: isLoading = true
1919
const { isLoading, setLoadingState } = useContext(AwsContext);
2020
// clear interval and set loading state to true when leaving graph containers
@@ -29,9 +29,6 @@ const SidebarContainer = React.memo(() => {
2929
};
3030

3131
const handleExample = () => {
32-
33-
setExample(true)
34-
3532
const fields = {
3633
typeOfService: 'Microservices',
3734
database: 'MongoDB',

0 commit comments

Comments
 (0)