From 5ceb75a7c2031a551aa5b1238f61e29a18f2f3ac Mon Sep 17 00:00:00 2001 From: dingyongliang Date: Wed, 14 Sep 2022 06:04:57 +0000 Subject: [PATCH] * tash #68929, center the kanban title. --- module/execution/css/taskkanban.css | 4 ++-- module/kanban/css/view.css | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/module/execution/css/taskkanban.css b/module/execution/css/taskkanban.css index 09efcb06c9..c9adfef160 100644 --- a/module/execution/css/taskkanban.css +++ b/module/execution/css/taskkanban.css @@ -16,7 +16,7 @@ .kanban-card > .actions > a {display: block; float: left; width: 20px; height: 20px; line-height: 20px; text-align: center; border-radius: 4px; opacity: .7;} .kanban-card > .actions > a:hover {background-color: rgba(0,0,0,.075); opacity: 1;} -.kanban-header-col > .actions {padding-top: 22px} +.kanban-header-col > .actions {top: auto!important; right: 5px!important;} .kanban-header-parent-col .kanban-header-col > .actions {padding-top: 6px; padding-right: 2px;} .kanban-header-col > .actions > a {display: block; float: left; width: 20px; height: 20px; line-height: 20px; text-align: center; border-radius: 4px; opacity: .7;} .kanban-header-col > .actions > a:hover {background-color: rgba(0,0,0,.075); opacity: 1;} @@ -46,6 +46,7 @@ #kanbans .kanban-card[data-scale-size="2"] > .infos > .info-pri {transform: scale(.8); vertical-align: top;} #kanbans .kanban-card[data-scale-size="2"] > .infos > .avatar {display: inline-block; transform: scale(.8); position: relative; top: -2px; vertical-align: top; margin-right: -1px;} #kanbans .kanban-card[data-scale-size="2"] > .infos > .info-estimate {top: -1px;} +#kanbans .kanban-col {padding: 0px !important;} #kanbanScaleControl {width: 100px;} #kanbanScaleControl .input-group-addon {background: #fff; padding: 5px;} @@ -61,7 +62,6 @@ .c-group {width: 190px !important; overflow: unset;} .c-type {margin-left: 0px !important;} -.createButton {margin-right: 5px;} .headerTop {top: 0px !important;} .kanban-header-col>.actions>a {padding: 0px !important;} diff --git a/module/kanban/css/view.css b/module/kanban/css/view.css index d841043f41..6ea368cdcc 100644 --- a/module/kanban/css/view.css +++ b/module/kanban/css/view.css @@ -42,7 +42,6 @@ .region .kanban-header-col > .title > .count {opacity: .5; font-weight: bold; color: #8b91a2;} .region .kanban-header-col > .title > .error {color: #333333; padding-left: 2px; font-size: 10px; padding-top: 1px; padding-right: 2px;} .kanban-affixed .kanban-header-col > .title > .text {color: #fff!important} -.region .kanban-header-col > .actions {position: inherit; top: 0px;} .region .kanban-header-parent-col > .actions {position: absolute; right: 0px; top: 0px !important;} .region .kanban-header-sub-cols .actions {position: absolute; right: 0px; top: 0px !important;} @@ -106,7 +105,7 @@ .region-header > .icon{padding: 6px; margin-left:2px;} .kanban-col[data-type=ADD] {display: none;} .kanban-col[data-type=EMPTY] {display: none;} -.kanban-col {padding-right: 0px !important;} +.kanban-col {padding: 0px !important;} .kanban-col.drag-shadow {background-color: #ededed !important; border-color: #ededed!important; box-shadow: 0 4px 10px 0 rgb(0,0,0, 0.05), 0 4px 20px 0 rgb(0,0,0, .3); min-height: 30px!important;} .kanban-col.drag-shadow .kanban-header-col {min-height: 30px!important;} .kanban-header-has-parent .kanban-header-cols > .kanban-col.drag-shadow,