diff --git a/frontend/src/app/filter-dialog/filter-dialog.component.css b/frontend/src/app/filter-dialog/filter-dialog.component.css index a7a0b39..a5c6bd0 100644 --- a/frontend/src/app/filter-dialog/filter-dialog.component.css +++ b/frontend/src/app/filter-dialog/filter-dialog.component.css @@ -1,19 +1,20 @@ -.container{ +.container { width: 100%; display: flex; flex-direction: row; justify-content: center; } -.filterHeading{ -font-family: Roboto; + +.filterHeading { + font-family: Roboto; } -.filterBox{ +.filterBox { width: 90%; align-self: center; } -.buttonBox{ +.buttonBox { display: flex; flex-direction: row; justify-content: flex-end; @@ -22,7 +23,10 @@ font-family: Roboto; .dot-badge { background-color: #00a79d; color: #00a79d; - width: 10px; /* Breite des Punkts */ - height: 10px; /* Höhe des Punkts */ - border-radius: 50%; /* Rundung des Punkts */ -} + width: 10px; + /* Breite des Punkts */ + height: 10px; + /* Höhe des Punkts */ + border-radius: 50%; + /* Rundung des Punkts */ +} \ No newline at end of file diff --git a/frontend/src/app/ntt-gantt/ntt-gantt.component.css b/frontend/src/app/ntt-gantt/ntt-gantt.component.css index 30f40f4..7b74cc6 100644 --- a/frontend/src/app/ntt-gantt/ntt-gantt.component.css +++ b/frontend/src/app/ntt-gantt/ntt-gantt.component.css @@ -2,14 +2,15 @@ margin: 0; padding: 0; box-sizing: border-box; + /* overflow: hidden; */ } .head { - color:rgba(41, 46, 50, 0.679); + color: rgba(41, 46, 50, 0.8); padding-left: 10px; padding-right: 10px; font-family: Arial, Helvetica, sans-serif; - display: flex; + display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(0, 0, 0, 0.2); @@ -20,41 +21,57 @@ .head { - overflow: hidden; /* Hides anything that overflows the boundary of this element */ + overflow: hidden; + /* Hides anything that overflows the boundary of this element */ } .head h2 { - display: inline-block; /* Ensures that the element can be transformed */ - white-space: nowrap; /* Keeps the text on a single line */ - transform: translateX(-100%); /* Starts the text off-screen to the left */ - animation: slideIn 1.5s forwards; /* Adjust '2s' to control the speed of the animation */ + user-select: none; + display: inline-block; + /* Ensures that the element can be transformed */ + white-space: nowrap; + /* Keeps the text on a single line */ + transform: translateX(-100%); + /* Starts the text off-screen to the left */ + animation: slideIn 1.5s forwards; + /* Adjust '2s' to control the speed of the animation */ } .head div { - display: inline-block; /* Ensures that the element can be transformed */ - white-space: nowrap; /* Keeps the text on a single line */ - transform: translateX(100%); /* Starts the text off-screen to the left */ - animation: slideInRight 1.5s forwards; /* Adjust '2s' to control the speed of the animation */ + display: inline-block; + /* Ensures that the element can be transformed */ + white-space: nowrap; + /* Keeps the text on a single line */ + transform: translateX(100%); + /* Starts the text off-screen to the left */ + animation: slideInRight 1.5s forwards; + /* Adjust '2s' to control the speed of the animation */ } @keyframes slideIn { from { - transform: translateX(-100%); /* Start from off-screen left */ + transform: translateX(-100%); + /* Start from off-screen left */ opacity: 0; } + to { - transform: translateX(0%); /* End at the normal position */ + transform: translateX(0%); + /* End at the normal position */ opacity: 100; } } @keyframes slideInRight { from { - transform: translateX(100%); /* Start from off-screen left */ + transform: translateX(100%); + /* Start from off-screen left */ opacity: 0; } + to { - transform: translateX(0%); /* End at the normal position */ + transform: translateX(0%); + /* End at the normal position */ opacity: 100; } } @@ -66,16 +83,20 @@ justify-content: space-between; height: 57px; margin-bottom: 30px; - animation: slideUp 1.5s forwards; /* Adjust '2s' to control the speed of the animation */ + animation: slideUp 1.5s forwards; + /* Adjust '2s' to control the speed of the animation */ } @keyframes slideUp { from { - transform: translateY(-100%); /* Start from off-screen left */ + transform: translateY(-100%); + /* Start from off-screen left */ opacity: 0; } + to { - transform: translateY(0%); /* End at the normal position */ + transform: translateY(0%); + /* End at the normal position */ opacity: 100; } } @@ -97,8 +118,8 @@ .transitionButton { - background-color: #00a79d; - color: white; + background-color: #00a79d; + color: white; font-weight: 100; } @@ -135,25 +156,91 @@ width: 100%; } -.filterContainer { - width: 100%; +.filterButton mat-icon { + transform: scale(0.8); + margin-right: -6px; +} + +.detailsButton { display: flex; align-items: center; + justify-content: center; + height: 70%; + font-weight: 500; + font-size: 13px; + font-family: Arial, Helvetica, sans-serif; + gap: 8px; + user-select: none; + padding-left: 10px; +} + +.filterButton { + display: flex; + align-items: center; + justify-content: center; + height: 70%; + + background-color: rgb(255, 255, 255); + cursor: pointer; + padding-left: 15px; + padding-right: 15px; + border: solid 1px rgba(0, 0, 0, 0.124); + border-radius: 8px; + font-weight: 500; + gap: 3px; + /* box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5); */ +} + +.clearFilter { + display: flex; + align-items: center; + justify-content: center; + height: 70%; + + background-color: rgb(255, 255, 255); + cursor: pointer; + padding-left: 15px; + padding-right: 15px; + border: solid 1px rgba(0, 0, 0, 0.124); + border-radius: 8px; + font-weight: 500; + gap: 3px; +} + +.clearFilter:hover { + background-color: #ff370016; +} + +.filterButton:hover { + background-color: rgb(240, 240, 240); +} + +.filterContainer { + display: flex; + flex-direction: row; + align-items: center; background-color: #f5f5f5; - border: solid rgba(0, 0, 0, 0.1) 1px; + border: solid rgba(0, 0, 0, 0.1) 1px; border-bottom: none; border-radius: 10px 10px 0px 0px; height: 60px; padding-left: 10px; + padding-right: 15px; + justify-content: space-between; } -.clearFilter { - margin-left: 10px; +.left, .right { + display: flex; + flex-direction: row; + align-items: center; + height: 100%; + gap: 9px; } -.showDetails { - margin-left: 80px; - margin-top: 8.5px; + +.split { + height: 100%; + border-right: solid 1px rgba(0, 0, 0, 0.124); } .filter { @@ -268,9 +355,9 @@ .dot-badge { background-color: #00a79d; color: #00a79d; - width: 15px; - /* Breite des Punkts */ - height: 15px; + width: 10x; + /* Breitedes Punkts */ + height: 10px; /* Höhe des Punkts */ border-radius: 50%; /* Rundung des Punkts */ diff --git a/frontend/src/app/ntt-gantt/ntt-gantt.component.html b/frontend/src/app/ntt-gantt/ntt-gantt.component.html index 27ad7df..7aa0cf3 100644 --- a/frontend/src/app/ntt-gantt/ntt-gantt.component.html +++ b/frontend/src/app/ntt-gantt/ntt-gantt.component.html @@ -46,14 +46,7 @@ - - - - {{scalar}} - - + @@ -83,41 +76,60 @@
+
- + - + - + - + - + - + - + - + - - - + + - {{languageService.lMap.get('detailButton')}} + +
+ + +
+ + + + {{scalar}} + + + +
+ {{languageService.lMap.get('detailButton')}} + +
+