2021-10-18 12:33:59 +00:00
|
|
|
// FIXME: These classes are used all over.
|
|
|
|
// very hard to untangle
|
|
|
|
// they have many overwrites at different positions
|
2018-12-25 15:03:51 +00:00
|
|
|
.tasks {
|
2021-07-28 19:56:29 +00:00
|
|
|
text-align: left;
|
|
|
|
|
2021-10-18 12:33:52 +00:00
|
|
|
|
|
|
|
@media screen and (max-width: $tablet) {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.short {
|
|
|
|
@media screen and (min-width: $tablet) {
|
2021-10-18 12:33:38 +00:00
|
|
|
max-width: 53vw;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.progress {
|
|
|
|
// overwrite bulma
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2021-07-28 19:56:29 +00:00
|
|
|
&.noborder {
|
|
|
|
margin: 1rem -0.5rem;
|
|
|
|
}
|
2018-12-25 15:03:51 +00:00
|
|
|
}
|
|
|
|
|
2021-10-18 12:33:59 +00:00
|
|
|
// FIXME: seems only necessary for
|
|
|
|
// - relatedTasks.vue
|
|
|
|
// - singleTaskInList.vue
|
2021-01-15 20:04:48 +00:00
|
|
|
.is-menu-enabled .tasks .task {
|
2021-07-28 19:56:29 +00:00
|
|
|
span:not(.tag), a {
|
2021-10-18 12:33:52 +00:00
|
|
|
.tasktext,
|
|
|
|
&.tasktext {
|
2021-07-28 19:56:29 +00:00
|
|
|
@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
|
|
|
|
}
|
|
|
|
}
|
2021-01-15 20:04:48 +00:00
|
|
|
}
|
2020-07-07 19:38:38 +00:00
|
|
|
}
|
|
|
|
|
2021-10-18 12:33:59 +00:00
|
|
|
// FIXME: is only used where <edit-task> is used aswell:
|
|
|
|
// - List.vue
|
|
|
|
// -> Move the <card> wrapper including this class definition inside <edit-task>
|
2020-09-05 20:16:17 +00:00
|
|
|
.is-max-width-desktop .tasks .task {
|
2021-07-28 19:56:29 +00:00
|
|
|
max-width: $desktop;
|
2021-10-18 12:22:55 +00:00
|
|
|
}
|