cryptpad/www/checkup/app-checkup.less

129 lines
2.9 KiB
Plaintext
Raw Permalink Normal View History

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;
}
.cp-test-status, .summary {
margin-bottom: 1em;
2022-05-20 23:28:18 +08:00
border-radius: @corner;
padding: 15px;
&.success {
border: 1px solid green;
}
&.failure {
border: 1px solid red;
}
&.error {
border: 1px solid red;
}
&.warning {
border: 1px solid yellow;
}
}
//.summary, .failure, .error, .success { }
.pending {
2021-05-12 16:48:26 +08:00
border: 1px solid @cryptpad_text_col;
.fa {
margin-right: 20px;
}
}
2021-02-24 16:23:59 +08:00
.hidden {
display: none;
}
.failures div.error, .summary {
padding: 15px;
}
.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;
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;
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;
}
pre.cp-raw-text {
overflow: auto;
background-color: #2222;
}
code {
word-break: keep-all;
font-style: italic;
}
2021-02-24 16:23:59 +08:00
}
a {
color: @cryptpad_color_link;
}
.cp-notice-browser, .cp-notice-details, .cp-notice-other, .cp-notice-customizations {
font-size: 70%;
}
.cp-notice-customizations {
border: 1px solid #777;
padding: 5px;
}
2021-08-10 22:18:15 +08:00
.underline { text-decoration: underline; }
.cp-app-checkup-version, .cp-app-checkup-browser {
2021-08-10 22:18:15 +08:00
.underline;
}
iframe {
display: none;
}
2021-02-24 16:23:59 +08:00
}