2023-10-20 22:35:26 +08:00
|
|
|
/*
|
|
|
|
* SPDX-FileCopyrightText: 2023 XWiki CryptPad Team <contact@cryptpad.org> and contributors
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
*/
|
|
|
|
|
2021-05-03 17:16:26 +08:00
|
|
|
@import (reference) "../../customize/src/less2/include/colortheme-all.less";
|
|
|
|
@import (reference) "../../customize/src/less2/include/font.less";
|
|
|
|
@import (reference) "../../customize/src/less2/include/alertify.less";
|
2021-02-24 16:23:59 +08:00
|
|
|
|
2022-05-20 23:28:18 +08:00
|
|
|
@corner: 5px;
|
|
|
|
|
2021-02-24 16:23:59 +08:00
|
|
|
html, body {
|
|
|
|
.font_main();
|
|
|
|
.alertify_main();
|
|
|
|
height: 100%;
|
|
|
|
margin: 0px;
|
|
|
|
padding: 0px;
|
|
|
|
background-color: @cp_static-bg !important;
|
|
|
|
color: @cryptpad_text_col;
|
|
|
|
font-family: "IBM Plex Mono";
|
|
|
|
|
|
|
|
.report {
|
|
|
|
font-size: 30px;
|
2022-02-10 15:30:16 +08:00
|
|
|
max-width: 30em;
|
2021-02-24 16:23:59 +08:00
|
|
|
margin: auto;
|
|
|
|
padding-top: 15px;
|
|
|
|
}
|
|
|
|
|
2022-10-05 17:38:49 +08:00
|
|
|
.cp-test-status, .summary {
|
2021-08-02 20:06:51 +08:00
|
|
|
margin-bottom: 1em;
|
2022-05-20 23:28:18 +08:00
|
|
|
border-radius: @corner;
|
2022-10-05 17:38:49 +08:00
|
|
|
padding: 15px;
|
|
|
|
&.success {
|
|
|
|
border: 1px solid green;
|
|
|
|
}
|
|
|
|
&.failure {
|
|
|
|
border: 1px solid red;
|
|
|
|
}
|
|
|
|
&.error {
|
|
|
|
border: 1px solid red;
|
|
|
|
}
|
|
|
|
&.warning {
|
|
|
|
border: 1px solid yellow;
|
|
|
|
}
|
2021-08-02 20:06:51 +08:00
|
|
|
}
|
2022-10-05 17:38:49 +08:00
|
|
|
//.summary, .failure, .error, .success { }
|
2021-08-02 20:06:51 +08:00
|
|
|
|
2021-03-02 23:45:52 +08:00
|
|
|
.pending {
|
2021-05-12 16:48:26 +08:00
|
|
|
border: 1px solid @cryptpad_text_col;
|
2021-03-02 23:45:52 +08:00
|
|
|
.fa {
|
|
|
|
margin-right: 20px;
|
|
|
|
}
|
|
|
|
}
|
2021-02-24 16:23:59 +08:00
|
|
|
.hidden {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.failures div.error, .summary {
|
|
|
|
padding: 15px;
|
|
|
|
}
|
|
|
|
|
2021-08-02 20:35:46 +08:00
|
|
|
.table-container {
|
|
|
|
overflow-x: auto;
|
|
|
|
width: 100%;
|
|
|
|
table {
|
|
|
|
td {
|
|
|
|
padding: 5px;
|
|
|
|
border: 1px solid @cryptpad_text_col;
|
|
|
|
font-size: 60%;
|
|
|
|
}
|
|
|
|
td:nth-child(2) {
|
|
|
|
word-break: break-word;
|
|
|
|
}
|
2021-02-24 16:23:59 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.advisory-text {
|
|
|
|
display: inline-block;
|
2021-04-02 22:00:48 +08:00
|
|
|
word-break: break-word;
|
2021-02-24 16:23:59 +08:00
|
|
|
padding: 5px;
|
|
|
|
//font-size: 16px;
|
2022-05-20 23:28:18 +08:00
|
|
|
border-radius: @corner;
|
2023-03-10 16:35:21 +08:00
|
|
|
|
|
|
|
max-width: 100%;
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
2021-05-03 17:16:26 +08:00
|
|
|
&.cp-danger {
|
|
|
|
border: 1px solid @cp_alerts-danger-bg;
|
|
|
|
background-color: @cp_alerts-danger-bg;
|
|
|
|
color: @cp_alerts-danger-text;
|
|
|
|
}
|
|
|
|
&.cp-warning {
|
|
|
|
border: 1px solid @cp_alerts-warning-bg;
|
|
|
|
background-color: @cp_alerts-warning-bg;
|
|
|
|
color: @cp_alerts-warning-text;
|
|
|
|
}
|
2023-03-10 16:35:21 +08:00
|
|
|
pre.cp-raw-text {
|
|
|
|
overflow: auto;
|
|
|
|
background-color: #2222;
|
|
|
|
}
|
|
|
|
|
2021-04-16 22:00:12 +08:00
|
|
|
code {
|
|
|
|
word-break: keep-all;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
2021-02-24 16:23:59 +08:00
|
|
|
}
|
2021-08-02 20:06:51 +08:00
|
|
|
|
2022-10-05 17:38:49 +08:00
|
|
|
a {
|
|
|
|
color: @cryptpad_color_link;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cp-notice-browser, .cp-notice-details, .cp-notice-other, .cp-notice-customizations {
|
2021-08-02 20:06:51 +08:00
|
|
|
font-size: 70%;
|
|
|
|
}
|
2022-10-05 17:38:49 +08:00
|
|
|
.cp-notice-customizations {
|
|
|
|
border: 1px solid #777;
|
|
|
|
padding: 5px;
|
|
|
|
}
|
2021-08-10 22:18:15 +08:00
|
|
|
.underline { text-decoration: underline; }
|
2021-08-02 20:06:51 +08:00
|
|
|
.cp-app-checkup-version, .cp-app-checkup-browser {
|
2021-08-10 22:18:15 +08:00
|
|
|
.underline;
|
2021-05-05 14:38:20 +08:00
|
|
|
}
|
2021-03-02 23:05:18 +08:00
|
|
|
iframe {
|
|
|
|
display: none;
|
|
|
|
}
|
2021-02-24 16:23:59 +08:00
|
|
|
}
|
|
|
|
|