chore: re-add spaces instead of tabs
This commit is contained in:
parent
448afd8df2
commit
c5e869c7ad
|
@ -682,240 +682,240 @@ export default {
|
||||||
$flash-background-duration: 750ms;
|
$flash-background-duration: 750ms;
|
||||||
|
|
||||||
.task-view {
|
.task-view {
|
||||||
// This is a workaround to hide the llama background from the top on the task detail page
|
// This is a workaround to hide the llama background from the top on the task detail page
|
||||||
margin-top: -1.5rem;
|
margin-top: -1.5rem;
|
||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
background-color: var(--site-background);
|
background-color: var(--site-background);
|
||||||
|
|
||||||
@media screen and (max-width: $desktop) {
|
@media screen and (max-width: $desktop) {
|
||||||
padding-bottom: 0;
|
padding-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.subtitle {
|
.subtitle {
|
||||||
color: var(--grey-500);
|
color: var(--grey-500);
|
||||||
margin-bottom: 1rem;
|
margin-bottom: 1rem;
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: var(--grey-800);
|
color: var(--grey-800);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
h3 .button {
|
h3 .button {
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon.is-grey {
|
.icon.is-grey {
|
||||||
color: var(--grey-400);
|
color: var(--grey-400);
|
||||||
}
|
}
|
||||||
|
|
||||||
:deep(.heading) {
|
:deep(.heading) {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
text-transform: none;
|
text-transform: none;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
@media screen and (max-width: $tablet) {
|
@media screen and (max-width: $tablet) {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: start;
|
align-items: start;
|
||||||
}
|
}
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.title.input {
|
.title.input {
|
||||||
// 1.8rem is the font-size, 1.125 is the line-height, .3rem padding everywhere, 1px border around the whole thing.
|
// 1.8rem is the font-size, 1.125 is the line-height, .3rem padding everywhere, 1px border around the whole thing.
|
||||||
min-height: calc(1.8rem * 1.125 + .6rem + 2px);
|
min-height: calc(1.8rem * 1.125 + .6rem + 2px);
|
||||||
|
|
||||||
@media screen and (max-width: $tablet) {
|
@media screen and (max-width: $tablet) {
|
||||||
margin: 0 -.3rem .5rem -.3rem; // the title has 0.3rem padding - this make the text inside of it align with the rest
|
margin: 0 -.3rem .5rem -.3rem; // the title has 0.3rem padding - this make the text inside of it align with the rest
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.title.task-id {
|
.title.task-id {
|
||||||
color: var(--grey-400);
|
color: var(--grey-400);
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.date-input {
|
.date-input {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
a.remove {
|
a.remove {
|
||||||
color: var(--danger);
|
color: var(--danger);
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
padding-left: .5rem;
|
padding-left: .5rem;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
:deep(.datepicker) {
|
:deep(.datepicker) {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
a.show {
|
a.show {
|
||||||
color: var(--text);
|
color: var(--text);
|
||||||
padding: .25rem .5rem;
|
padding: .25rem .5rem;
|
||||||
transition: background-color $transition;
|
transition: background-color $transition;
|
||||||
border-radius: $radius;
|
border-radius: $radius;
|
||||||
display: block;
|
display: block;
|
||||||
margin: .1rem 0;
|
margin: .1rem 0;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background: var(--white);
|
background: var(--white);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&.disabled a.show:hover {
|
&.disabled a.show:hover {
|
||||||
background: transparent;
|
background: transparent;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.details {
|
.details {
|
||||||
padding-bottom: 0.75rem;
|
padding-bottom: 0.75rem;
|
||||||
flex-flow: row wrap;
|
flex-flow: row wrap;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
|
|
||||||
.detail-title {
|
.detail-title {
|
||||||
display: block;
|
display: block;
|
||||||
color: var(--grey-400);
|
color: var(--grey-400);
|
||||||
}
|
}
|
||||||
|
|
||||||
.none {
|
.none {
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Break after the 2nd element
|
// Break after the 2nd element
|
||||||
.column:nth-child(2n) {
|
.column:nth-child(2n) {
|
||||||
page-break-after: always; // CSS 2.1 syntax
|
page-break-after: always; // CSS 2.1 syntax
|
||||||
break-after: always; // New syntax
|
break-after: always; // New syntax
|
||||||
}
|
}
|
||||||
|
|
||||||
&.labels-list,
|
&.labels-list,
|
||||||
.assignees {
|
.assignees {
|
||||||
:deep(.multiselect) {
|
:deep(.multiselect) {
|
||||||
.input-wrapper {
|
.input-wrapper {
|
||||||
&:not(:focus-within):not(:hover) {
|
&:not(:focus-within):not(:hover) {
|
||||||
background: transparent !important;
|
background: transparent !important;
|
||||||
border-color: transparent !important;
|
border-color: transparent !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
:deep(.details),
|
:deep(.details),
|
||||||
:deep(.heading) {
|
:deep(.heading) {
|
||||||
.input:not(.has-defaults),
|
.input:not(.has-defaults),
|
||||||
.textarea,
|
.textarea,
|
||||||
.select:not(.has-defaults) select {
|
.select:not(.has-defaults) select {
|
||||||
border-color: transparent;
|
border-color: transparent;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transition: all $transition-duration;
|
transition: all $transition-duration;
|
||||||
|
|
||||||
&::placeholder {
|
&::placeholder {
|
||||||
color: var(--text-light);
|
color: var(--text-light);
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:not(:disabled) {
|
&:not(:disabled) {
|
||||||
&:hover,
|
&:hover,
|
||||||
&:active,
|
&:active,
|
||||||
&:focus {
|
&:focus {
|
||||||
background: var(--scheme-main);
|
background: var(--scheme-main);
|
||||||
border-color: var(--border);
|
border-color: var(--border);
|
||||||
cursor: text;
|
cursor: text;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover,
|
&:hover,
|
||||||
&:active {
|
&:active {
|
||||||
cursor: text;
|
cursor: text;
|
||||||
border-color: var(--link)
|
border-color: var(--link)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.select:not(.has-defaults):after {
|
.select:not(.has-defaults):after {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.select:not(.has-defaults):hover:after {
|
.select:not(.has-defaults):hover:after {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.attachments {
|
.attachments {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
|
|
||||||
table tr:last-child td {
|
table tr:last-child td {
|
||||||
border-bottom: none;
|
border-bottom: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.action-buttons {
|
.action-buttons {
|
||||||
.button {
|
.button {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin-bottom: .5rem;
|
margin-bottom: .5rem;
|
||||||
justify-content: left;
|
justify-content: left;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.created {
|
.created {
|
||||||
font-size: .75rem;
|
font-size: .75rem;
|
||||||
color: var(--grey-500);
|
color: var(--grey-500);
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
.checklist-summary {
|
.checklist-summary {
|
||||||
margin-left: .25rem;
|
margin-left: .25rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.task-view-container {
|
.task-view-container {
|
||||||
padding-bottom: 1rem;
|
padding-bottom: 1rem;
|
||||||
|
|
||||||
@media screen and (max-width: $desktop) {
|
@media screen and (max-width: $desktop) {
|
||||||
padding-bottom: 0;
|
padding-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.task-view * {
|
.task-view * {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
transition: opacity 50ms ease;
|
transition: opacity 50ms ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.is-loading {
|
&.is-loading {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
|
|
||||||
.task-view * {
|
.task-view * {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&.visible:not(.is-loading) .task-view * {
|
&.visible:not(.is-loading) .task-view * {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.task-view-container {
|
.task-view-container {
|
||||||
// simulate sass lighten($primary, 30) by increasing lightness 30% to 73%
|
// simulate sass lighten($primary, 30) by increasing lightness 30% to 73%
|
||||||
--primary-light: hsla(var(--primary-h), var(--primary-s), 73%, var(--primary-a));
|
--primary-light: hsla(var(--primary-h), var(--primary-s), 73%, var(--primary-a));
|
||||||
}
|
}
|
||||||
|
|
||||||
.flash-background-enter-from,
|
.flash-background-enter-from,
|
||||||
.flash-background-enter-active {
|
.flash-background-enter-active {
|
||||||
animation: flash-background $flash-background-duration ease 1;
|
animation: flash-background $flash-background-duration ease 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes flash-background {
|
@keyframes flash-background {
|
||||||
0% {
|
0% {
|
||||||
background: var(--primary-light);
|
background: var(--primary-light);
|
||||||
}
|
}
|
||||||
100% {
|
100% {
|
||||||
background: transparent;
|
background: transparent;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (prefers-reduced-motion: reduce) {
|
@media (prefers-reduced-motion: reduce) {
|
||||||
|
|
Reference in New Issue
Block a user