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 {
|
|
|
|
// workaround because we cannot use border-colapse
|
|
|
|
border-top: 1px solid transparent;
|
|
|
|
display: -webkit-flex;
|
|
|
|
display: flex;
|
|
|
|
-webkit-flex-direction: row;
|
|
|
|
flex-direction: row;
|
|
|
|
|
2016-03-30 10:17:03 -04:00
|
|
|
&:hover {
|
2016-07-20 08:01:29 -04:00
|
|
|
background-color: $row-hover;
|
|
|
|
border-color: $row-hover-border;
|
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 {
|
|
|
|
border-color: $row-hover-border;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
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
|
|
|
-webkit-flex: 0 0 auto;
|
|
|
|
flex: 0 0 auto;
|
|
|
|
}
|
|
|
|
|
2016-07-20 08:01:29 -04:00
|
|
|
.todo-actions {
|
|
|
|
display: -webkit-flex;
|
|
|
|
display: flex;
|
|
|
|
-webkit-justify-content: center;
|
|
|
|
justify-content: center;
|
|
|
|
-webkit-flex-direction: column;
|
|
|
|
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
|
|
|
-webkit-flex: 0 1 100%;
|
|
|
|
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 {
|
2017-03-20 17:40:14 -04:00
|
|
|
background-color: $white-light;
|
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 {
|
|
|
|
opacity: .6;
|
|
|
|
}
|
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 {
|
|
|
|
opacity: .2;
|
|
|
|
}
|
|
|
|
|
|
|
|
.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-02-20 08:13:37 -05:00
|
|
|
display: flex;
|
|
|
|
|
2017-07-09 04:30:05 -04:00
|
|
|
> .title-item {
|
2017-02-20 08:13:37 -05:00
|
|
|
-webkit-flex: 0 0 auto;
|
|
|
|
flex: 0 0 auto;
|
|
|
|
margin: 0 2px;
|
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.todo-label {
|
|
|
|
-webkit-flex: 0 1 auto;
|
|
|
|
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
|
|
|
}
|
|
|
|
|
2017-01-26 07:16:26 -05:00
|
|
|
.action-name {
|
2017-08-24 10:13:24 -04:00
|
|
|
font-weight: $gl-font-weight-normal;
|
2017-01-26 07:16:26 -05:00
|
|
|
}
|
|
|
|
|
2016-02-20 08:59:59 -05:00
|
|
|
.todo-body {
|
|
|
|
.todo-note {
|
2016-02-12 13:45:44 -05:00
|
|
|
word-wrap: break-word;
|
|
|
|
|
2016-02-17 14:45:32 -05:00
|
|
|
.md {
|
2016-11-30 08:25:25 -05:00
|
|
|
color: $gl-grayish-blue;
|
2016-02-17 14:45:32 -05:00
|
|
|
font-size: $gl-font-size;
|
|
|
|
|
2016-03-24 07:28:06 -04:00
|
|
|
.label {
|
|
|
|
color: $gl-text-color;
|
|
|
|
font-size: inherit;
|
|
|
|
}
|
|
|
|
|
2016-02-17 14:45:32 -05:00
|
|
|
p {
|
2016-12-30 15:18:27 -05:00
|
|
|
color: $gl-text-color;
|
2016-02-17 14:45:32 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-06-20 03:26:28 -04:00
|
|
|
code {
|
|
|
|
white-space: pre-wrap;
|
|
|
|
}
|
|
|
|
|
2016-02-12 13:45:44 -05:00
|
|
|
pre {
|
|
|
|
border: none;
|
2016-08-19 11:39:18 -04:00
|
|
|
background: $gray-light;
|
2016-02-12 13:45:44 -05:00
|
|
|
border-radius: 0;
|
2016-11-30 08:25:25 -05:00
|
|
|
color: $todo-body-pre-color;
|
2016-02-12 13:45:44 -05:00
|
|
|
margin: 0 20px;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
2016-02-17 14:45:32 -05:00
|
|
|
.note-image-attach {
|
|
|
|
margin-top: 4px;
|
2016-03-16 19:29:47 -04:00
|
|
|
margin-left: 0;
|
2016-02-17 14:45:32 -05:00
|
|
|
max-width: 200px;
|
|
|
|
float: none;
|
|
|
|
}
|
|
|
|
|
2016-02-12 13:45:44 -05:00
|
|
|
p:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-09-13 12:25:50 -04:00
|
|
|
@media (max-width: $screen-sm-max) {
|
|
|
|
.todos-filters {
|
|
|
|
.dropdown-menu-toggle {
|
2017-02-23 15:24:28 -05:00
|
|
|
width: 130px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-menu-toggle-sort {
|
|
|
|
width: auto;
|
2016-09-13 12:25:50 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-02-12 13:45:44 -05:00
|
|
|
@media (max-width: $screen-xs-max) {
|
2016-07-20 08:01:29 -04:00
|
|
|
.todo {
|
|
|
|
.avatar {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-02-20 08:59:59 -05:00
|
|
|
.todo-item {
|
|
|
|
.todo-title {
|
2017-02-20 08:13:37 -05:00
|
|
|
flex-flow: row wrap;
|
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;
|
2016-11-30 08:25:25 -05:00
|
|
|
border-left: 2px solid $todo-body-border;
|
2016-02-12 13:45:44 -05:00
|
|
|
padding-left: 10px;
|
|
|
|
}
|
|
|
|
}
|
2016-09-13 12:25:50 -04:00
|
|
|
|
|
|
|
.todos-filters {
|
|
|
|
.dropdown-menu-toggle {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
2016-02-12 13:45:44 -05:00
|
|
|
}
|
2016-10-12 07:40:15 -04:00
|
|
|
|
|
|
|
.todos-empty {
|
|
|
|
display: -webkit-flex;
|
|
|
|
display: flex;
|
2016-10-13 04:35:55 -04:00
|
|
|
-webkit-flex-direction: column;
|
2016-10-12 07:40:15 -04:00
|
|
|
flex-direction: column;
|
|
|
|
max-width: 900px;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
|
|
|
|
@media (min-width: $screen-sm-min) {
|
2016-10-13 04:35:55 -04:00
|
|
|
-webkit-flex-direction: row;
|
2016-10-12 07:40:15 -04:00
|
|
|
flex-direction: row;
|
|
|
|
padding-top: 80px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.todos-empty-content {
|
2016-10-13 04:35:55 -04:00
|
|
|
-webkit-align-self: center;
|
2016-10-12 07:40:15 -04:00
|
|
|
align-self: center;
|
|
|
|
max-width: 480px;
|
|
|
|
margin-right: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.todos-empty-hero {
|
|
|
|
width: 200px;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
|
|
|
|
@media (min-width: $screen-sm-min) {
|
|
|
|
width: 300px;
|
|
|
|
margin-right: 0;
|
2016-10-13 04:35:55 -04:00
|
|
|
-webkit-order: 2;
|
2016-10-12 07:40:15 -04:00
|
|
|
order: 2;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.todos-all-done {
|
|
|
|
padding-top: 20px;
|
|
|
|
|
|
|
|
@media (min-width: $screen-sm-min) {
|
|
|
|
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
|
|
|
}
|
|
|
|
}
|
2017-08-16 07:29:25 -04:00
|
|
|
|
|
|
|
.todos-filters {
|
|
|
|
@include new-style-dropdown;
|
|
|
|
}
|