Skip to content

Commit

Permalink
lint compliance
Browse files Browse the repository at this point in the history
  • Loading branch information
ansuz committed Dec 29, 2020
1 parent 97ec1df commit affd221
Show file tree
Hide file tree
Showing 11 changed files with 1,388 additions and 181 deletions.
21 changes: 21 additions & 0 deletions customize.dist/down.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<!DOCTYPE html>
<html class="cp" id="four-oh-four">
<!-- If this file is not called customize.dist/src/template.html, it is generated -->
<head>
<title data-localization="main_title">CryptPad: Zero Knowledge, Collaborative Real Time Editing</title>
<meta content="text/html; charset=utf-8" http-equiv="content-type"/>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<link rel="icon" type="image/png" href="/customize/main-favicon.png" id="favicon"/>
</head>
<body class="html">

<h1>CryptPad</h1>
<h2>We're temporarily offline while we recover from a bad data-center outage</h2>
<h3>Your data is safe, but we need to move it to a new machine.
<br/>
<br/>
We'll be back as soon as possible.
</h3>
<h4>For the latest updates, follow us on <a href="https://social.weho.st/@cryptpad">Mastodon</a> or <a href="https://twitter.com/cryptpad">Twitter</a>.</h4>


4 changes: 2 additions & 2 deletions customize.dist/src/less2/include/infopages.less
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ body {
padding-top: @infopages_padding;
padding-bottom: @infopages_padding;
min-height: 75vh;
max-width:950px;
max-width: 950px;
h1 {
font-size: 3em;
margin-bottom: 0.5em;
Expand Down Expand Up @@ -211,7 +211,7 @@ body {
font-size: 1.8em;
img {
max-width: 40px;
margin-right: 10px
margin-right: 10px;
}
@media (max-width: 326px) {
width: 180px;
Expand Down
3 changes: 3 additions & 0 deletions customize.dist/src/less2/include/leftside-menu.less
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
@import (reference) "./colortheme-all.less";

.leftside-menu_main() {
div.cp-empty-rule {
display: block; // XXX workaround lesshint complaining about empty rules
}
}
.leftside-menu-category_main() {
.unselectable_make();
Expand Down
2 changes: 1 addition & 1 deletion customize.dist/src/less2/pages/page-features.less
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
.list-group-item {
border-bottom: 1px solid rgba(0,0,0,0.125);
&:first-child {
border-top: 1px solid rgba(0,0,0,0.125);
border-top: 1px solid rgba(0,0,0,0.125);
}
&:last-child {
border-bottom-right-radius: 0px;
Expand Down
4 changes: 2 additions & 2 deletions customize.dist/src/less2/pages/page-index.less
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
font-size: 3.5em;
justify-content: center;
width: @icons-size;
padding:10px 10px 0px 10px;
padding: 10px 10px 0px 10px;
//height: @icons-size - @icons-text-size;
}
&.cp-app-disabled {
Expand All @@ -134,7 +134,7 @@
}
.pad-button-text {
color: @cryptpad_text_col;
padding:5px;
padding: 5px;
}
}
h4 {
Expand Down
2 changes: 1 addition & 1 deletion customize.dist/src/less2/pages/page-register.less
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
}
}
#userForm {
padding:15px;
padding: 15px;
background-color: white;
height: min-content; // XXX why does the form expand without this?
.cp-shadow();
Expand Down
2 changes: 2 additions & 0 deletions docs/debugging.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
* compare your conf against `cryptpad/docs/example.nginx.conf`
*
Loading

0 comments on commit affd221

Please sign in to comment.