weaver_trunk_cli/pc4mobx/prj/components/kanban/style/index.less

557 lines
21 KiB
Plaintext

.kanban-scroller {
width: 100%;
height: calc(100% - 10px);
overflow-x: auto;
a{
display: inline-block;
}
.kanban-container {
height: 100%;
background: white;
.addNewStage {
width: 300px;
height: 52px;
line-height: 52px;
border-radius: 8px;
background: rgba(77,77,77,.5);
color: #fff;
font-size: 14px;
cursor: pointer;
margin: 10px;
box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.2);
}
.addNewStage:not(.Hidden) {
display: inline-block
}
.addNewStage i {
width: 32px;
height: 32px;
line-height: 32px;
display: inline-block;
text-align: center;
vertical-align: top;
margin: 10px 10px 0;
background: transparent;
border-radius: 8px;
font-weight: bold;
}
.addNewStage:hover {
background: rgba(77,77,77,.75)
}
.addNewStage:hover i {
color: #9e9e9e;
background: #fff
}
.kanban-group-place {
border: 0px dashed #1890ff;
display: none;
margin: 10px;
line-height: 1.5;
padding: 0;
border-radius: 2px;
vertical-align: top;
-webkit-box-sizing: border-box;
box-sizing: border-box;
margin: 10px;
}
.kanban-group-item-place {
border: 0px dashed #1890ff;
display: none;
line-height: 1.5;
padding: 0;
border-radius: 2px;
vertical-align: top;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.kanban-group {
height: e("calc(100% - 20px)");
width: 300px;
display: inline-block;
font-size: 14px;
line-height: 1.5;
color: rgba(0, 0, 0, .65);
-webkit-box-sizing: border-box;
box-sizing: border-box;
margin: 10px;
padding: 0;
list-style: none;
background: #eef0f4;
border-radius: 8px;
position: relative;
vertical-align: top;
box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.2);
&.moving {
box-shadow: 0 6px 100px 0 rgba(0, 0, 0, .35)
}
.kanban-group-head {
background: #eef0f4;
border-bottom: 1px solid #e8e8e8;
padding: 0 24px;
border-radius: 8px;
zoom: 1;
margin-bottom: -1px;
min-height: 48px;
.kanban-group-head-wrapper {
cursor: pointer;
.kanban-group-head-title {
font-size: 15px;
padding: 16px 0;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
color: rgba(0, 0, 0, .85);
font-weight: 500;
display: inline-block;
}
.kanban-group-head-extra {
float: right;
padding: 17.5px 0;
text-align: right;
margin-left: auto;
}
input{
width: 250px;
height: 44px;
margin: -12px 10px -2px 0px;
padding: 0 13px;
border-width: 1px;
border-style: solid;
border-radius: 3px;
font-size: 15px;
color: #333;
line-height: 1.5;
}
}
}
.kanban-group-body {
zoom: 1;
overflow-y: auto;
width: 100%;
.kanban-group-item-place{
transition: all 1s;
}
.kanban-item {
border-bottom: 1px solid #e8e8e8;
margin: 0 5px 5px 5px;
box-shadow: 0 1px 3px rgba(0,0,0,.2);
background-color: white;
border-radius: 8px;
position: relative;
cursor: pointer;
overflow: hidden;
&:not(.moving){
transition: all 1s;
}
:hover{
background-color: rgb(226, 226, 226);
.kanban-item-icon{
color:white;
}
.kanban-item-landmark{
color:white;
}
}
&.moving {
box-shadow: 0 6px 100px 0 rgba(0, 0, 0, .35)
}
.kanban-item-extra-wrapper{
padding: 8px 24px;
}
.kanban-item-extra {
width: 58px;
display: inline-block;
vertical-align: top;
}
.kanban-item-landmark{
width: 24px;
height: 24px;
border-radius: 100%;
// background-color: #e9e9e9;
float: right;
vertical-align: top;
margin-left: 8px;
font-size: 24px;
color: #e9e9e9;
position: relative;
top: -23px;
}
.kanban-item-manager{
width: 24px;
height: 24px;
border-radius: 100%;
background-color: #e9e9e9;
float: right;
vertical-align: top;
position: relative;
top: -23px;
margin-left: 8px;
margin-bottom: 5px;
.kanban-item-manager-img{
width: 24px;
height: 24px;
border-radius: 100%;
}
}
.kanban-item-icon{
width: 24px;
height: 24px;
border-radius: 100%;
/* background-color: #e9e9e9; */
float: right;
vertical-align: top;
position: relative;
top: -23px;
margin-left: 8px;
font-size: 23px;
color: #e9e9e9;
}
.kanban-item-finish{
left: 0px;
position: absolute;
width: 4px;
background-color: gray;
height: 110%;
display: inline-block;
// top:8px;
margin: auto;
.kanban-item-finish-status{
width: 100%;
bottom: 0px;
z-index: 10;
position:absolute;
left: 0;
bottom: 0;
}
}
.kanban-item-main {
display: inline-block;
width: 100%;
.kanban-item-main-meta {
margin-bottom: 8px;
.kanban-item-main-meta-avatar {
margin-right: 16px;
}
.kanban-item-main-meta-content {
display: inline-block;
width: 100%;
.kanban-item-main-meta-title {
color: rgba(0, 0, 0, .85);
margin-bottom: 12px;
font-size: 13px;
line-height: 24px;
.title-content{
width: 67%;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
height: 24px;
}
}
.kanban-item-main-meta-description {
color: rgba(0, 0, 0, .45);
font-size: 12px;
line-height: 22px;
// white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
}
.kanban-item-action {
margin-left: 0px;
font-size: 0;
-webkit-box-flex: 0;
-webkit-flex: 0 0 auto;
-ms-flex: 0 0 auto;
flex: 0 0 auto;
padding: 0;
list-style: none;
&>li {
display: inline-block;
color: rgba(0, 0, 0, .45);
cursor: pointer;
position: relative;
font-size: 14px;
line-height: 22px;
text-align: center;
&:not(:first-child) {
padding-left: 8px;
}
padding-right: 8px;
}
.kanban-item-action-split {
background-color: #e8e8e8;
margin-top: -7px;
position: absolute;
top: 50%;
right: 0;
width: 1px;
height: 14px;
}
}
}
}
}
.kanban-group-addNewTask{
position: relative;
padding: 0;
background-color: #e4e7ec!important;
border-bottom: 1px solid #e8e8e8;
margin: 0 5px 5px 5px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
background-color: white;
// border-radius: 8px;
position: relative;
// cursor: pointer;
overflow: hidden;
.managericons{
position: absolute;
top: 7px;
right: 35px;
display: inline-block;
width: 25px;
height: 25px;
margin-left: 5px;
vertical-align: top;
cursor: pointer;
font-size: 19px;
}
.kanban-group-manager{
position: absolute;
top: 10px;
right: 19px;
display: inline-block;
width: 24px;
height: 24px;
margin-left: 5px;
cursor: pointer;
font-size: 19px;
border-radius: 100%;
background-color: #e9e9e9;
vertical-align: top;
.kanban-group-manager-img{
width: 25px;
height: 25px;
border-radius: 100%;
}
}
.kanban-group-landmark{
position: absolute;
top: 55px;
right: 27px;
margin-left: 5px;
cursor: pointer;
font-size: 19px;
border-radius: 100%;
background-color: rgb(233, 233, 233);
vertical-align: top;
span.ant-input{
position: static;
display: table-footer-group;
cursor: pointer;
}
.wea-rangerpicker {
position: static;
display: block;
width: 0%;
}
.ant-calendar-picker {
position: static;
display: block;
width: 0%;
}
.ant-calendar-range-picker-input{
display: none;
}
.ant-calendar-range-picker-separator{
display: none;
}
.ant-calendar-range-picker-input{
display: none;
}
.picker-icon{
position: absolute;
// -webkit-user-select: none;
// -moz-user-select: none;
// -ms-user-select: none;
user-select: none;
// -webkit-transition: all .3s cubic-bezier(.645,.045,.355,1);
// -o-transition: all .3s cubic-bezier(.645,.045,.355,1);
// transition: all .3s cubic-bezier(.645,.045,.355,1);
width: 12px;
height: 12px;
line-height: 12px;
right: 0px;
top: 63%;
margin-top: -6px;
color: #b2b2b2;
font-size: 17px;
}
}
}
.topBox{
border: 1px solid #48a3ce;
background-color: #fff;
border-radius: 3px
}
.ThemeBorderColor3 {
border-color: #424242!important;
}
.teaStageNameBox {
width: 100%;
border-right: 65px solid transparent;
textarea{
border: 0px solid #d9d9d9;
resize:none
}
// height: 50px;
.teaStageName{
display: block;
overflow: hidden;
width: 100%;
padding-top: 5px;
padding-left: 5px;
resize: none;
border: 0;
border-radius: 3px;
height: 80px;
overflow-y: hidden;
}
}
}
.kanban-group-footer{
// background-color: #eef0f4;
border-radius: 0 0 3px 3px;
height: 44px;
.btnBottomNew{
// float: right;
background-color: #fff;
color: rgb(59, 56, 56);
line-height: 32px;
display: inline-block;
height: 32px;
margin: 6px 5px;
padding: 0 18px;
cursor: pointer;
border-radius: 18px;
box-shadow: 0 1px 2px rgba(0,0,0,.12);
font-size: 12px;
// :hover{
// color: #fff;
// background: #757575;
// }
}
.btnBottomNew:hover {
background-color: rgb(59, 56, 56);
color: white;
}
.btnBottomSubmit{
float: right;
background-color: #fff;
color: #3b3838;
line-height: 32px;
// display: inline-block;
height: 32px;
margin: 6px 5px;
padding: 0 18px;
cursor: pointer;
border-radius: 18px;
box-shadow: 0 1px 2px rgba(0,0,0,.12);
font-size: 12px;
}
.btnBottomSubmit:hover {
background-color: rgb(59, 56, 56);
color: white;
}
.footer-card {
padding: 15px;
width: 100%;
position: absolute;
z-index: 1;
bottom: 0;
left: 0;
border-bottom: 1px solid #eaeaea;
border-top: 1px solid #eaeaea;
background: #fff;
box-shadow: 0 -2px 6px rgba(0,0,0,0.12);
textarea{
border-radius: 3px;
}
.card-content{
// padding : 20px 0 0 0 ;
// height: 100px;
width: 100%;
border-radius: 3px;
border: 1px solid #d9d9d9;
font-size: 11px;
.clearFix{
border-width: 0 0 1px 0;
border-style: solid;
border-color: #d9d9d9;
}
.kanban-group-manager{
// position: absolute;
// top: 2px;
// // right: 19px;
// display: inline-block;
// width: 24px;
// height: 24px;
// margin-left: 5px;
// cursor: pointer;
// font-size: 19px;
// border-radius: 100%;
// background-color: #e9e9e9;
// vertical-align: top;
// .kanban-group-manager-img{
// width: 25px;
// height: 25px;
// border-radius: 100%;
// }
.wea-associative-search {
min-height: 30px;
border-width: 1px;
border-style: solid;
border-color: rgb(217, 217, 217);
border-image: initial;
border-radius: 3px;
}
}
.content-landmark {
margin-left: 9px;
span.ant-input{
position: static;
cursor: pointer;
}
.picker-icon + span {
margin-left: 20px;
}
}
}
}
}
}
}
}
div.kanban-item-landmark:hover span {
color: rgb(161, 161, 161);
}