Skip to content

Instantly share code, notes, and snippets.

@walidum
Last active August 27, 2021 15:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save walidum/12d5f678ed193ab65304f6b43ecc6db8 to your computer and use it in GitHub Desktop.
Save walidum/12d5f678ed193ab65304f6b43ecc6db8 to your computer and use it in GitHub Desktop.
body {
margin: 0;
}
.nav-todo {
width: 100%;
height: 5rem;
display: flex;
justify-content: space-between;
align-items: center;
box-shadow: 0px 0px 6px 2px #504d4d;
background-color: #9ca0f8;
}
.title {
font-size: 3rem;
margin-left: 3rem;
}
.nav-todo-add-btn {
background-color: blue;
display: flex;
justify-content: center;
align-items: center;
width: 3rem;
height: 3rem;
border-radius: 1.5rem;
margin-right: 3rem;
cursor: pointer;
}
.nav-todo-add-btn span {
color: #ffffff;
font-size: 3rem;
}
.list-cards {
width: 100%;
display: flex;
justify-content: center;
background-color: #dbddf3;
}
.list-cards-container {
width: 70%;
display: flex;
justify-content: space-between;
flex-wrap: wrap;
margin-bottom: 5rem;
}
.card {
margin-top: 2rem;
width: 20rem;
height: 20rem;
border-radius: 1rem;
box-shadow: 0 4px 8px 0 rgba(39, 93, 135, 0.2);
display: flex;
overflow: hidden;
flex-direction: column;
align-items: center;
background-color: #b1b4ee;
}
.card-head {
width: 100%;
display: flex;
justify-content: space-between;
height: 4rem;
align-items: center;
background-color: #7c81ff;
}
.card-head img {
width: 2rem;
height: 2rem;
cursor: pointer;
margin-right: 1rem;
border-radius: .5rem;
}
.card-head span {
font-size: 1.3rem;
font-weight: bold;
margin-left: 1rem;
}
.card-content {
margin-top: 3rem;
width: 80%;
display: flex;
justify-content: center;
align-items: center;
}
.card-content span {
text-align: justify;
}
.popup-container {
width: 100%;
height: 95vh;
top: 5rem;
left: 0;
position: absolute;
display: none;
justify-content: center;
align-items: center;
z-index: 20;
background-color: transparent;
}
.popup {
width: 30rem;
height: 30rem;
border-radius: 1rem;
background-color: #d7caca;
box-shadow: 0 4px 8px 0 rgba(39, 93, 135, 0.2);
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-around;
}
.popup-title {
font-size: 2rem;
}
.popup input {
width: 70%;
height: 2rem;
outline: none;
border-radius: .3rem;
}
.popup textarea {
width: 70%;
border-radius: .3rem;
}
.actions {
width: 70%;
display: flex;
justify-content: space-between;
}
.create {
width: 10rem;
height: 2rem;
border-radius: .5rem;
display: flex;
justify-content: center;
align-items: center;
background-color: #ffffff;
cursor: pointer;
}
.cancel {
width: 10rem;
height: 2rem;
border-radius: .5rem;
display: flex;
justify-content: center;
align-items: center;
background-color: #ffffff;
cursor: pointer;
}
.cancel, .create {
font-weight: bold;
font-size: 1rem;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment