You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cryptpad/www/admin/app-admin.less

188 lines
4.7 KiB
Plaintext

6 years ago
@import (reference) '../../customize/src/less2/include/framework.less';
@import (reference) '../../customize/src/less2/include/sidebar-layout.less';
@import (reference) '../../customize/src/less2/include/support.less';
6 years ago
&.cp-app-admin {
.framework_min_main();
6 years ago
.sidebar-layout_main();
.support_main();
.cp-hidden {
display: none !important;
}
6 years ago
display: flex;
flex-flow: column;
.cp-admin-setlimit-form {
label {
font-weight: normal !important;
}
input {
max-width: 400px;
}
nav {
display: flex;
margin-top: 5px;
}
}
.cp-admin-setlimit-form + button {
margin-top: 5px !important;
}
.cp-admin-getlimits {
code {
cursor: pointer;
}
table {
td:not(:last-child) {
padding-right: 20px;
white-space: nowrap;
}
td:last-child {
min-width: 0;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 500px;
}
@media screen and (max-width: 1200px) {
td.note {
display: none;
}
}
@media screen and (max-width: 1400px) {
td.plan {
display: none;
}
}
}
}
.cp-support-container {
display: flex;
4 years ago
flex-wrap: wrap;
.cp-support-column {
min-width: 700px;
flex: 1 0 50%;
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;
}
}
4 years ago
}
}
.cp-support-list-actions {
margin: 10px 0px 10px 2px;
}
.cp-support-list-ticket {
h2 {
font-size: 1.5rem;
display: flex;
justify-content: space-between;
align-items: top;
.cp-support-title-buttons {
flex-shrink: 0;
}
}
.cp-support-collapsed {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
color: fade(@cryptpad_text_col, 80%);
.cp-support-ispremium {
padding: 0 5px;
background-color: @cp_admin-premium-bg;
}
}
}
.cp-support-list-ticket:not(.cp-support-list-closed) {
.cp-support-list-actions {
.cp-button-confirm, .cp-support-close {
order: 20;
margin-left: auto !important;
}
}
.cp-support-list-message {
.cp-support-showdata {
background-color: lighten(@cp_admin-last-bg, 5%);
}
&:last-child:not(.cp-support-fromadmin) {
color: @cp_admin-last-fg;
background-color: @cp_admin-last-bg;
}
&:last-child {
&.cp-support-frompremium {
background-color: @cp_admin-premium-bg;
.cp-support-showdata {
background-color: fade(@cp_admin-premium-bg, 10%);
}
}
}
}
}
4 years ago
.cp-support-list-ticket:not(.cp-support-open) {
span:first-child {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
& > :not(h2):not(.cp-support-collapsed) {
4 years ago
display: none;
}
.cp-support-collapse {
4 years ago
display: none;
}
cursor: pointer;
4 years ago
}
.cp-support-list-ticket.cp-support-open {
.cp-support-collapsed {
display: none;
}
.cp-support-expand {
4 years ago
display: none;
}
}
.cp-support-fromadmin {
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;
}
}
table#cp-performance-table {
td, th {
padding: 5px;
color: @cryptpad_text_col;
border: 1px solid @cryptpad_text_col;
}
}
input.cp-admin-inval {
border-color: red !important;
}
.cp-admin-nopassword {
.cp-admin-pw {
display: none !important;
}
}
6 years ago
}