You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
planka_custom/client/src/components/List/List.module.scss

186 lines
3.0 KiB
SCSS

:global(#app) {
.addCardButton {
background: #dfe3e6;
border: none;
color: #6b808c;
cursor: pointer;
display: block;
fill: #6b808c;
flex: 0 0 auto;
font-weight: normal;
height: 36px;
outline: none;
padding: 8px;
text-align: left;
width: 100%;
&:hover {
background: #c3cbd0;
color: #17394d;
fill: #17394d;
}
}
.addCardButtonIcon {
height: 20px;
padding: 0.64px;
width: 20px;
}
.addCardButtonText {
display: inline-block;
font-size: 14px;
line-height: 20px;
margin-left: 2px;
vertical-align: top;
}
.cards {
min-height: 1px;
}
.cardsInnerWrapper {
max-height: calc(100vh - 268px);
overflow-x: hidden;
overflow-y: auto;
width: 290px;
&:hover {
width: 272px;
}
&::-webkit-scrollbar {
width: 5px;
}
&::-webkit-scrollbar-track {
background: transparent;
}
&::-webkit-scrollbar-thumb {
border-radius: 3px;
}
}
.cardsInnerWrapperFull {
max-height: calc(100vh - 232px);
}
.cardsOuterWrapper {
padding: 0 8px;
white-space: normal;
width: 272px;
}
.header {
outline: none;
padding: 4px 36px 4px 10px;
position: relative;
&:hover .target {
opacity: 1;
}
}
.headerCollapsed {
outline: none;
height: calc(100vh - 182px);
&:hover .target {
opacity: 1;
}
}
.headerEditable {
cursor: pointer;
}
.headerButton {
background: none;
box-shadow: none;
color: #798d99;
line-height: 32px;
margin: 0;
opacity: 0;
padding: 0;
position: absolute;
right: 2px;
top: 2px;
width: 32px;
&:hover {
background: rgba(9, 30, 66, 0.13);
color: #516b7a;
}
}
.headerName {
color: #17394d;
font-weight: bold;
line-height: 20px;
max-height: 82px;
outline: none;
overflow: hidden;
overflow-wrap: break-word;
word-break: break-word;
display: -webkit-box;
-webkit-line-clamp: 4;
-webkit-box-orient: vertical;
}
.headerNameCollapsed {
color: #17394d;
font-weight: bold;
outline: none;
overflow: hidden;
writing-mode: vertical-rl;
padding: 0px 5px 10px 5px;
text-overflow: ellipsis;
white-space: nowrap;
max-height: 85%;
}
.headerCollapseButton {
width: 10px;
height: 30px;
padding: 2px 0px 0px 2px;
position: absolute;
left: 2px;
top: 2px;
}
.headerCollapseButtonCollapsed {
height: 30px;
text-align: center;
}
.headerCardsCount {
color: #798d99;
font-size: 12px;
}
.headerCardsCountCollapsed {
color: #798d99;
font-size: 12px;
max-height: 10%;
writing-mode: vertical-rl;
padding: 0px 5px 10px 5px;
}
.innerWrapper {
margin-right: 8px;
width: 272px;
}
.innerWrapperCollapsed {
margin-right: 8px;
width: 30px;
}
.outerWrapper {
background: #dfe3e6;
border-radius: 3px;
overflow: hidden;
}
}