Lot of visual improvements

This commit is contained in:
2022-03-04 23:47:52 +01:00
parent 8bc8f6eee0
commit efa34e30be
10 changed files with 133 additions and 46 deletions

View File

@@ -1,15 +1,15 @@
.task {
position: relative;
width: 100%;
height: 2.5rem;
display: flex;
align-items: center;
margin: .5rem 0;
margin-bottom: .5rem;
flex-direction: column;
background-color: #444;
.header {
border-radius: .1rem;
height: 2.5rem;
background-color: #444;
width: 100%;
display: flex;
align-items: center;
@@ -52,29 +52,52 @@
}
.expand {
display: flex;
justify-content: end;
display: flex;
justify-content: center;
align-items: center;
padding: 0;
margin-right: .5rem;
}
}
border-style: solid;
border-width: .1rem;
border-color: rgba(0,0,0, 0);
.body {
height: 0;
visibility: hidden;
transition: height .1s ease-in-out;
display: flex;
width: 2rem;
height: 2rem;
min-width: 2rem;
min-height: 2rem;
&.expanded {
height: 20rem;
visibility: visible;
width: 100%;
}
transition: background-color .2s ease-out,
border-color .2s ease-out;
.container {
flex-grow: 1;
padding: 1rem;
display: flex;
flex-direction: row;
&:hover {
background-color: #666;
border-color: rgb(53, 53, 53);
.description-container {
width: 80%;
height: 100%;
display: flex;
flex-direction: column;
textarea {
flex-grow: 1;
border: 1px solid #444;
background-color: #4a4a4a;
resize: none;
}
}
.actions {
display: flex;
flex-grow: 1;
background-color: gray;
height: 100%;
flex-wrap: wrap;
max-width: 20%;
justify-content: space-around;
align-items: flex-start;
padding: 1rem;
}
}
}