2020-08-26 14:11:43 -04:00
|
|
|
@import 'mixins_and_variables_and_functions';
|
|
|
|
|
2016-02-12 13:45:44 -05:00
|
|
|
/**
|
2016-02-20 08:59:59 -05:00
|
|
|
* Dashboard Todos
|
2016-02-12 13:45:44 -05:00
|
|
|
*
|
|
|
|
*/
|
2016-02-15 15:38:38 -05:00
|
|
|
|
2016-07-20 08:01:29 -04:00
|
|
|
.todos-list > .todo {
|
2019-08-13 00:07:21 -04:00
|
|
|
// workaround because we cannot use border-collapse
|
2016-07-20 08:01:29 -04:00
|
|
|
border-top: 1px solid transparent;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
|
2016-03-30 10:17:03 -04:00
|
|
|
&:hover {
|
2018-08-16 15:31:53 -04:00
|
|
|
background-color: $blue-50;
|
|
|
|
border-color: $blue-200;
|
2016-03-30 10:17:03 -04:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
2016-07-20 08:01:29 -04:00
|
|
|
|
|
|
|
// overwrite border style of .content-list
|
|
|
|
&:last-child {
|
|
|
|
border-bottom: 1px solid transparent;
|
|
|
|
|
|
|
|
&:hover {
|
2018-08-16 15:31:53 -04:00
|
|
|
border-color: $blue-200;
|
2016-07-20 08:01:29 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-02-20 08:13:37 -05:00
|
|
|
.todo-avatar,
|
|
|
|
.todo-actions {
|
2017-03-22 10:51:01 -04:00
|
|
|
@include transition(opacity);
|
2017-02-20 08:13:37 -05:00
|
|
|
flex: 0 0 auto;
|
|
|
|
}
|
|
|
|
|
2016-07-20 08:01:29 -04:00
|
|
|
.todo-actions {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
flex-direction: column;
|
|
|
|
margin-left: 10px;
|
2016-09-13 12:25:50 -04:00
|
|
|
min-width: 55px;
|
2016-07-20 08:01:29 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.todo-item {
|
2017-02-20 08:13:37 -05:00
|
|
|
flex: 0 1 100%;
|
|
|
|
min-width: 0;
|
2016-07-20 08:01:29 -04:00
|
|
|
}
|
2016-03-30 10:17:03 -04:00
|
|
|
|
2017-03-22 19:59:25 -04:00
|
|
|
&.todo-pending.done-reversible {
|
2020-03-30 20:08:09 -04:00
|
|
|
background-color: $white;
|
2017-01-16 08:11:08 -05:00
|
|
|
|
2017-03-20 17:40:14 -04:00
|
|
|
&:hover {
|
2017-05-04 18:36:43 -04:00
|
|
|
border-color: $white-normal;
|
2017-03-22 19:59:25 -04:00
|
|
|
background-color: $gray-light;
|
2017-05-04 18:36:43 -04:00
|
|
|
border-top: 1px solid transparent;
|
2017-03-22 19:59:25 -04:00
|
|
|
|
|
|
|
.todo-avatar,
|
|
|
|
.todo-item {
|
2019-02-25 14:03:21 -05:00
|
|
|
opacity: 0.6;
|
2017-03-22 19:59:25 -04:00
|
|
|
}
|
2017-03-20 17:40:14 -04:00
|
|
|
}
|
2017-01-16 08:11:08 -05:00
|
|
|
|
2017-03-20 17:40:14 -04:00
|
|
|
.todo-avatar,
|
|
|
|
.todo-item {
|
2019-02-25 14:03:21 -05:00
|
|
|
opacity: 0.2;
|
2017-03-20 17:40:14 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.btn {
|
|
|
|
background-color: $gray-light;
|
|
|
|
}
|
2017-01-16 08:11:08 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-02-20 08:59:59 -05:00
|
|
|
.todo-item {
|
2017-03-22 10:51:01 -04:00
|
|
|
@include transition(opacity);
|
|
|
|
|
2016-02-20 08:59:59 -05:00
|
|
|
.todo-title {
|
2017-07-09 04:30:05 -04:00
|
|
|
> .title-item {
|
2017-02-20 08:13:37 -05:00
|
|
|
&:first-child {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.todo-label {
|
|
|
|
flex: 0 1 auto;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
2016-04-28 14:54:13 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.status-box {
|
|
|
|
margin: 0;
|
|
|
|
float: none;
|
|
|
|
display: inline-block;
|
2017-08-24 10:13:24 -04:00
|
|
|
font-weight: $gl-font-weight-normal;
|
2016-04-28 16:43:18 -04:00
|
|
|
padding: 0 5px;
|
|
|
|
line-height: inherit;
|
|
|
|
font-size: 14px;
|
2016-02-12 13:45:44 -05:00
|
|
|
}
|
|
|
|
|
2019-06-27 01:56:08 -04:00
|
|
|
.todo-label,
|
|
|
|
.todo-project {
|
|
|
|
a {
|
|
|
|
color: $blue-600;
|
|
|
|
font-weight: $gl-font-weight-normal;
|
|
|
|
}
|
2017-01-26 07:16:26 -05:00
|
|
|
}
|
|
|
|
|
2016-02-20 08:59:59 -05:00
|
|
|
.todo-body {
|
2019-05-03 11:33:24 -04:00
|
|
|
.badge.badge-pill,
|
|
|
|
p {
|
|
|
|
color: $gl-text-color;
|
|
|
|
}
|
2016-03-24 07:28:06 -04:00
|
|
|
|
2019-05-03 11:33:24 -04:00
|
|
|
.md {
|
|
|
|
color: $gl-grayish-blue;
|
|
|
|
font-size: $gl-font-size;
|
|
|
|
}
|
2016-02-17 14:45:32 -05:00
|
|
|
|
2019-05-03 11:33:24 -04:00
|
|
|
code {
|
|
|
|
white-space: pre-wrap;
|
|
|
|
}
|
2016-06-20 03:26:28 -04:00
|
|
|
|
2019-05-03 11:33:24 -04:00
|
|
|
pre {
|
|
|
|
border: 0;
|
|
|
|
background: $gray-light;
|
|
|
|
border-radius: 0;
|
2020-08-20 14:10:16 -04:00
|
|
|
color: $gray-500;
|
2019-05-03 11:33:24 -04:00
|
|
|
margin: 0 20px;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
2016-02-12 13:45:44 -05:00
|
|
|
|
2019-05-03 11:33:24 -04:00
|
|
|
.note-image-attach {
|
|
|
|
margin-top: 4px;
|
|
|
|
margin-left: 0;
|
|
|
|
max-width: 200px;
|
|
|
|
float: none;
|
|
|
|
}
|
2016-02-17 14:45:32 -05:00
|
|
|
|
2019-05-03 11:33:24 -04:00
|
|
|
p:last-child {
|
|
|
|
margin-bottom: 0;
|
2016-02-12 13:45:44 -05:00
|
|
|
}
|
|
|
|
}
|
2020-08-18 11:10:33 -04:00
|
|
|
|
|
|
|
.gl-label-scoped {
|
|
|
|
--label-inset-border: inset 0 0 0 1px currentColor;
|
|
|
|
}
|
2016-02-12 13:45:44 -05:00
|
|
|
}
|
|
|
|
|
2018-07-16 09:35:19 -04:00
|
|
|
@include media-breakpoint-down(lg) {
|
|
|
|
.todos-filters {
|
|
|
|
.filter-categories {
|
|
|
|
width: 75%;
|
|
|
|
|
|
|
|
.filter-item {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-06-27 01:56:08 -04:00
|
|
|
@include media-breakpoint-down(sm) {
|
2020-09-08 14:08:48 -04:00
|
|
|
.container-fluid .todos-list-container {
|
|
|
|
margin: 0 (-$gl-padding);
|
|
|
|
}
|
|
|
|
|
2016-07-20 08:01:29 -04:00
|
|
|
.todo {
|
|
|
|
.avatar {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-02-20 08:59:59 -05:00
|
|
|
.todo-item {
|
|
|
|
.todo-title {
|
2016-04-28 16:43:18 -04:00
|
|
|
margin-bottom: 10px;
|
2017-02-20 08:13:37 -05:00
|
|
|
|
|
|
|
.todo-label {
|
|
|
|
white-space: normal;
|
|
|
|
}
|
2016-02-12 13:45:44 -05:00
|
|
|
}
|
|
|
|
|
2016-02-20 08:59:59 -05:00
|
|
|
.todo-body {
|
2016-02-12 13:45:44 -05:00
|
|
|
margin: 0;
|
2020-08-20 14:10:16 -04:00
|
|
|
border-left: 2px solid $gray-100;
|
2016-02-12 13:45:44 -05:00
|
|
|
padding-left: 10px;
|
|
|
|
}
|
|
|
|
}
|
2016-09-13 12:25:50 -04:00
|
|
|
|
|
|
|
.todos-filters {
|
2018-07-16 09:35:19 -04:00
|
|
|
.filter-categories {
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
|
2016-09-13 12:25:50 -04:00
|
|
|
.dropdown-menu-toggle {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2020-09-07 08:08:27 -04:00
|
|
|
|
|
|
|
.dropdown-menu-toggle-sort {
|
|
|
|
width: auto;
|
|
|
|
}
|
2016-09-13 12:25:50 -04:00
|
|
|
}
|
2016-02-12 13:45:44 -05:00
|
|
|
}
|
2016-10-12 07:40:15 -04:00
|
|
|
|
|
|
|
.todos-empty {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
max-width: 900px;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
|
2018-04-09 11:26:28 -04:00
|
|
|
@include media-breakpoint-up(sm) {
|
2016-10-12 07:40:15 -04:00
|
|
|
flex-direction: row;
|
|
|
|
padding-top: 80px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.todos-empty-content {
|
|
|
|
align-self: center;
|
|
|
|
max-width: 480px;
|
|
|
|
margin-right: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.todos-empty-hero {
|
|
|
|
width: 200px;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
|
2018-04-09 11:26:28 -04:00
|
|
|
@include media-breakpoint-up(sm) {
|
2016-10-12 07:40:15 -04:00
|
|
|
width: 300px;
|
|
|
|
margin-right: 0;
|
|
|
|
order: 2;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.todos-all-done {
|
|
|
|
padding-top: 20px;
|
|
|
|
|
2018-04-09 11:26:28 -04:00
|
|
|
@include media-breakpoint-up(sm) {
|
2016-10-12 07:40:15 -04:00
|
|
|
padding-top: 50px;
|
|
|
|
}
|
|
|
|
|
|
|
|
> svg {
|
|
|
|
display: block;
|
|
|
|
max-width: 300px;
|
|
|
|
margin: 0 auto 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
max-width: 470px;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
2017-08-24 10:13:24 -04:00
|
|
|
font-weight: $gl-font-weight-bold;
|
2016-10-12 07:40:15 -04:00
|
|
|
}
|
|
|
|
}
|