2019-09-04 14:08:53 +00:00
|
|
|
|
@import (reference) '../../customize/src/less2/include/framework.less';
|
|
|
|
|
@import (reference) '../../customize/src/less2/include/drive.less';
|
2019-09-17 09:05:32 +00:00
|
|
|
|
@import (reference) '../../customize/src/less2/include/messenger.less';
|
2019-09-06 16:47:18 +00:00
|
|
|
|
@import (reference) '../../customize/src/less2/include/sidebar-layout.less';
|
2019-09-23 09:16:03 +00:00
|
|
|
|
@import (reference) "../../customize/src/less2/include/tools.less";
|
2021-01-22 13:27:17 +00:00
|
|
|
|
@import (reference) "../../customize/src/less2/include/colortheme-all.less";
|
2020-10-08 13:02:05 +00:00
|
|
|
|
@import (reference) '../../customize/src/less2/include/export.less';
|
2019-09-23 09:16:03 +00:00
|
|
|
|
|
2019-09-04 14:08:53 +00:00
|
|
|
|
|
|
|
|
|
&.cp-app-team {
|
|
|
|
|
.framework_min_main(
|
2020-11-13 16:05:26 +00:00
|
|
|
|
@bg-color: @colortheme_static_apps[teams],
|
2019-09-04 14:08:53 +00:00
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
.drive_main();
|
2021-01-26 14:26:46 +00:00
|
|
|
|
.messenger_main(
|
2021-01-28 16:51:13 +00:00
|
|
|
|
@bg-color: @cp_messenger-bg
|
2021-01-26 14:26:46 +00:00
|
|
|
|
);
|
2019-09-06 16:47:18 +00:00
|
|
|
|
.sidebar-layout_main();
|
|
|
|
|
|
2021-01-28 16:17:23 +00:00
|
|
|
|
@roster-bg-color: @cp_teams-card-bg;
|
|
|
|
|
@roster-bg-color-hover: contrast(@roster-bg-color, darken(@roster-bg-color, 5%), lighten(@roster-bg-color, 5%));
|
|
|
|
|
@roster-bg-color-hover2: contrast(@roster-bg-color, darken(@roster-bg-color, 10%), lighten(@roster-bg-color, 10%));
|
2019-09-23 09:16:03 +00:00
|
|
|
|
|
2020-10-08 13:02:05 +00:00
|
|
|
|
.export_main();
|
|
|
|
|
|
2021-02-22 11:58:21 +00:00
|
|
|
|
&:not(.cp-app-team-offline) {
|
|
|
|
|
.cp-offline {
|
|
|
|
|
display: none !important;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
&.cp-app-team-offline {
|
|
|
|
|
.cp-online {
|
|
|
|
|
display: none !important;
|
|
|
|
|
}
|
|
|
|
|
.cp-online-alt {
|
|
|
|
|
cursor: not-allowed;
|
|
|
|
|
opacity: 0.5;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2019-09-11 14:23:58 +00:00
|
|
|
|
#cp-sidebarlayout-container {
|
2019-09-24 16:18:49 +00:00
|
|
|
|
@media screen and (max-width: 900px) {
|
|
|
|
|
.cp-app-drive-toolbar-leftside {
|
|
|
|
|
.cp-dropdown-button-title span:last-child {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
.cp-toolbar-share-button span:last-child {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2019-10-04 15:31:12 +00:00
|
|
|
|
div#cp-sidebarlayout-leftside {
|
2021-01-28 16:17:23 +00:00
|
|
|
|
background-color: @cp_teams-leftside-bg;
|
2019-10-04 15:31:12 +00:00
|
|
|
|
}
|
2019-09-11 14:23:58 +00:00
|
|
|
|
div#cp-sidebarlayout-rightside.cp-rightside-drive {
|
|
|
|
|
padding: 0;
|
2019-09-17 09:05:32 +00:00
|
|
|
|
& > .cp-team-chat {
|
|
|
|
|
display: flex;
|
|
|
|
|
height: 100%;
|
|
|
|
|
margin: 0;
|
|
|
|
|
.cp-app-contacts-container {
|
|
|
|
|
height: 100%;
|
|
|
|
|
}
|
2020-02-10 14:20:14 +00:00
|
|
|
|
.cp-app-contacts-input {
|
|
|
|
|
textarea {
|
|
|
|
|
border: 0px;
|
|
|
|
|
}
|
|
|
|
|
}
|
2019-09-17 09:05:32 +00:00
|
|
|
|
}
|
2019-09-11 14:23:58 +00:00
|
|
|
|
& > .cp-team-drive {
|
|
|
|
|
display: flex;
|
|
|
|
|
height: 100%;
|
|
|
|
|
margin: 0;
|
|
|
|
|
.cp-app-drive-container {
|
|
|
|
|
height: 100%;
|
|
|
|
|
}
|
2019-09-06 16:47:18 +00:00
|
|
|
|
}
|
2019-10-03 16:09:20 +00:00
|
|
|
|
.cp-limit-buttons {
|
2019-10-01 16:00:01 +00:00
|
|
|
|
display: none;
|
|
|
|
|
}
|
2019-09-06 16:47:18 +00:00
|
|
|
|
}
|
2019-09-30 15:51:44 +00:00
|
|
|
|
|
2019-10-01 12:10:44 +00:00
|
|
|
|
.cp-leftside-narrow {
|
|
|
|
|
.cp-avatar {
|
|
|
|
|
overflow: visible;
|
|
|
|
|
}
|
|
|
|
|
}
|
2019-09-30 15:51:44 +00:00
|
|
|
|
.cp-team-cat-header {
|
2019-10-01 12:10:44 +00:00
|
|
|
|
justify-content: center;
|
2019-09-30 15:51:44 +00:00
|
|
|
|
.avatar_main(30px);
|
|
|
|
|
.cp-avatar {
|
|
|
|
|
justify-content: center;
|
|
|
|
|
font-size: 20px;
|
|
|
|
|
}
|
2019-10-08 13:10:10 +00:00
|
|
|
|
media-tag, .cp-avatar-default {
|
|
|
|
|
margin-right: 3px;
|
|
|
|
|
}
|
2019-09-30 15:51:44 +00:00
|
|
|
|
media-tag {
|
|
|
|
|
order: -1;
|
|
|
|
|
}
|
|
|
|
|
cursor: default !important;
|
|
|
|
|
font-size: 18px;
|
|
|
|
|
&:hover {
|
|
|
|
|
background-color: transparent !important;
|
|
|
|
|
}
|
2019-10-08 13:02:30 +00:00
|
|
|
|
span.cp-sidebarlayout-category-name {
|
|
|
|
|
padding-left: 5px;
|
|
|
|
|
}
|
2019-09-30 15:51:44 +00:00
|
|
|
|
}
|
2019-10-04 15:31:12 +00:00
|
|
|
|
.cp-team-cat-chat {
|
|
|
|
|
span.cp-team-chat-notification {
|
|
|
|
|
color: red;
|
|
|
|
|
}
|
|
|
|
|
}
|
2019-09-18 16:00:44 +00:00
|
|
|
|
|
2019-09-24 14:55:05 +00:00
|
|
|
|
.cp-team-list {
|
|
|
|
|
.cp-team-list-container {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: space-evenly;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
}
|
|
|
|
|
.cp-team-list-team {
|
|
|
|
|
.tools_unselectable();
|
|
|
|
|
background-color: @roster-bg-color;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
2021-01-28 16:17:23 +00:00
|
|
|
|
justify-content: space-between;
|
2019-09-24 14:55:05 +00:00
|
|
|
|
flex-flow: column;
|
|
|
|
|
width: 300px;
|
|
|
|
|
max-width: 90%;
|
2021-01-28 16:17:23 +00:00
|
|
|
|
height: 384px;
|
|
|
|
|
padding: 50px;
|
2019-09-24 14:55:05 +00:00
|
|
|
|
margin: 5px;
|
2021-01-28 16:17:23 +00:00
|
|
|
|
&.create, &:not(.empty) {
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
&:hover {
|
|
|
|
|
background-color: @roster-bg-color-hover;
|
|
|
|
|
}
|
|
|
|
|
}
|
2019-09-24 14:55:05 +00:00
|
|
|
|
.cp-team-list-avatar {
|
|
|
|
|
.avatar_main(200px);
|
|
|
|
|
}
|
|
|
|
|
.cp-team-list-name {
|
|
|
|
|
min-width: 0;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
max-width: 500px;
|
|
|
|
|
font-size: 25px;
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
align-items: center;
|
2019-09-25 16:21:45 +00:00
|
|
|
|
&.empty {
|
|
|
|
|
white-space: initial;
|
|
|
|
|
text-align: center;
|
|
|
|
|
}
|
2019-09-24 14:55:05 +00:00
|
|
|
|
}
|
2021-01-28 16:17:23 +00:00
|
|
|
|
&.empty {
|
|
|
|
|
justify-content: unset;
|
|
|
|
|
.cp-team-list-name {
|
|
|
|
|
flex: unset;
|
|
|
|
|
font-size: 20px;
|
|
|
|
|
height: 150px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.cp-team-list-team-create {
|
|
|
|
|
font-size: 25px;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
flex-flow: column;
|
|
|
|
|
i {
|
|
|
|
|
font-size: 40px;
|
|
|
|
|
}
|
|
|
|
|
}
|
2019-09-24 14:55:05 +00:00
|
|
|
|
.cp-team-list-open {
|
|
|
|
|
width: 100%;
|
|
|
|
|
}
|
|
|
|
|
}
|
2019-09-18 16:00:44 +00:00
|
|
|
|
}
|
|
|
|
|
.cp-team-avatar {
|
|
|
|
|
.avatar_main(300px);
|
2019-10-08 13:02:30 +00:00
|
|
|
|
.cp-avatar img {
|
|
|
|
|
max-width: 100%;
|
|
|
|
|
max-height: 100%;
|
|
|
|
|
}
|
2019-09-18 16:00:44 +00:00
|
|
|
|
}
|
2019-09-23 09:16:03 +00:00
|
|
|
|
.cp-team-roster {
|
|
|
|
|
.avatar_main(50px);
|
2019-12-18 17:47:08 +00:00
|
|
|
|
.cp-hidden {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
2019-10-28 16:05:11 +00:00
|
|
|
|
.cp-app-team-roster-header {
|
2019-12-19 10:43:28 +00:00
|
|
|
|
margin-bottom: 20px;
|
2019-10-28 16:05:11 +00:00
|
|
|
|
button:not(:last-child) {
|
|
|
|
|
margin-right: 5px;
|
|
|
|
|
}
|
|
|
|
|
}
|
2019-09-23 09:16:03 +00:00
|
|
|
|
.cp-team-roster-member {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
margin: 5px;
|
|
|
|
|
padding: 2px;
|
|
|
|
|
max-width: 500px;
|
|
|
|
|
background-color: @roster-bg-color;
|
|
|
|
|
&:hover {
|
2021-01-28 16:17:23 +00:00
|
|
|
|
background-color: @roster-bg-color-hover;
|
2019-09-23 09:16:03 +00:00
|
|
|
|
}
|
|
|
|
|
.cp-avatar {
|
|
|
|
|
margin-right: 10px;
|
|
|
|
|
}
|
2019-09-25 16:21:45 +00:00
|
|
|
|
.cp-team-member-status {
|
|
|
|
|
margin-left: 5px;
|
|
|
|
|
width: 5px;
|
|
|
|
|
height: 50px;
|
|
|
|
|
display: inline-block;
|
|
|
|
|
background-color: red;
|
|
|
|
|
&.online {
|
|
|
|
|
background-color: green;
|
|
|
|
|
}
|
|
|
|
|
}
|
2019-09-23 09:16:03 +00:00
|
|
|
|
.cp-team-member-name {
|
|
|
|
|
flex: 1;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
.tools_unselectable();
|
|
|
|
|
}
|
|
|
|
|
.cp-team-member-actions {
|
|
|
|
|
.fa {
|
|
|
|
|
height: 25px;
|
|
|
|
|
width: 25px;
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
align-items: center;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
&:hover {
|
2021-01-28 16:17:23 +00:00
|
|
|
|
background-color: @roster-bg-color-hover2;
|
2019-09-23 09:16:03 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2019-12-18 10:35:21 +00:00
|
|
|
|
.cp-team-link {
|
|
|
|
|
max-width: 550px;
|
|
|
|
|
.cp-teams-invite-from {
|
|
|
|
|
display: flex;
|
|
|
|
|
margin-bottom: 20px;
|
|
|
|
|
.cp-teams-invite-from-author {
|
|
|
|
|
display: flex;
|
|
|
|
|
margin-left: 10px;
|
|
|
|
|
.cp-teams-invite-from-avatar {
|
|
|
|
|
.avatar_main(25px);
|
2019-12-18 12:57:43 +00:00
|
|
|
|
margin: 0px 5px;
|
2019-12-18 10:35:21 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.cp-teams-invite-message {
|
2021-01-28 16:17:23 +00:00
|
|
|
|
background-color: @cp_teams-invite-bg;
|
|
|
|
|
color: @cp_teams-invite-fg;
|
2019-12-18 10:35:21 +00:00
|
|
|
|
resize: none;
|
|
|
|
|
width: 100%;
|
|
|
|
|
padding: 12px;
|
|
|
|
|
margin-bottom: 20px;
|
2020-06-05 17:25:22 +00:00
|
|
|
|
white-space: pre;
|
2019-12-18 10:35:21 +00:00
|
|
|
|
}
|
|
|
|
|
.cp-teams-invite-password {
|
|
|
|
|
margin-bottom: 20px;
|
|
|
|
|
}
|
|
|
|
|
i.fa.fa-spin.fa-spinner {
|
|
|
|
|
margin-right: 10px;
|
|
|
|
|
}
|
|
|
|
|
}
|
2021-03-01 15:08:16 +00:00
|
|
|
|
div#cp-sidebarlayout-rightside .cp-team-offline {
|
|
|
|
|
// Compensate #cp-sidebarlayout-rightside padding
|
|
|
|
|
margin-top: -5px;
|
|
|
|
|
margin-right: -20px;
|
|
|
|
|
margin-left: -20px;
|
|
|
|
|
}
|
|
|
|
|
div#cp-sidebarlayout-rightside.cp-rightside-drive .cp-team-offline {
|
|
|
|
|
margin: 0;
|
|
|
|
|
}
|
2019-09-06 16:47:18 +00:00
|
|
|
|
}
|
2019-10-28 16:05:11 +00:00
|
|
|
|
|
|
|
|
|
#cp-teams-roster-dialog {
|
|
|
|
|
table {
|
|
|
|
|
width: 100%;
|
|
|
|
|
table-layout: fixed;
|
|
|
|
|
&.cp-teams-generic {
|
|
|
|
|
margin-bottom: 30px;
|
2019-11-12 11:05:59 +00:00
|
|
|
|
margin-top: 30px;
|
|
|
|
|
}
|
|
|
|
|
tr:nth-child(even) {
|
2021-01-28 16:17:23 +00:00
|
|
|
|
background-color: @cp_teams-roster-odd;
|
2019-10-28 16:05:11 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
p {
|
|
|
|
|
text-align: left;
|
|
|
|
|
}
|
2019-11-08 16:35:15 +00:00
|
|
|
|
h5 {
|
|
|
|
|
text-align: left;
|
|
|
|
|
}
|
2019-10-28 16:05:11 +00:00
|
|
|
|
ul {
|
|
|
|
|
text-align: left;
|
|
|
|
|
padding-left: 30px;
|
|
|
|
|
}
|
|
|
|
|
li {
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
}
|
|
|
|
|
}
|
2019-09-04 14:08:53 +00:00
|
|
|
|
}
|
|
|
|
|
|