summaryrefslogtreecommitdiff
path: root/assets/css/src/task.css
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-09-05 18:24:46 -0400
committerFrederic Guillot <fred@kanboard.net>2015-09-05 18:24:46 -0400
commitc62e14f1cc1a092996076e96b1074f36ba5a3425 (patch)
treed04f8fbf2e89f614ec78a5b644b30ed872af46dc /assets/css/src/task.css
parent70d3340cd0c9d7a009c186b14ca436e9c4e61aa5 (diff)
Replace color dropdown by color picker in task forms
Diffstat (limited to 'assets/css/src/task.css')
-rw-r--r--assets/css/src/task.css26
1 files changed, 26 insertions, 0 deletions
diff --git a/assets/css/src/task.css b/assets/css/src/task.css
index 2dfaca8a..9fed04e7 100644
--- a/assets/css/src/task.css
+++ b/assets/css/src/task.css
@@ -305,3 +305,29 @@ span.task-board-date-overdue {
.flag-milestone {
color: green;
}
+
+/* color picker */
+.color-picker {
+ min-height: 35px;
+}
+
+.color-square {
+ display: inline-block;
+ width: 30px;
+ height: 30px;
+ margin-right: 5px;
+ margin-bottom: 5px;
+ border: 1px solid #000;
+ cursor: pointer;
+}
+
+.color-square:hover {
+ border-style: dotted;
+}
+
+div.color-square-selected {
+ border-width: 2px;
+ width: 28px;
+ height: 28px;
+ box-shadow: 3px 2px 10px 0 rgba(180,180,180,0.9);
+}