2020-02-17 17:47:10 +08:00
|
|
|
// scss-lint:disable SelectorDepth
|
|
|
|
// scss-lint:disable NestingDepth
|
|
|
|
|
2020-02-13 20:50:29 +08:00
|
|
|
.dashboard-container .current-tasks-widget {
|
2020-02-14 19:07:40 +08:00
|
|
|
|
2020-02-21 17:41:42 +08:00
|
|
|
.title {
|
|
|
|
flex-shrink: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.actions-container {
|
|
|
|
display: flex;
|
|
|
|
flex-grow: 1;
|
2020-02-26 22:40:28 +08:00
|
|
|
padding-left: 10px;
|
2020-02-21 17:41:42 +08:00
|
|
|
}
|
|
|
|
|
2020-03-03 16:50:44 +08:00
|
|
|
.search-container {
|
|
|
|
flex-basis: 36px;
|
|
|
|
|
|
|
|
.fa-search {
|
|
|
|
animation-timing-function: $timing-function-sharp;
|
|
|
|
color: $color-alto;
|
|
|
|
transition: .3s;
|
|
|
|
width: 26px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.task-search-field {
|
|
|
|
background: transparent;
|
|
|
|
border: $border-default;
|
|
|
|
padding-left: 36px;
|
|
|
|
position: relative;
|
|
|
|
width: 200px;
|
|
|
|
z-index: 2;
|
|
|
|
|
|
|
|
&:placeholder-shown {
|
|
|
|
border: $border-transparent;
|
|
|
|
cursor: pointer;
|
|
|
|
width: 36px;
|
|
|
|
|
|
|
|
+ .fa-search {
|
|
|
|
color: $color-volcano;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
border: $border-default;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
border: $border-focus;
|
|
|
|
cursor: auto;
|
|
|
|
width: 200px;
|
|
|
|
|
|
|
|
+ .fa-search {
|
|
|
|
color: $color-alto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-02-21 17:41:42 +08:00
|
|
|
.filter-container {
|
|
|
|
height: 36px;
|
|
|
|
margin-right: 4px;
|
2021-02-15 19:40:26 +08:00
|
|
|
position: relative;
|
2020-02-21 17:41:42 +08:00
|
|
|
width: 36px;
|
|
|
|
|
2020-09-15 00:15:57 +08:00
|
|
|
.current-tasks-filters {
|
2020-02-21 17:41:42 +08:00
|
|
|
padding: 0;
|
|
|
|
width: 230px;
|
|
|
|
|
|
|
|
.header {
|
|
|
|
align-items: center;
|
|
|
|
border-bottom: $border-default;
|
|
|
|
display: flex;
|
|
|
|
height: 44px;
|
|
|
|
margin-bottom: 16px;
|
|
|
|
padding: 0 5px 0 16px;
|
|
|
|
|
|
|
|
.title {
|
|
|
|
@include font-h2;
|
|
|
|
flex-grow: 1;
|
|
|
|
user-select: none;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.select-block {
|
|
|
|
display: inline-block;
|
|
|
|
padding: 0 16px 16px;
|
|
|
|
position: relative;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
label {
|
|
|
|
@include font-small;
|
|
|
|
display: inline-block;
|
|
|
|
font-weight: bold;
|
|
|
|
margin-bottom: 5px;
|
|
|
|
user-select: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.footer {
|
|
|
|
align-items: center;
|
|
|
|
border-top: $border-default;
|
|
|
|
display: flex;
|
|
|
|
height: 68px;
|
|
|
|
justify-content: center;
|
|
|
|
position: relative;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
2020-10-20 22:45:54 +08:00
|
|
|
|
|
|
|
&.filters-applied::after {
|
2020-12-04 16:38:34 +08:00
|
|
|
@include red-dot;
|
|
|
|
right: .45em;
|
|
|
|
top: .4em;
|
2020-10-20 22:45:54 +08:00
|
|
|
}
|
2020-02-21 17:41:42 +08:00
|
|
|
}
|
|
|
|
|
2020-03-12 22:00:14 +08:00
|
|
|
.widget-placeholder {
|
2020-02-26 18:07:17 +08:00
|
|
|
.fas {
|
|
|
|
font-size: 32px;
|
|
|
|
margin-left: 100px;
|
|
|
|
margin-top: 50px;
|
|
|
|
}
|
2020-03-12 22:00:14 +08:00
|
|
|
|
|
|
|
&.team {
|
|
|
|
.assigned {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.assigned {
|
|
|
|
.team {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2020-02-26 18:07:17 +08:00
|
|
|
}
|
|
|
|
|
2020-08-10 15:10:56 +08:00
|
|
|
.current-tasks-list-wrapper {
|
2020-02-26 18:07:17 +08:00
|
|
|
height: 100%;
|
2020-02-21 17:41:42 +08:00
|
|
|
overflow-y: auto;
|
2020-02-26 18:07:17 +08:00
|
|
|
position: relative;
|
2020-08-10 15:10:56 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.current-tasks-list {
|
|
|
|
align-items: center;
|
|
|
|
display: grid;
|
2020-09-02 21:41:07 +08:00
|
|
|
grid-template-columns: 1fr max-content max-content;
|
2020-08-10 15:10:56 +08:00
|
|
|
padding: 0 1em;
|
2020-02-21 17:41:42 +08:00
|
|
|
|
2020-03-12 22:00:14 +08:00
|
|
|
&.disabled {
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
2020-02-21 17:41:42 +08:00
|
|
|
.current-task-item {
|
|
|
|
color: $color-volcano;
|
2020-08-10 15:10:56 +08:00
|
|
|
display: contents;
|
2020-02-21 17:41:42 +08:00
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
.current-task-breadcrumbs {
|
|
|
|
@include font-small;
|
|
|
|
color: $color-silver-chalice;
|
2020-09-02 21:41:07 +08:00
|
|
|
grid-column: span 3;
|
|
|
|
line-height: 1em;
|
|
|
|
padding: .5em .5em .25em;
|
2020-03-03 21:21:16 +08:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
|
|
.slash {
|
|
|
|
display: inline-block;
|
|
|
|
text-align: center;
|
|
|
|
width: 16px;
|
|
|
|
}
|
2020-02-21 17:41:42 +08:00
|
|
|
}
|
|
|
|
|
2020-08-10 15:10:56 +08:00
|
|
|
.row-border {
|
|
|
|
border-bottom: $border-tertiary;
|
|
|
|
height: 32px;
|
|
|
|
line-height: 24px;
|
|
|
|
padding-bottom: 8px;
|
2020-02-21 17:41:42 +08:00
|
|
|
}
|
2020-03-03 21:21:16 +08:00
|
|
|
|
2020-08-10 15:10:56 +08:00
|
|
|
.task-name {
|
|
|
|
font-size: $font-size-base;
|
|
|
|
font-weight: bold;
|
|
|
|
overflow: hidden;
|
2020-09-02 21:41:07 +08:00
|
|
|
padding: 0 .5em;
|
2020-08-10 15:10:56 +08:00
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
2020-02-18 21:28:06 +08:00
|
|
|
}
|
|
|
|
|
2020-08-10 15:10:56 +08:00
|
|
|
.task-due-date {
|
|
|
|
padding: 0 2em 0 1em;
|
2020-02-18 21:28:06 +08:00
|
|
|
|
2020-08-10 15:10:56 +08:00
|
|
|
.fas {
|
2020-09-02 21:41:07 +08:00
|
|
|
padding: .25em;
|
2020-08-10 15:10:56 +08:00
|
|
|
}
|
2020-02-18 21:28:06 +08:00
|
|
|
|
2020-08-10 15:10:56 +08:00
|
|
|
&.overdue {
|
|
|
|
color: $brand-danger;
|
|
|
|
}
|
2020-02-18 21:28:06 +08:00
|
|
|
|
2020-08-10 15:10:56 +08:00
|
|
|
&.day-prior {
|
|
|
|
color: $brand-warning;
|
|
|
|
}
|
2020-03-05 21:40:46 +08:00
|
|
|
|
2020-08-10 15:10:56 +08:00
|
|
|
&.completed {
|
|
|
|
color: $brand-success;
|
|
|
|
}
|
2020-02-18 21:28:06 +08:00
|
|
|
}
|
|
|
|
|
2020-08-10 15:10:56 +08:00
|
|
|
.task-status-container {
|
|
|
|
grid-column: 3;
|
2020-09-02 21:41:07 +08:00
|
|
|
padding: 0 .5em;
|
2020-08-10 15:10:56 +08:00
|
|
|
text-align: right;
|
2020-02-18 21:28:06 +08:00
|
|
|
|
2020-08-10 15:10:56 +08:00
|
|
|
.task-status {
|
|
|
|
@include font-small;
|
|
|
|
border-radius: $border-radius-tag;
|
|
|
|
color: $color-white;
|
|
|
|
font-weight: bold;
|
|
|
|
padding: .25em .5em;
|
|
|
|
}
|
2020-02-18 21:28:06 +08:00
|
|
|
}
|
|
|
|
|
2020-09-02 21:41:07 +08:00
|
|
|
&:hover > * {
|
2020-08-10 15:10:56 +08:00
|
|
|
background: $color-concrete;
|
2020-02-18 21:28:06 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-02-13 20:50:29 +08:00
|
|
|
}
|
|
|
|
|
2020-03-03 21:21:16 +08:00
|
|
|
@media (max-width: 1500px) {
|
|
|
|
.dashboard-container .current-tasks-widget {
|
|
|
|
.task-progress-container {
|
|
|
|
max-width: 200px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-02-19 22:57:06 +08:00
|
|
|
@media (max-width: 1250px) {
|
|
|
|
.dashboard-container .current-tasks-widget {
|
2020-03-03 21:21:16 +08:00
|
|
|
.task-progress-container {
|
|
|
|
max-width: 150px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.current-tasks-list {
|
|
|
|
.current-task-item {
|
|
|
|
.item-row {
|
|
|
|
.task-due-date {
|
|
|
|
flex-basis: 230px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-02-19 22:57:06 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-02-13 21:44:59 +08:00
|
|
|
@media (max-width: 1000px) {
|
2020-02-13 20:50:29 +08:00
|
|
|
.dashboard-container .current-tasks-widget {
|
2020-03-03 20:52:36 +08:00
|
|
|
.no-tasks .fas {
|
|
|
|
margin-left: 500px;
|
|
|
|
}
|
2020-02-13 20:50:29 +08:00
|
|
|
}
|
|
|
|
}
|
2020-04-02 20:50:48 +08:00
|
|
|
|
|
|
|
@media (max-width: 700px) {
|
|
|
|
.dashboard-container .current-tasks-widget {
|
|
|
|
--widget-header-size: 72px;
|
|
|
|
|
|
|
|
.widget-title {
|
|
|
|
flex-basis: 100%;
|
|
|
|
line-height: 36px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.actions-container {
|
|
|
|
flex-grow: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.current-tasks-navbar {
|
|
|
|
flex-basis: 0;
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.search-container {
|
|
|
|
margin-right: 5px;
|
|
|
|
|
|
|
|
.task-search-field {
|
|
|
|
width: 150px;
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
width: 150px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.current-tasks-list {
|
2020-08-10 15:10:56 +08:00
|
|
|
grid-template-columns: auto;
|
|
|
|
|
2020-04-02 20:50:48 +08:00
|
|
|
.current-task-item {
|
|
|
|
|
2020-08-10 15:10:56 +08:00
|
|
|
.current-task-breadcrumbs {
|
|
|
|
grid-column: 1;
|
2020-09-02 21:41:07 +08:00
|
|
|
padding-left: 0;
|
2020-08-10 15:10:56 +08:00
|
|
|
}
|
2020-04-02 20:50:48 +08:00
|
|
|
|
2020-08-10 15:10:56 +08:00
|
|
|
.task-name {
|
|
|
|
border: 0;
|
|
|
|
padding: 0;
|
|
|
|
height: 1.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.task-due-date {
|
|
|
|
@include font-small;
|
|
|
|
border: 0;
|
2020-09-02 21:41:07 +08:00
|
|
|
height: 24px;
|
2020-08-10 15:10:56 +08:00
|
|
|
padding-left: 0;
|
2020-04-02 20:50:48 +08:00
|
|
|
|
2020-09-02 21:41:07 +08:00
|
|
|
|
2020-08-10 15:10:56 +08:00
|
|
|
.fas {
|
|
|
|
display: none;
|
2020-04-02 20:50:48 +08:00
|
|
|
}
|
|
|
|
}
|
2020-08-10 15:10:56 +08:00
|
|
|
|
|
|
|
.task-status-container {
|
|
|
|
grid-column: 1;
|
|
|
|
text-align: left;
|
2020-09-02 21:41:07 +08:00
|
|
|
padding-left: 0;
|
2020-08-10 15:10:56 +08:00
|
|
|
}
|
2020-04-02 20:50:48 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|