Improve homepage CSS and responsiveness

pull/1/head
yflory 8 years ago
parent 26bea774cb
commit fd78e4fa92

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

@ -77,16 +77,16 @@
</div>
<div id="userForm">
<div id="userForm" class="form-group">
<!--<center>
<h1 data-localization="form_title"></h1>
</center>-->
<!--<label for="name" data-localization="form_username"></label>-->
<input type="text" id="name" name="name" data-localization-placeholder="login_username" autofocus><br>
<input type="text" id="name" name="name" class="form-control" data-localization-placeholder="login_username" autofocus><br>
<!--<label for="password" data-localization="form_password"></label>--><br>
<input type="password" id="password" name="password" data-localization-placeholder="login_password"><br>
<span class="remember"><input type="checkbox" id="rememberme" checked="checked"><label for="rememberme" data-localization="login_remember"></label></span><br>
<!--<label for="password" data-localization="form_password"></label>-->
<input type="password" id="password" name="password" class="form-control" data-localization-placeholder="login_password"><br>
<span class="remember form-check"><label for="rememberme" class="form-check-label" data-localization-append="login_remember"><input type="checkbox" id="rememberme" class="form-check-input" checked="checked"></label></span><br>
<button class="btn btn-secondary login half first" data-localization="login_login"></button> <button class="btn btn-primary register half" data-localization="login_register"></button><br>
</div>
</div>
@ -97,55 +97,55 @@
</center>
</div>
<div class="page">
<div class="left image">
<img src="customize/images/zk.png" alt="Zero Knowledge" />
</div>
<div class="right">
<center>
<div class="info-container">
<div class="left image">
<img src="customize/images/zk.png" alt="Zero Knowledge" />
</div>
<div class="right">
<h2>Zero Knowledge</h2>
</center>
<p>
Every tool provided by Cryptpad are based on a Zero Knowledge technology. It means that our server stored only encrypted data, and we have no way to decrypt it. Even data about your account, including your username, are encrypted. Only people with whom you have shared the URL are allowed to decrypt the data and join the collaborative session. The encryption is carried out by your browser, which means that our server has no knowledge of the encryption key.
</p>
<p>
Every tool provided by Cryptpad are based on a Zero Knowledge technology. It means that our server stored only encrypted data, and we have no way to decrypt it. Even data about your account, including your username, are encrypted.<!-- Only people with whom you have shared the URL are allowed to decrypt the data and join the collaborative session. The encryption is carried out by your browser, which means that our server has no knowledge of the encryption key.-->
</p>
</div>
</div>
</div>
<div class="page even">
<div class="left">
<center>
<div class="info-container">
<div class="left">
<h2>Realtime</h2>
</center>
<p>
Our tools also use a Realtime technology, which means that you can edit the documents, slides or polls collaboratively with other people. Our unique technology has the advantage of combining both realtime and zero-knowledge at the same time. Other realtime solutions work with a main server containing the document and managing conflicts (when two users want to realize contradictory operations). Our Zero Knowledge principle exclude that solution since the server doesn't know the content of the document, so the conflicts are managed by your browser in a way that all users in the session resolve the conflict with the same result.
</p>
</div>
<div class="right image">
<img src="customize/images/realtime.png" alt="User account" />
<p>
Our tools also use a Realtime technology, which means that you can edit the documents, slides or polls collaboratively with other people. Our unique technology has the advantage of combining both realtime and zero-knowledge at the same time.<!-- Other realtime solutions work with a main server containing the document and managing conflicts (when two users want to realize contradictory operations). Our Zero Knowledge principle exclude that solution since the server doesn't know the content of the document, so the conflicts are managed by your browser in a way that all users in the session resolve the conflict with the same result.-->
</p>
</div>
<div class="right image">
<img src="customize/images/realtime.png" alt="User account" />
</div>
</div>
</div>
<div class="page">
<div class="left image">
<img src="customize/images/hash.png" alt="User account" />
</div>
<div class="right">
<center>
<div class="info-container">
<div class="left image">
<img src="customize/images/hash.png" alt="User account" />
</div>
<div class="right">
<h2>Share documents</h2>
</center>
<p>
When you want to edit a document with other users or invite them to answer to a poll, you just have to share the URL of that document with them. All the information needed to access and edit it are contained in the "hash" of the URL. A first part of that hash represents the location of the data in our server, the second part allows your browser to decrypt the content of that document and encrypt new modifications you may want to make.
</p>
<p>
When you want to edit a document with other users or invite them to answer to a poll, you just have to share the URL of that document with them. All the information needed to access and edit it are contained in the "hash" of the URL.<!-- A first part of that hash represents the location of the data in our server, the second part allows your browser to decrypt the content of that document and encrypt new modifications you may want to make.-->
</p>
</div>
</div>
</div>
<div class="page even">
<div class="left">
<center>
<div class="info-container">
<div class="left">
<h2>User Account</h2>
</center>
<p>
In order to have Zero Knowledge user accounts, we needed a way to store your settings without knowing your username and password. To do so, our tools generate a unique key from your username and password, directly in your browser. The entire key is never sent to our server and there is no way to determine either your username or your password from it. A small part of that key is used to locate your account data in our server, and the other part is used to encrypt and decrypt it (in your browser). That way, the server never has access to your decrypted data or to your decryption key.
</p>
</div>
<div class="right image">
<img src="customize/images/useraccount.png" alt="User account" />
<p>
In order to have Zero Knowledge user accounts, we needed a way to store your settings without knowing your username and password. To do so, our tools generate a unique key from your username and password, directly in your browser.<!-- The entire key is never sent to our server and there is no way to determine either your username or your password from it. A small part of that key is used to locate your account data in our server, and the other part is used to encrypt and decrypt it (in your browser). That way, the server never has access to your decrypted data or to your decryption key.-->
</p>
</div>
<div class="right image">
<img src="customize/images/useraccount.png" alt="User account" />
</div>
</div>
</div>
<div class="page category" id="tryit">
@ -154,68 +154,57 @@
</center>
</div>
<div class="page">
<div class="left image">
<img src="customize/images/pad.png" alt="Rich Text application" />
</div>
<div class="right">
<center>
<h2>Rich Text editor</h2>
</center>
<p>
Edit rich text documents collaboratively with our realtime Zero Knowledge <a href="http://ckeditor.com" target="_blank">CkEditor</a> application.
</p>
<p class="buttons">
<a id="create-pad" href="/pad/"><button class="btn btn-secondary" data-localization="button_newpad"></button></a>
</p>
</div>
</div>
<div class="page even">
<div class="left">
<center>
<h2>Code editor</h2>
</center>
<p>
Create or debug code from your software (using any programming language) collaboratively with your colleagues with our realtime Zero Knowledge <a href="https://www.codemirror.net" target="_blank">CodeMirror</a> application.
</p>
<p class="buttons">
<a id="create-code" href="/code/"><button class="btn btn-secondary" data-localization="button_newcode"></button></a>
</p>
</div>
<div class="right image">
<img src="customize/images/code.png" alt="Code application" />
</div>
</div>
<div class="page">
<div class="left image">
<img src="customize/images/slide.png" alt="Slide applcation" />
</div>
<div class="right">
<center>
<h2>Slide editor</h2>
</center>
<p>
Create your presentation collaboratively with our CryptSlide application. Slides are written use Markdown syntax and you can choose the background and text colors when presenting it.
</p>
<p class="buttons">
<a id="create-slide" href="/slide/"><button class="btn btn-secondary" data-localization="button_newslide"></button></a>
</p>
</div>
</div>
<div class="page even">
<div class="left">
<center>
<h2>Polls</h2>
</center>
<p>
Plan your meeting or your event, or determine what is the best solution for your problem using our poll application. Don't worry about sensible data, everything here is also Zero Knowledge and only people with the poll link can access the data.
</p>
<p class="buttons">
<a id="create-poll" href="/poll/"><button class="btn btn-secondary" data-localization="button_newpoll"></button></a>
</p>
</div>
<div class="right image">
<img src="customize/images/poll.png" alt="Poll application" />
<div class="app-container">
<div class="app-row">
<div class="app">
<center>
<h2>Rich Text editor</h2>
<img src="customize/images/pad.png" alt="Rich Text application" />
</center>
<p>
Edit rich text documents collaboratively with our realtime Zero Knowledge <a href="http://ckeditor.com" target="_blank">CkEditor</a> application.
</p>
<p class="buttons">
<a id="create-pad" href="/pad/"><button class="btn btn-secondary" data-localization="button_newpad"></button></a>
</p>
</div><div class="app">
<center>
<h2>Code editor</h2>
<img src="customize/images/code.png" alt="Code application" />
</center>
<p>
Edit code from your software collaboratively with our realtime Zero Knowledge <a href="https://www.codemirror.net" target="_blank">CodeMirror</a> application.
</p>
<p class="buttons">
<a id="create-code" href="/code/"><button class="btn btn-secondary" data-localization="button_newcode"></button></a>
</p>
</div><!--
--></div><!--
--><div class="app-row"><!--
--><div class="app">
<center>
<h2>Slide editor</h2>
<img src="customize/images/slide.png" alt="Slide applcation" />
</center>
<p>
Create your presentations using the Markdown syntax with our CryptSlide application, and display them in your browser.
</p>
<p class="buttons">
<a id="create-slide" href="/slide/"><button class="btn btn-secondary" data-localization="button_newslide"></button></a>
</p>
</div><div class="app">
<center>
<h2>Polls</h2>
<img src="customize/images/poll.png" alt="Poll application" />
</center>
<p>
Plan your meeting or your event, or vote for the best solution regarding your problem using our poll application.
</p>
<p class="buttons">
<a id="create-poll" href="/poll/"><button class="btn btn-secondary" data-localization="button_newpoll"></button></a>
</p>
</div>
</div>
</div>
</div>

@ -18,7 +18,7 @@
}
.alertify-logs > *.success {
background: #46E981;
color: #f5f5f5;
color: #fff;
}
.alertify {
position: fixed;
@ -80,8 +80,8 @@
}
.alertify .dialog input:not(.form-control),
.alertify .alert input:not(.form-control) {
background-color: #f5f5f5;
color: #111;
background-color: #fff;
color: #555;
border: 0px;
border-radius: 5px;
margin-bottom: 15px;
@ -211,7 +211,7 @@
height: 2.5em;
display: inline-block;
width: 100%;
background: #f5f5f5;
background: #fff;
border-top: 1px solid #444;
}
.top-bar a,
@ -227,7 +227,7 @@
display: block;
margin-left: 10px;
padding-top: 3px;
color: #111;
color: #555;
}
.top-bar img,
.bottom-bar img {
@ -465,8 +465,8 @@
html.cp,
.cp body {
font-size: .875em;
background-color: #f5f5f5;
color: #111;
background-color: #fff;
color: #555;
font-family: Georgia,Cambria,serif;
height: 100%;
}
@ -505,7 +505,7 @@ html.cp,
.cp h4,
.cp h5,
.cp h6 {
color: #111;
color: #555;
font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
-webkit-font-feature-settings: 'dlig' 1, 'liga' 1, 'lnum' 1, 'kern' 1;
-moz-font-feature-settings: 'dlig' 1, 'liga' 1, 'lnum' 1, 'kern' 1;
@ -582,54 +582,93 @@ html.cp,
width: 100%;
margin-left: auto;
margin-right: auto;
background: #f5f5f5;
padding: 10px 15vw;
background: #fff;
padding: 10px 0;
position: relative;
}
.cp .page.first {
margin-top: calc(100vh - 50px);
.cp .page .info-container {
width: 900px;
max-width: 100%;
margin: 0 auto;
}
.cp .page .info-container > div {
padding: 10px;
width: 400px;
max-width: 100%;
position: relative;
display: inline-block;
vertical-align: middle;
}
@media screen and (max-width: 800px) {
.cp .page.first {
margin-top: 0;
.cp .page .info-container > div:not(.image) {
width: 100%;
left: 0;
}
}
.cp .page.even {
background: #dcdcdc;
.cp .page .info-container > div.image {
text-align: center;
}
.cp .page.category {
background: #c2c2c2;
@media screen and (max-width: 800px) {
.cp .page .info-container > div.image {
display: none;
}
}
.cp .page .left {
left: 0;
@media screen and (max-width: 800px) {
}
.cp .page .right {
left: 10%;
.cp .page.category {
background: #f7f7f7;
}
@media screen and (max-width: 800px) {
.cp .page {
padding: 10px 5vh;
.cp .page .app {
display: inline-block;
width: 300px;
vertical-align: middle;
margin: 0px 25px;
white-space: normal;
max-width: calc(50% - 50px);
}
@media screen and (max-width: 500px) {
.cp .page .app {
display: block;
max-width: 100%;
margin: 0 auto;
}
}
.cp .page > div {
padding: 10px;
width: 45%;
position: relative;
.cp .page .app-container {
width: 1400px;
max-width: 100%;
margin: 0 auto;
}
.cp .page .app-row {
display: inline-block;
vertical-align: middle;
white-space: nowrap;
width: 700px;
max-width: 100%;
margin: 0 auto;
}
@media screen and (max-width: 1399px) {
.cp .page .app-row {
display: block;
}
}
@media screen and (max-width: 800px) {
.cp .page > div:not(.image) {
width: 100%;
left: 0;
.cp .page .app-row img {
display: none;
}
}
.cp .page .image {
text-align: center;
.cp .page .right {
left: 100px;
}
.cp .page h1,
.cp .page h2,
.cp .page h3,
.cp .page h4,
.cp .page h5,
.cp .page h6 {
padding: 0;
}
@media screen and (max-width: 800px) {
.cp .page .image {
display: none;
.cp .page {
padding: 10px 5vh;
}
}
.cp .page p {
@ -649,10 +688,11 @@ html.cp,
}
.cp #main,
.cp #main_other {
position: absolute;
position: relative;
left: 0;
right: 0;
height: calc(100vh - 50px);
height: calc(100vh - 150px);
min-height: 450px;
margin: auto;
font-size: medium;
}
@ -729,6 +769,22 @@ html.cp,
box-sizing: border-box;
font-family: lato, Helvetica, sans-serif;
color: #fff;
/*.remember {
vertical-align: middle;
line-height: 28px;
height: 28px;
display: inline-block;
margin: 10px 0 20px 0;
}
[type="checkbox"] {
vertical-align: text-top;
margin: 0;
//margin-top: 10px;
margin-right: 5px;
}
*/
}
.cp #main #userForm h1,
.cp #main_other #userForm h1 {
@ -741,24 +797,14 @@ html.cp,
.cp #main_other #userForm [type="password"] {
width: 100%;
}
.cp #main #userForm .remember,
.cp #main_other #userForm .remember {
vertical-align: middle;
line-height: 28px;
height: 28px;
display: inline-block;
margin: 10px 0 20px 0;
.cp #main #userForm label,
.cp #main_other #userForm label {
margin-bottom: 0;
}
.cp #main #userForm [type="checkbox"],
.cp #main_other #userForm [type="checkbox"] {
vertical-align: text-top;
margin: 0;
margin-right: 5px;
}
.cp #main #userForm label,
.cp #main_other #userForm label {
margin-bottom: 0;
}
.cp #main #userForm button,
.cp #main_other #userForm button {
font-weight: bold;
@ -809,7 +855,6 @@ html.cp,
.cp #main_other {
position: relative;
height: auto;
background: #aaa;
top: -10px;
}
}
@ -854,7 +899,7 @@ html.cp,
line-height: 1.5em;
}
.cp .panel {
background-color: #c2c2c2;
background-color: #cccccc;
}
.cp table {
border-collapse: collapse;
@ -891,7 +936,7 @@ html.cp,
}
.cp tbody tr th,
.cp tbody tr td {
color: #111;
color: #555;
}
.cp tbody tr th.remove,
.cp tbody tr td.remove {
@ -1027,7 +1072,7 @@ html.cp,
.cp form.realtime table input[type="text"],
.cp div.realtime table input[type="text"] {
height: auto;
border: 1px solid #f5f5f5;
border: 1px solid #fff;
width: 80%;
}
.cp form.realtime table thead td,
@ -1087,7 +1132,7 @@ html.cp,
.cp form.realtime table thead tr th input[type="text"][disabled],
.cp div.realtime table thead tr th input[type="text"][disabled] {
background-color: transparent;
color: #111;
color: #555;
font-weight: bold;
}
.cp form.realtime table thead tr th .remove,
@ -1294,7 +1339,7 @@ html.cp,
.cp div#modal table input {
height: 100%;
width: 90%;
border: 3px solid #f5f5f5;
border: 3px solid #fff;
}
.cp div.modal table tfoot tr td,
.cp div#modal table tfoot tr td {

@ -81,6 +81,11 @@ define(['/customize/languageSelector.js',
var key = $el.data('localization');
$el.html(messages[key]);
};
var translateAppend = function (i, e) {
var $el = $(e);
var key = $el.data('localization-append');
$el.append(messages[key]);
};
var translateTitle = function (i, e) {
var $el = $(this);
var key = $el.data('localization-title');
@ -93,6 +98,7 @@ define(['/customize/languageSelector.js',
};
messages._applyTranslation = function () {
$('[data-localization]').each(translateText);
$('[data-localization-append]').each(translateAppend);
$('#pad-iframe').contents().find('[data-localization]').each(translateText);
$('[data-localization-title]').each(translateTitle);
$('[data-localization-placeholder]').each(translatePlaceholder);

@ -15,16 +15,16 @@
</div>
<div id="userForm">
<div id="userForm" class="form-group">
<!--<center>
<h1 data-localization="form_title"></h1>
</center>-->
<!--<label for="name" data-localization="form_username"></label>-->
<input type="text" id="name" name="name" data-localization-placeholder="login_username" autofocus><br>
<input type="text" id="name" name="name" class="form-control" data-localization-placeholder="login_username" autofocus><br>
<!--<label for="password" data-localization="form_password"></label>--><br>
<input type="password" id="password" name="password" data-localization-placeholder="login_password"><br>
<span class="remember"><input type="checkbox" id="rememberme" checked="checked"><label for="rememberme" data-localization="login_remember"></label></span><br>
<!--<label for="password" data-localization="form_password"></label>-->
<input type="password" id="password" name="password" class="form-control" data-localization-placeholder="login_password"><br>
<span class="remember form-check"><label for="rememberme" class="form-check-label" data-localization-append="login_remember"><input type="checkbox" id="rememberme" class="form-check-input" checked="checked"></label></span><br>
<button class="btn btn-secondary login half first" data-localization="login_login"></button> <button class="btn btn-primary register half" data-localization="login_register"></button><br>
</div>
</div>
@ -35,55 +35,55 @@
</center>
</div>
<div class="page">
<div class="left image">
<img src="customize/images/zk.png" alt="Zero Knowledge" />
</div>
<div class="right">
<center>
<div class="info-container">
<div class="left image">
<img src="customize/images/zk.png" alt="Zero Knowledge" />
</div>
<div class="right">
<h2>Zero Knowledge</h2>
</center>
<p>
Every tool provided by Cryptpad are based on a Zero Knowledge technology. It means that our server stored only encrypted data, and we have no way to decrypt it. Even data about your account, including your username, are encrypted. Only people with whom you have shared the URL are allowed to decrypt the data and join the collaborative session. The encryption is carried out by your browser, which means that our server has no knowledge of the encryption key.
</p>
<p>
Every tool provided by Cryptpad are based on a Zero Knowledge technology. It means that our server stored only encrypted data, and we have no way to decrypt it. Even data about your account, including your username, are encrypted.<!-- Only people with whom you have shared the URL are allowed to decrypt the data and join the collaborative session. The encryption is carried out by your browser, which means that our server has no knowledge of the encryption key.-->
</p>
</div>
</div>
</div>
<div class="page even">
<div class="left">
<center>
<div class="info-container">
<div class="left">
<h2>Realtime</h2>
</center>
<p>
Our tools also use a Realtime technology, which means that you can edit the documents, slides or polls collaboratively with other people. Our unique technology has the advantage of combining both realtime and zero-knowledge at the same time. Other realtime solutions work with a main server containing the document and managing conflicts (when two users want to realize contradictory operations). Our Zero Knowledge principle exclude that solution since the server doesn't know the content of the document, so the conflicts are managed by your browser in a way that all users in the session resolve the conflict with the same result.
</p>
</div>
<div class="right image">
<img src="customize/images/realtime.png" alt="User account" />
<p>
Our tools also use a Realtime technology, which means that you can edit the documents, slides or polls collaboratively with other people. Our unique technology has the advantage of combining both realtime and zero-knowledge at the same time.<!-- Other realtime solutions work with a main server containing the document and managing conflicts (when two users want to realize contradictory operations). Our Zero Knowledge principle exclude that solution since the server doesn't know the content of the document, so the conflicts are managed by your browser in a way that all users in the session resolve the conflict with the same result.-->
</p>
</div>
<div class="right image">
<img src="customize/images/realtime.png" alt="User account" />
</div>
</div>
</div>
<div class="page">
<div class="left image">
<img src="customize/images/hash.png" alt="User account" />
</div>
<div class="right">
<center>
<div class="info-container">
<div class="left image">
<img src="customize/images/hash.png" alt="User account" />
</div>
<div class="right">
<h2>Share documents</h2>
</center>
<p>
When you want to edit a document with other users or invite them to answer to a poll, you just have to share the URL of that document with them. All the information needed to access and edit it are contained in the "hash" of the URL. A first part of that hash represents the location of the data in our server, the second part allows your browser to decrypt the content of that document and encrypt new modifications you may want to make.
</p>
<p>
When you want to edit a document with other users or invite them to answer to a poll, you just have to share the URL of that document with them. All the information needed to access and edit it are contained in the "hash" of the URL.<!-- A first part of that hash represents the location of the data in our server, the second part allows your browser to decrypt the content of that document and encrypt new modifications you may want to make.-->
</p>
</div>
</div>
</div>
<div class="page even">
<div class="left">
<center>
<div class="info-container">
<div class="left">
<h2>User Account</h2>
</center>
<p>
In order to have Zero Knowledge user accounts, we needed a way to store your settings without knowing your username and password. To do so, our tools generate a unique key from your username and password, directly in your browser. The entire key is never sent to our server and there is no way to determine either your username or your password from it. A small part of that key is used to locate your account data in our server, and the other part is used to encrypt and decrypt it (in your browser). That way, the server never has access to your decrypted data or to your decryption key.
</p>
</div>
<div class="right image">
<img src="customize/images/useraccount.png" alt="User account" />
<p>
In order to have Zero Knowledge user accounts, we needed a way to store your settings without knowing your username and password. To do so, our tools generate a unique key from your username and password, directly in your browser.<!-- The entire key is never sent to our server and there is no way to determine either your username or your password from it. A small part of that key is used to locate your account data in our server, and the other part is used to encrypt and decrypt it (in your browser). That way, the server never has access to your decrypted data or to your decryption key.-->
</p>
</div>
<div class="right image">
<img src="customize/images/useraccount.png" alt="User account" />
</div>
</div>
</div>
<div class="page category" id="tryit">
@ -92,68 +92,57 @@
</center>
</div>
<div class="page">
<div class="left image">
<img src="customize/images/pad.png" alt="Rich Text application" />
</div>
<div class="right">
<center>
<h2>Rich Text editor</h2>
</center>
<p>
Edit rich text documents collaboratively with our realtime Zero Knowledge <a href="http://ckeditor.com" target="_blank">CkEditor</a> application.
</p>
<p class="buttons">
<a id="create-pad" href="/pad/"><button class="btn btn-secondary" data-localization="button_newpad"></button></a>
</p>
</div>
</div>
<div class="page even">
<div class="left">
<center>
<h2>Code editor</h2>
</center>
<p>
Create or debug code from your software (using any programming language) collaboratively with your colleagues with our realtime Zero Knowledge <a href="https://www.codemirror.net" target="_blank">CodeMirror</a> application.
</p>
<p class="buttons">
<a id="create-code" href="/code/"><button class="btn btn-secondary" data-localization="button_newcode"></button></a>
</p>
</div>
<div class="right image">
<img src="customize/images/code.png" alt="Code application" />
</div>
</div>
<div class="page">
<div class="left image">
<img src="customize/images/slide.png" alt="Slide applcation" />
</div>
<div class="right">
<center>
<h2>Slide editor</h2>
</center>
<p>
Create your presentation collaboratively with our CryptSlide application. Slides are written use Markdown syntax and you can choose the background and text colors when presenting it.
</p>
<p class="buttons">
<a id="create-slide" href="/slide/"><button class="btn btn-secondary" data-localization="button_newslide"></button></a>
</p>
</div>
</div>
<div class="page even">
<div class="left">
<center>
<h2>Polls</h2>
</center>
<p>
Plan your meeting or your event, or determine what is the best solution for your problem using our poll application. Don't worry about sensible data, everything here is also Zero Knowledge and only people with the poll link can access the data.
</p>
<p class="buttons">
<a id="create-poll" href="/poll/"><button class="btn btn-secondary" data-localization="button_newpoll"></button></a>
</p>
</div>
<div class="right image">
<img src="customize/images/poll.png" alt="Poll application" />
<div class="app-container">
<div class="app-row">
<div class="app">
<center>
<h2>Rich Text editor</h2>
<img src="customize/images/pad.png" alt="Rich Text application" />
</center>
<p>
Edit rich text documents collaboratively with our realtime Zero Knowledge <a href="http://ckeditor.com" target="_blank">CkEditor</a> application.
</p>
<p class="buttons">
<a id="create-pad" href="/pad/"><button class="btn btn-secondary" data-localization="button_newpad"></button></a>
</p>
</div><div class="app">
<center>
<h2>Code editor</h2>
<img src="customize/images/code.png" alt="Code application" />
</center>
<p>
Edit code from your software collaboratively with our realtime Zero Knowledge <a href="https://www.codemirror.net" target="_blank">CodeMirror</a> application.
</p>
<p class="buttons">
<a id="create-code" href="/code/"><button class="btn btn-secondary" data-localization="button_newcode"></button></a>
</p>
</div><!--
--></div><!--
--><div class="app-row"><!--
--><div class="app">
<center>
<h2>Slide editor</h2>
<img src="customize/images/slide.png" alt="Slide applcation" />
</center>
<p>
Create your presentations using the Markdown syntax with our CryptSlide application, and display them in your browser.
</p>
<p class="buttons">
<a id="create-slide" href="/slide/"><button class="btn btn-secondary" data-localization="button_newslide"></button></a>
</p>
</div><div class="app">
<center>
<h2>Polls</h2>
<img src="customize/images/poll.png" alt="Poll application" />
</center>
<p>
Plan your meeting or your event, or vote for the best solution regarding your problem using our poll application.
</p>
<p class="buttons">
<a id="create-poll" href="/poll/"><button class="btn btn-secondary" data-localization="button_newpoll"></button></a>
</p>
</div>
</div>
</div>
</div>

@ -134,54 +134,96 @@ body.html {
width: 100%;
margin-left: auto;
margin-right: auto;
background: @base;
padding: 10px @main-border-width;
background: #fff; //@base;
padding: 10px 0;//@main-border-width;
position: relative;
.info-container {
width: 900px;
max-width: 100%;
margin: 0 auto;
&>div{
padding: 10px;
width: 400px;
max-width: 100%;
position: relative;
display: inline-block;
vertical-align: middle;
&:not(.image) {
@media screen and (max-width: @media-not-big) {
width: 100%;
left: 0;
}
}
&.image {
text-align: center;
@media screen and (max-width: @media-not-big) {
display: none;
}
}
}
}
&.first {
margin-top: ~"calc(100vh - 50px)";
//margin-top: ~"min(calc(100vh - 150px), 650px)";
@media screen and (max-width: @media-not-big) {
margin-top: 0;;
//margin-top: 0;
}
}
&.even {
background: darken(@base, 10%);
//background: darken(@base, 1%);
}
&.category {
background: darken(@base, 20%);
background: darken(@base, 3%);
}
.left {
left: 0; //@main-border-width;
}
.right {
left: 10%; //@main-border-width;
.app {
display: inline-block;
width: 300px;
vertical-align: middle;
margin: 0px 25px;
white-space: normal;
max-width: ~"calc(50% - 50px)";
@media screen and (max-width: 500px) {
display: block;
max-width: 100%;
margin: 0 auto;
}
}
@media screen and (max-width: @media-not-big) {
padding: 10px 5vh;
.app-container {
width: 1400px;
max-width: 100%;
margin: 0 auto;
}
&>div{
padding: 10px;
width: 45%;
position: relative;
.app-row {
display: inline-block;
vertical-align: middle;
&:not(.image) {
white-space: nowrap;
width: 700px;
max-width: 100%;
margin: 0 auto;
@media screen and (max-width: 1399px) {
display: block;
}
img {
@media screen and (max-width: @media-not-big) {
width: 100%;
left: 0;
display: none;
}
}
}
.image {
text-align: center;
@media screen and (max-width: @media-not-big) {
display: none;
}
.left {
//left: 10%; //@main-border-width;
}
.right {
left: 100px; //@main-border-width;
}
h1, h2, h3, h4, h5, h6 {
padding: 0;
}
@media screen and (max-width: @media-not-big) {
padding: 10px 5vh;
}
p {
@ -213,11 +255,12 @@ body.html {
background-color: #000;
opacity: 0.3;
}
position: absolute;
position: relative;
left: 0;
right: 0;
//padding: 0;
height: ~"calc(100vh - 50px)";
height: ~"calc(100vh - 150px)";
min-height: 450px;
margin: auto;
//margin-top: 100px;
@ -295,7 +338,11 @@ body.html {
width: 100%;
}
.remember {
label {
margin-bottom: 0;
//margin-top: 0.5em;
}
/*.remember {
vertical-align: middle;
line-height: 28px;
height: 28px;
@ -310,10 +357,9 @@ body.html {
//margin-top: 10px;
margin-right: 5px;
}
label {
margin-bottom: 0;
//margin-top: 0.5em;
*/
[type="checkbox"] {
margin-right: 5px;
}
button {
@ -357,7 +403,7 @@ body.html {
@media screen and (max-width: @media-not-big) {
position: relative;
height: auto;
background: #aaa;
//background: #aaa;
top: -10px;
}

@ -1,9 +1,9 @@
@base: #f5f5f5;
@base: #fff; //#f5f5f5;
@dark-base: darken(@base, 20%);
@less-dark-base: darken(@base, 10%);
@light-base: lighten(@base, 20%);
@less-light-base: lighten(@base, 10%);
@fore: #111;
@fore: #555;
@old-base: #302B28;
@old-fore: #fafafa;

@ -296,7 +296,7 @@ define(function () {
out.button_newpad = 'Nouveau document texte';
out.button_newcode = 'Nouvelle page de code';
out.button_newpoll = 'Nouveay sondage';
out.button_newpoll = 'Nouveau sondage';
out.button_newslide = 'Nouvelle présentation';
out.form_title = "Tous vos pads, partout où vous allez !";

Loading…
Cancel
Save