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-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;
|
|
|
|
|
|
|
|
&.task_activities {
|
|
|
|
height: calc(100vh - 126px);
|
|
|
|
}
|
|
|
|
|
|
|
|
> .row {
|
|
|
|
height: 100%;
|
|
|
|
position: relative;
|
|
|
|
}
|
2019-03-06 17:34:04 +08:00
|
|
|
|
|
|
|
.ga-main {
|
2019-03-15 22:52:30 +08:00
|
|
|
border-right: 1px solid $gray-lighter;
|
2019-03-26 22:29:21 +08:00
|
|
|
float: right;
|
2019-04-02 15:56:50 +08:00
|
|
|
height: calc(100% - 160px);
|
|
|
|
overflow: hidden;
|
2019-03-15 22:52:30 +08:00
|
|
|
padding-top: 10px;
|
2019-04-02 15:56:50 +08:00
|
|
|
position: relative;
|
|
|
|
|
|
|
|
&.task_activities {
|
|
|
|
height: calc(100% - 70px);
|
|
|
|
}
|
2019-03-06 17:34:04 +08:00
|
|
|
|
|
|
|
.ga-activities-list {
|
|
|
|
grid-area: activities;
|
2019-03-15 22:52:30 +08:00
|
|
|
|
|
|
|
.activities-day {
|
2019-03-15 23:02:38 +08:00
|
|
|
margin-bottom: 10px;
|
2019-03-25 18:06:00 +08:00
|
|
|
|
|
|
|
.date-container {
|
|
|
|
max-width: 105px;
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
2019-04-02 15:56:50 +08:00
|
|
|
|
|
|
|
.date-activities {
|
2019-03-25 18:06:00 +08:00
|
|
|
min-width: calc(100% - 105px);
|
|
|
|
}
|
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 {
|
|
|
|
margin-left: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.activities-group {
|
|
|
|
list-style: none;
|
2019-04-02 15:56:50 +08:00
|
|
|
margin-bottom: 0;
|
2019-03-08 20:09:27 +08:00
|
|
|
padding-left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.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 {
|
|
|
|
border-radius: 5px;
|
|
|
|
margin-right: 10px;
|
|
|
|
padding: 5px;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: $brand-primary-light;
|
|
|
|
}
|
|
|
|
|
|
|
|
.activity-timestamp {
|
|
|
|
color: $color-silver-chalice;
|
|
|
|
}
|
|
|
|
|
|
|
|
.navigational-breadcrumbs {
|
|
|
|
color: $color-silver-chalice;
|
2019-03-25 16:39:17 +08:00
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
|
|
|
.ga-breadcrumb {
|
|
|
|
margin-left: 15px;
|
|
|
|
}
|
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 {
|
|
|
|
float: right;
|
2019-04-02 15:56:50 +08:00
|
|
|
height: calc(100% - 160px);
|
|
|
|
overflow: hidden;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
&.task_activities {
|
|
|
|
height: calc(100% - 70px);
|
|
|
|
}
|
2019-03-06 17:34:04 +08:00
|
|
|
|
|
|
|
.filter-block {
|
|
|
|
padding: 10px 0;
|
|
|
|
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-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 {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.date-selector {
|
|
|
|
display: inline-block;
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-03-29 15:42:15 +08:00
|
|
|
.title {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
2019-03-06 17:34:04 +08:00
|
|
|
.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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.ga-top {
|
|
|
|
border-bottom: 1px solid $gray-lighter;
|
2019-04-02 15:56:50 +08:00
|
|
|
height: 160px;
|
|
|
|
|
|
|
|
&.task_activities {
|
|
|
|
height: 70px;
|
|
|
|
}
|
2019-03-06 17:34:04 +08:00
|
|
|
|
|
|
|
.ga-title {
|
|
|
|
border-bottom: 1px solid $color-gainsboro;
|
2019-04-02 15:56:50 +08:00
|
|
|
height: 35px;
|
|
|
|
left: -15px;
|
|
|
|
margin-bottom: 5px;
|
2019-03-06 17:34:04 +08:00
|
|
|
padding-bottom: 10px;
|
|
|
|
padding-left: 20px;
|
|
|
|
position: relative;
|
2019-04-02 15:56:50 +08:00
|
|
|
width: calc(100% + 30px);
|
2019-03-06 17:34:04 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.ga-top-actions {
|
|
|
|
float: left;
|
2019-04-02 15:56:50 +08:00
|
|
|
line-height: 20px;
|
|
|
|
margin: 5px 0;
|
2019-03-06 17:34:04 +08:00
|
|
|
position: relative;
|
|
|
|
width: 200px;
|
|
|
|
|
2019-03-08 20:09:27 +08:00
|
|
|
a {
|
|
|
|
color: $color-emperor;
|
|
|
|
margin: 0 5px;
|
|
|
|
}
|
|
|
|
|
2019-03-06 17:34:04 +08:00
|
|
|
span {
|
|
|
|
display: inline-block;
|
|
|
|
text-align: center;
|
|
|
|
width: 95px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.ga-search-container {
|
|
|
|
float: left;
|
|
|
|
margin: 5px;
|
|
|
|
max-width: 700px;
|
|
|
|
position: relative;
|
|
|
|
width: calc(100% - 220px);
|
|
|
|
}
|
|
|
|
|
|
|
|
.ga-tags-container {
|
|
|
|
display: inline-block;
|
2019-04-02 15:56:50 +08:00
|
|
|
margin-top: 5px;
|
2019-03-06 17:34:04 +08:00
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
.clear-container {
|
|
|
|
float: right;
|
|
|
|
position: relative;
|
|
|
|
text-align: right;
|
|
|
|
width: 100px;
|
|
|
|
|
|
|
|
span {
|
|
|
|
cursor: pointer;
|
|
|
|
display: inline-block;
|
|
|
|
line-height: 18px;
|
|
|
|
margin-top: 5px;
|
|
|
|
|
|
|
|
i {
|
|
|
|
float: left;
|
|
|
|
font-size: 18px;
|
|
|
|
margin-right: 10px;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.ga-tags {
|
|
|
|
float: left;
|
2019-04-02 15:56:50 +08:00
|
|
|
height: 64px;
|
2019-03-06 17:34:04 +08:00
|
|
|
margin: 0;
|
2019-04-02 15:56:50 +08:00
|
|
|
overflow: hidden;
|
2019-03-06 17:34:04 +08:00
|
|
|
padding-left: 0;
|
2019-04-02 15:56:50 +08:00
|
|
|
position: relative;
|
2019-03-06 17:34:04 +08:00
|
|
|
width: calc(100% - 100px);
|
|
|
|
|
|
|
|
li {
|
|
|
|
background: $color-concrete;
|
|
|
|
border: 1px solid $color-alto;
|
|
|
|
border-radius: 4px;
|
|
|
|
cursor: default;
|
|
|
|
float: left;
|
|
|
|
list-style: none;
|
|
|
|
margin-right: 5px;
|
|
|
|
margin-top: 5px;
|
|
|
|
padding: 0 5px;
|
|
|
|
|
|
|
|
.select2-selection__choice__remove {
|
|
|
|
color: $color-dove-gray;
|
|
|
|
cursor: pointer;
|
|
|
|
display: inline-block;
|
|
|
|
float: right;
|
|
|
|
font-weight: bold;
|
|
|
|
margin: 0;
|
|
|
|
margin-left: 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 1199px) {
|
2019-04-02 15:56:50 +08:00
|
|
|
.global-activities-container {
|
|
|
|
height: auto;
|
|
|
|
|
|
|
|
> .row {
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.ga-main {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ga-top {
|
|
|
|
|
|
|
|
.ga-tags {
|
|
|
|
height: auto;
|
|
|
|
min-height: 60px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-03-06 17:34:04 +08:00
|
|
|
.ga-side {
|
2019-03-25 16:39:17 +08:00
|
|
|
border-bottom: 1px solid $gray-lighter;
|
2019-04-02 15:56:50 +08:00
|
|
|
height: auto;
|
2019-03-06 17:34:04 +08:00
|
|
|
|
|
|
|
.filter-block {
|
|
|
|
|
|
|
|
&.small-left {
|
|
|
|
float: left;
|
|
|
|
width: calc(60% - 10px);
|
|
|
|
|
|
|
|
.title {
|
|
|
|
width: 120px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.select-container {
|
|
|
|
float: left;
|
|
|
|
width: calc(100% - 200px);
|
|
|
|
|
|
|
|
.select2 {
|
|
|
|
margin: 4px 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.clear {
|
|
|
|
line-height: 20px;
|
|
|
|
padding: 0;
|
|
|
|
width: 70px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.small-right {
|
|
|
|
float: right;
|
|
|
|
width: 40%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// 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
|
|
|
}
|