2018-12-25 16:03:51 +01:00
|
|
|
.tasks {
|
|
|
|
margin-top: 1rem;
|
|
|
|
padding: 0;
|
|
|
|
text-align: left;
|
|
|
|
|
|
|
|
@media screen and (min-width: $tablet) {
|
|
|
|
&.short {
|
|
|
|
max-width: 53vw;
|
|
|
|
}
|
|
|
|
}
|
2020-07-07 21:38:38 +02:00
|
|
|
|
2018-12-25 16:03:51 +01:00
|
|
|
@media screen and (max-width: $tablet) {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
2020-07-07 21:38:38 +02:00
|
|
|
&.noborder {
|
2018-12-25 16:03:51 +01:00
|
|
|
margin: 1rem -0.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.task {
|
2020-07-07 21:38:38 +02:00
|
|
|
display: flex;
|
2018-12-25 16:03:51 +01:00
|
|
|
padding: 0.5rem 1rem;
|
|
|
|
border-bottom: 1px solid darken(#fff, 10%);
|
2020-02-09 15:09:11 +01:00
|
|
|
transition: background-color $transition;
|
2020-09-05 22:16:17 +02:00
|
|
|
align-items: center;
|
|
|
|
cursor: pointer;
|
2020-02-09 15:09:11 +01:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: darken($light-background, 3);
|
|
|
|
}
|
2018-12-25 16:03:51 +01:00
|
|
|
|
2020-09-05 22:16:17 +02:00
|
|
|
.tasktext,
|
|
|
|
&.tasktext {
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
2018-12-25 16:03:51 +01:00
|
|
|
display: inline-block;
|
2020-09-05 22:16:17 +02:00
|
|
|
width: 100%;
|
2018-12-25 16:03:51 +01:00
|
|
|
|
2020-09-05 22:16:17 +02:00
|
|
|
.overdue {
|
|
|
|
color: $red;
|
|
|
|
}
|
|
|
|
}
|
2018-12-25 16:03:51 +01:00
|
|
|
|
2020-09-05 22:16:17 +02:00
|
|
|
.task-list {
|
|
|
|
width: auto;
|
|
|
|
color: lighten($grey, 25%);
|
|
|
|
font-size: .9em;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
2020-05-11 16:52:58 +02:00
|
|
|
|
2020-09-05 22:16:17 +02:00
|
|
|
.fancycheckbox span {
|
|
|
|
display: none;
|
|
|
|
}
|
2019-03-03 16:03:08 +01:00
|
|
|
|
2020-09-05 22:16:17 +02:00
|
|
|
.tag {
|
|
|
|
margin: 0 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.avatar {
|
|
|
|
border-radius: 50%;
|
|
|
|
vertical-align: bottom;
|
|
|
|
margin-left: 5px;
|
|
|
|
height: 27px;
|
|
|
|
width: 27px;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: $text;
|
|
|
|
transition: color ease $transition-duration;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: darken($text, 40%);
|
2020-07-07 21:38:38 +02:00
|
|
|
}
|
2020-09-05 22:16:17 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.favorite {
|
|
|
|
opacity: 0;
|
|
|
|
text-align: center;
|
|
|
|
width: 27px;
|
|
|
|
transition: opacity $transition, color $transition;
|
2020-07-07 21:38:38 +02:00
|
|
|
|
2020-09-05 22:16:17 +02:00
|
|
|
&:hover {
|
|
|
|
color: $orange;
|
2019-04-29 23:41:39 +02:00
|
|
|
}
|
2019-06-06 12:52:05 +02:00
|
|
|
|
2020-09-05 22:16:17 +02:00
|
|
|
&.is-favorite {
|
|
|
|
opacity: 1;
|
|
|
|
color: $orange;
|
2019-06-06 12:52:05 +02:00
|
|
|
}
|
2020-09-05 22:16:17 +02:00
|
|
|
}
|
2019-10-28 22:45:37 +01:00
|
|
|
|
2020-09-05 22:16:17 +02:00
|
|
|
&:hover .favorite {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2019-03-03 16:03:08 +01:00
|
|
|
|
2020-09-05 22:16:17 +02:00
|
|
|
.fancycheckbox {
|
|
|
|
height: 18px;
|
|
|
|
padding-top: 0;
|
|
|
|
|
|
|
|
span {
|
|
|
|
display: none;
|
2019-03-03 16:03:08 +01:00
|
|
|
}
|
2019-11-24 14:16:24 +01:00
|
|
|
}
|
2019-03-07 20:48:40 +01:00
|
|
|
|
2020-07-07 21:38:38 +02:00
|
|
|
.tasktext.done {
|
2020-01-22 21:27:48 +01:00
|
|
|
text-decoration: line-through;
|
|
|
|
color: $grey;
|
|
|
|
}
|
|
|
|
|
2019-12-18 19:55:28 +01:00
|
|
|
span.parent-tasks {
|
|
|
|
color: lighten($dark, 50);
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
|
2019-11-24 14:16:24 +01:00
|
|
|
.remove {
|
|
|
|
color: $red;
|
2018-12-25 16:03:51 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
input[type="checkbox"] {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
2020-07-07 21:38:38 +02:00
|
|
|
.settings {
|
2018-12-25 16:03:51 +01:00
|
|
|
float: right;
|
2019-12-19 23:09:23 +01:00
|
|
|
width: 24px;
|
2018-12-25 16:03:51 +01:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
2020-09-05 22:16:17 +02:00
|
|
|
|
|
|
|
&.loader-container.is-loading:after {
|
|
|
|
top: calc(50% - 1em);
|
|
|
|
left: calc(50% - 1em);
|
|
|
|
width: 2em;
|
|
|
|
height: 2em;
|
|
|
|
border-left-color: $grey-light;
|
|
|
|
border-bottom-color: $grey-light;
|
|
|
|
}
|
2018-12-25 16:03:51 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.task:last-child {
|
|
|
|
border-bottom: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-07-07 21:38:38 +02:00
|
|
|
.is-menu-enabled .tasks .task span:not(.tag) {
|
|
|
|
.tasktext, &.tasktext {
|
|
|
|
@media screen and (max-width: $desktop) {
|
|
|
|
max-width: calc(100vw - 27px - 2rem - 1.5rem - 3rem - #{$navbar-width}); // 1.5rem is the padding of the tasks container, 3rem is the padding of .app-container
|
|
|
|
}
|
|
|
|
|
|
|
|
// Duplicated rule to have it work properly in at least some browsers
|
|
|
|
// This should be fine as the ui doesn't work in rare edge cases to begin with
|
|
|
|
@media screen and (max-width: calc(#{$desktop} + #{$navbar-width})) {
|
|
|
|
max-width: calc(100vw - 27px - 2rem - 1.5rem - 3rem - #{$navbar-width}); // 1.5rem is the padding of the tasks container, 3rem is the padding of .app-container
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.taskedit {
|
2018-12-25 16:03:51 +01:00
|
|
|
min-height: calc(100% - 1rem);
|
|
|
|
margin-top: 1rem;
|
|
|
|
|
2019-03-03 16:03:08 +01:00
|
|
|
|
2020-07-07 21:38:38 +02:00
|
|
|
.priority-select {
|
|
|
|
.select, select {
|
2019-03-03 16:03:08 +01:00
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
2019-03-03 21:07:39 +01:00
|
|
|
|
|
|
|
ul.assingees {
|
|
|
|
list-style: none;
|
|
|
|
margin: 0;
|
|
|
|
|
2020-07-07 21:38:38 +02:00
|
|
|
li {
|
2019-03-03 21:07:39 +01:00
|
|
|
padding: 0.5em 0.5em 0;
|
|
|
|
|
2020-07-07 21:38:38 +02:00
|
|
|
a {
|
2019-03-03 21:07:39 +01:00
|
|
|
float: right;
|
|
|
|
color: $red;
|
|
|
|
transition: all $transition;
|
|
|
|
|
2020-07-07 21:38:38 +02:00
|
|
|
&:hover {
|
2019-03-03 21:07:39 +01:00
|
|
|
color: darken($red, 15);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-03-07 20:48:40 +01:00
|
|
|
|
2020-07-07 21:38:38 +02:00
|
|
|
.tag {
|
2019-03-07 20:48:40 +01:00
|
|
|
margin-right: 0.5em;
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
|
2020-07-07 21:38:38 +02:00
|
|
|
&:last-child {
|
2019-03-07 20:48:40 +01:00
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
}
|
2019-11-24 14:16:24 +01:00
|
|
|
}
|
2020-07-22 12:29:03 +02:00
|
|
|
|
|
|
|
.show-tasks {
|
|
|
|
h3 {
|
|
|
|
text-align: left;
|
|
|
|
|
|
|
|
&.nothing {
|
|
|
|
text-align: center;
|
|
|
|
margin-top: 3em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.input {
|
|
|
|
width: 190px;
|
|
|
|
vertical-align: middle;
|
|
|
|
margin: .5rem 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
margin-top: 2em;
|
|
|
|
}
|
|
|
|
|
2020-09-05 23:41:23 +02:00
|
|
|
.user img{
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2020-07-22 12:29:03 +02:00
|
|
|
.spinner.is-loading:after {
|
|
|
|
margin-left: calc(40% - 1em);
|
|
|
|
}
|
2020-08-01 15:17:10 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.defer-task {
|
|
|
|
$defer-task-max-width: 350px;
|
|
|
|
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
max-width: $defer-task-max-width;
|
|
|
|
border-radius: $radius;
|
|
|
|
border: 1px solid $grey-lighter;
|
|
|
|
padding: 1rem;
|
|
|
|
margin: 1rem;
|
|
|
|
background: $white;
|
|
|
|
color: $text;
|
|
|
|
cursor: default;
|
|
|
|
z-index: 10;
|
|
|
|
|
|
|
|
input.input {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.flatpickr-calendar {
|
|
|
|
margin: 0 auto;
|
|
|
|
box-shadow: none;
|
|
|
|
|
|
|
|
span {
|
|
|
|
width: auto !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.defer-days {
|
|
|
|
justify-content: space-between;
|
|
|
|
display: flex;
|
|
|
|
margin: .5rem 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: ($defer-task-max-width + 100px)) { // 100px is roughly the size the pane is pulled to the right
|
|
|
|
left: .5rem;
|
|
|
|
right: .5rem;
|
|
|
|
max-width: 100%;
|
|
|
|
width: calc(100vw - 1rem - 2rem);
|
|
|
|
|
|
|
|
.flatpickr-calendar {
|
|
|
|
max-width: 100%;
|
|
|
|
|
|
|
|
.flatpickr-innerContainer {
|
|
|
|
overflow: scroll;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-09-05 22:16:17 +02:00
|
|
|
|
|
|
|
.is-max-width-desktop .tasks .task {
|
|
|
|
width: 100%;
|
|
|
|
max-width: $desktop;
|
|
|
|
}
|
2020-11-22 17:47:47 +01:00
|
|
|
|
|
|
|
.tasktext {
|
|
|
|
:focus {
|
|
|
|
box-shadow: inset 0 0 0 2px rgba($primary, 0.5);
|
|
|
|
}
|
|
|
|
|
|
|
|
:focus:not(:focus-visible) {
|
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
:focus-visible, :-moz-focusring {
|
|
|
|
box-shadow: inset 0 0 0 2px rgba($primary, 0.5);
|
|
|
|
}
|
|
|
|
}
|