Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
This commit is contained in:
commit
4bb02b9d4d
@ -452,8 +452,7 @@
|
|||||||
color: #558;
|
color: #558;
|
||||||
}
|
}
|
||||||
#cryptpadTopBar .right a:hover {
|
#cryptpadTopBar .right a:hover {
|
||||||
text-decoration: none;
|
text-decoration: underline;
|
||||||
color: #000;
|
|
||||||
}
|
}
|
||||||
html.cp,
|
html.cp,
|
||||||
.cp body {
|
.cp body {
|
||||||
@ -463,15 +462,6 @@ html.cp,
|
|||||||
font-family: Georgia,Cambria,serif;
|
font-family: Georgia,Cambria,serif;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
.cp:not(.poll) {
|
|
||||||
/*#language-selector {
|
|
||||||
position: absolute;
|
|
||||||
top: @topbar-height;
|
|
||||||
right: 0px;
|
|
||||||
display: inline-block;
|
|
||||||
z-index: 2;
|
|
||||||
}*/
|
|
||||||
}
|
|
||||||
.cp {
|
.cp {
|
||||||
/* buttons */
|
/* buttons */
|
||||||
/* Tables
|
/* Tables
|
||||||
@ -580,6 +570,7 @@ html.cp,
|
|||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
.cp .page .info-container {
|
.cp .page .info-container {
|
||||||
|
color: #121212;
|
||||||
width: 900px;
|
width: 900px;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
@ -715,16 +706,21 @@ html.cp,
|
|||||||
.cp #main {
|
.cp #main {
|
||||||
background: url('/customize/bg3.jpg') no-repeat center center;
|
background: url('/customize/bg3.jpg') no-repeat center center;
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
|
background-attachment: fixed;
|
||||||
|
background-position: center;
|
||||||
}
|
}
|
||||||
.cp #main_other {
|
.cp #main_other {
|
||||||
padding: 0 15vw;
|
padding: 0 15vw;
|
||||||
}
|
}
|
||||||
|
.cp .category {
|
||||||
|
margin-top: 5px;
|
||||||
|
}
|
||||||
.cp #main,
|
.cp #main,
|
||||||
.cp #main_other {
|
.cp #main_other {
|
||||||
position: relative;
|
position: relative;
|
||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
height: calc(100vh - 150px);
|
height: calc(100vh - 115px);
|
||||||
min-height: 450px;
|
min-height: 450px;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
@ -762,6 +758,8 @@ html.cp,
|
|||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
line-height: 1.5em;
|
line-height: 1.5em;
|
||||||
}
|
}
|
||||||
|
.cp #main #data h1,
|
||||||
|
.cp #main_other #data h1,
|
||||||
.cp #main #data h2,
|
.cp #main #data h2,
|
||||||
.cp #main_other #data h2 {
|
.cp #main_other #data h2 {
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
@ -916,12 +914,6 @@ html.cp,
|
|||||||
.cp .action:hover {
|
.cp .action:hover {
|
||||||
color: #cccccc;
|
color: #cccccc;
|
||||||
}
|
}
|
||||||
.cp .button {
|
|
||||||
padding: 4px 12px 4px 12px;
|
|
||||||
margin: 2px 0;
|
|
||||||
display: inline-block;
|
|
||||||
line-height: 1.5em;
|
|
||||||
}
|
|
||||||
.cp .panel {
|
.cp .panel {
|
||||||
background-color: #cccccc;
|
background-color: #cccccc;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -16,16 +16,6 @@ html.cp, .cp body {
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.cp:not(.poll) {
|
|
||||||
/*#language-selector {
|
|
||||||
position: absolute;
|
|
||||||
top: @topbar-height;
|
|
||||||
right: 0px;
|
|
||||||
display: inline-block;
|
|
||||||
z-index: 2;
|
|
||||||
}*/
|
|
||||||
}
|
|
||||||
|
|
||||||
.cp {
|
.cp {
|
||||||
|
|
||||||
body {
|
body {
|
||||||
@ -139,6 +129,7 @@ body.html {
|
|||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
.info-container {
|
.info-container {
|
||||||
|
color: #121212;
|
||||||
width: 900px;
|
width: 900px;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
@ -284,19 +275,24 @@ body.html {
|
|||||||
#main {
|
#main {
|
||||||
background: @main-bg;
|
background: @main-bg;
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
|
background-attachment: fixed;
|
||||||
|
background-position: center;
|
||||||
}
|
}
|
||||||
#main_other {
|
#main_other {
|
||||||
padding: 0 @main-border-width;
|
padding: 0 @main-border-width;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.category {
|
||||||
|
margin-top: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
#main, #main_other {
|
#main, #main_other {
|
||||||
position: relative;
|
position: relative;
|
||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
//padding: 0;
|
height: ~"calc(100vh - 115px)";
|
||||||
height: ~"calc(100vh - 150px)";
|
|
||||||
min-height: 450px;
|
min-height: 450px;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
//margin-top: 100px;
|
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
|
|
||||||
font-size: medium;
|
font-size: medium;
|
||||||
@ -320,12 +316,13 @@ body.html {
|
|||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
line-height: 1.5em;
|
line-height: 1.5em;
|
||||||
}
|
}
|
||||||
h2 {
|
h1, h2 {
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-size: 48px;
|
font-size: 48px;
|
||||||
line-height: 1.2em;
|
line-height: 1.2em;
|
||||||
color: @main-color;
|
color: @main-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
h5 {
|
h5 {
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
color: @main-color;
|
color: @main-color;
|
||||||
@ -340,8 +337,6 @@ body.html {
|
|||||||
top: 50%;
|
top: 50%;
|
||||||
left: 0;
|
left: 0;
|
||||||
transform: translateY(-50%);
|
transform: translateY(-50%);
|
||||||
//width: ~"calc(100% - 450px - 30vw)";
|
|
||||||
//background-color: @main-block-bg;
|
|
||||||
|
|
||||||
#tryit {
|
#tryit {
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
@ -358,7 +353,6 @@ body.html {
|
|||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 350px;
|
width: 350px;
|
||||||
max-width: 35%;
|
max-width: 35%;
|
||||||
//background-color: @main-block-bg;
|
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
font-family: lato, Helvetica, sans-serif;
|
font-family: lato, Helvetica, sans-serif;
|
||||||
@ -375,7 +369,6 @@ body.html {
|
|||||||
|
|
||||||
label {
|
label {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
//margin-top: 0.5em;
|
|
||||||
}
|
}
|
||||||
/*.remember {
|
/*.remember {
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
@ -438,7 +431,6 @@ body.html {
|
|||||||
@media screen and (max-width: @media-not-big) {
|
@media screen and (max-width: @media-not-big) {
|
||||||
position: relative;
|
position: relative;
|
||||||
height: auto;
|
height: auto;
|
||||||
//background: #aaa;
|
|
||||||
top: -10px;
|
top: -10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -466,7 +458,6 @@ p.buttons, div.buttons {
|
|||||||
.create, .action {
|
.create, .action {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
@thick: 2px;
|
@thick: 2px;
|
||||||
//border: @thick solid @cp-darkblue;
|
|
||||||
border: 0;
|
border: 0;
|
||||||
background-color: @cp-darkblue;
|
background-color: @cp-darkblue;
|
||||||
color: @topbar-button-color;
|
color: @topbar-button-color;
|
||||||
@ -477,23 +468,9 @@ p.buttons, div.buttons {
|
|||||||
margin-left: 5px;
|
margin-left: 5px;
|
||||||
&:hover {
|
&:hover {
|
||||||
color: darken(@topbar-button-color, 20%);
|
color: darken(@topbar-button-color, 20%);
|
||||||
//border: @thick solid @cp-accent2;
|
|
||||||
//color: @cp-darkblue;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.button {
|
|
||||||
@hpad: 2 * 6px;
|
|
||||||
@vpad: 2 * 2px;
|
|
||||||
padding: @vpad @hpad @vpad @hpad;
|
|
||||||
|
|
||||||
//margin-top: 2 * 6px;
|
|
||||||
//margin-bottom: 2 * 6px;
|
|
||||||
margin: 2px 0;
|
|
||||||
display: inline-block;
|
|
||||||
line-height: 1.5em;
|
|
||||||
}
|
|
||||||
|
|
||||||
// currently only used in /user/
|
// currently only used in /user/
|
||||||
.panel {
|
.panel {
|
||||||
background-color: @dark-base;
|
background-color: @dark-base;
|
||||||
@ -558,7 +535,6 @@ tbody {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// form things
|
// form things
|
||||||
|
|
||||||
.bottom-left {
|
.bottom-left {
|
||||||
.bottom-left;
|
.bottom-left;
|
||||||
}
|
}
|
||||||
@ -863,7 +839,6 @@ div.modal, div#modal {
|
|||||||
|
|
||||||
width: 100vw;
|
width: 100vw;
|
||||||
height: 56.25vw; // height:width ratio = 9/16 = .5625
|
height: 56.25vw; // height:width ratio = 9/16 = .5625
|
||||||
//background: pink;
|
|
||||||
max-height: 100vh;
|
max-height: 100vh;
|
||||||
max-width: 177.78vh; // 16/9 = 1.778
|
max-width: 177.78vh; // 16/9 = 1.778
|
||||||
margin: auto;
|
margin: auto;
|
||||||
|
|||||||
@ -35,7 +35,7 @@
|
|||||||
line-height: 40px;
|
line-height: 40px;
|
||||||
&:hover {
|
&:hover {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
color: #558;
|
color: @cp-purple;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -48,11 +48,10 @@
|
|||||||
a {
|
a {
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
font-size: 0.75em;
|
font-size: 0.75em;
|
||||||
color: #558;
|
color: @cp-purple;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
text-decoration: none;
|
text-decoration: underline;
|
||||||
color: #000;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -20,6 +20,8 @@
|
|||||||
@cp-blue: #00ADEE;
|
@cp-blue: #00ADEE;
|
||||||
@cp-light-blue: lighten(@cp-blue, 20%);
|
@cp-light-blue: lighten(@cp-blue, 20%);
|
||||||
|
|
||||||
|
@cp-purple: #558;
|
||||||
|
|
||||||
// alertify things
|
// alertify things
|
||||||
|
|
||||||
@box-shadow: 0 2px 5px 0 rgba(0,0,0,.2);
|
@box-shadow: 0 2px 5px 0 rgba(0,0,0,.2);
|
||||||
|
|||||||
@ -280,7 +280,7 @@ define(function () {
|
|||||||
|
|
||||||
//out.main_p1 = 'CryptPad is the <strong>zero knowledge</strong> realtime collaborative editor. Encryption carried out in your web browser protects the data from the server, the cloud, and the NSA. The secret encryption key is stored in the URL <a href="https://en.wikipedia.org/wiki/Fragment_identifier">fragment identifier</a> which is never sent to the server but is available to javascript so by sharing the URL, you give authorization to others who want to participate.';
|
//out.main_p1 = 'CryptPad is the <strong>zero knowledge</strong> realtime collaborative editor. Encryption carried out in your web browser protects the data from the server, the cloud, and the NSA. The secret encryption key is stored in the URL <a href="https://en.wikipedia.org/wiki/Fragment_identifier">fragment identifier</a> which is never sent to the server but is available to javascript so by sharing the URL, you give authorization to others who want to participate.';
|
||||||
//out.main_p1 = "Type quick documents with friends and colleagues.<br>With <strong>Zero Knowledge</strong> technology, the server doesn't know what you're doing.";
|
//out.main_p1 = "Type quick documents with friends and colleagues.<br>With <strong>Zero Knowledge</strong> technology, the server doesn't know what you're doing.";
|
||||||
out.main_p1 = "<h2>Collaborate in Confidence</h2><br> Grow your ideas together with shared documents while <strong>Zero Knowledge</strong> technology secures your privacy; even from us.";
|
out.main_p1 = "<h1>Collaborate in Confidence</h1><br> Grow your ideas together with shared documents while <strong>Zero Knowledge</strong> technology secures your privacy; even from us.";
|
||||||
|
|
||||||
out.main_p2 = 'This project uses the <a href="http://ckeditor.com/">CKEditor</a> Visual Editor, <a href="https://codemirror.net/">CodeMirror</a>, and the <a href="https://github.com/xwiki-contrib/chainpad">ChainPad</a> realtime engine.';
|
out.main_p2 = 'This project uses the <a href="http://ckeditor.com/">CKEditor</a> Visual Editor, <a href="https://codemirror.net/">CodeMirror</a>, and the <a href="https://github.com/xwiki-contrib/chainpad">ChainPad</a> realtime engine.';
|
||||||
out.main_howitworks = 'How It Works';
|
out.main_howitworks = 'How It Works';
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user