2020-11-24 15:15:51 +05:30
|
|
|
@import 'mixins_and_variables_and_functions';
|
|
|
|
|
2016-04-02 18:10:28 +05:30
|
|
|
/**
|
|
|
|
* Dashboard Todos
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2016-09-29 09:46:39 +05:30
|
|
|
.todos-list > .todo {
|
2019-10-12 21:52:04 +05:30
|
|
|
// workaround because we cannot use border-collapse
|
2023-03-04 22:38:38 +05:30
|
|
|
padding: 6px 12px !important;
|
2016-09-29 09:46:39 +05:30
|
|
|
border-top: 1px solid transparent;
|
|
|
|
|
2023-03-04 22:38:38 +05:30
|
|
|
span:not(.todo-label),
|
|
|
|
button,
|
|
|
|
a:not(.todo-target-link),
|
|
|
|
time {
|
|
|
|
@include gl-relative;
|
|
|
|
}
|
|
|
|
|
2016-09-29 09:46:39 +05:30
|
|
|
// overwrite border style of .content-list
|
|
|
|
&:last-child {
|
|
|
|
border-bottom: 1px solid transparent;
|
|
|
|
|
|
|
|
&:hover {
|
2020-11-24 15:15:51 +05:30
|
|
|
border-color: var(--blue-200, $blue-200);
|
2016-09-29 09:46:39 +05:30
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
&.todo-pending.done-reversible {
|
|
|
|
&:hover {
|
|
|
|
border-top: 1px solid transparent;
|
|
|
|
|
|
|
|
.todo-avatar,
|
|
|
|
.todo-item {
|
2019-07-07 11:18:12 +05:30
|
|
|
opacity: 0.6;
|
2017-08-17 22:00:37 +05:30
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.todo-avatar,
|
|
|
|
.todo-item {
|
2019-07-07 11:18:12 +05:30
|
|
|
opacity: 0.2;
|
2017-08-17 22:00:37 +05:30
|
|
|
}
|
2016-09-29 09:46:39 +05:30
|
|
|
}
|
2016-04-02 18:10:28 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.todo-item {
|
2017-08-17 22:00:37 +05:30
|
|
|
@include transition(opacity);
|
|
|
|
|
2023-03-04 22:38:38 +05:30
|
|
|
.todo-label a::before {
|
|
|
|
// Make area of the todo item clickable by expanding the area around the todo link
|
|
|
|
@include gl-content-empty;
|
|
|
|
@include gl-absolute;
|
|
|
|
@include gl-left-0;
|
|
|
|
@include gl-right-0;
|
|
|
|
@include gl-top-0;
|
|
|
|
@include gl-bottom-0;
|
|
|
|
z-index: 9;
|
2017-08-17 22:00:37 +05:30
|
|
|
}
|
2023-03-04 22:38:38 +05:30
|
|
|
}
|
2017-08-17 22:00:37 +05:30
|
|
|
|
2023-03-04 22:38:38 +05:30
|
|
|
.todo-title {
|
|
|
|
margin-right: 2.5rem;
|
2016-06-02 11:05:42 +05:30
|
|
|
|
2023-03-04 22:38:38 +05:30
|
|
|
@include media-breakpoint-up(sm) {
|
|
|
|
@include gl-mr-0;
|
|
|
|
@include gl-text-overflow-ellipsis;
|
|
|
|
@include gl-white-space-nowrap;
|
|
|
|
@include gl-overflow-hidden;
|
|
|
|
}
|
|
|
|
}
|
2018-11-18 11:00:15 +05:30
|
|
|
|
2023-03-04 22:38:38 +05:30
|
|
|
.todo-body {
|
|
|
|
p {
|
|
|
|
@include gl-display-inline;
|
|
|
|
color: var(--gl-text-color, $gl-text-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
pre.code.highlight {
|
|
|
|
@include gl-py-0;
|
|
|
|
@include gl-px-1;
|
|
|
|
@include gl-m-0;
|
|
|
|
@include gl-bg-gray-50;
|
|
|
|
@include gl-border-0;
|
|
|
|
@include gl-rounded-base;
|
|
|
|
@include gl-display-inline-flex;
|
|
|
|
@include gl-text-body;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gl-label-scoped {
|
|
|
|
--label-inset-border: inset 0 0 0 1px currentColor;
|
|
|
|
}
|
|
|
|
|
|
|
|
.avatar {
|
|
|
|
@include gl-mb-0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.todo-actions,
|
|
|
|
.todo-body .todo-avatar,
|
|
|
|
.todos-list > .todo a:not(.todo-target-link) {
|
|
|
|
z-index: 11 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.todo-actions {
|
|
|
|
@include gl-absolute;
|
|
|
|
@include gl-right-0;
|
|
|
|
|
|
|
|
@include media-breakpoint-up(sm) {
|
|
|
|
@include gl-relative;
|
2016-04-02 18:10:28 +05:30
|
|
|
}
|
2017-08-17 22:00:37 +05:30
|
|
|
}
|