Dunqing c731abf82c
feat: support fixed block (#1267)
* feat: support fixed block

* feat: update locale

* fix: fix block not work in non-designer

* feat: improve padding

* feat: update scroll

* fix: the page effect is not normal when deleting fixed blocks

* feat: recalculate table scroll when resize

* fix: avoid scrolling effect when dragging the Kanban column

* feat: improve scroll size

* fix: column size

* fix: unused

* fix: configure action in designable

* fix: has page title

* fix: optimize

* fix: optimize

* feat: avoid fixed block

* fix: action column width

* fix: optimize

Co-authored-by: chenos <chenlinxh@gmail.com>
2022-12-20 21:43:27 +08:00

155 lines
2.5 KiB
Plaintext

.react-kanban-board {
height: 100%;
// padding: 5px;
// margin-bottom: 24px;
}
.react-kanban-card {
box-sizing: border-box;
max-width: 250px;
min-width: 250px;
border-radius: 3px;
background-color: #fff;
padding: 10px;
margin-bottom: 7px;
}
.react-kanban-card-skeleton {
box-sizing: border-box;
max-width: 300px;
min-width: 300px;
height: 70vh;
overflow-x: hidden;
overflow-y: auto;
padding: 0 12px;
margin-bottom: 12px;
> div {
margin-bottom: 12px;
}
+ div {
display: none !important;
}
}
.react-kanban-card--dragging {
box-shadow: 2px 2px grey;
}
.react-kanban-card__description {
padding-top: 10px;
}
.react-kanban-card__title {
border-bottom: 1px solid #eee;
padding-bottom: 5px;
font-weight: bold;
display: flex;
justify-content: space-between;
}
.react-kanban-column {
// padding: 15px 0;
// border-radius: 2px;
background-color: #f9f9f9;
margin-right: 15px;
padding-bottom: 15px;
width: 300px;
}
.react-kanban-column-header {
padding: 15px;
}
.react-kanban-card-adder-form {
box-sizing: border-box;
max-width: 250px;
min-width: 250px;
border-radius: 3px;
background-color: #fff;
padding: 10px;
margin-bottom: 7px;
input {
border: 0px;
font-family: inherit;
font-size: inherit;
}
}
.react-kanban-card-adder-button {
width: 100%;
margin-top: 5px;
background-color: transparent;
cursor: pointer;
border: 1px solid #ccc;
transition: 0.3s;
border-radius: 3px;
font-size: 20px;
margin-bottom: 10px;
font-weight: bold;
&:hover {
background-color: #ccc;
}
}
.react-kanban-card-adder-form__title {
font-weight: bold;
border-bottom: 1px solid #eee;
padding-bottom: 5px;
font-weight: bold;
display: flex;
justify-content: space-between;
width: 100%;
padding: 0px;
&:focus {
outline: none;
}
}
.react-kanban-card-adder-form__description {
width: 100%;
margin-top: 10px;
&:focus {
outline: none;
}
}
.react-kanban-card-adder-form__button {
background-color: #eee;
border: none;
padding: 5px;
width: 45%;
margin-top: 5px;
border-radius: 3px;
&:hover {
transition: 0.3s;
cursor: pointer;
background-color: #ccc;
}
}
.react-kanban-column-header {
}
.react-kanban-column-header__button {
color: #333333;
background-color: #ffffff;
border-color: #cccccc;
&:hover,
&:focus,
&:active {
background-color: #e6e6e6;
}
}
.react-kanban-column-adder-button {
border: 2px dashed #eee;
height: 132px;
margin: 5px;
&:hover {
cursor: pointer;
}
}