123 lines
2.1 KiB
SCSS
123 lines
2.1 KiB
SCSS
.todo-list-pos-box{
|
|
padding: 100px 0;
|
|
}
|
|
|
|
.todo-list-title-box{
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
margin-bottom: 80px;
|
|
}
|
|
|
|
.todo-list-title-box h4{
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.todo-list-big-box {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.todo-list-box {
|
|
height: 120px;
|
|
width: 80%;
|
|
display: flex;
|
|
align-items: center;
|
|
margin: 0px 0px 0px 20px;
|
|
background-color: rgb(229, 229, 229);
|
|
border-radius: 40px;
|
|
margin-bottom: 25px;
|
|
}
|
|
|
|
.todo-list-check-box {
|
|
height: 40px;
|
|
width: 40px;
|
|
margin: 0px 0px 0px 30px;
|
|
border-radius: 50%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.todo-list-check-img {
|
|
height: 100%;
|
|
width: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.todo-list-text-box {
|
|
margin: 0px 0px 0px 20px;
|
|
}
|
|
|
|
.todo-list-time {
|
|
margin: 5px 0px 0px;
|
|
font-size: 20px;
|
|
}
|
|
|
|
.todo-list-text {
|
|
font-size: 25px;
|
|
}
|
|
|
|
|
|
|
|
.btn-box{
|
|
position: relative;
|
|
}
|
|
%test {
|
|
position: absolute;
|
|
content: '';
|
|
transition: all .5s;
|
|
}
|
|
|
|
.press-button {
|
|
position: absolute;
|
|
right: 10%;
|
|
cursor: pointer;
|
|
display: inline-block;
|
|
padding: 20px 40px;
|
|
color: white;
|
|
transform: translate(0, 0);
|
|
vertical-align: middle;
|
|
font-family: 'Rubik One', sans-serif;
|
|
text-decoration: none;
|
|
font-size: 20px;
|
|
transition: all .5s;
|
|
background-color: #3498db;
|
|
|
|
&::before {
|
|
@extend %test;
|
|
bottom: -15px;
|
|
height: 15px;
|
|
width: 100%;
|
|
left: 8px;
|
|
transform: skewX(45deg);
|
|
background-color: darken(#3498db, 20%);
|
|
}
|
|
|
|
&::after {
|
|
@extend %test;
|
|
right: -15px;
|
|
height: 100%;
|
|
width: 15px;
|
|
bottom: -8px;
|
|
transform: skewY(45deg);
|
|
background-color: darken(#3498db, 30%);
|
|
}
|
|
|
|
&:active {
|
|
margin-left: 10px;
|
|
margin-top: 10px;
|
|
|
|
&::before {
|
|
bottom: -5px;
|
|
height: 5px;
|
|
left: 3px;
|
|
}
|
|
|
|
&::after {
|
|
right: -5px;
|
|
width: 5px;
|
|
bottom: -3px;
|
|
}
|
|
}
|
|
} |