2019-11-24 14:16:24 +01:00
|
|
|
.task-view {
|
2020-02-09 15:22:42 +01:00
|
|
|
// This is a workaround to hide the llama background from the top on the task detail page
|
|
|
|
margin-top: -1.5em;
|
2020-05-31 21:17:10 +02:00
|
|
|
padding: 1em;
|
2020-02-09 15:22:42 +01:00
|
|
|
background-color: $light-background;
|
|
|
|
|
2019-11-24 14:16:24 +01:00
|
|
|
.subtitle {
|
|
|
|
color: $grey;
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: $grey-dark;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.has-top-border {
|
|
|
|
border-top: 1px solid lighten($grey, 35%);
|
|
|
|
padding-top: .5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
h3 .button {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
.icon.is-grey {
|
|
|
|
color: lighten($grey, 5%);
|
|
|
|
}
|
|
|
|
|
|
|
|
.heading {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
text-transform: none;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
.title {
|
|
|
|
margin-bottom: 0;
|
2020-09-28 21:01:37 +02:00
|
|
|
|
|
|
|
&.input {
|
|
|
|
// 1.8rem is the font-size, 1.125 is the line-height, .3em padding everywhere, 1px border around the whole thing.
|
|
|
|
min-height: calc(1.8rem * 1.125 + .6em + 2px);
|
|
|
|
}
|
2019-11-24 14:16:24 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.title.task-id {
|
|
|
|
color: lighten($grey, 25%);
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
2020-12-16 12:54:01 +01:00
|
|
|
|
|
|
|
@media screen and (max-width: $tablet) {
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: start;
|
|
|
|
|
|
|
|
.title.input {
|
|
|
|
margin: 0 -.3em .5rem -.3em; // the title has 0.3em padding - this make the text inside of it align with the rest
|
|
|
|
}
|
|
|
|
}
|
2019-11-24 14:16:24 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.date-input {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
|
2020-11-28 14:59:27 +01:00
|
|
|
a.remove {
|
2019-11-24 14:16:24 +01:00
|
|
|
color: $red;
|
|
|
|
vertical-align: middle;
|
|
|
|
padding-left: .5em;
|
|
|
|
line-height: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-11-28 14:59:27 +01:00
|
|
|
.datepicker {
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
a.show {
|
|
|
|
color: $text;
|
|
|
|
padding: .25rem .5rem;
|
|
|
|
transition: background-color $transition;
|
|
|
|
border-radius: $radius;
|
|
|
|
display: block;
|
|
|
|
margin: .1rem 0;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: $white;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.disabled a.show:hover {
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-05-06 21:41:42 +02:00
|
|
|
table {
|
|
|
|
table-layout: fixed;
|
|
|
|
|
|
|
|
td {
|
|
|
|
overflow: hidden;
|
|
|
|
word-break: break-all;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-11-24 14:16:24 +01:00
|
|
|
.details {
|
|
|
|
padding-bottom: 0.75em;
|
|
|
|
flex-flow: row wrap;
|
|
|
|
|
|
|
|
.detail-title {
|
|
|
|
display: block;
|
|
|
|
color: lighten($grey, 15%);
|
|
|
|
}
|
|
|
|
|
|
|
|
.none {
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
2020-04-26 01:11:34 +02:00
|
|
|
// Break after the 2nd element
|
|
|
|
.column:nth-child(2n) {
|
2019-11-24 14:16:24 +01:00
|
|
|
page-break-after: always; // CSS 2.1 syntax
|
|
|
|
break-after: always; // New syntax
|
|
|
|
}
|
|
|
|
|
2020-01-10 22:43:17 +01:00
|
|
|
&.labels-list, .assignees {
|
2019-11-24 14:16:24 +01:00
|
|
|
.multiselect__tags {
|
|
|
|
padding: 3px 0 0 3px;
|
|
|
|
border: none;
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
.multiselect__input, .multiselect__single {
|
2020-02-09 15:02:39 +01:00
|
|
|
width: auto !important;
|
2019-11-24 14:16:24 +01:00
|
|
|
margin: 0;
|
|
|
|
padding: .35em !important;
|
|
|
|
position: relative !important;
|
|
|
|
background: transparent;
|
2020-02-09 15:02:39 +01:00
|
|
|
max-width: 100%;
|
2019-11-24 14:16:24 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.multiselect__placeholder {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.multiselect__select {
|
|
|
|
// We may need to enable this since it may also be responsable for showing the loading spinner
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.multiselect__content-wrapper {
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
}
|
2020-07-24 22:02:46 +02:00
|
|
|
|
|
|
|
&.description .editor {
|
2020-08-11 20:18:59 +02:00
|
|
|
|
|
|
|
&.is-pulled-up {
|
|
|
|
margin-top: -3.5rem;
|
|
|
|
}
|
2020-07-24 22:02:46 +02:00
|
|
|
|
|
|
|
.tabs {
|
|
|
|
margin-bottom: 0;
|
|
|
|
|
|
|
|
ul {
|
|
|
|
border-bottom: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-01-10 22:43:17 +01:00
|
|
|
}
|
2019-11-24 14:16:24 +01:00
|
|
|
|
2020-07-24 22:02:46 +02:00
|
|
|
.details, .heading {
|
2019-11-24 14:16:24 +01:00
|
|
|
.input:not(.has-defaults),
|
|
|
|
.textarea,
|
|
|
|
.select:not(.has-defaults) select {
|
|
|
|
border-color: transparent;
|
|
|
|
background: transparent;
|
|
|
|
cursor: pointer;
|
|
|
|
transition: all $transition-duration;
|
|
|
|
|
|
|
|
&::placeholder {
|
|
|
|
color: $text-light;
|
|
|
|
opacity: 1;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
2020-08-11 20:18:59 +02:00
|
|
|
&:not(:disabled) {
|
|
|
|
&:hover, &:active {
|
|
|
|
background: $input-background-color;
|
|
|
|
border-color: $input-border-color;
|
|
|
|
cursor: text;
|
|
|
|
}
|
2019-11-24 14:16:24 +01:00
|
|
|
|
2020-08-11 20:18:59 +02:00
|
|
|
&:focus {
|
|
|
|
background: $input-background-color;
|
|
|
|
border-color: $input-focus-border-color;
|
|
|
|
}
|
2019-11-24 14:16:24 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.select:not(.has-defaults):after {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.select:not(.has-defaults):hover:after {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.attachments {
|
|
|
|
margin-bottom: 0;
|
|
|
|
|
|
|
|
table tr:last-child td {
|
|
|
|
border-bottom: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.action-buttons {
|
|
|
|
a.button {
|
|
|
|
width: 100%;
|
|
|
|
margin-bottom: .5em;
|
|
|
|
justify-content: left;
|
|
|
|
}
|
|
|
|
}
|
2020-10-25 12:25:08 +01:00
|
|
|
|
|
|
|
.created {
|
|
|
|
font-size: .75rem;
|
|
|
|
color: $grey;
|
|
|
|
text-align: right;
|
|
|
|
}
|
2019-11-24 14:16:24 +01:00
|
|
|
}
|
2020-04-01 22:13:57 +02:00
|
|
|
|
2020-05-31 21:17:10 +02:00
|
|
|
.task-view-container {
|
|
|
|
padding-bottom: 1em;
|
|
|
|
}
|
|
|
|
|
2020-04-01 22:13:57 +02:00
|
|
|
.is-done {
|
|
|
|
background: $green;
|
|
|
|
color: $white;
|
|
|
|
padding: .5em;
|
|
|
|
font-size: 1.5em;
|
|
|
|
margin-left: .5em;
|
|
|
|
font-weight: bold;
|
|
|
|
line-height: 1;
|
|
|
|
border-radius: 4px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
2020-04-26 01:11:34 +02:00
|
|
|
|
|
|
|
.modal-container .task-view {
|
|
|
|
border-radius: $radius;
|
|
|
|
padding: 1em;
|
|
|
|
color: $text;
|
2020-11-28 15:32:58 +01:00
|
|
|
background-color: $light-background !important;
|
2020-04-26 01:11:34 +02:00
|
|
|
|
|
|
|
@media screen and (max-width: 800px) {
|
|
|
|
border-radius: 0;
|
|
|
|
padding-top: 2rem;
|
|
|
|
}
|
|
|
|
}
|
2020-11-28 15:32:58 +01:00
|
|
|
|
|
|
|
.link-share-container .task-view {
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
2021-01-04 22:22:56 +01:00
|
|
|
|
|
|
|
.flash-background-enter, .flash-background-enter-active {
|
|
|
|
animation: flash-background $flash-background-duration ease 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes flash-background {
|
|
|
|
0% {
|
|
|
|
background: lighten($primary, 30);
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
}
|