2020-04-26 01:11:34 +02:00
|
|
|
$bucket-background: #e8f0f5;
|
|
|
|
$task-background: $white;
|
|
|
|
$ease-out: all .3s cubic-bezier(0.23, 1, 0.32, 1);
|
|
|
|
|
2020-06-17 09:02:27 +02:00
|
|
|
$crazy-height-calculation: '100vh - 4.5rem - 1.5rem - 1em - 1.5em - 8px';
|
2020-04-26 01:11:34 +02:00
|
|
|
|
|
|
|
.kanban {
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
align-items: flex-start;
|
|
|
|
overflow-x: auto;
|
|
|
|
overflow-y: hidden;
|
|
|
|
height: calc(#{$crazy-height-calculation});
|
|
|
|
margin: 0 -1.5rem;
|
|
|
|
padding: 0 1.5em;
|
|
|
|
|
|
|
|
.bucket {
|
|
|
|
|
|
|
|
background-color: $bucket-background;
|
|
|
|
border-radius: $radius;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
flex: 0 0 300px;
|
|
|
|
margin: 0 1em 0 0;
|
|
|
|
max-height: 100%;
|
|
|
|
min-height: 20px;
|
|
|
|
|
|
|
|
.tasks {
|
2020-05-31 21:17:10 +02:00
|
|
|
max-height: calc(#{$crazy-height-calculation} - 1rem - 2.5rem - 2em - #{$button-height} - 1em);
|
2020-04-26 01:11:34 +02:00
|
|
|
overflow: auto;
|
|
|
|
|
|
|
|
.task {
|
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
-webkit-touch-callout: none; // iOS Safari
|
|
|
|
-webkit-user-select: none; // Safari
|
|
|
|
-khtml-user-select: none; // Konqueror HTML
|
|
|
|
-moz-user-select: none; // Old versions of Firefox
|
|
|
|
-ms-user-select: none; // Internet Explorer/Edge
|
|
|
|
user-select: none; // Non-prefixed version, currently supported by Chrome, Opera and Firefox
|
|
|
|
|
|
|
|
transition: $ease-out;
|
|
|
|
cursor: pointer;
|
|
|
|
box-shadow: 2px 2px 2px darken($white, 12%);
|
|
|
|
|
|
|
|
font-size: .9em;
|
|
|
|
padding: .5em;
|
|
|
|
margin: .5em;
|
|
|
|
border-radius: $radius;
|
|
|
|
background: $task-background;
|
|
|
|
|
|
|
|
&.loader-container.is-loading:after {
|
|
|
|
width: 1.5em;
|
|
|
|
height: 1.5em;
|
|
|
|
top: calc(50% - .75em);
|
|
|
|
left: calc(50% - .75em);
|
|
|
|
border-width: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
font-family: $family-sans-serif;
|
2020-04-26 15:55:14 +02:00
|
|
|
font-size: .85rem;
|
2020-04-26 01:11:34 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.due-date {
|
|
|
|
float: right;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
.icon {
|
|
|
|
margin-right: 2px;
|
2020-06-21 18:24:01 +02:00
|
|
|
margin-left: 5px;
|
2020-04-26 01:11:34 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&.overdue {
|
|
|
|
color: $red;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.label-wrapper .tag {
|
|
|
|
margin: .5em .5em 0 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.footer {
|
|
|
|
background: transparent;
|
|
|
|
padding: 0;
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
|
|
.items {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
> :not(:last-child) {
|
|
|
|
margin-right: .5em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.assignees {
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
.user {
|
|
|
|
display: inline;
|
|
|
|
margin: 0 -12px 0 0;
|
|
|
|
|
|
|
|
img {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.icon {
|
|
|
|
svg {
|
2020-04-26 16:32:30 +02:00
|
|
|
margin: 4px 0 4px 4px;
|
2020-04-26 01:11:34 +02:00
|
|
|
fill: $dark;
|
2020-04-26 16:32:30 +02:00
|
|
|
|
|
|
|
&:not(.svg-inline--fa) {
|
|
|
|
width: 16px;
|
|
|
|
}
|
2020-04-26 01:11:34 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.footer .icon,
|
|
|
|
.due-date,
|
|
|
|
.priority-label {
|
|
|
|
background: darken($task-background, 5%);
|
|
|
|
border-radius: $radius;
|
|
|
|
padding-right: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.priority-label {
|
|
|
|
margin: .5em 0;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.task-id {
|
|
|
|
color: $grey;
|
2020-04-26 15:55:14 +02:00
|
|
|
font-size: .8rem;
|
2020-04-26 01:11:34 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.is-done {
|
|
|
|
margin: 0;
|
|
|
|
font-size: .8em;
|
|
|
|
padding: .25em .5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-moving {
|
|
|
|
opacity: .5;
|
|
|
|
}
|
|
|
|
|
|
|
|
span {
|
|
|
|
width: auto;
|
|
|
|
}
|
2020-06-21 18:24:01 +02:00
|
|
|
|
|
|
|
&.has-light-text {
|
|
|
|
color: $white;
|
|
|
|
|
|
|
|
.task-id {
|
|
|
|
color: $grey-lighter;
|
|
|
|
}
|
|
|
|
|
|
|
|
.footer .icon,
|
|
|
|
.due-date,
|
|
|
|
.priority-label {
|
|
|
|
background: darken($task-background, 80%);
|
|
|
|
}
|
|
|
|
|
|
|
|
.footer {
|
|
|
|
.icon svg {
|
|
|
|
fill: $white;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-04-26 01:11:34 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.drop-preview {
|
|
|
|
border-radius: $radius;
|
|
|
|
margin: 0 .5em .5em;
|
|
|
|
background: transparent;
|
|
|
|
border: 3px dashed darken($bucket-background, 5%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
font-size: 1rem;
|
|
|
|
margin: 0;
|
|
|
|
font-weight: 600 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.new-bucket {
|
|
|
|
|
|
|
|
background: $bucket-background;
|
|
|
|
display: block;
|
|
|
|
|
|
|
|
.button {
|
|
|
|
width: 100%;
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.bucket-header {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
|
|
|
padding: .5em;
|
|
|
|
|
|
|
|
.dropdown-trigger {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.title.input {
|
|
|
|
height: auto;
|
|
|
|
padding: .4em .5em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.bucket-footer {
|
|
|
|
padding: .5em;
|
|
|
|
|
|
|
|
.button {
|
|
|
|
background-color: transparent;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: $white;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.ghost-task {
|
|
|
|
transition: transform 0.18s ease;
|
|
|
|
transform: rotateZ(3deg)
|
|
|
|
}
|
|
|
|
|
|
|
|
.ghost-task-drop {
|
|
|
|
transition: transform 0.18s ease-in-out;
|
|
|
|
transform: rotateZ(0deg)
|
|
|
|
}
|