2019-04-02 15:56:50 +08:00
|
|
|
// scss-lint:disable SelectorDepth
|
|
|
|
// scss-lint:disable NestingDepth
|
|
|
|
|
2019-03-06 17:34:04 +08:00
|
|
|
@import "constants";
|
|
|
|
@import "mixins";
|
|
|
|
|
|
|
|
.global-activities-container {
|
|
|
|
background: $color-white;
|
2019-08-08 21:51:08 +08:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2019-04-02 15:56:50 +08:00
|
|
|
height: calc(100vh - 89px);
|
|
|
|
padding: 0 15px;
|
|
|
|
|
2019-08-09 20:31:50 +08:00
|
|
|
&.task-activities {
|
2019-08-08 21:51:08 +08:00
|
|
|
height: calc(100vh - 136px);
|
2020-07-30 19:30:23 +08:00
|
|
|
padding-top: 20px;
|
2019-04-02 15:56:50 +08:00
|
|
|
}
|
|
|
|
|
2019-08-08 21:51:08 +08:00
|
|
|
.ga-top {
|
|
|
|
.ga-title {
|
|
|
|
border-bottom: 1px solid $color-gainsboro;
|
2020-07-13 20:51:51 +08:00
|
|
|
margin-top: 14px;
|
|
|
|
padding: 15px 0;
|
2019-08-08 21:51:08 +08:00
|
|
|
position: relative;
|
|
|
|
width: calc(100% + 30px);
|
|
|
|
}
|
2019-08-09 20:31:50 +08:00
|
|
|
|
2019-08-08 21:51:08 +08:00
|
|
|
.ga-actions {
|
|
|
|
align-items: center;
|
|
|
|
border-bottom: 1px solid $color-gainsboro;
|
|
|
|
display: flex;
|
|
|
|
height: 42px;
|
|
|
|
|
|
|
|
.ga-search-container {
|
2019-11-25 18:09:37 +08:00
|
|
|
display: none;
|
2019-08-08 21:51:08 +08:00
|
|
|
flex-grow: 1;
|
|
|
|
max-width: 500px;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
&::placeholder {
|
|
|
|
color: $color-silver-chalice;
|
|
|
|
}
|
|
|
|
|
|
|
|
.search-field {
|
|
|
|
border: 1px solid $color-gainsboro;
|
|
|
|
border-radius: 4px;
|
|
|
|
color: $color-emperor;
|
|
|
|
display: block;
|
|
|
|
font-size: 14px;
|
|
|
|
height: 30px;
|
|
|
|
line-height: 28px;
|
|
|
|
outline: 0;
|
|
|
|
padding: 0 0 0 30px;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fa-search {
|
|
|
|
color: $color-silver-chalice;
|
|
|
|
font-size: 18px;
|
|
|
|
left: 0;
|
2019-08-09 20:31:50 +08:00
|
|
|
line-height: 30px;
|
2019-08-08 21:51:08 +08:00
|
|
|
position: absolute;
|
|
|
|
text-align: center;
|
|
|
|
top: 0;
|
|
|
|
width: 30px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.ga-tags-container {
|
2020-02-07 18:33:25 +08:00
|
|
|
border-bottom: 1px solid $color-gainsboro;
|
2019-08-08 21:51:08 +08:00
|
|
|
display: flex;
|
2019-08-09 20:31:50 +08:00
|
|
|
min-height: 38px;
|
2020-02-07 18:33:25 +08:00
|
|
|
padding: 2px 0;
|
|
|
|
|
|
|
|
.clear-container {
|
|
|
|
flex-shrink: 0;
|
|
|
|
margin-left: 4px;
|
|
|
|
}
|
2019-08-08 21:51:08 +08:00
|
|
|
|
|
|
|
.ga-tags {
|
2020-02-07 18:33:25 +08:00
|
|
|
align-items: center;
|
2019-08-09 20:31:50 +08:00
|
|
|
display: flex;
|
2019-08-08 21:51:08 +08:00
|
|
|
flex-grow: 1;
|
2019-08-09 20:31:50 +08:00
|
|
|
flex-wrap: wrap;
|
2019-08-08 21:51:08 +08:00
|
|
|
|
|
|
|
&::after {
|
2019-08-09 20:31:50 +08:00
|
|
|
content: "";
|
2019-08-08 21:51:08 +08:00
|
|
|
flex-grow: 1000000000;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ds-tags {
|
2020-01-23 20:38:02 +08:00
|
|
|
@include font-small;
|
2019-08-08 21:51:08 +08:00
|
|
|
align-items: center;
|
|
|
|
background: $color-concrete;
|
2020-01-23 20:38:02 +08:00
|
|
|
border-radius: $border-radius-tag;
|
2019-08-09 20:31:50 +08:00
|
|
|
box-shadow: 0 0 1px 1px rgba(0, 0, 0, .1);
|
2019-08-08 21:51:08 +08:00
|
|
|
display: flex;
|
|
|
|
flex-shrink: 0;
|
|
|
|
line-height: 13px;
|
|
|
|
margin: 2px 3px;
|
2020-02-07 18:33:25 +08:00
|
|
|
max-height: 24px;
|
2019-09-12 20:11:27 +08:00
|
|
|
max-width: 250px;
|
|
|
|
overflow: hidden;
|
2020-01-23 20:38:02 +08:00
|
|
|
padding: 5px 8px;
|
2019-09-12 20:11:27 +08:00
|
|
|
transition: .3s;
|
2019-08-08 21:51:08 +08:00
|
|
|
user-select: none;
|
|
|
|
|
2019-09-12 20:11:27 +08:00
|
|
|
&.closing {
|
|
|
|
margin: 2px 0;
|
|
|
|
max-width: 0;
|
|
|
|
padding: 5px 0;
|
|
|
|
}
|
|
|
|
|
2019-08-08 21:51:08 +08:00
|
|
|
&.stretch {
|
|
|
|
flex-grow: 1;
|
|
|
|
flex-shrink: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tag-label {
|
|
|
|
display: inline-block;
|
|
|
|
margin-right: 5px;
|
2020-05-05 22:11:11 +08:00
|
|
|
margin-top: 1px;
|
2019-08-08 21:51:08 +08:00
|
|
|
max-width: 500px;
|
|
|
|
overflow: hidden;
|
2020-12-22 22:25:30 +08:00
|
|
|
text-align: left;
|
2019-09-12 20:11:27 +08:00
|
|
|
text-overflow: ellipsis;
|
2019-08-08 21:51:08 +08:00
|
|
|
white-space: nowrap;
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fas {
|
|
|
|
cursor: pointer;
|
|
|
|
flex-grow: 1;
|
2020-02-07 18:33:25 +08:00
|
|
|
font-size: 12px;
|
2019-08-09 20:31:50 +08:00
|
|
|
opacity: .7;
|
2019-08-08 21:51:08 +08:00
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.ga-bottom {
|
|
|
|
display: flex;
|
|
|
|
flex-grow: 1;
|
2019-09-05 15:05:25 +08:00
|
|
|
height: 100%;
|
2019-04-02 15:56:50 +08:00
|
|
|
}
|
2019-03-06 17:34:04 +08:00
|
|
|
|
|
|
|
.ga-main {
|
2019-08-08 21:51:08 +08:00
|
|
|
border-right: 1px solid $color-gainsboro;
|
|
|
|
flex-grow: 5;
|
|
|
|
height: 100%;
|
2019-04-02 15:56:50 +08:00
|
|
|
overflow: hidden;
|
|
|
|
position: relative;
|
|
|
|
|
2019-11-25 18:09:37 +08:00
|
|
|
.activities-container {
|
|
|
|
height: 100%;
|
|
|
|
padding-top: 10px;
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2019-03-06 17:34:04 +08:00
|
|
|
.ga-activities-list {
|
2019-03-15 22:52:30 +08:00
|
|
|
|
|
|
|
.activities-day {
|
2019-08-08 21:51:08 +08:00
|
|
|
display: flex;
|
2019-03-15 23:02:38 +08:00
|
|
|
margin-bottom: 10px;
|
2019-03-25 18:06:00 +08:00
|
|
|
|
|
|
|
.date-container {
|
2019-08-08 21:51:08 +08:00
|
|
|
flex-shrink: 0;
|
|
|
|
padding-right: 20px;
|
2019-03-25 18:06:00 +08:00
|
|
|
}
|
2019-04-02 15:56:50 +08:00
|
|
|
|
|
|
|
.date-activities {
|
2019-08-08 21:51:08 +08:00
|
|
|
flex-grow: 1;
|
2019-03-25 18:06:00 +08:00
|
|
|
}
|
2019-03-15 22:52:30 +08:00
|
|
|
}
|
2019-03-06 17:34:04 +08:00
|
|
|
}
|
2019-03-08 20:09:27 +08:00
|
|
|
|
|
|
|
.activities-counter-label {
|
2019-08-08 21:51:08 +08:00
|
|
|
margin-left: 5px;
|
2019-03-08 20:09:27 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.activities-group-expand-button {
|
|
|
|
color: $color-emperor;
|
2020-09-04 20:43:30 +08:00
|
|
|
user-select: none;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:visited,
|
|
|
|
&:focus {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
2019-03-15 22:52:30 +08:00
|
|
|
|
|
|
|
.fas {
|
|
|
|
display: inline-block;
|
2020-09-04 20:43:30 +08:00
|
|
|
margin-right: 3px;
|
|
|
|
text-align: center;
|
2019-03-15 22:52:30 +08:00
|
|
|
width: 10px;
|
|
|
|
}
|
2020-09-04 20:43:30 +08:00
|
|
|
|
|
|
|
&:not(.collapsed) .fas {
|
|
|
|
@include rotate(90deg);
|
|
|
|
}
|
2019-03-15 22:52:30 +08:00
|
|
|
}
|
|
|
|
|
2019-03-08 20:09:27 +08:00
|
|
|
.activity-card {
|
2019-08-08 21:51:08 +08:00
|
|
|
cursor: default;
|
2019-08-26 21:49:33 +08:00
|
|
|
margin-right: 15px;
|
2019-08-26 21:52:03 +08:00
|
|
|
padding: 5px 0 5px 40px;
|
2019-03-08 20:09:27 +08:00
|
|
|
|
|
|
|
&:hover {
|
2021-09-17 20:15:01 +08:00
|
|
|
background-color: $color-concrete;
|
2019-09-05 15:05:25 +08:00
|
|
|
border-radius: 5px;
|
2019-03-08 20:09:27 +08:00
|
|
|
}
|
|
|
|
|
2019-08-08 21:51:08 +08:00
|
|
|
.activity-text {
|
|
|
|
p {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.atwho-user-container {
|
2019-08-09 20:31:50 +08:00
|
|
|
|
2019-08-08 21:51:08 +08:00
|
|
|
&:not(:first-child) {
|
|
|
|
.global-avatar-container {
|
|
|
|
height: 20px;
|
2019-08-09 20:31:50 +08:00
|
|
|
line-height: 20px;
|
2019-08-08 21:51:08 +08:00
|
|
|
margin-left: 0;
|
|
|
|
position: relative;
|
|
|
|
top: 1px;
|
|
|
|
width: 20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:nth-child(1) {
|
|
|
|
height: 20px;
|
|
|
|
margin-left: -35px;
|
|
|
|
|
|
|
|
.global-avatar-container {
|
|
|
|
margin: 0 5px 0 0;
|
|
|
|
position: relative;
|
|
|
|
top: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-03-08 20:09:27 +08:00
|
|
|
}
|
|
|
|
|
2019-08-08 21:51:08 +08:00
|
|
|
.activity-info {
|
2019-03-08 20:09:27 +08:00
|
|
|
color: $color-silver-chalice;
|
2019-03-25 16:39:17 +08:00
|
|
|
display: flex;
|
2019-08-08 21:51:08 +08:00
|
|
|
min-height: 20px;
|
2019-03-25 16:39:17 +08:00
|
|
|
|
2019-08-08 21:51:08 +08:00
|
|
|
.activity-timestamp {
|
|
|
|
color: inherit;
|
|
|
|
flex-shrink: 0;
|
2019-03-25 16:39:17 +08:00
|
|
|
}
|
2019-04-10 18:37:13 +08:00
|
|
|
|
2019-08-08 21:51:08 +08:00
|
|
|
.navigational-breadcrumbs {
|
|
|
|
color: inherit;
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
2019-04-10 18:37:13 +08:00
|
|
|
|
2019-08-08 21:51:08 +08:00
|
|
|
.ga-breadcrumb {
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
margin-left: 15px;
|
2019-05-22 16:21:18 +08:00
|
|
|
|
2019-08-08 21:51:08 +08:00
|
|
|
.fas,
|
|
|
|
img {
|
|
|
|
margin-right: 3px;
|
|
|
|
}
|
|
|
|
}
|
2019-05-22 16:21:18 +08:00
|
|
|
}
|
2019-04-10 18:37:13 +08:00
|
|
|
}
|
2022-03-10 01:43:38 +08:00
|
|
|
|
|
|
|
.fa-comment {
|
|
|
|
color: $color-silver-chalice;
|
|
|
|
margin-right: 3px;
|
|
|
|
position: relative;
|
|
|
|
}
|
2019-03-08 20:09:27 +08:00
|
|
|
}
|
2019-04-02 15:56:50 +08:00
|
|
|
|
2019-03-27 16:43:04 +08:00
|
|
|
.no-activities-message {
|
|
|
|
margin-top: 20px;
|
|
|
|
}
|
2019-03-06 17:34:04 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.ga-side {
|
2019-09-12 20:11:27 +08:00
|
|
|
flex-basis: 450px;
|
2019-08-08 21:51:08 +08:00
|
|
|
flex-shrink: 0;
|
|
|
|
height: 100%;
|
|
|
|
margin-right: -15px;
|
2019-04-02 15:56:50 +08:00
|
|
|
overflow: hidden;
|
|
|
|
position: relative;
|
|
|
|
|
2019-11-25 18:09:37 +08:00
|
|
|
.filters-container {
|
|
|
|
height: 100%;
|
|
|
|
margin-bottom: 60px;
|
|
|
|
padding: 15px 20px;
|
|
|
|
position: absolute;
|
|
|
|
}
|
|
|
|
|
2019-03-06 17:34:04 +08:00
|
|
|
.filter-block {
|
2019-08-08 21:51:08 +08:00
|
|
|
display: inline-block;
|
2019-03-06 17:34:04 +08:00
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
.title {
|
2020-01-31 21:11:37 +08:00
|
|
|
@include font-small;
|
2019-03-06 17:34:04 +08:00
|
|
|
float: left;
|
|
|
|
line-height: 20px;
|
2019-03-26 23:47:36 +08:00
|
|
|
margin-bottom: 5px;
|
|
|
|
width: calc(100% - 50px);
|
2019-04-09 20:18:22 +08:00
|
|
|
|
|
|
|
&.sub {
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
2019-03-06 17:34:04 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.clear {
|
|
|
|
cursor: pointer;
|
2020-02-07 18:33:25 +08:00
|
|
|
display: none;
|
2019-03-06 17:34:04 +08:00
|
|
|
float: right;
|
2020-02-07 18:33:25 +08:00
|
|
|
font-weight: normal;
|
2019-03-06 17:34:04 +08:00
|
|
|
line-height: 12px;
|
2020-02-07 18:33:25 +08:00
|
|
|
margin-bottom: 0;
|
|
|
|
margin-top: 8px;
|
|
|
|
padding-bottom: 8px;
|
2019-03-06 17:34:04 +08:00
|
|
|
padding-top: 8px;
|
2020-02-07 18:33:25 +08:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
2019-03-06 17:34:04 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.select-container {
|
2019-08-08 21:51:08 +08:00
|
|
|
display: inline-block;
|
|
|
|
margin-bottom: 5px;
|
|
|
|
min-height: 36px;
|
2019-03-06 17:34:04 +08:00
|
|
|
width: 100%;
|
2019-08-09 20:31:50 +08:00
|
|
|
|
|
|
|
select {
|
|
|
|
display: none;
|
|
|
|
}
|
2019-03-06 17:34:04 +08:00
|
|
|
}
|
2019-11-25 18:09:37 +08:00
|
|
|
|
|
|
|
&.report-block {
|
|
|
|
margin-bottom: 60px;
|
|
|
|
}
|
2019-03-06 17:34:04 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.date-selector {
|
|
|
|
display: inline-block;
|
2019-08-09 20:31:50 +08:00
|
|
|
margin-bottom: 5px;
|
2019-03-06 17:34:04 +08:00
|
|
|
position: relative;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
.hot-buttons {
|
|
|
|
display: inline-block;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
.hot-button {
|
|
|
|
border: 0;
|
|
|
|
cursor: pointer;
|
|
|
|
float: left;
|
2019-03-29 15:29:16 +08:00
|
|
|
margin: 0;
|
2019-04-02 15:56:50 +08:00
|
|
|
opacity: .7;
|
2019-03-06 17:34:04 +08:00
|
|
|
text-align: left;
|
|
|
|
width: calc(50% - 25px);
|
|
|
|
|
2019-03-27 20:15:44 +08:00
|
|
|
&.selected {
|
2021-09-17 20:15:01 +08:00
|
|
|
background: $color-alto;
|
2019-03-27 20:15:44 +08:00
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
2019-03-06 17:34:04 +08:00
|
|
|
&:nth-child(even) {
|
|
|
|
margin-left: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:nth-child(odd) {
|
|
|
|
margin-right: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.from,
|
|
|
|
.to {
|
|
|
|
float: left;
|
|
|
|
position: relative;
|
|
|
|
width: calc(50% - 15px);
|
|
|
|
}
|
|
|
|
|
|
|
|
.separator {
|
|
|
|
background: $color-alto;
|
|
|
|
float: left;
|
|
|
|
height: 2px;
|
|
|
|
margin: 16px 10px;
|
|
|
|
position: relative;
|
|
|
|
width: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-09-12 20:11:27 +08:00
|
|
|
@media (max-width: 1200px) {
|
|
|
|
.ga-side {
|
|
|
|
flex-basis: 350px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-height: 800px) {
|
|
|
|
.ga-side {
|
|
|
|
.date-selector {
|
|
|
|
.hot-buttons {
|
|
|
|
.hot-button {
|
|
|
|
margin: 5px 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-09-05 15:05:25 +08:00
|
|
|
@media (max-width: 900px) {
|
|
|
|
.ga-main {
|
|
|
|
.activities-day {
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
.date-activities {
|
|
|
|
margin: 5px 10px 0 0;
|
|
|
|
padding-left: 10px;
|
|
|
|
|
|
|
|
.activities-counter-label {
|
|
|
|
border-bottom: 1px solid $color-gainsboro;
|
|
|
|
padding-bottom: 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-03-06 17:34:04 +08:00
|
|
|
// Common code
|
|
|
|
|
|
|
|
.datetime-picker-container {
|
|
|
|
position: relative;
|
2019-03-27 21:39:29 +08:00
|
|
|
|
2019-11-25 18:09:37 +08:00
|
|
|
.fa-calendar-alt {
|
|
|
|
color: $color-silver-chalice;
|
|
|
|
font-size: 18px;
|
|
|
|
line-height: 34px;
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
text-align: center;
|
|
|
|
top: 0;
|
|
|
|
width: 34px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.calendar-input {
|
2019-03-27 21:39:29 +08:00
|
|
|
background-color: transparent !important;
|
|
|
|
box-shadow: none;
|
|
|
|
color: inherit;
|
2019-11-25 18:09:37 +08:00
|
|
|
cursor: pointer;
|
2019-03-27 21:39:29 +08:00
|
|
|
font-size: 13px;
|
|
|
|
padding-left: 5px;
|
2019-11-25 18:09:37 +08:00
|
|
|
padding-right: 34px;
|
|
|
|
position: relative;
|
|
|
|
z-index: 3;
|
2019-03-27 21:39:29 +08:00
|
|
|
|
2019-04-02 15:56:50 +08:00
|
|
|
&::placeholder {
|
2019-03-27 21:39:29 +08:00
|
|
|
color: $color-silver-chalice;
|
|
|
|
}
|
|
|
|
}
|
2019-03-06 17:34:04 +08:00
|
|
|
}
|