Spaces:
Configuration error
Configuration error
File size: 2,104 Bytes
a7060a0 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 | .current-task {
padding: 0 var(--spacing-tight);
display: flex;
align-items: center;
position: relative;
width: auto;
height: 100%;
&::after {
content: "";
display: block;
width: 1px;
height: calc(100% - var(--spacing-tight) * 2);
background-color: var(--color-neutral-border);
position: absolute;
right: 0;
top: var(--spacing-tight);
bottom: var(--spacing-tight);
}
&_with-history {
height: 100%;
display: grid;
grid-template: "id buttons" 1fr "id buttons" 1fr / 1fr min-content;
}
&__task-id {
@apply text-body-smaller;
grid-area: id;
color: var(--color-neutral-content);
user-select: text;
&::before {
content: "#";
}
}
&__task-count {
@apply text-body-smaller;
grid-area: counter;
color: var(--color-neutral-content);
user-select: none;
}
&__history-controls {
display: flex;
grid-area: buttons;
&_newui {
gap: var(--spacing-tight);
margin-left: var(--spacing-tight);
}
}
&__prevnext {
width: 36px;
height: 36px;
place-self: center center;
&_newui {
&:hover {
background: var(--color-primary-emphasis-subtle);
}
}
&::before {
top: 50%;
left: 50%;
content: "";
width: 10px;
height: 10px;
display: block;
position: absolute;
border: 2px solid var(--color-neutral-icon);
border-bottom: none;
border-right: none;
margin-top: -3px;
transform: translate3d(-50%, -50%, 0) rotate(225deg);
}
&_next {
grid-area: n;
transform: rotate(-90deg);
}
&_next.current-task__prevnext_postpone::before {
border-color: var(--color-primary-border);
}
&_prev {
grid-area: p;
transform: rotate(90deg);
}
&_hidden {
display: none;
}
&_disabled {
&:hover {
background: inherit;
}
&::before {
border: 2px solid var(--color-neutral-content-subtlest);
border-bottom: none;
border-right: none;
}
}
}
}
|