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);
|
2019-03-06 17:34:04 +08:00
|
|
|
margin-top: 2em;
|
2019-04-02 15:56:50 +08:00
|
|
|
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);
|
2019-04-02 15:56:50 +08:00
|
|
|
}
|
|
|
|
|
2019-08-08 21:51:08 +08:00
|
|
|
.ga-top {
|
|
|
|
border-bottom: 1px solid $color-gainsboro;
|
|
|
|
|
|
|
|
.ga-title {
|
|
|
|
border-bottom: 1px solid $color-gainsboro;
|
|
|
|
height: 35px;
|
|
|
|
margin: 20px -15px 0;
|
|
|
|
padding: 0 0 10px 15px;
|
|
|
|
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;
|
|
|
|
|
|
|
|
.hide-actions {
|
|
|
|
align-items: center;
|
|
|
|
color: $color-silver-chalice;
|
2019-08-09 20:31:50 +08:00
|
|
|
display: flex;
|
2019-08-08 21:51:08 +08:00
|
|
|
margin-right: 20px;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fas {
|
|
|
|
font-size: 18px;
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.ga-search-container {
|
|
|
|
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 {
|
|
|
|
display: flex;
|
2019-08-09 20:31:50 +08:00
|
|
|
min-height: 38px;
|
|
|
|
padding: 5px 0;
|
2019-08-08 21:51:08 +08:00
|
|
|
|
|
|
|
.ga-tags {
|
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 {
|
|
|
|
align-items: center;
|
|
|
|
background: $color-concrete;
|
2019-09-12 20:11:27 +08:00
|
|
|
border-radius: 5px;
|
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;
|
2019-09-12 20:11:27 +08:00
|
|
|
max-width: 250px;
|
|
|
|
overflow: hidden;
|
2019-08-08 21:51:08 +08:00
|
|
|
padding: 5px 7px;
|
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-bottom: 1px;
|
|
|
|
margin-right: 5px;
|
|
|
|
max-width: 500px;
|
|
|
|
overflow: hidden;
|
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;
|
|
|
|
font-size: 13px;
|
2019-08-09 20:31:50 +08:00
|
|
|
opacity: .7;
|
2019-08-08 21:51:08 +08:00
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.clear-container {
|
|
|
|
color: $color-silver-chalice;
|
|
|
|
cursor: pointer;
|
2019-08-09 20:31:50 +08:00
|
|
|
flex-shrink: 0;
|
|
|
|
line-height: 28px;
|
|
|
|
padding-left: 15px;
|
|
|
|
user-select: none;
|
2019-08-08 21:51:08 +08:00
|
|
|
|
|
|
|
.fas {
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.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;
|
2019-03-15 22:52:30 +08:00
|
|
|
padding-top: 10px;
|
2019-04-02 15:56:50 +08:00
|
|
|
position: relative;
|
|
|
|
|
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;
|
|
|
|
|
|
|
|
.activities-group-expand-button {
|
|
|
|
user-select: none;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:visited,
|
|
|
|
&:focus {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fas {
|
|
|
|
margin-right: 3px;
|
|
|
|
}
|
|
|
|
}
|
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;
|
2019-03-15 22:52:30 +08:00
|
|
|
|
|
|
|
.fas {
|
|
|
|
display: inline-block;
|
|
|
|
width: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
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 {
|
|
|
|
background-color: $brand-primary-light;
|
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
|
|
|
}
|
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;
|
2019-09-12 20:11:27 +08:00
|
|
|
padding: 15px 20px;
|
2019-04-02 15:56:50 +08:00
|
|
|
position: relative;
|
|
|
|
|
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 {
|
|
|
|
float: left;
|
2019-04-02 15:56:50 +08:00
|
|
|
font-size: 16px;
|
2019-03-06 17:34:04 +08:00
|
|
|
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;
|
|
|
|
float: right;
|
|
|
|
line-height: 12px;
|
2019-03-26 23:47:36 +08:00
|
|
|
margin-bottom: 5px;
|
2019-03-06 17:34:04 +08:00
|
|
|
padding-top: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.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
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.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 {
|
|
|
|
background: $brand-light-blue;
|
|
|
|
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
|
|
|
|
|
|
|
input {
|
|
|
|
background-color: transparent !important;
|
|
|
|
box-shadow: none;
|
|
|
|
color: inherit;
|
|
|
|
font-size: 13px;
|
|
|
|
padding-left: 5px;
|
|
|
|
|
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
|
|
|
}
|