fixed the css in client deliver and added responsiveness
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="form-container">
|
<div class="form-container">
|
||||||
|
<h2>Enter New Task</h2>
|
||||||
<form action="" #clientForm="ngForm" (ngSubmit)="addNewClient()">
|
<form action="" #clientForm="ngForm" (ngSubmit)="addNewClient()">
|
||||||
<div class="form-control">
|
<div class="form-control">
|
||||||
<label for="clientName">Client Name</label>
|
<label for="clientName">Client Name</label>
|
||||||
@@ -69,7 +70,7 @@
|
|||||||
[columnDefs]="colDefs" />
|
[columnDefs]="colDefs" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="pending-cotainer">
|
<div class="pending-container">
|
||||||
<h1>Pending Tasks</h1>
|
<h1>Pending Tasks</h1>
|
||||||
<!-- <div class="client_list">
|
<!-- <div class="client_list">
|
||||||
<h1>Pending Task</h1>
|
<h1>Pending Task</h1>
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// TODO1: Style the Input fields
|
|
||||||
// TODO2: Style the Table
|
|
||||||
@import "../../../shared/scss/colors.scss";
|
@import "../../../shared/scss/colors.scss";
|
||||||
|
@import url('https://fonts.googleapis.com/css2?family=Prompt&display=swap');
|
||||||
|
|
||||||
.container {
|
.container {
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -10,6 +9,10 @@
|
|||||||
padding-top: 5rem;
|
padding-top: 5rem;
|
||||||
padding-left: 15rem;
|
padding-left: 15rem;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
font-family: "Prompt", sans-serif;
|
||||||
|
font-weight: 400;
|
||||||
|
font-style: normal;
|
||||||
|
color: $navcolor;
|
||||||
}
|
}
|
||||||
|
|
||||||
.container div {
|
.container div {
|
||||||
@@ -34,10 +37,38 @@ form, form div {
|
|||||||
|
|
||||||
input, select {
|
input, select {
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
|
height: 2rem;
|
||||||
|
border: none;
|
||||||
|
transition: border-bottom 0.1s ease-out;
|
||||||
|
}
|
||||||
|
|
||||||
|
label {
|
||||||
|
padding-bottom: 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
input:focus, select:focus{
|
||||||
|
outline: none;
|
||||||
|
border-bottom: solid 4px $danger;
|
||||||
}
|
}
|
||||||
|
|
||||||
button {
|
button {
|
||||||
margin-top: 0.5rem;
|
margin-top: 1rem;
|
||||||
|
height: 2rem;
|
||||||
|
border-radius: 1rem;
|
||||||
|
border: none;
|
||||||
|
background-color: $navcolor;
|
||||||
|
color: $nav-text-color;
|
||||||
|
font-weight: 300;
|
||||||
|
}
|
||||||
|
|
||||||
|
button:hover {
|
||||||
|
background-color: rgba($navcolor,0.5);
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
button:disabled {
|
||||||
|
background-color: rgba($navcolor,0.2);
|
||||||
|
cursor: not-allowed;
|
||||||
}
|
}
|
||||||
|
|
||||||
// table-container css
|
// table-container css
|
||||||
@@ -50,6 +81,15 @@ h1 {
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pending-cotainer h1 {
|
.pending-container h1 {
|
||||||
color: $danger;
|
color: $danger;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 1300px) {
|
||||||
|
.form-container {
|
||||||
|
position: initial;
|
||||||
|
}
|
||||||
|
.container {
|
||||||
|
padding-left: 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user