Skip to content

Commit 9638fd3

Browse files
committed
working on additional mui components
1 parent 2b0accf commit 9638fd3

File tree

3 files changed

+51
-41
lines changed

3 files changed

+51
-41
lines changed

src/app/components/StateRoute/PerformanceVisx/BarGraphComparison.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,9 @@ const BarGraphComparison = (props: BarGraphComparisonProps): JSX.Element => {
152152
minWidth: 80,
153153
fontSize: '.75rem',
154154
fontWeight: 200,
155-
border: '1px solid grey',
156-
borderRadius: 4,
157-
color: 'grey',
155+
// border: '1px solid grey',
156+
// borderRadius: 4,
157+
// color: 'grey',
158158
height: 30,
159159
});
160160

@@ -262,7 +262,7 @@ const BarGraphComparison = (props: BarGraphComparisonProps): JSX.Element => {
262262
<StyledFormControl
263263
id='selectSeries'
264264
variant='outlined'
265-
sx={{ backgroundColor: 'secondary.main' }}
265+
sx={{ backgroundColor: theme.palette.primary.main }}
266266
>
267267
<StyledSelect
268268
style={{ color: 'white' }}

src/app/components/theme.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,13 @@ const theme = createTheme({
44
primary: {
55
main: '#556cd4',
66
},
7+
secondary: {
8+
main: '#32a852',
9+
},
710
},
811
components: {
912
// Name of the component
13+
1014
MuiButton: {
1115
styleOverrides: {
1216
// Name of the slot
@@ -18,6 +22,13 @@ const theme = createTheme({
1822
},
1923
},
2024
},
25+
// MuiSelect: {
26+
// styleOverrides: {
27+
// root: {
28+
// main: '#556cd4',
29+
// },
30+
// },
31+
// },
2132
},
2233
});
2334

Lines changed: 36 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,72 +1,71 @@
11
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
22
* {
3-
font-family: 'Roboto', sans-serif;
3+
font-family: 'Roboto', sans-serif;
44
}
55
.buttons-container {
6-
margin: 0 1% 0 1%;
7-
display: grid;
8-
grid-template-columns: repeat(4, 1fr);
9-
grid-gap: 1%;
10-
padding: 1% 0 1% 0;
6+
margin: 0 1% 0 1%;
7+
display: grid;
8+
grid-template-columns: repeat(4, 1fr);
9+
grid-gap: 1%;
10+
padding: 1% 0 1% 0;
1111
}
1212

1313
.introjs-tooltip {
1414
color: black;
1515
background-color: white;
1616
min-width: 20rem;
1717
}
18-
.introjs-tooltiptext ul{
19-
padding-left: 2px;
18+
.introjs-tooltiptext ul {
19+
padding-left: 2px;
2020
}
2121

2222
// .introjs-helperLayer{
2323
// // border: 2px solid yellow
2424
// }
2525

2626
.tools-container {
27-
display: flex;
28-
justify-content: space-between;
29-
border: .5px solid grey;
30-
background-color: #35383e;
31-
padding: 3px;
32-
margin-bottom: 1rem;
27+
display: flex;
28+
justify-content: space-between;
29+
border: 0.5px solid grey;
30+
background-color: #35383e;
31+
padding: 3px;
32+
margin-bottom: 1rem;
3333
}
3434

3535
#seriesname {
36-
background-color: #333;
37-
color: white;
36+
background-color: #333;
37+
color: white;
3838
}
3939

4040
@media (max-width: 500px) {
41-
.buttons-container {
42-
grid-template-columns: repeat(2, 1fr);
43-
}
41+
.buttons-container {
42+
grid-template-columns: repeat(2, 1fr);
43+
}
4444
}
4545

4646
.introjs-nextbutton {
47-
background-color: none;
48-
color: #3256f1;
49-
border: 1px solid;
50-
outline: none;
47+
background-color: none;
48+
color: #3256f1;
49+
border: 1px solid;
50+
outline: none;
5151
}
5252

53-
.introjs-prevbutton{
54-
background-color: none;
55-
color: #3256f1;
56-
border: 1px solid;
57-
outline: none;
53+
.introjs-prevbutton {
54+
background-color: none;
55+
color: #3256f1;
56+
border: 1px solid;
57+
outline: none;
5858
}
5959

60-
6160
.introjs-skipbutton {
62-
color: #d72828;
63-
border: 1px solid;
64-
margin-top: 2px;
65-
font-size: 16px;
66-
outline: none;
61+
color: #d72828;
62+
border: 1px solid;
63+
margin-top: 2px;
64+
font-size: 16px;
65+
outline: none;
6766
}
6867

6968
.introjs-button {
70-
background: none;
71-
outline: none;
72-
}
69+
background: none;
70+
outline: none;
71+
}

0 commit comments

Comments
 (0)