frontend-1

commit 8d737c327176bfb26073f48cd4d4637c8aaebf89

Author: Pedro Lucas Porcellis <porcellis@eletrotupi.com>

tasks: update tasks layout

 css/tasks.css | 82 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 tasks.html | 13 +++++---


diff --git a/css/tasks.css b/css/tasks.css
index 4819d3091e8e5dbe5a11200d95443273089a23cf..6bf6158d769c52aa29fe6a59877866289024cf9f 100644
--- a/css/tasks.css
+++ b/css/tasks.css
@@ -36,3 +36,85 @@
 #task-summary {
   margin: 1rem 0px;
 }
+
+/* Estilo geral do container das tarefas */
+#task-list {
+  display: flex;
+  flex-wrap: wrap;
+  gap: 1rem;
+  justify-content: center;
+  padding: 1rem;
+}
+
+/* Estilo de cada card de tarefa */
+#task-list ul {
+  width: 100%;
+  list-style: none;
+  margin: 0;
+  padding: 0;
+}
+
+#task-list ul li {
+  background-color: #f8f9fa;
+  border: 1px solid #dee2e6;
+  border-radius: 8px;
+  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
+  padding: 1rem;
+  min-width: 300px;
+  width: 100%;
+  margin-bottom: 1rem;
+  display: flex;
+  flex-direction: column;
+  justify-content: space-between;
+  gap: 0.5rem;
+  transition: transform 0.2s ease, box-shadow 0.2s ease;
+}
+
+#task-list ul li:hover {
+  transform: translateY(-5px);
+  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
+}
+
+#task-list ul li strong {
+  font-size: 1.2rem;
+  color: #343a40;
+  margin-bottom: 0.5rem;
+}
+
+#task-list ul li p {
+  margin: 0;
+  font-size: 0.9rem;
+  color: #495057;
+}
+
+#task-list ul li .remove-task {
+  align-self: center;
+  width: 20%;
+  background-color: #e63946;
+  border: none;
+  color: #fff;
+  padding: 0.5rem 1rem;
+  font-size: 0.9rem;
+  border-radius: 4px;
+  cursor: pointer;
+  transition: background-color 0.2s ease;
+}
+
+#task-list ul li .remove-task:hover {
+  background-color: #d62828;
+}
+
+#task-summary {
+  background-color: #f1f3f5;
+  border: 1px solid #b1b4b6;
+  padding: 1rem;
+  margin: 1rem 0;
+  text-align: center;
+}
+
+#task-summary p {
+  margin: 0.5rem 0;
+  font-size: 0.9rem;
+  color: #495057;
+}
+




diff --git a/tasks.html b/tasks.html
index 2acbd1ea9619216265e7f1aa4a445bcc439dbefe..89d839aae9e4c588f83421229429d49d93b5f858 100644
--- a/tasks.html
+++ b/tasks.html
@@ -55,8 +55,13 @@         
</form> </section> - <section id="task-list"> + <section> <h2>Lista de Tarefas</h2> + + <div id="task-summary"> + Nenhuma tarefa adicionada + </div> + <div class="task-filters"> <label for="priority-filter">Filtrar por Prioridade:</label> <select id="priority-filter"> @@ -67,11 +72,9 @@ </select> </div> - <div id="task-summary"> - Nenhuma tarefa adicionada + <div id="task-list"> + <ul></ul> </div> - - <ul></ul> </section> </main>