You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
120 lines
2.0 KiB
120 lines
2.0 KiB
@use '/src/app/scss/_palette.scss';
|
|
@use "sass:map";
|
|
|
|
.container {
|
|
width: 400px;
|
|
max-width: 100%;
|
|
margin: 0 25px 25px 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
max-height: 100%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.list {
|
|
background: map.get(palette.$nothing-dark-map, 300);
|
|
border: solid 1px map.get(palette.$nothing-dark-map, 50);
|
|
display: block;
|
|
border-radius: 4px;
|
|
min-height: 60px;
|
|
max-height: 100%;
|
|
max-width: 100%;
|
|
overflow: auto;
|
|
}
|
|
|
|
.innerList {
|
|
position: relative;
|
|
min-height: 60px;
|
|
max-height: 100%;
|
|
max-width: 100%;
|
|
width: 100%;
|
|
}
|
|
|
|
.grow {
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
.box {
|
|
position: relative;
|
|
border-bottom: solid 1px map.get(palette.$nothing-dark-map, 50);
|
|
color: palette.$light-primary-text;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
box-sizing: border-box;
|
|
cursor: move;
|
|
background-color: map.get(palette.$nothing-dark-map, 400);
|
|
font-size: 14px;
|
|
padding: 20px 20px 20px 5px;
|
|
width: 100%;
|
|
overflow-x: hidden;
|
|
|
|
&:hover {
|
|
background-color: rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
height: 80px;
|
|
}
|
|
|
|
.buttons {
|
|
display: flex;
|
|
flex-direction: row;
|
|
gap: 20px;
|
|
justify-content: center;
|
|
}
|
|
|
|
.delete {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
|
|
transform: rotate(45deg);
|
|
font-size: 2em;
|
|
color: darken(red, 10%);
|
|
position: absolute;
|
|
top: 2px;
|
|
right: 13px;
|
|
width: 15px;
|
|
height: 15px;
|
|
overflow: visible;
|
|
|
|
&:hover {
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
|
|
.notes {
|
|
position: absolute;
|
|
right: 65px;
|
|
|
|
}
|
|
|
|
|
|
.cdk-drag-preview {
|
|
box-sizing: border-box;
|
|
border-radius: 4px;
|
|
box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2),
|
|
0 8px 10px 1px rgba(0, 0, 0, 0.14),
|
|
0 3px 14px 2px rgba(0, 0, 0, 0.12);
|
|
}
|
|
|
|
.cdk-drag-placeholder {
|
|
opacity: 0;
|
|
}
|
|
|
|
.cdk-drag-animating {
|
|
transition: transform 75ms cubic-bezier(0, 0, 0.2, 1);
|
|
}
|
|
|
|
.box:last-child {
|
|
border: none;
|
|
}
|
|
|
|
.list.cdk-drop-list-dragging .box:not(.cdk-drag-placeholder) {
|
|
transition: transform 125ms cubic-bezier(0, 0, 0.2, 1);
|
|
}
|
|
|
|
.right-settings {
|
|
gap: 8px;
|
|
} |