Skip to content

Commit

Permalink
sidebar , navbar, table and piechart color change
Browse files Browse the repository at this point in the history
regarding the #106
  • Loading branch information
IremToroslu committed Jun 12, 2021
1 parent c9d9dec commit 2485248
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 10 deletions.
4 changes: 2 additions & 2 deletions frontend/src/components/details/ColumnChartComponent.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const ColumnChartComponent = () => {
}
},
fill: {
colors: ['#75bab4']//['#2cb5de']
colors: ['#13bfb2']//['#2cb5de']
},

dataLabels: {
Expand All @@ -44,7 +44,7 @@ const ColumnChartComponent = () => {
offsetY: -20,
style: {
fontSize: '12px',
colors: ['#a9d1cd']
colors: ['#13bfb2']
}
},
yaxis: {
Expand Down
10 changes: 6 additions & 4 deletions frontend/src/components/details/NavbarComponent.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,12 @@ const NavbarComponent = (props) => {
</btn>
</Link>
<b>{props.scenarioName}</b>
<pdfbtn href={slugs.details} onClick={props.onExportClicked}>
<i className='fa fa-file-pdf-o' aria-hidden='true'></i>
Export Pdf
</pdfbtn>
<Link to={{ pathname: slugs.details }} onClick={props.onExportClicked}>
<pdfbtn >
<i className='fa fa-file-pdf-o' aria-hidden='true'></i>
Export Pdf
</pdfbtn>
</Link>
<Link to={{ pathname: slugs.details }} onClick={props.onCompareClick}>
<addbtn>
<i className='fa fa-fw fa-plus-circle' /> Add
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/details/TableComponent.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ class TableComponent extends Component {

<table className='w3-table-all w3-card-4 w3-small w3-center'>
<thead>
<tr key={'FirstRow'} style={{ backgroundColor: '#b28290' }}>
<tr key={'FirstRow'} style={{ backgroundColor: '#d6aa78' }}>
{this.state.headers.map((item) => (
<th key={idKey + 'thead' + item.key}>{item.value}</th>
))}
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/details/navbar.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

/* -webkit-radial-gradient( bottom right, #4D217A,#1B1534 ); */
:root{
--global--button--color:#543b6e;
--global--button--color:#836387;
--global--button--text--color:#F0F0F0;
--global--panel-title--FontSize: 22px;
--global--text-subtitle--FontSize: 19px;
Expand Down
3 changes: 1 addition & 2 deletions frontend/src/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@
--global--header--icon--color: #f0f0f0;
--global--icon--color: #00b300;
--global--sidebar--color: radial-gradient(circle at top,
#000000 30%,#1b1534,#4d217a,#8A00DE
#000000 15%,#1b1534,#963fcc
);
--global--headerbar--color: radial-gradient(circle at left,#000000 1%,#1b1534,#1b1534,#1b1534);
/* --global--panel--color: #38206A; */
--global--main--container--color: 2rem;
--global--text--color: #000000;
--global--body--color: #f0f0f0;
--global--header--title--color: #f0f0f0;
Expand Down

0 comments on commit 2485248

Please sign in to comment.