Skip to content

Commit

Permalink
css files created for each components
Browse files Browse the repository at this point in the history
regarding #78

Co-authored-by: Martin Wagner <martin.wagner@fau.de>
  • Loading branch information
IremToroslu and Waldleufer committed Jun 10, 2021
1 parent e7dcd97 commit e4d07ee
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 25 deletions.
2 changes: 2 additions & 0 deletions frontend/src/components/details/charts_tables.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@import url('theme.css');

/* Chart related Styling */

/* Reconfiguration of the title style on chart */
Expand Down
2 changes: 2 additions & 0 deletions frontend/src/components/details/navbar.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@import url('theme.css');

/* Style the navigation menu */
.navbar {
width: 100%;
Expand Down
2 changes: 2 additions & 0 deletions frontend/src/components/header/header.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@import url('theme.css');

/* Reconfiguration of the header bar */
.HeaderContainer {
height: 70;
Expand Down
2 changes: 2 additions & 0 deletions frontend/src/components/sidebar/sidebar.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@import url('theme.css');

/* Reconfiguration of the icon style on the side bar */
.SideBarIconStyle {
font-family: inherit;
Expand Down
26 changes: 1 addition & 25 deletions frontend/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,32 +3,8 @@
@import url('components/header/header.css');
@import url('components/details/charts_tables.css');
@import url('components/sidebar/sidebar.css');
@import url('theme.css');

/* Project wide definition of stlye */
:root {
/* --global--concept--size */
--global--header--color: #ededed;
--global--icon--color: #00b300;
--global--panel--color: 2rem;
--global--text--color: 0.5rem;

/* --global--concept--PropertyCamelCase */
--global--header-title--FontSize: 24px;
--global--header-icon-title--FontSize: 35px;
--global--header-back-icon-title--FontSize: 20px;
--global--panel-title--FontSize: 22px;
--global--icon-title--FontSize: 18px;
--global--text--FontSize: 18px;
--global--text-label--FontSize: 16px;
--global--text-title--FontSize: 20px;
--global--text-subtitle--FontSize: 19px;
--global--chart-items--FontSize: 10px;
--global--table-items--FontSize: 10px;
--global--button-title--FontSize: 14px;

/* --global--state--PropertyCamelCase */
--global--hover--BackgroundColor: #ccc;
}

/* css resets */
/* Box sizing rules */
Expand Down
25 changes: 25 additions & 0 deletions frontend/src/theme.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/* Project wide definition of stlye */
:root {
/* --global--concept--size */
--global--header--color: #ededed;
--global--icon--color: #00b300;
--global--panel--color: 2rem;
--global--text--color: 0.5rem;

/* --global--concept--PropertyCamelCase */
--global--header-title--FontSize: 24px;
--global--header-icon-title--FontSize: 35px;
--global--header-back-icon-title--FontSize: 20px;
--global--panel-title--FontSize: 22px;
--global--icon-title--FontSize: 18px;
--global--text--FontSize: 18px;
--global--text-label--FontSize: 16px;
--global--text-title--FontSize: 20px;
--global--text-subtitle--FontSize: 19px;
--global--chart-items--FontSize: 10px;
--global--table-items--FontSize: 10px;
--global--button-title--FontSize: 14px;

/* --global--state--PropertyCamelCase */
--global--hover--BackgroundColor: #ccc;
}

0 comments on commit e4d07ee

Please sign in to comment.