Files
Atay-Makhzan/web_src/css/features/projects.css
T

101 lines
1.9 KiB
CSS
Raw Normal View History

2021-04-20 06:13:03 +02:00
.board {
display: flex;
flex-direction: row;
flex-wrap: nowrap;
overflow-x: auto;
overflow-y: clip;
align-items: stretch;
2023-03-15 03:20:19 +01:00
margin: 0 0.5em;
2021-04-20 06:13:03 +02:00
}
2023-08-12 12:30:28 +02:00
.project-column {
background-color: var(--color-project-column-bg) !important;
2021-04-20 06:13:03 +02:00
border: 1px solid var(--color-secondary) !important;
border-radius: var(--border-radius);
2023-03-15 03:20:19 +01:00
margin: 0 0.5rem !important;
padding: 0.5rem !important;
2021-04-20 06:13:03 +02:00
width: 320px;
height: initial;
min-height: max(calc(100vh - 400px), 300px);
2021-04-20 06:13:03 +02:00
flex: 0 0 auto;
overflow: visible;
display: flex;
flex-direction: column;
cursor: default;
2021-04-20 06:13:03 +02:00
}
.project-column .issue-card {
color: var(--color-text);
}
2023-08-12 12:30:28 +02:00
.project-column-header {
2021-04-20 06:13:03 +02:00
display: flex;
2023-08-12 12:30:28 +02:00
align-items: center;
2021-04-20 06:13:03 +02:00
justify-content: space-between;
2024-05-20 13:21:01 +08:00
gap: 0.5em;
2023-03-15 03:20:19 +01:00
}
2021-09-29 22:53:12 +02:00
2024-05-20 13:21:01 +08:00
.ui.label.project-column-issue-count {
color: inherit;
2021-04-20 06:13:03 +02:00
}
2023-08-12 12:30:28 +02:00
.project-column > .cards {
2021-04-20 06:13:03 +02:00
flex: 1;
display: flex;
align-content: baseline;
2021-04-20 06:13:03 +02:00
margin: 0 !important;
padding: 0 !important;
flex-wrap: nowrap !important;
flex-direction: column;
overflow-x: clip;
2023-08-12 12:30:28 +02:00
gap: .25rem;
2021-04-20 06:13:03 +02:00
}
2023-08-12 12:30:28 +02:00
.project-column > .divider {
2021-04-20 06:13:03 +02:00
margin: 5px 0;
border-color: currentcolor;
opacity: .5;
2021-04-20 06:13:03 +02:00
}
2023-08-12 12:30:28 +02:00
.project-column:first-child {
2021-04-20 06:13:03 +02:00
margin-left: auto !important;
}
2023-08-12 12:30:28 +02:00
.project-column:last-child {
2021-04-20 06:13:03 +02:00
margin-right: auto !important;
}
2023-08-12 12:30:28 +02:00
.card-attachment-images {
display: inline-block;
white-space: nowrap;
overflow: scroll;
cursor: default;
scroll-snap-type: x mandatory;
text-align: center;
}
2023-08-12 12:30:28 +02:00
.card-attachment-images img {
display: inline-block;
max-height: 50px;
border-radius: var(--border-radius);
text-align: left;
scroll-snap-align: center;
margin-right: 2px;
aspect-ratio: 1;
}
2023-08-12 12:30:28 +02:00
.card-attachment-images img:only-child {
max-height: 90px;
margin: auto;
}
2021-04-20 06:13:03 +02:00
.card-ghost {
border-color: var(--color-secondary-dark-4) !important;
2021-04-20 06:13:03 +02:00
border-style: dashed !important;
background: none !important;
}
.card-ghost * {
opacity: 0;
}