linkmore-design
Version:
π πlmη»δ»ΆεΊγπ
116 lines (101 loc) β’ 2.06 kB
text/less
.dnd_container {
display: flex;
flex-direction: column;
grid-auto-rows: max-content;
overflow: hidden;
box-sizing: border-box;
appearance: none;
outline: none;
flex: 1;
border-radius: 5px;
margin-bottom: 10px;
margin-right: 10px;
transition: background-color 350ms ease;
background-color: #fff;
border: 1px solid rgba(0, 0, 0, 0.05);
font-size: 1em;
&:last-child{
margin-right: 0;
}
&.isNoneBorder{
border: 0 ;
margin: 0;
}
ul {
// display: grid;
// grid-gap: 10px;
// grid-template-columns: repeat(var(--columns, 1), 1fr);
display: flex;
flex-wrap: wrap;
list-style: none;
padding: 10px;
margin: 0;
min-height: 57px;
&.ulClassName{
padding: 0px;
}
}
&.scrollable {
ul {
overflow-y: auto;
}
}
&.placeholder {
justify-content: center;
align-items: center;
cursor: pointer;
color: rgba(0, 0, 0, 0.5);
background-color: transparent;
border-style: dashed;
border-color: rgba(0, 0, 0, 0.08);
&:hover {
border-color: rgba(0, 0, 0, 0.15);
}
}
&.hover {
background-color: rgb(235, 235, 235, 1);
}
&.unstyled {
overflow: visible;
background-color: transparent ;
border: none ;
}
&.horizontal {
width: 100%;
ul {
grid-auto-flow: column;
}
}
&.shadow {
box-shadow: 0 1px 10px 0 rgba(34, 33, 81, 0.1);
}
&:focus-visible {
border-color: transparent;
box-shadow: 0 0 0 2px rgba(255, 255, 255, 0), 0 0px 0px 2px #4c9ffe;
}
}
.dnd_header {
display: flex;
padding: 5px 20px;
padding-right: 8px;
align-items: center;
justify-content: space-between;
background-color: #fff;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
border-bottom: 1px solid rgba(0, 0, 0, 0.08);
&:hover {
.Actions > * {
opacity: 1 ;
}
}
}
.dnd_actions {
display: flex;
> *:first-child:not(:last-child) {
opacity: 0;
&:focus-visible {
opacity: 1;
}
}
}