2019-03-27 16:52:08 +00:00
|
|
|
|
@import (reference) '../../customize/src/less2/include/framework.less';
|
|
|
|
|
@import (reference) '../../customize/src/less2/include/sidebar-layout.less';
|
2019-06-27 15:08:12 +00:00
|
|
|
|
@import (reference) '../../customize/src/less2/include/support.less';
|
2019-03-27 16:52:08 +00:00
|
|
|
|
|
|
|
|
|
&.cp-app-admin {
|
|
|
|
|
|
2020-11-13 16:05:26 +00:00
|
|
|
|
.framework_min_main();
|
2019-03-27 16:52:08 +00:00
|
|
|
|
.sidebar-layout_main();
|
2019-06-27 15:08:12 +00:00
|
|
|
|
.support_main();
|
|
|
|
|
|
|
|
|
|
.cp-hidden {
|
|
|
|
|
display: none !important;
|
|
|
|
|
}
|
2019-03-27 16:52:08 +00:00
|
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-flow: column;
|
2021-04-02 11:44:15 +00:00
|
|
|
|
a {
|
|
|
|
|
color: @cryptpad_color_link;
|
|
|
|
|
text-decoration: underline;
|
|
|
|
|
}
|
2019-10-15 16:03:31 +00:00
|
|
|
|
|
2021-03-09 17:27:12 +00:00
|
|
|
|
.cp-admin-setlimit-form, .cp-admin-broadcast-form {
|
2020-10-07 14:32:06 +00:00
|
|
|
|
label {
|
|
|
|
|
font-weight: normal !important;
|
|
|
|
|
}
|
|
|
|
|
input {
|
|
|
|
|
max-width: 400px;
|
|
|
|
|
}
|
|
|
|
|
nav {
|
|
|
|
|
display: flex;
|
|
|
|
|
margin-top: 5px;
|
|
|
|
|
}
|
|
|
|
|
}
|
2020-12-14 11:02:48 +00:00
|
|
|
|
.cp-admin-setlimit-form + button {
|
|
|
|
|
margin-top: 5px !important;
|
|
|
|
|
}
|
2020-10-07 14:32:06 +00:00
|
|
|
|
.cp-admin-getlimits {
|
|
|
|
|
code {
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
}
|
2020-10-13 11:02:50 +00:00
|
|
|
|
table {
|
|
|
|
|
td:not(:last-child) {
|
|
|
|
|
padding-right: 20px;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
}
|
|
|
|
|
td:last-child {
|
|
|
|
|
min-width: 0;
|
2020-10-07 14:32:06 +00:00
|
|
|
|
white-space: nowrap;
|
2020-10-13 11:02:50 +00:00
|
|
|
|
overflow: hidden;
|
2020-10-07 14:32:06 +00:00
|
|
|
|
text-overflow: ellipsis;
|
2020-10-13 11:02:50 +00:00
|
|
|
|
max-width: 500px;
|
|
|
|
|
}
|
|
|
|
|
@media screen and (max-width: 1200px) {
|
|
|
|
|
td.note {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
@media screen and (max-width: 1400px) {
|
|
|
|
|
td.plan {
|
|
|
|
|
display: none;
|
2020-10-07 14:32:06 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-15 16:03:31 +00:00
|
|
|
|
.cp-support-container {
|
|
|
|
|
display: flex;
|
2020-12-15 12:09:02 +00:00
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
.cp-support-column {
|
|
|
|
|
min-width: 700px;
|
|
|
|
|
flex: 1 0 50%;
|
2020-12-16 10:29:12 +00:00
|
|
|
|
h1 {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
button {
|
|
|
|
|
margin-left: 50px !important;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.cp-support-count {
|
|
|
|
|
margin-left: 10px;
|
|
|
|
|
}
|
|
|
|
|
&.cp-support-column-collapsed {
|
|
|
|
|
.cp-support-list-ticket {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
}
|
2020-12-15 12:09:02 +00:00
|
|
|
|
}
|
2019-10-15 16:03:31 +00:00
|
|
|
|
}
|
2020-01-24 16:52:44 +00:00
|
|
|
|
|
|
|
|
|
.cp-support-list-actions {
|
|
|
|
|
margin: 10px 0px 10px 2px;
|
|
|
|
|
}
|
2020-02-10 10:58:17 +00:00
|
|
|
|
|
2020-12-15 13:01:54 +00:00
|
|
|
|
.cp-support-list-ticket {
|
|
|
|
|
h2 {
|
|
|
|
|
font-size: 1.5rem;
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
2020-12-15 16:10:54 +00:00
|
|
|
|
align-items: top;
|
2020-12-15 13:07:07 +00:00
|
|
|
|
.cp-support-title-buttons {
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
}
|
2020-12-15 13:01:54 +00:00
|
|
|
|
}
|
|
|
|
|
.cp-support-collapsed {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
flex-wrap: wrap;
|
2021-02-09 15:48:04 +00:00
|
|
|
|
color: fade(@cryptpad_text_col, 80%);
|
2020-12-16 11:17:20 +00:00
|
|
|
|
.cp-support-ispremium {
|
|
|
|
|
padding: 0 5px;
|
2021-01-27 12:44:32 +00:00
|
|
|
|
background-color: @cp_admin-premium-bg;
|
2020-12-16 11:17:20 +00:00
|
|
|
|
}
|
2020-12-15 13:01:54 +00:00
|
|
|
|
}
|
2021-03-03 17:24:54 +00:00
|
|
|
|
&.cp-support-list-closed {
|
|
|
|
|
.cp-support-list-actions {
|
|
|
|
|
.cp-support-answer {
|
|
|
|
|
display: inline !important;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.cp-support-form-container {
|
|
|
|
|
display: block !important;
|
|
|
|
|
}
|
|
|
|
|
}
|
2020-12-15 13:01:54 +00:00
|
|
|
|
}
|
|
|
|
|
|
2020-02-10 10:58:17 +00:00
|
|
|
|
.cp-support-list-ticket:not(.cp-support-list-closed) {
|
2020-12-21 15:02:53 +00:00
|
|
|
|
.cp-support-list-actions {
|
|
|
|
|
.cp-button-confirm, .cp-support-close {
|
|
|
|
|
order: 20;
|
|
|
|
|
margin-left: auto !important;
|
|
|
|
|
}
|
|
|
|
|
}
|
2020-02-10 10:58:17 +00:00
|
|
|
|
.cp-support-list-message {
|
2021-02-15 10:52:38 +00:00
|
|
|
|
.cp-support-showdata {
|
|
|
|
|
background-color: lighten(@cp_admin-last-bg, 5%);
|
|
|
|
|
}
|
2021-02-26 06:33:01 +00:00
|
|
|
|
.cp-support-attachments {
|
|
|
|
|
a {
|
|
|
|
|
color: @cryptpad_color_link;
|
|
|
|
|
text-decoration: underline;
|
|
|
|
|
}
|
|
|
|
|
}
|
2020-02-10 10:58:17 +00:00
|
|
|
|
&:last-child:not(.cp-support-fromadmin) {
|
2021-01-27 12:44:32 +00:00
|
|
|
|
color: @cp_admin-last-fg;
|
|
|
|
|
background-color: @cp_admin-last-bg;
|
2020-04-30 14:46:21 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
|
&.cp-support-frompremium {
|
2021-01-27 12:44:32 +00:00
|
|
|
|
background-color: @cp_admin-premium-bg;
|
2020-04-30 14:46:21 +00:00
|
|
|
|
.cp-support-showdata {
|
2021-02-15 10:52:38 +00:00
|
|
|
|
background-color: fade(@cp_admin-premium-bg, 10%);
|
2020-04-30 14:46:21 +00:00
|
|
|
|
}
|
2020-02-10 10:58:17 +00:00
|
|
|
|
}
|
2020-01-24 16:52:44 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2020-12-15 12:09:02 +00:00
|
|
|
|
.cp-support-list-ticket:not(.cp-support-open) {
|
2020-12-15 16:10:54 +00:00
|
|
|
|
span:first-child {
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
}
|
2020-12-15 13:01:54 +00:00
|
|
|
|
& > :not(h2):not(.cp-support-collapsed) {
|
2020-12-15 12:09:02 +00:00
|
|
|
|
display: none;
|
|
|
|
|
}
|
2020-12-15 13:01:54 +00:00
|
|
|
|
.cp-support-collapse {
|
2020-12-15 12:09:02 +00:00
|
|
|
|
display: none;
|
|
|
|
|
}
|
2020-12-15 13:15:25 +00:00
|
|
|
|
cursor: pointer;
|
2020-12-15 12:09:02 +00:00
|
|
|
|
}
|
|
|
|
|
.cp-support-list-ticket.cp-support-open {
|
2020-12-15 13:01:54 +00:00
|
|
|
|
.cp-support-collapsed {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
.cp-support-expand {
|
2020-12-15 12:09:02 +00:00
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
}
|
2020-01-24 16:52:44 +00:00
|
|
|
|
|
2020-01-24 15:30:23 +00:00
|
|
|
|
.cp-support-fromadmin {
|
2021-02-15 10:52:38 +00:00
|
|
|
|
background-color: @cp_admin-isadmin-bg !important;
|
|
|
|
|
.cp-support-message-from, .cp-support-showdata {
|
|
|
|
|
color: @cryptpad_text_col;
|
|
|
|
|
background-color: fade(@cp_admin-isadmin-bg, 10%) !important;
|
2020-01-24 16:52:44 +00:00
|
|
|
|
}
|
2020-01-24 15:30:23 +00:00
|
|
|
|
}
|
2020-11-18 15:49:40 +00:00
|
|
|
|
|
2021-01-29 06:21:40 +00:00
|
|
|
|
table#cp-performance-table {
|
|
|
|
|
td, th {
|
|
|
|
|
padding: 5px;
|
2021-02-08 10:43:30 +00:00
|
|
|
|
color: @cryptpad_text_col;
|
|
|
|
|
border: 1px solid @cryptpad_text_col;
|
2021-01-29 06:21:40 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2020-11-18 15:49:40 +00:00
|
|
|
|
input.cp-admin-inval {
|
|
|
|
|
border-color: red !important;
|
|
|
|
|
}
|
|
|
|
|
.cp-admin-nopassword {
|
|
|
|
|
.cp-admin-pw {
|
|
|
|
|
display: none !important;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2021-03-09 17:27:12 +00:00
|
|
|
|
.cp-admin-broadcast-form {
|
2021-03-17 14:50:41 +00:00
|
|
|
|
input.flatpickr-input {
|
|
|
|
|
width: 307.875px !important; // same width as flatpickr calendar
|
|
|
|
|
}
|
2021-03-30 15:41:12 +00:00
|
|
|
|
.cp-broadcast-active {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-flow: column;
|
|
|
|
|
align-items: start;
|
|
|
|
|
padding: 10px;
|
|
|
|
|
background-color: @cp_sidebar-left-bg;
|
|
|
|
|
color: @cp_sidebar-left-fg;
|
|
|
|
|
p {
|
|
|
|
|
margin: 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
2021-03-15 14:43:30 +00:00
|
|
|
|
.cp-broadcast-form-submit {
|
|
|
|
|
margin-top: 30px;
|
|
|
|
|
button {
|
|
|
|
|
margin-bottom: 10px !important;
|
|
|
|
|
}
|
2021-03-09 17:27:12 +00:00
|
|
|
|
}
|
|
|
|
|
.cp-broadcast-container {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-flow: column;
|
|
|
|
|
}
|
|
|
|
|
.cp-broadcast-lang {
|
|
|
|
|
margin: 30px;
|
|
|
|
|
margin-bottom: 0;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-flow: column;
|
|
|
|
|
align-items: baseline;
|
|
|
|
|
.cp-checkmark {
|
|
|
|
|
margin: 5px 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
div.cp-broadcast-languages {
|
|
|
|
|
& > label.cp-checkmark:not(:last-child) {
|
|
|
|
|
margin-right: 20px;
|
|
|
|
|
}
|
|
|
|
|
}
|
2021-03-10 12:02:36 +00:00
|
|
|
|
.cp-broadcast-preview {
|
|
|
|
|
vertical-align: bottom !important;
|
|
|
|
|
}
|
2021-03-11 11:27:12 +00:00
|
|
|
|
.cp-broadcast-delete {
|
|
|
|
|
width: 100%;
|
|
|
|
|
min-width: 600px;
|
2021-03-15 14:10:06 +00:00
|
|
|
|
tbody {
|
|
|
|
|
tr {
|
|
|
|
|
background-color: @cp_support-msg-bg;
|
|
|
|
|
padding: 5px;
|
|
|
|
|
td {
|
|
|
|
|
padding: 5px;
|
|
|
|
|
button {
|
|
|
|
|
margin: 0 !important;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2021-03-11 11:27:12 +00:00
|
|
|
|
.cp-notification {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
.cp-avatar, .cp-broadcast, .cp-notification-dismiss {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
p {
|
|
|
|
|
margin: 0 !important;
|
|
|
|
|
}
|
|
|
|
|
.cp-notification-content {
|
|
|
|
|
width: 100%;
|
|
|
|
|
padding: 10px;
|
|
|
|
|
}
|
|
|
|
|
.cp-clickable {
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
&:hover {
|
|
|
|
|
background-color: @cp_dropdown-bg-hover;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2021-03-09 17:27:12 +00:00
|
|
|
|
}
|
2019-03-27 16:52:08 +00:00
|
|
|
|
}
|
|
|
|
|
|