diff --git a/customize.dist/CryptPadlogo_op5.svg b/customize.dist/CryptPadlogo_op5.svg new file mode 100644 index 000000000..aa5acb201 --- /dev/null +++ b/customize.dist/CryptPadlogo_op5.svg @@ -0,0 +1 @@ +CryptPadlogo \ No newline at end of file diff --git a/customize.dist/images/cover-faq.jpg b/customize.dist/images/cover-faq.jpg new file mode 100644 index 000000000..27be3af99 Binary files /dev/null and b/customize.dist/images/cover-faq.jpg differ diff --git a/customize.dist/images/cover-features.jpg b/customize.dist/images/cover-features.jpg new file mode 100644 index 000000000..6652c9b28 Binary files /dev/null and b/customize.dist/images/cover-features.jpg differ diff --git a/customize.dist/images/cover-privacy.jpg b/customize.dist/images/cover-privacy.jpg new file mode 100644 index 000000000..ff873c99d Binary files /dev/null and b/customize.dist/images/cover-privacy.jpg differ diff --git a/customize.dist/pages.js b/customize.dist/pages.js index d77e63617..1e860f2c0 100644 --- a/customize.dist/pages.js +++ b/customize.dist/pages.js @@ -271,113 +271,83 @@ define([ Pages['/features.html'] = function () { return h('div#cp-main', [ infopageTopbar(), - h('div.container.cp-container', [ - h('center', h('h1', Msg.features_title)), - h('table#cp-features-table', [ - h('thead', h('tr', [ - h('th', Msg.features_feature), - h('th', Msg.features_anon), - h('th', Msg.features_registered), - h('th', Msg.features_notes) - ])), - h('tbody', [ - h('tr', [ - h('td', Msg.features_f_pad), - h('td.yes', '✔'),// u2714, u2715 - h('td.yes', '✔'), - h('td', Msg.features_f_pad_notes) - ]), - h('tr', [ - h('td', Msg.features_f_history), - h('td.yes', '✔'), - h('td.yes', '✔'), - h('td', Msg.features_f_history_notes) - ]), - h('tr', [ - h('td', Msg.features_f_export), - h('td.yes', '✔'), - h('td.yes', '✔'), - h('td', Msg.features_f_export_notes) - ]), - h('tr', [ - h('td', Msg.features_f_todo), - h('td.yes', '✔'), - h('td.yes', '✔'), - h('td') - ]), - h('tr', [ - h('td', Msg.features_f_viewFiles), - h('td.yes', '✔'), - h('td.yes', '✔'), - h('td') - ]), - h('tr', [ - h('td', Msg.features_f_drive), - h('td.part', '~'), - h('td.yes', '✔'), - h('td', Msg.features_f_drive_notes) - ]), - h('tr', [ - h('td', Msg.features_f_uploadFiles), - h('td.no', '✕'), - h('td.yes', '✔'), - h('td') - ]), - h('tr', [ - h('td', Msg.features_f_embedFiles), - h('td.no', '✕'), - h('td.yes', '✔'), - h('td') - ]), - h('tr', [ - h('td', Msg.features_f_multiple), - h('td.no', '✕'), - h('td.yes', '✔'), - h('td', Msg.features_f_multiple_notes) - ]), - h('tr', [ - h('td', Msg.features_f_logoutEverywhere), - h('td.no', '✕'), - h('td.yes', '✔'), - h('td', Msg.features_f_logoutEverywhere_notes || '') - ]), - h('tr', [ - h('td', Msg.features_f_templates), - h('td.no', '✕'), - h('td.yes', '✔'), - h('td', Msg.features_f_templates_notes) - ]), - h('tr', [ - h('td', Msg.features_f_profile), - h('td.no', '✕'), - h('td.yes', '✔'), - h('td', Msg.features_f_profile_notes) - ]), - h('tr', [ - h('td', Msg.features_f_tags), - h('td.no', '✕'), - h('td.yes', '✔'), - h('td', Msg.features_f_tags_notes) - ]), - h('tr', [ - h('td', Msg.features_f_contacts), - h('td.no', '✕'), - h('td.yes', '✔'), - h('td', Msg.features_f_contacts_notes) - ]), - h('tr', [ - h('td', Msg.features_f_storage), - h('td.no', Msg.features_f_storage_anon), - setHTML(h('td.yes.left'), Msg.features_f_storage_registered), - h('td') - ]), - ]) + h('div.container-fluid.cp_cont_features',[ + h('div.container',[ + h('center', h('h1', Msg.features_title)), + ]), + ]), + h('div.container',[ + h('div.row.cp-container.cp-features-web.justify-content-sm-center',[ + h('div.col-12.col-sm-6.cp-anon-user',[ + h('div.card',[ + h('div.card-body',[ + h('h3.text-center',Msg.features_anon) + ]), + h('ul.list-group.list-group-flush', [ + h('li.list-group-item.text-center', Msg.features_f_pad , [ + h('a.voted', {href: '#', 'data-toggle' : 'tooltip', 'data-placement': 'bottom', title : Msg.features_f_pad_notes}, h('i.fa.fa-question')) + ]), + h('li.list-group-item.text-center', Msg.features_f_history, [ + h('a.voted', {href: '#', 'data-toggle' : 'tooltip', 'data-placement': 'bottom', title : Msg.features_f_history_notes }, h('i.fa.fa-question') ) + ]), + h('li.list-group-item.text-center', Msg.features_f_export, [ + h('a.voted', {href: '#', 'data-toggle' : 'tooltip', 'data-placement': 'bottom', title : Msg.features_f_export_notes }, h('i.fa.fa-question')) + ]), + h('li.list-group-item.text-center', Msg.features_f_todo), + h('li.list-group-item.text-center', Msg.features_f_viewFiles), + h('li.list-group-item.text-center', Msg.features_f_drive), + h('li.list-group-item.text-center', Msg.features_f_storage_anon), + ]), + ]), + ]), + h('div.col-12.col-sm-6.cp-regis-user',[ + h('div.card',[ + h('div.card-body',[ + h('h3.text-center',Msg.features_registered) + ]), + h('ul.list-group.list-group-flush', [ + h('li.list-group-item.text-center', Msg.features_f_pad, [ + h('a.voted', {href: '#', 'data-toggle' : 'tooltip', 'data-placement': 'bottom', title : Msg.features_f_pad_notes}, h('i.fa.fa-question')) + ]), + h('li.list-group-item.text-center', Msg.features_f_history, [ + h('a.voted', {href: '#', 'data-toggle' : 'tooltip', 'data-placement': 'bottom', title : Msg.features_f_history_notes }, h('i.fa.fa-question')) + ]), + h('li.list-group-item.text-center', Msg.features_f_export, [ + h('a.voted', {href: '#', 'data-toggle' : 'tooltip', 'data-placement': 'bottom', title : Msg.features_f_export_notes }, h('i.fa.fa-question')) + ]), + h('li.list-group-item.text-center', Msg.features_f_todo), + h('li.list-group-item.text-center', Msg.features_f_viewFiles), + h('li.list-group-item.text-center', Msg.features_f_drive_full), + h('li.list-group-item.text-center', Msg.features_f_uploadFiles), + h('li.list-group-item.text-center', Msg.features_f_embedFiles), + h('li.list-group-item.text-center', Msg.features_f_multiple, [ + h('a.voted', {href: '#', 'data-toggle' : 'tooltip', 'data-placement': 'bottom', title : Msg.features_f_multiple_notes }, h('i.fa.fa-question')) + ]), + h('li.list-group-item.text-center', Msg.features_f_logoutEverywhere), + h('li.list-group-item.text-center', Msg.features_f_templates, [ + h('a.voted', {href: '#', 'data-toggle' : 'tooltip', 'data-placement': 'bottom', title : Msg.features_f_templates_notes }, h('i.fa.fa-question')) + ]), + h('li.list-group-item.text-center', Msg.features_f_profile, [ + h('a.voted', {href: '#', 'data-toggle' : 'tooltip', 'data-placement': 'bottom', title : Msg.features_f_profile_notes }, h('i.fa.fa-question')) + ]), + h('li.list-group-item.text-center', Msg.features_f_tags, [ + h('a.voted', {href: '#', 'data-toggle' : 'tooltip', 'data-placement': 'bottom', title : Msg.features_f_tags_notes }, h('i.fa.fa-question')) + ]), + h('li.list-group-item.text-center', Msg.features_f_contacts, [ + h('a.voted', {href: '#', 'data-toggle' : 'tooltip', 'data-placement': 'bottom', title : Msg.features_f_contacts_notes }, h('i.fa.fa-question')) + ]), + h('li.list-group-item.text-center', setHTML(h('div'), Msg.features_f_storage_registered)), + ]), + h('div.card-body',[ + h('div#cp-features-register', [ + h('a', { + href: '/register/' + }, h('button.cp-features-register-button', 'Register for free')) + ]), + ]), + ]), + ]), ]), - h('div#cp-features-register', [ - h('a', { - href: '/register/' - }, h('button.cp-features-register-button', 'Register for free')) - ]) ]), infopageFooter() ]); @@ -386,25 +356,35 @@ define([ Pages['/privacy.html'] = function () { return h('div#cp-main', [ infopageTopbar(), - h('div.container.cp-container', [ - h('center', h('h1', Msg.policy_title)), - h('h2', Msg.policy_whatweknow), + h('.container-fluid.cp-privacy-top', [ + h('div.container',[ + h('center', h('h1', Msg.policy_title)), + ]), + ]), + h('div.container.cp-container.cp-privacy',[ + h('h3', Msg.policy_whatweknow), + h('hr'), setHTML(h('p'), Msg.policy_whatweknow_p1), - h('h2', Msg.policy_howweuse), + h('h3', Msg.policy_howweuse), + h('hr'), h('p', Msg.policy_howweuse_p1), h('p', Msg.policy_howweuse_p2), - h('h2', Msg.policy_whatwetell), + h('h3', Msg.policy_whatwetell), + h('hr'), h('p', Msg.policy_whatwetell_p1), - h('h2', Msg.policy_links), + h('h3', Msg.policy_links), + h('hr'), h('p', Msg.policy_links_p1), - h('h2', Msg.policy_ads), + h('h3', Msg.policy_ads), + h('hr'), h('p', Msg.policy_ads_p1), - h('h2', Msg.policy_choices), + h('h3', Msg.policy_choices), + h('hr'), h('p', Msg.policy_choices_open), setHTML(h('p'), Msg.policy_choices_vpn), ]), @@ -425,8 +405,10 @@ define([ var question = h('p.cp-faq-questions-q#' + hash); $(question).click(function () { if ($(answer).is(':visible')) { + $(question).toggleClass('cp-active-faq'); return void $(answer).slideUp(); } + $(question).toggleClass('cp-active-faq'); $(answer).slideDown(); }); questions.push(h('div.cp-faq-questions-items', [ @@ -445,11 +427,15 @@ define([ } return h('div#cp-main', [ infopageTopbar(), - h('div.container.cp-container', [ - h('center', h('h1', Msg.faq_title)), - h('p.cp-faq-header', h('a.nav-item.nav-link', { + h('div.container-fluid.cp-faq', [ + h('div.container',[ + h('center', h('h1', Msg.faq_title)), + ]), + ]), + h('div.container.cp-faq-ques-det',[ + h('div.cp-faq-header.text-center', h('a.nav-item.nav-link', { href: '/what-is-cryptpad.html' - }, Msg.faq_whatis)), + }, setHTML(h('h4'),Msg.faq_whatis))), h('div.cp-faq-container', categories) ]), infopageFooter() diff --git a/customize.dist/src/less2/pages/page-about.less b/customize.dist/src/less2/pages/page-about.less index 83354abd7..9850b9621 100644 --- a/customize.dist/src/less2/pages/page-about.less +++ b/customize.dist/src/less2/pages/page-about.less @@ -7,25 +7,25 @@ background: #fff; } .cp-about-intro { - padding-top: 3em; - padding-bottom: 3em; - background-image: url(/customize/bkabout.jpg); + padding-top: 3em; + padding-bottom: 3em; + background-image: url(/customize/bkabout.jpg); background-size: cover; background-repeat: no-repeat; background-position: center; .container { - color: #fff; - font-family: "Open Sans"; - h1 { - font-weight: 700; - } - a { - color: #fff; - text-decoration: underline; - } - p { - padding-top: 1em; - } + color: #fff; + font-family: "Open Sans"; + h1 { + font-weight: 700; + } + a { + color: #fff; + text-decoration: underline; + } + p { + padding-top: 1em; + } } } .cp-container { diff --git a/customize.dist/src/less2/pages/page-contact.less b/customize.dist/src/less2/pages/page-contact.less index 4d2f9ad0e..5cfe5245b 100644 --- a/customize.dist/src/less2/pages/page-contact.less +++ b/customize.dist/src/less2/pages/page-contact.less @@ -8,76 +8,76 @@ padding-right: 0.25em; } #cp-main { - background-color: #fff; + background-color: #fff; } .cp-container { - background: #fff; - .cp-iconCont { - h4 { - margin-top: 1.5em; - margin-bottom: 1.5em; - } - div { - .card { - padding: 4em 1em 0.5em 1em; - box-shadow: 0 5px 15px rgba(69,145,196, 0.3); - border-color: #fff; - text-align: center; - margin-bottom: 1em; - &:hover, &:focus { - text-decoration: none; - transform: scale(1.05); - } - @media (max-width: 1200px) and (min-width: 769px) { - min-height: 139px; - } - @media (max-width: 768px) and (min-width: 576px) { - min-height: 164px; - } - @media (max-width: 496px) { - min-height: 140px; - } - @media (max-width: 335px) { - min-height: 162px; - } - } - &:nth-child(2) { - .card { - background-image: url(/customize/images/twitter.svg); - background-repeat: no-repeat; - background-position: 50% 10%; - background-size: 3rem; - } - } - &:nth-child(3) { - .card { - background-image: url(/customize/images/issue.svg); - background-repeat: no-repeat; - background-position: 50% 10%; - background-size: 3rem; - } - } - &:nth-child(4) { - .card { - background-image: url(/customize/images/sayhi.svg); - background-repeat: no-repeat; - background-position: 50% 10%; - background-size: 3rem; - } - } - &:nth-child(5) { - .card { - background-image: url(/customize/images/email.svg); - background-repeat: no-repeat; - background-position: 50% 10%; - background-size: 3rem; - } - } - } - } + background: #fff; + .cp-iconCont { + h4 { + margin-top: 1.5em; + margin-bottom: 1.5em; + } + div { + .card { + padding: 4em 1em 0.5em 1em; + box-shadow: 0 5px 15px rgba(69,145,196, 0.3); + border-color: #fff; + text-align: center; + margin-bottom: 1em; + &:hover, &:focus { + text-decoration: none; + transform: scale(1.05); + } + @media (max-width: 1200px) and (min-width: 769px) { + min-height: 139px; + } + @media (max-width: 768px) and (min-width: 576px) { + min-height: 164px; + } + @media (max-width: 496px) { + min-height: 140px; + } + @media (max-width: 335px) { + min-height: 162px; + } + } + &:nth-child(2) { + .card { + background-image: url(/customize/images/twitter.svg); + background-repeat: no-repeat; + background-position: 50% 10%; + background-size: 3rem; + } + } + &:nth-child(3) { + .card { + background-image: url(/customize/images/issue.svg); + background-repeat: no-repeat; + background-position: 50% 10%; + background-size: 3rem; + } + } + &:nth-child(4) { + .card { + background-image: url(/customize/images/sayhi.svg); + background-repeat: no-repeat; + background-position: 50% 10%; + background-size: 3rem; + } + } + &:nth-child(5) { + .card { + background-image: url(/customize/images/email.svg); + background-repeat: no-repeat; + background-position: 50% 10%; + background-size: 3rem; + } + } + } + } } .cp-contdet { - padding-top: 3em; + padding-top: 3em; padding-bottom: 3em; background-image: url(/customize/images/bkcontact.jpg); background-size: cover; diff --git a/customize.dist/src/less2/pages/page-faq.less b/customize.dist/src/less2/pages/page-faq.less index 99df97f9f..f0861a40d 100644 --- a/customize.dist/src/less2/pages/page-faq.less +++ b/customize.dist/src/less2/pages/page-faq.less @@ -3,20 +3,49 @@ .infopages_main(); .infopages_topbar(); +#cp-main { + background: #fff; +} +.cp-faq { + padding-top: 3em; + padding-bottom: 3em; + background-image: url(/customize/images/cover-faq.jpg); + background-size: cover; + background-repeat: no-repeat; + background-position: center; + .container { + color: #fff; + font-family: "Open Sans"; + } + h1 { + font-weight: 700; + } +} -.cp-faq-header { - padding: 0; - font-size: 1.2em; - a { - padding: 0; +.cp-faq-ques-det { + .cp-faq-header { + a { + padding: 0; + h4 { + margin-top: 1.5rem; + margin-bottom: 1.5rem; + .cp-brand-font { + font-family: "Neuropolitical"; + } + } + } } } .cp-faq-container { + .cp-faq-questions-items { + background: #3a84b6; + color: #fff; + padding: 1rem 1rem 0.5rem 1rem; + margin-bottom: 1rem; + } .cp-faq-questions-q { - color: #3a84b6; padding: 0; - margin-bottom: 0; - margin-top: 5px; + margin-bottom: 0.5rem; cursor: pointer; -webkit-touch-callout: none; -webkit-user-select: none; @@ -24,14 +53,32 @@ -moz-user-select: none; -ms-user-select: none; user-select: none; + &:hover { + text-decoration: none; + } + &:after { + content: '\f067'; + font-family: FontAwesome; + font-weight: normal; + font-style: normal; + float: right; + text-decoration: none; + font-size: 13px; + line-height: 1.5; + } } - .cp-faq-questions-q:hover { - color: #2e688f; - text-decoration: underline; + .cp-faq-questions-q.active-faq { + &:after { + content: '\f068'; + } } .cp-faq-questions-a { display: none; - padding: 0; + padding: 0.5rem; + margin-bottom: 0.5rem; + background-color: #fff; + color: #212529; } + margin-bottom: 1.5rem; } diff --git a/customize.dist/src/less2/pages/page-features.less b/customize.dist/src/less2/pages/page-features.less index 37f2be245..1c365ca30 100644 --- a/customize.dist/src/less2/pages/page-features.less +++ b/customize.dist/src/less2/pages/page-features.less @@ -3,53 +3,21 @@ .infopages_main(); .infopages_topbar(); - -@features_th-bg: #555; -@features_th-fg: #fff; -@features_tr-bg-alt: #ddd; -@features_notes: #333; -@features_yes: #c4ffca; -@features_no: #ffc4bc; -@features_part: #faffd3; - -table#cp-features-table { - width: 100%; - th { - background-color: @features_th-bg; - color: @features_th-fg; - padding: 10px; - border: 1px solid @features_th-bg; - } - tbody { - td { - height: 32px; - line-height: 32px; - padding: 5px; - border: 1px solid @features_th-bg; - } - tr:nth-child(odd) { - background-color: @features_tr-bg-alt; - } - } - td:nth-child(4) { - color: @features_notes; - font-size: 14px; - font-style: italic; - } - td:first-child { - font-weight: bold; - } - .yes, .no, .part { - text-align: center; - } - .yes { background-color: @features_yes; } - .no { background-color: @features_no; } - .part { background-color: @features_part; } - .left { - text-align: left; +#cp-main { + background-color: #fff; +} +.cp_cont_features { + padding-top: 3em; + padding-bottom: 3em; + background-image: url('/customize/images/cover-features.jpg'); + background-size: cover; + background-repeat: no-repeat; + background-position: center; + h1 { + font-weight: 700; + color: #fff; } } - #cp-features-register { text-align: center; padding: 20px; @@ -62,6 +30,57 @@ table#cp-features-table { border-radius: 0; &:hover { transform: scale(1.05); + cursor: pointer; + } + padding: 0.5em 1em; +} +.cp-features-web { + .card { + box-shadow: 0 5px 15px rgba(69, 145, 196, 0.3); + border: none; + } + h3 { + color: #fff; + } + .list-group { + li { + &:before { + content: "\f00c"; + font-family: "FontAwesome"; + font-size: 14px; + color: @cryptpad_color_blue; + padding-right: 10px; + } + } + div { + display: inline; + } + } + a.voted { + opacity: 0.6; + margin-left: 15px; + &:hover { + opacity: 1; + } + } + .list-group-item { + border-color: rgba(69, 145, 196, 0.125); + } +} +.cp-anon-user { + .card-body { + background-color: @cryptpad_color_blue; + } +} +.cp-regis-user { + @media (max-width:767px) { + margin-top: 3em; + } + .card-body { + &:first-of-type { + background: #4591C4; + background: -webkit-linear-gradient(to right, #FF7C4F, #4592C4); // lesshint duplicateProperty: false + background: linear-gradient(to right, #FF7C4F, #4592C4); // lesshint duplicateProperty: false + } } } - diff --git a/customize.dist/src/less2/pages/page-index.less b/customize.dist/src/less2/pages/page-index.less index b0a6d124e..75518f5f8 100644 --- a/customize.dist/src/less2/pages/page-index.less +++ b/customize.dist/src/less2/pages/page-index.less @@ -26,20 +26,20 @@ body { font-family: "Open Sans", Helvetica; } .cp-right { - .cp-register-btn { - padding: 0.5em 1em 0.7em 1em; - border: 2px solid #fff; - &:hover { - transform: scale(1.05); - } - } - .cp-login-btn { - color: #fff; - padding: 0.5em 1em 0.7em 1em; - &:hover { - transform: scale(1.05); - } - } + .cp-register-btn { + padding: 0.5em 1em 0.7em 1em; + border: 2px solid #fff; + &:hover { + transform: scale(1.05); + } + } + .cp-login-btn { + color: #fff; + padding: 0.5em 1em 0.7em 1em; + &:hover { + transform: scale(1.05); + } + } } .cp-title { display: flex; diff --git a/customize.dist/src/less2/pages/page-login.less b/customize.dist/src/less2/pages/page-login.less index 5ad874d0f..2f77e74f4 100644 --- a/customize.dist/src/less2/pages/page-login.less +++ b/customize.dist/src/less2/pages/page-login.less @@ -17,7 +17,7 @@ } } .cp-container { - #data { + #data { background: #4591C4; padding-top: 3em; padding-bottom: 7em; @@ -31,7 +31,7 @@ color: @cryptpad_header_col; } } - #userForm { + #userForm { padding-top: 3em; padding-bottom: 2em; .form-control { @@ -47,23 +47,23 @@ } } .align-items-center { - box-shadow: 0 5px 15px rgba(69,145,196, 0.3); - background: #fff; + box-shadow: 0 5px 15px rgba(69,145,196, 0.3); + background: #fff; } .extra { - margin-top: 1em; - .login { - background: @cryptpad_color_blue; - color: #fff; - padding: 10px; + margin-top: 1em; + .login { + background: @cryptpad_color_blue; + color: #fff; + padding: 10px; border-radius: 0; - &:hover { - transform: scale(1.05); - } - } + &:hover { + transform: scale(1.05); + } + } } } .cp-container { - padding-top: 3em; - min-height: 66vh; + padding-top: 3em; + min-height: 66vh; } diff --git a/customize.dist/src/less2/pages/page-privacy.less b/customize.dist/src/less2/pages/page-privacy.less index a1f8b2955..cfd575173 100644 --- a/customize.dist/src/less2/pages/page-privacy.less +++ b/customize.dist/src/less2/pages/page-privacy.less @@ -3,3 +3,46 @@ .infopages_main(); .infopages_topbar(); +#cp-main { + background: #fff; +} +.cp-privacy-top { + padding-top: 3em; + padding-bottom: 3em; + background-image: url(/customize/images/cover-privacy.jpg); + background-size: cover; + background-repeat: no-repeat; + background-position: center; + .container { + color: #fff; + font-family: "Open Sans"; + h1 { + font-weight: 700; + } + a { + color: #fff; + text-decoration: underline; + } + p { + padding-top: 1em; + } + } +} +.cp-privacy { + background-image: url(/customize/CryptPadlogo_op5.svg); + background-size: cover; + background-repeat: no-repeat; + background-position: center; + hr { + margin-left: 0; + width: 15rem; + border-top: 2px solid #4591C4; + } + h3 { + color: #1E1F1F; + font-weight: 700; + } + p { + color: #3F4141; + } +} diff --git a/customize.dist/src/less2/pages/page-what-is-cryptpad.less b/customize.dist/src/less2/pages/page-what-is-cryptpad.less index 0e02ce41a..f08655b9c 100644 --- a/customize.dist/src/less2/pages/page-what-is-cryptpad.less +++ b/customize.dist/src/less2/pages/page-what-is-cryptpad.less @@ -5,39 +5,39 @@ .infopages_topbar(); .cp-what-is { - padding-top: 3em; - padding-bottom: 3em; - background-image: url(/customize/bkwhat.jpg); - background-size: cover; - background-repeat: no-repeat; - background-position: center; - color: #fff; - h1 { - font-weight: 700; - } + padding-top: 3em; + padding-bottom: 3em; + background-image: url(/customize/bkwhat.jpg); + background-size: cover; + background-repeat: no-repeat; + background-position: center; + color: #fff; + h1 { + font-weight: 700; + } } #cp-main { - background: #fff; + background: #fff; } .cp-container { - padding-top: 3em; - padding-bottom: 3em; - h2 { - margin-top: 0; - font-weight: 700; - color: @cryptpad_header_col; - } - p { - color: @cryptpad_text_col; - } - #zeroknowledge { - width: 65%; - } - .row { - margin-bottom: 1.5em; - } - img { - display: block; - margin: 0 auto; - } + padding-top: 3em; + padding-bottom: 3em; + h2 { + margin-top: 0; + font-weight: 700; + color: @cryptpad_header_col; + } + p { + color: @cryptpad_text_col; + } + #zeroknowledge { + width: 65%; + } + .row { + margin-bottom: 1.5em; + } + img { + display: block; + margin: 0 auto; + } } diff --git a/customize.dist/translations/messages.fr.js b/customize.dist/translations/messages.fr.js index b3cfa7301..8e821f539 100644 --- a/customize.dist/translations/messages.fr.js +++ b/customize.dist/translations/messages.fr.js @@ -771,7 +771,7 @@ define(function () { out.faq_link = "FAQ"; out.faq_title = "Foire Aux Questions"; - out.faq_whatis = "Qu'est-ce que CryptPad ?"; + out.faq_whatis = "Qu'est-ce que CryptPad ?"; out.faq = {}; out.faq.keywords = { title: 'Termes spéciaux', diff --git a/customize.dist/translations/messages.js b/customize.dist/translations/messages.js index c55265e00..1c3301d13 100644 --- a/customize.dist/translations/messages.js +++ b/customize.dist/translations/messages.js @@ -748,7 +748,8 @@ define(function () { out.features_f_history = "History"; out.features_f_history_notes = "View and restore any version of your pads"; out.features_f_todo = "Create a TODO-list"; - out.features_f_drive = "CryptDrive"; + out.features_f_drive = "Basic set of features CryptDrive"; + out.features_f_drive_full = "Full set of features CryptDrive"; out.features_f_drive_notes = "Basic features for anonymous users"; out.features_f_export = "Export/Import"; out.features_f_export_notes = "For pads and CryptDrive"; @@ -769,14 +770,14 @@ define(function () { out.features_f_contacts = "Contacts application"; out.features_f_contacts_notes = "Add contacts and chat with them in an encrypted session"; out.features_f_storage = "Storage"; - out.features_f_storage_anon = "Pads deleted after 3 months"; + out.features_f_storage_anon = "Pads are deleted after 3 months"; out.features_f_storage_registered = "Free: 50MB
Premium: 5GB/20GB/50GB"; // faq.html out.faq_link = "FAQ"; out.faq_title = "Frequently Asked Questions"; - out.faq_whatis = "What is CryptPad?"; + out.faq_whatis = "What is CryptPad?"; out.faq = {}; out.faq.keywords = { title: 'Keywords',