From 82cf3c02135b024adc321a683c21ce70df873e29 Mon Sep 17 00:00:00 2001
From: Tori Rose <46499982+ttorir@users.noreply.github.com>
Date: Thu, 15 Dec 2022 10:50:37 -0500
Subject: [PATCH] dropdown task page actions now (#381)
* dropdown task page actions now
* remove comment
---
neuvue_project/templates/tasks.html | 68 +++++++++++++------
neuvue_project/workspace/static/css/tasks.css | 17 +++--
2 files changed, 59 insertions(+), 26 deletions(-)
diff --git a/neuvue_project/templates/tasks.html b/neuvue_project/templates/tasks.html
index 6c9fabf4..721c8be4 100644
--- a/neuvue_project/templates/tasks.html
+++ b/neuvue_project/templates/tasks.html
@@ -4,6 +4,12 @@
{% block header_includes %}
+
+
+
+
+
+
{% endblock %}
{% block content %}
@@ -24,9 +30,27 @@
{% endif %}
- {% if context.can_self_assign_tasks and context.total_pending < context.max_pending_tasks_allowed %}
-
@@ -138,8 +163,8 @@
-
+
diff --git a/neuvue_project/workspace/static/css/tasks.css b/neuvue_project/workspace/static/css/tasks.css
index 4e8987b3..781b7c7b 100644
--- a/neuvue_project/workspace/static/css/tasks.css
+++ b/neuvue_project/workspace/static/css/tasks.css
@@ -66,11 +66,16 @@
}
/* Task category header buttons */
-.header-button {
+.header-sizing {
margin: 1% 0 1% 0.5%;
background-color: transparent;
right:0;
- width: 12.5%;
+ height: 3.2vh;
+}
+
+.header-outline {
+ background-color: transparent;
+ right:0;
height: 3.2vh;
border: 1.5px solid var(--complete-color);
padding: 0.2vh 0.2vw;
@@ -78,14 +83,16 @@
font-family: var(--header-font);
font-size: 1.5vh;
cursor: pointer;
+ color: var(--complete-color);
}
-.header-button:hover{
+.header-outline:hover{
background: var(--primary-accent);
border-color: transparent;
+ color: var(--background);
}
-.header-button-text{
+.header-box-text{
position: relative;
width:100%;
height:100%;
@@ -98,7 +105,7 @@
color: var(--complete-color);
}
-.header-button-text:hover {
+.header-box-text:hover {
color: var(--background);
}