Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Projeto II finalizado #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
270 changes: 135 additions & 135 deletions meu-nome-e/css/style.css → adrielly-silva/css/style.css
Original file line number Diff line number Diff line change
@@ -1,135 +1,135 @@
* {
box-sizing: border-box;
}
body {
margin: 0;
background-color: #FAACA8;
background-image: linear-gradient(19deg, #FAACA8 0%, #DDD6F3 100%);
font-family: 'Roboto', Arial, Helvetica, sans-serif;
font-size: 10px;
height: 654px;
}
.container {
min-height: 100%;
display: flex;
align-items: center;
justify-content: center;
padding: 2rem;
}
.todo__container {
background-color: white;
margin: 0 auto;
width: 100%;
max-width: 30rem;
padding: 2rem 0;
}
.todo__title {
text-align: center;
margin: 0;
margin-bottom: 2rem;
}
.todo-form__input {
width: 100%;
padding: 1rem;
width: 93%;
padding: 1rem;
display: flex;
margin: auto;
}
.options__container {
display: flex;
justify-content: space-around;
align-items: center;
margin-top: 10px;
}
label {
display: flex;
justify-content: center;
}
select {
cursor: pointer;
border: none;
width: 90%;
border-radius: 5px;
color: black;
padding: 4px;
font-size: 14px;
background-color: #ffffff;
border: 1px solid #ba7af8;
}
select > option {
text-align: center;
font-family: 'Open Sans', sans-serif;
}
.tag {
font-weight: bold;
color: #ba7af8;
}
.todo-form__btn {
background-color: purple;
text-transform: uppercase;
color: white;
width: 50%;
display: inline-block;
border: none;
font-weight: bold;
padding: 1rem;
cursor: pointer;
}
.todo-form__btn:hover {
background-color: lightslategray;
}
.todo__task-list {
padding: 0;
}
.todo__task-list li {
border-bottom: 1px solid #ccc;
padding: 0.5rem;
font-size: 1rem;
list-style: none;
padding-left: 2rem;
cursor: pointer;
display: flex;
justify-content: space-between;
}
.todo__task-list li .checked {
color: #ccc;
text-decoration: line-through;
}
.todo__task-list li:hover {
border: 1px dashed #ccc;
}
.todo__btn-container {
display: flex;
align-items: center;
justify-content: center;
}
.todo__btn-container button {
padding: 0.7rem;
margin: 0.5rem 1rem;
border-color: #ecc4ff;
border-radius: 14.5px;
background-color: #ecc4ff;
cursor: pointer;
text-transform: uppercase;
font-weight: bold;
}
* {
box-sizing: border-box;
}

body {
margin: 0;
background-color: #FAACA8;
background-image: linear-gradient(19deg, #FAACA8 0%, #DDD6F3 100%);
font-family: 'Roboto', Arial, Helvetica, sans-serif;
font-size: 10px;
height: 654px;
}

.container {
min-height: 100%;
display: flex;
align-items: center;
justify-content: center;
padding: 2rem;
}

.todo__container {
background-color: white;
margin: 0 auto;
width: 100%;
max-width: 30rem;
padding: 2rem 0;
}

.todo__title {
text-align: center;
margin: 0;
margin-bottom: 2rem;
}

.todo-form__input {
width: 100%;
padding: 1rem;
width: 93%;
padding: 1rem;
display: flex;
margin: auto;
}

.options__container {
display: flex;
justify-content: space-around;
align-items: center;
margin-top: 10px;
}

label {
display: flex;
justify-content: center;
}

select {
cursor: pointer;
border: none;
width: 90%;
border-radius: 5px;
color: black;
padding: 4px;
font-size: 14px;
background-color: #ffffff;
border: 1px solid #ba7af8;
}

select > option {
text-align: center;
font-family: 'Open Sans', sans-serif;
}

.tag {
font-weight: bold;
color: #ba7af8;
}

.todo-form__btn {
background-color: purple;
text-transform: uppercase;
color: white;
width: 50%;
display: inline-block;
border: none;
font-weight: bold;
padding: 1rem;
cursor: pointer;
}

.todo-form__btn:hover {
background-color: lightslategray;
}

.todo__task-list {
padding: 0;
}

.todo__task-list li {
border-bottom: 1px solid #ccc;
padding: 0.5rem;
font-size: 1rem;
list-style: none;
padding-left: 2rem;
cursor: pointer;
display: flex;
justify-content: space-between;
}

.todo__task-list li .checked {
color: #ccc;
text-decoration: line-through;
}

.todo__task-list li:hover {
border: 1px dashed #ccc;
}

.todo__btn-container {
display: flex;
align-items: center;
justify-content: center;
}

.todo__btn-container button {
padding: 0.7rem;
margin: 0.5rem 1rem;
border-color: #ecc4ff;
border-radius: 14.5px;
background-color: #ecc4ff;
cursor: pointer;
text-transform: uppercase;
font-weight: bold;
}

95 changes: 48 additions & 47 deletions meu-nome-e/index.html → adrielly-silva/index.html
Original file line number Diff line number Diff line change
@@ -1,48 +1,49 @@
<html lang="pt-br">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link href="https://fonts.googleapis.com/css?family=Roboto:400,500,700" rel="stylesheet">
<link rel="stylesheet" href="./css/style.css">

<title>To Do List</title>
</head>

<body>

<div class="container">
<div class="todo__container">
<h1 class="todo__title">Adicione uma tarefa</h1>

<form action="" class="todo-form" id="todoForm">
<input type="text" name="task" class="todo-form__input" placeholder="Insira sua tarefa" id="todoInput">
<div class="options__container">
<label class="options" for="options__tag">
<select name="options__tag" id="tag">
<option id="disable" checked disabled value="selectionTag">Selecione uma etiqueta</option>
<option value="Alimentação">Alimentação</option>
<option value="Compras">Compras</option>
<option value="Contas">Contas</option>
<option value="Moradia">Moradia</option>
</select>
</label>
<input type="submit" value="Adicionar" class="todo-form__btn" id="todoSubmit">
</div>
</form>

<div class="todo__task" id="todoTask">
<ul class="todo__task-list" id="todoList">
</ul>
</div>
<div class="todo__btn-container">
<button class="todo__all-done" id="todoMarkAll">Marcar todos</button>
<button class="todo__remove-all" id="todoRemoveAll">Limpar Lista</button>
</div>
</div>
</div>

</body>

<html lang="pt-br">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link href="https://fonts.googleapis.com/css?family=Roboto:400,500,700" rel="stylesheet">
<link rel="stylesheet" href="./css/style.css">

<title>To Do List</title>
</head>

<body>

<div class="container">
<div class="todo__container">
<h1 class="todo__title">Adicione uma tarefa</h1>

<form action="" class="todo-form" id="todoForm">
<input type="text" name="task" class="todo-form__input" placeholder="Insira sua tarefa" id="todoInput">
<div class="options__container">
<label class="options" for="options__tag">
<select name="options__tag" id="tag">
<option id="disable" checked disabled value="selectionTag">Selecione uma etiqueta</option>
<option value="Alimentação">Alimentação</option>
<option value="Compras">Compras</option>
<option value="Contas">Contas</option>
<option value="Moradia">Moradia</option>
</select>
</label>
<input type="submit" value="Adicionar" class="todo-form__btn" id="todoSubmit">
</div>
</form>

<div class="todo__task" id="todoTask">
<ul class="todo__task-list" id="todoList">
</ul>
</div>
<div class="todo__btn-container">
<button class="todo__all-done" id="todoMarkAll">Marcar todos</button>
<button class="todo__remove-all" id="todoRemoveAll">Limpar Lista</button>
</div>
</div>
</div>

<script src="./js/script.js"></script>
</body>

</html>
Loading