diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-09-05 18:24:46 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-09-05 18:24:46 -0400 |
commit | c62e14f1cc1a092996076e96b1074f36ba5a3425 (patch) | |
tree | d04f8fbf2e89f614ec78a5b644b30ed872af46dc /assets/css/src | |
parent | 70d3340cd0c9d7a009c186b14ca436e9c4e61aa5 (diff) |
Replace color dropdown by color picker in task forms
Diffstat (limited to 'assets/css/src')
-rw-r--r-- | assets/css/src/form.css | 4 | ||||
-rw-r--r-- | assets/css/src/popover.css | 4 | ||||
-rw-r--r-- | assets/css/src/task.css | 26 |
3 files changed, 31 insertions, 3 deletions
diff --git a/assets/css/src/form.css b/assets/css/src/form.css index 56506e28..3f91a626 100644 --- a/assets/css/src/form.css +++ b/assets/css/src/form.css @@ -154,6 +154,7 @@ input.form-input-large { .form-column { float: left; padding-right: 50px; + max-width: 50%; } .form-column:first-child { @@ -190,8 +191,9 @@ label + .form-tabs { max-width: 800px; } -.form-tabs-nav { +ul.form-tabs-nav { margin-bottom: 8px; + margin-top: 0; } .form-tabs-nav li { diff --git a/assets/css/src/popover.css b/assets/css/src/popover.css index ab499422..7bfbf810 100644 --- a/assets/css/src/popover.css +++ b/assets/css/src/popover.css @@ -15,9 +15,9 @@ width: 70%; margin: 0 0 0 -35%; left: 50%; - top: 5%; + top: 1%; padding: 15px; background: #fff; overflow: scroll; - max-height: 83%; + max-height: 85%; } 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); +} |