diff --git a/frontend/src/app/app.component.css b/frontend/src/app/app.component.css index 36b8481..ae1f382 100644 --- a/frontend/src/app/app.component.css +++ b/frontend/src/app/app.component.css @@ -5,6 +5,6 @@ filter: alpha(opacity = 90); } -body, html { +body { overflow-x: hidden; } \ 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 d5b2cfb..95418f7 100644 --- a/frontend/src/app/ntt-gantt/ntt-gantt.component.css +++ b/frontend/src/app/ntt-gantt/ntt-gantt.component.css @@ -5,6 +5,11 @@ overflow: hidden; } +.splitter { + height: 50%; + border-right: 1px rgba(0, 0, 0, 0.181) solid; + margin-left: 15px; +} .head { color: rgba(41, 46, 50, 0.8); padding-left: 10px; @@ -13,9 +18,9 @@ display: flex; justify-content: space-between; align-items: center; - border-bottom: 1px solid rgba(0, 0, 0, 0.2); - height: 50px; - margin-bottom: 10px; + /* border-bottom: 1px solid rgba(0, 0, 0, 0.2); */ + height: 60px; + margin-bottom: 5px; background-color: white; } @@ -25,7 +30,7 @@ /* Hides anything that overflows the boundary of this element */ } -.head h2 { +.head .left { user-select: none; display: inline-block; /* Ensures that the element can be transformed */ @@ -113,16 +118,19 @@ .restartButton:hover { color: #000000; - background-color: rgb(243, 243, 243); + background-color: rgb(240, 240, 240); } -.transitionButton { - background-color: #00a79d; +/* .transitionButton { color: white; font-weight: 100; } +.transitionButton:hover { + background-color: #0e857d; +} + */ @@ -161,6 +169,28 @@ margin-right: -6px; } +.restartButton { + 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.215); + border-radius: 8px; + transition: background-color 0.3s ease; /* Add this line for smooth transition */ + /* box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5); */ +} + +.restartButton mat-icon { + transform: scale(0.9); + margin-right: -2px; + margin-bottom: 2px; +} + .detailsButton { display: flex; align-items: center; @@ -172,6 +202,7 @@ gap: 8px; user-select: none; padding-left: 10px; + padding-right: 10px; } .filterButton { @@ -237,9 +268,9 @@ z-index: 1000; /* Ensure it is above other content */ border-bottom: 0.5px solid rgba(0, 0, 0, 0.1); backdrop-filter: blur(2px); /* Blur effect */ + animation: slideUp 1.5s forwards; } - .filterContainer.sticky { border-radius: 0; } @@ -280,6 +311,7 @@ border: solid 1px rgba(0, 0, 0, 0.124); border-radius: 0px 8px 8px 0px; border-left: none; + cursor: pointer; } .dateButton mat-icon { @@ -374,8 +406,9 @@ } */ .mat-button-toggle-checked { - background-color: #ef6c00; + background-color:#ef6c00; /* Gradient background */ color: white; + position: relative; /* Needed for the shadow effect */ } .dot-badge { diff --git a/frontend/src/app/ntt-gantt/ntt-gantt.component.html b/frontend/src/app/ntt-gantt/ntt-gantt.component.html index 083fdc6..47ed444 100644 --- a/frontend/src/app/ntt-gantt/ntt-gantt.component.html +++ b/frontend/src/app/ntt-gantt/ntt-gantt.component.html @@ -1,8 +1,48 @@ -