Merge branch 'front-page' of https://git.xwikisas.com/xwiki-labs/cryptpad into front-page

This commit is contained in:
CatalinScr committed 2017-08-04 17:58:48 +03:00
commit 5afadf10aa
12 files changed
+89 -51

No files matched your search

+1
View File
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" height="121.477" width="462.395"><path fill="#4591c4" word-spacing="0" letter-spacing="0" font-family="Neuropolitical Rg" font-size="40" font-weight="400" d="M127.704 81.639c-3.028 0-5.552-.252-7.571-.757-2.02-.505-3.635-1.312-4.846-2.423-1.212-1.11-2.07-2.564-2.575-4.361-.506-1.798-.758-4.01-.758-6.634V54.502c0-2.585.252-4.786.758-6.603.505-1.817 1.363-3.281 2.575-4.392 1.211-1.111 2.826-1.919 4.846-2.424 2.02-.504 4.543-.757 7.57-.757h28.652v7.936H128.13c-1.414 0-2.575.111-3.484.333-.909.222-1.626.596-2.15 1.12-.526.526-.89 1.222-1.091 2.09-.202.869-.304 1.929-.304 3.18v12.117c0 1.291.102 2.361.304 3.21.202.848.565 1.535 1.09 2.059.525.524 1.252.888 2.18 1.09.93.202 2.1.303 3.514.303h28.167v7.875zm34.598 0v-19.02c0-2.464.283-4.564.849-6.3.565-1.737 1.464-3.16 2.696-4.27 1.232-1.11 2.816-1.929 4.754-2.454 1.938-.525 4.3-.787 7.087-.787h5.877v7.33h-5.635c-1.25 0-2.3.1-3.149.302-.848.201-1.525.545-2.03 1.03-.504.484-.868 1.15-1.09 1.999-.221.848-.332 1.918-.332 3.21v18.96zm35.464-15.75c0 1.818.393 3.08 1.18 3.787.788.707 2.111 1.06 3.97 1.06h20.17V48.808h8.785v32.225c0 3.675-.91 6.33-2.726 7.965-1.817 1.636-4.786 2.453-8.906 2.453h-13.143v-7.388h12.356c1.252 0 2.17-.243 2.756-.728.585-.485.878-1.414.878-2.787v-2.665H202.37c-2.463 0-4.553-.232-6.269-.696-1.716-.464-3.11-1.181-4.18-2.15-1.07-.97-1.847-2.181-2.332-3.635-.484-1.453-.726-3.17-.726-5.149V48.808h8.903zm68.398-17.081c3.069 0 5.613.252 7.632.757 2.02.505 3.634 1.312 4.846 2.422 1.211 1.11 2.07 2.575 2.574 4.392.505 1.817.757 4.038.757 6.663v4.422c0 2.625-.252 4.836-.757 6.634-.505 1.797-1.363 3.251-2.574 4.361-1.212 1.11-2.827 1.918-4.846 2.423-2.02.505-4.563.757-7.632.757H247.87v9.812h-9.027V63.042c0-2.625.253-4.846.757-6.663.505-1.817 1.363-3.281 2.576-4.392 1.212-1.11 2.827-1.917 4.846-2.422 2.018-.505 4.563-.757 7.632-.757zm6.784 14.476c0-1.453-.111-2.624-.333-3.512-.223-.889-.637-1.575-1.243-2.06-.605-.485-1.423-.808-2.453-.97-1.03-.161-2.332-.242-3.907-.242h-10.054c-1.414 0-2.585.101-3.515.303-.929.202-1.656.556-2.18 1.06-.526.505-.89 1.191-1.09 2.06-.202.868-.303 1.969-.303 3.302v10.72h17.203c1.575 0 2.867-.07 3.877-.212 1.009-.14 1.817-.453 2.422-.938.606-.484 1.02-1.17 1.243-2.06.222-.888.333-2.08.333-3.574zm17.706 18.355V56.138h-4.603v-7.33h4.603v-9.269h9.208v9.269h10.358v7.33h-10.358v25.501z" style="line-height:125%;-inkscape-font-specification:'Neuropolitical Rg';text-align:start"/><path fill="#999" word-spacing="0" letter-spacing="0" font-family="Neuropolitical Rg" font-size="40" font-weight="400" d="M323.775 69.826V81.64h-9.207V40.326h33.075c2.948 0 5.41.233 7.39.697 1.978.465 3.573 1.233 4.785 2.303 1.211 1.07 2.07 2.453 2.574 4.149.504 1.696.757 3.755.757 6.178v3.573c0 2.464-.242 4.504-.727 6.12-.484 1.615-1.322 2.907-2.513 3.877-1.191.969-2.776 1.645-4.755 2.029-1.98.383-4.483.574-7.511.574zm30.168-15.809c0-2.22-.475-3.735-1.425-4.543-.95-.808-2.655-1.211-5.117-1.212h-23.626v14.115h23.746c2.423 0 4.099-.374 5.028-1.122.93-.747 1.394-2.21 1.394-4.391zm26.135 27.622c-2.382 0-4.34-.202-5.875-.605-1.534-.404-2.756-.98-3.664-1.727-.91-.747-1.546-1.656-1.91-2.726-.363-1.07-.544-2.271-.544-3.605v-3.089c0-1.372.171-2.594.514-3.664a6.016 6.016 0 0 1 1.788-2.726c.849-.747 2.01-1.312 3.484-1.696 1.474-.384 3.341-.576 5.603-.576h24.29v-.727c0-2.1-.424-3.503-1.272-4.21-.849-.707-2.282-1.06-4.301-1.06h-8.966v-6.42h8.966c2.625 0 4.856.242 6.694.726 1.837.485 3.341 1.222 4.512 2.211 1.17.99 2.029 2.242 2.574 3.756.546 1.514.818 3.32.818 5.42v7.998c0 2.382-.232 4.38-.697 5.996-.464 1.615-1.272 2.927-2.422 3.937-1.15 1.01-2.685 1.727-4.603 2.151-1.919.424-4.332.636-7.24.636zm23.686-14.84h-23.322c-1.05 0-1.877.232-2.483.696-.606.465-.909 1.343-.909 2.635v2.24c0 1.172.323 1.98.97 2.425.646.444 1.555.666 2.726.666h16.96c1.05 0 1.96-.08 2.726-.242.767-.162 1.393-.455 1.878-.88.484-.424.847-1.02 1.09-1.787.243-.767.364-1.756.364-2.968zm31.371 14.84c-3.069 0-5.623-.252-7.662-.757-2.04-.505-3.665-1.312-4.877-2.423-1.211-1.11-2.07-2.564-2.574-4.361-.505-1.798-.757-4.01-.757-6.634v-4.422c0-2.625.252-4.846.757-6.663.505-1.817 1.363-3.281 2.574-4.392 1.212-1.11 2.837-1.917 4.877-2.422 2.04-.505 4.593-.757 7.662-.757h18.233V38.206h9.027v29.258c0 2.625-.253 4.836-.758 6.634-.506 1.797-1.364 3.251-2.575 4.361-1.212 1.11-2.827 1.918-4.847 2.423-2.019.505-4.563.757-7.631.757zm-6.845-14.417c0 1.454.11 2.625.333 3.514.223.889.637 1.575 1.243 2.06.605.484 1.423.807 2.453.968 1.03.161 2.352.242 3.968.242h10.054c1.414 0 2.575-.09 3.483-.273.908-.181 1.625-.525 2.15-1.03.525-.504.889-1.19 1.09-2.059.203-.868.304-1.988.304-3.361V56.56h-17.142c-1.575 0-2.878.08-3.907.242-1.03.162-1.848.485-2.453.97-.606.485-1.02 1.171-1.243 2.059-.222.888-.333 2.059-.333 3.513z" style="line-height:125%;-inkscape-font-specification:'Neuropolitical Rg';text-align:start"/><path fill="#4591c4" d="M50.245 0L12.746 6.927c-1.325-.943-2.96-1.478-4.71-1.478A8.031 8.031 0 0 0 0 13.485a8.094 8.094 0 0 0 4.156 7.066v54.078c0 5.092 2.278 10.59 6.79 16.349 3.996 5.Line truncated

After

Width:  |  Height:  |  Size: 7.5 KiB

+1 -1
View File
@@ -1 +1 @@
<svg id="svg2" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 360.4 94.7"><defs><style>.cls-1{fill:#fff;}</style></defs><title>CryptPad white logo</title><g id="g4864"><path id="path4866" class="cls-1" d="M450.4,411.6a24.8,24.8,0,0,1-5.9-.6,8.5,8.5,0,0,1-3.8-1.9,7.1,7.1,0,0,1-2-3.4,19.4,19.4,0,0,1-.6-5.2V390.4a19.4,19.4,0,0,1,.6-5.1,7.1,7.1,0,0,1,2-3.4,8.5,8.5,0,0,1,3.8-1.9,24.8,24.8,0,0,1,5.9-.6h22.3v6.2h-22a11.8,11.8,0,0,0-2.7.3,3.5,3.5,0,0,0-1.7.9,3.3,3.3,0,0,0-.9,1.6,11.1,11.1,0,0,0-.2,2.5v9.4a11.1,11.1,0,0,0,.2,2.5,3.3,3.3,0,0,0,.9,1.6,3.3,3.3,0,0,0,1.7.8l2.7.2h22v6.1Z" transform="translate(-350.9 -348)"/><path id="path4868" class="cls-1" d="M477.4,411.6V396.8a16,16,0,0,1,.7-4.9,7.5,7.5,0,0,1,2.1-3.3,8.9,8.9,0,0,1,3.7-1.9,21.4,21.4,0,0,1,5.5-.6H494v5.7h-4.4l-2.5.2a3.3,3.3,0,0,0-1.6.8,3.2,3.2,0,0,0-.8,1.6,10.1,10.1,0,0,0-.3,2.5v14.8Z" transform="translate(-350.9 -348)"/><path id="path4870" class="cls-1" d="M505,399.3a3.8,3.8,0,0,0,.9,3,4.6,4.6,0,0,0,3.1.8h15.7V386h6.8v25.1q0,4.3-2.1,6.2t-6.9,1.9H512.3v-5.8h9.6a3.3,3.3,0,0,0,2.1-.6,2.7,2.7,0,0,0,.7-2.2v-2.1H508.6a19,19,0,0,1-4.9-.5,7.8,7.8,0,0,1-3.3-1.7,6.5,6.5,0,0,1-1.8-2.8,12.7,12.7,0,0,1-.6-4V386H505Z" transform="translate(-350.9 -348)"/><path id="path4872" class="cls-1" d="M558.3,386a25.1,25.1,0,0,1,5.9.6,8.5,8.5,0,0,1,3.8,1.9,7.1,7.1,0,0,1,2,3.4,19.7,19.7,0,0,1,.6,5.2v3.4a19.4,19.4,0,0,1-.6,5.2,7.1,7.1,0,0,1-2,3.4,8.5,8.5,0,0,1-3.8,1.9,25.1,25.1,0,0,1-5.9.6H544.1v7.6h-7V397.1a19.7,19.7,0,0,1,.6-5.2,7.1,7.1,0,0,1,2-3.4,8.6,8.6,0,0,1,3.8-1.9,25.1,25.1,0,0,1,5.9-.6Zm5.3,11.3a11.7,11.7,0,0,0-.3-2.7,2.9,2.9,0,0,0-1-1.6,4,4,0,0,0-1.9-.8l-3-.2h-7.8l-2.7.2a3.5,3.5,0,0,0-1.7.8,3.2,3.2,0,0,0-.8,1.6,11.7,11.7,0,0,0-.2,2.6v8.4h13.4l3-.2a3.8,3.8,0,0,0,1.9-.7,2.9,2.9,0,0,0,1-1.6,11.9,11.9,0,0,0,.3-2.8Z" transform="translate(-350.9 -348)"/><path id="path4874" class="cls-1" d="M577.4,411.6V391.7h-3.6V386h3.6v-7.2h7.2V386h8.1v5.7h-8.1v19.9Z" transform="translate(-350.9 -348)"/><path id="path4876" class="cls-1" d="M603.2,402.4v9.2h-7.2V379.4h25.8a25.7,25.7,0,0,1,5.8.5,8.4,8.4,0,0,1,3.7,1.8,6.8,6.8,0,0,1,2,3.2,17.1,17.1,0,0,1,.6,4.8v2.8a16.9,16.9,0,0,1-.6,4.8,6,6,0,0,1-2,3,8.3,8.3,0,0,1-3.7,1.6,31.6,31.6,0,0,1-5.9.4Zm23.5-12.3q0-2.6-1.1-3.5t-4-.9H603.2v11h18.5a6.5,6.5,0,0,0,3.9-.9q1.1-.9,1.1-3.4Z" transform="translate(-350.9 -348)"/><path id="path4878" class="cls-1" d="M647.1,411.6a18.4,18.4,0,0,1-4.6-.5,7.4,7.4,0,0,1-2.9-1.3,4.6,4.6,0,0,1-1.5-2.1,8.7,8.7,0,0,1-.4-2.8v-2.4a9.3,9.3,0,0,1,.4-2.9,4.7,4.7,0,0,1,1.4-2.1,6.5,6.5,0,0,1,2.7-1.3,17.7,17.7,0,0,1,4.4-.4h18.9v-.6q0-2.5-1-3.3a5.3,5.3,0,0,0-3.4-.8h-7v-5h7a20.7,20.7,0,0,1,5.2.6,8.9,8.9,0,0,1,3.5,1.7,6.7,6.7,0,0,1,2,2.9,12.5,12.5,0,0,1,.6,4.2v6.2a17.2,17.2,0,0,1-.5,4.7,6.3,6.3,0,0,1-1.9,3.1,7.9,7.9,0,0,1-3.6,1.7,26.8,26.8,0,0,1-5.6.5ZM665.6,400H647.4a3.1,3.1,0,0,0-1.9.5,2.5,2.5,0,0,0-.7,2.1v1.7a2.1,2.1,0,0,0,.8,1.9,3.7,3.7,0,0,0,2.1.5h13.2l2.1-.2a3.2,3.2,0,0,0,1.5-.7,3,3,0,0,0,.9-1.4,7.8,7.8,0,0,0,.3-2.3Z" transform="translate(-350.9 -348)"/><path id="path4880" class="cls-1" d="M690,411.6a25.4,25.4,0,0,1-6-.6,8.6,8.6,0,0,1-3.8-1.9,7.1,7.1,0,0,1-2-3.4,19.4,19.4,0,0,1-.6-5.2v-3.4a19.7,19.7,0,0,1,.6-5.2,7.1,7.1,0,0,1,2-3.4,8.6,8.6,0,0,1,3.8-1.9,25.4,25.4,0,0,1,6-.6h14.2v-8.3h7v22.8a19.4,19.4,0,0,1-.6,5.2,7.1,7.1,0,0,1-2,3.4,8.5,8.5,0,0,1-3.8,1.9,25.1,25.1,0,0,1-5.9.6Zm-5.3-11.2a11.7,11.7,0,0,0,.3,2.7,2.9,2.9,0,0,0,1,1.6,4,4,0,0,0,1.9.8l3.1.2h7.8l2.7-.2a3.3,3.3,0,0,0,1.7-.8,3.2,3.2,0,0,0,.9-1.6,11.9,11.9,0,0,0,.2-2.6v-8.4H690.9l-3,.2a4,4,0,0,0-1.9.8,2.9,2.9,0,0,0-1,1.6,11.7,11.7,0,0,0-.3,2.7Z" transform="translate(-350.9 -348)"/><path id="path4882" class="cls-1" d="M390,348l-29.2,5.4a6.3,6.3,0,1,0-6.7,10.6v42.1c0,4,1.8,8.3,5.3,12.7A65.5,65.5,0,0,0,372.5,431,128.2,128.2,0,0,0,390,441.4,128.1,128.1,0,0,0,407.6,431a65.4,65.4,0,0,0,13.1-12.1c3.5-4.5,5.3-8.8,5.3-12.7V363.9a6.3,6.3,0,0,0-3.1-11.7,6.2,6.2,0,0,0-3.6,1.2Zm-.1,6.2,26.7,4.9a5.9,5.9,0,0,0,.2,1.1l-15.7,10.2a15.3,15.3,0,0,0-22.6.1l-15.5-10a6.3,6.3,0,0,0,.3-1.4Zm28.8,9a6.5,6.5,0,0,0,1.8,1.1v41a10.4,10.4,0,0,1-.1,1.7,21.5,21.5,0,0,1-4.1,7.8,56.1,56.1,0,0,1-11.2,10.3,110.6,110.6,0,0,1-15,9,110.8,110.8,0,0,1-15-9,55.8,55.8,0,0,1-11.2-10.3,19.8,19.8,0,0,1-4.4-9.3c0-.1,0-.2,0-.3V364.3a6.3,6.3,0,0,0,1.7-1L381,376.1a10.1,10.1,0,0,1,9-5.4,10,10,0,0,1,9,5.4Z" transform="translate(-350.9 -348)"/><g id="g4884"><path id="path4886" class="cls-1" d="M373.9,402.8a4.6,4.6,0,1,0,0,9.3,4.6,4.6,0,0,0,0-9.3Z" transform="translate(-350.9 -348)"/><path id="path4888" class="cls-1" d="M375.2,376.5a14.9,14.9,0,0,0,4.2,15.4L372,406.7a2.8,2.8,0,0,0,2.3,3.8h11v-5.2h-6.8l6.4-12.8a2.7,2.7,0,0,0-.8-3.3,9.7,9.7,0,0,1-4.2-9.6Z" transform="translate(-350.9 -348)"/></g><g id="g4890"><path id="path4892" class="cls-1" d="M406.2,402.8a4.6,4.6,0,1,0,0,9.3,4.6,4.6,0,0,0,0-9.3Z" transform="translate(-350.9 -348)"/><path id="path4894" class="cls-1" d="M404.6,376.5l-4.7,3.1a10.2,10.2,0,0,1,.1,1.2,10,10,0,0,1-4.3,8.3,2.7,2.7,0,0,0-.8,3.3l6.3,12.8h-6.8v5.2h11a2.8,2.8,0,0,0,2.3-3.8l-7.4-14.8a15.2,15.2,0,0,0,4.8-Line truncated
<svg xmlns="http://www.w3.org/2000/svg" height="121.477" width="462.395"><path d="M127.704 81.639c-3.028 0-5.552-.252-7.571-.757-2.02-.505-3.635-1.312-4.846-2.423-1.212-1.11-2.07-2.564-2.575-4.361-.506-1.798-.758-4.01-.758-6.634V54.502c0-2.585.252-4.786.758-6.603.505-1.817 1.363-3.281 2.575-4.392 1.211-1.111 2.826-1.919 4.846-2.424 2.02-.504 4.543-.757 7.57-.757h28.652v7.936H128.13c-1.414 0-2.575.111-3.484.333-.909.222-1.626.596-2.15 1.12-.526.526-.89 1.222-1.091 2.09-.202.869-.304 1.929-.304 3.18v12.117c0 1.291.102 2.361.304 3.21.202.848.565 1.535 1.09 2.059.525.524 1.252.888 2.18 1.09.93.202 2.1.303 3.514.303h28.167v7.875zM162.302 81.639v-19.02c0-2.464.283-4.564.849-6.3.565-1.737 1.464-3.16 2.696-4.27 1.232-1.11 2.816-1.929 4.754-2.454 1.938-.525 4.3-.787 7.087-.787h5.877v7.33h-5.635c-1.25 0-2.3.1-3.149.302-.848.201-1.525.545-2.03 1.03-.504.484-.868 1.15-1.09 1.999-.221.848-.332 1.918-.332 3.21v18.96zM197.766 65.889c0 1.818.393 3.08 1.18 3.787.788.707 2.111 1.06 3.97 1.06h20.17V48.808h8.785v32.225c0 3.675-.91 6.33-2.726 7.965-1.817 1.636-4.786 2.453-8.906 2.453h-13.143v-7.388h12.356c1.252 0 2.17-.243 2.756-.728.585-.485.878-1.414.878-2.787v-2.665H202.37c-2.463 0-4.553-.232-6.269-.696-1.716-.464-3.11-1.181-4.18-2.15-1.07-.97-1.847-2.181-2.332-3.635-.484-1.453-.726-3.17-.726-5.149V48.808h8.903zM266.164 48.808c3.069 0 5.613.252 7.632.757 2.02.505 3.634 1.312 4.846 2.422 1.211 1.11 2.07 2.575 2.574 4.392.505 1.817.757 4.038.757 6.663v4.422c0 2.625-.252 4.836-.757 6.634-.505 1.797-1.363 3.251-2.574 4.361-1.212 1.11-2.827 1.918-4.846 2.423-2.02.505-4.563.757-7.632.757H247.87v9.812h-9.027V63.042c0-2.625.253-4.846.757-6.663.505-1.817 1.363-3.281 2.576-4.392 1.212-1.11 2.827-1.917 4.846-2.422 2.018-.505 4.563-.757 7.632-.757zm6.784 14.476c0-1.453-.111-2.624-.333-3.512-.223-.889-.637-1.575-1.243-2.06-.605-.485-1.423-.808-2.453-.97-1.03-.161-2.332-.242-3.907-.242h-10.054c-1.414 0-2.585.101-3.515.303-.929.202-1.656.556-2.18 1.06-.526.505-.89 1.191-1.09 2.06-.202.868-.303 1.969-.303 3.302v10.72h17.203c1.575 0 2.867-.07 3.877-.212 1.009-.14 1.817-.453 2.422-.938.606-.484 1.02-1.17 1.243-2.06.222-.888.333-2.08.333-3.574zM290.654 81.639V56.138h-4.603v-7.33h4.603v-9.269h9.208v9.269h10.358v7.33h-10.358v25.501zM323.775 69.826V81.64h-9.207V40.326h33.075c2.948 0 5.41.233 7.39.697 1.978.465 3.573 1.233 4.785 2.303 1.211 1.07 2.07 2.453 2.574 4.149.504 1.696.757 3.755.757 6.178v3.573c0 2.464-.242 4.504-.727 6.12-.484 1.615-1.322 2.907-2.513 3.877-1.191.969-2.776 1.645-4.755 2.029-1.98.383-4.483.574-7.511.574zm30.168-15.809c0-2.22-.475-3.735-1.425-4.543-.95-.808-2.655-1.211-5.117-1.212h-23.626v14.115h23.746c2.423 0 4.099-.374 5.028-1.122.93-.747 1.394-2.21 1.394-4.391zM380.078 81.639c-2.382 0-4.34-.202-5.875-.605-1.534-.404-2.756-.98-3.664-1.727-.91-.747-1.546-1.656-1.91-2.726-.363-1.07-.544-2.271-.544-3.605v-3.089c0-1.372.171-2.594.514-3.664a6.016 6.016 0 0 1 1.788-2.726c.849-.747 2.01-1.312 3.484-1.696 1.474-.384 3.341-.576 5.603-.576h24.29v-.727c0-2.1-.424-3.503-1.272-4.21-.849-.707-2.282-1.06-4.301-1.06h-8.966v-6.42h8.966c2.625 0 4.856.242 6.694.726 1.837.485 3.341 1.222 4.512 2.211 1.17.99 2.029 2.242 2.574 3.756.546 1.514.818 3.32.818 5.42v7.998c0 2.382-.232 4.38-.697 5.996-.464 1.615-1.272 2.927-2.422 3.937-1.15 1.01-2.685 1.727-4.603 2.151-1.919.424-4.332.636-7.24.636zm23.686-14.84h-23.322c-1.05 0-1.877.232-2.483.696-.606.465-.909 1.343-.909 2.635v2.24c0 1.172.323 1.98.97 2.425.646.444 1.555.666 2.726.666h16.96c1.05 0 1.96-.08 2.726-.242.767-.162 1.393-.455 1.878-.88.484-.424.847-1.02 1.09-1.787.243-.767.364-1.756.364-2.968zM435.135 81.639c-3.069 0-5.623-.252-7.662-.757-2.04-.505-3.665-1.312-4.877-2.423-1.211-1.11-2.07-2.564-2.574-4.361-.505-1.798-.757-4.01-.757-6.634v-4.422c0-2.625.252-4.846.757-6.663.505-1.817 1.363-3.281 2.574-4.392 1.212-1.11 2.837-1.917 4.877-2.422 2.04-.505 4.593-.757 7.662-.757h18.233V38.206h9.027v29.258c0 2.625-.253 4.836-.758 6.634-.506 1.797-1.364 3.251-2.575 4.361-1.212 1.11-2.827 1.918-4.847 2.423-2.019.505-4.563.757-7.631.757zm-6.845-14.417c0 1.454.11 2.625.333 3.514.223.889.637 1.575 1.243 2.06.605.484 1.423.807 2.453.968 1.03.161 2.352.242 3.968.242h10.054c1.414 0 2.575-.09 3.483-.273.908-.181 1.625-.525 2.15-1.03.525-.504.889-1.19 1.09-2.059.203-.868.304-1.988.304-3.361V56.56h-17.142c-1.575 0-2.878.08-3.907.242-1.03.162-1.848.485-2.453.97-.606.485-1.02 1.171-1.243 2.059-.222.888-.333 2.059-.333 3.513z" style="line-height:125%;-inkscape-font-specification:'Neuropolitical Rg';text-align:start" font-weight="400" font-size="40" font-family="Neuropolitical Rg" letter-spacing="0" word-spacing="0" fill="#fff"/><path d="M50.245 0L12.746 6.927c-1.325-.943-2.96-1.478-4.71-1.478A8.031 8.031 0 0 0 0 13.485a8.094 8.094 0 0 0 4.156 7.066v54.078c0 5.092 2.278 10.59 6.79 16.349 3.996 5.094 9.647 10.321 16.81 15.517 8.94 6.464 18.062 11.246 22.49 13.438 4.43-2.192 13.548-6.974 22.49-13.438 7.166-5.196 12.814-10.423 16.81-15.517 4.514-5.766 6.789-11.257 6.789-16.349V20.505c2.454-1.379 4.156-4.007 4.156-7.Line truncated

Before

Width:  |  Height:  |  Size: 5.2 KiB

After

Width:  |  Height:  |  Size: 7.3 KiB

+5
View File
@@ -25,6 +25,11 @@ define([
$main.find('#data').removeClass('hidden');
if (Cryptpad.isLoggedIn()) {
if (window.location.pathname === '/') {
window.location = '/drive/';
return;
}
var name = localStorage[Cryptpad.userNameKey] || sessionStorage[Cryptpad.userNameKey];
var $loggedInBlock = $main.find('#loggedIn');
var $hello = $loggedInBlock.find('#loggedInHello');
+24 -13
View File
@@ -77,6 +77,21 @@ define([
};
var infopageTopbar = function () {
var rightLinks;
var username = window.localStorage.getItem('User_name');
if (username === null) {
rightLinks = [
h('a.nav-item.nav-link.cp-login-btn', { href: '/login'}, Msg.login_login),
h('a.nav-item.nav-link.cp-register-btn', { href: '/register'}, Msg.login_register)
];
} else {
rightLinks = h('a.nav-item.nav-link.cp-user-btn', { href: '/drive' }, [
h('i.fa.fa-user-circle'),
" ",
username
]);
}
return h('nav.navbar.navbar-toggleable-md',
h('button.navbar-toggler.navbar-toggler-right', {'type':'button'}, {'data-toggle':'collapse'}, {'data-target':'#menuCollapse'}, {'aria-controls': 'menuCollapse'}, {'aria-expanded':'false'}, {'aria-label':'Toggle navigation'},
[h('i.fa.fa-bars ')
@@ -87,14 +102,12 @@ define([
h('a.nav-item.nav-link', { href: 'https://blog.cryptpad.fr/'}, Msg.blog),
h('a.nav-item.nav-link', { href: '/contact.html'}, Msg.contact),
h('a.nav-item.nav-link', { href: '/about.html'}, Msg.about),
h('a.nav-item.nav-link.cp-login-btn', { href: '/login'}, Msg.login_login),
h('a.nav-item.nav-link.cp-register-btn', { href: '/register'}, Msg.login_register)
])
].concat(rightLinks))
);
};
Pages['/about.html'] = function () {
return h('div#cp-main.cp-page-about', [
return h('div#cp-main', [
infopageTopbar(),
h('div.container.cp-container', [
h('center', [
@@ -143,7 +156,7 @@ define([
};
Pages['/privacy.html'] = function () {
return h('div#cp-main.cp-page-privacy', [
return h('div#cp-main', [
infopageTopbar(),
h('div.container.cp-container', [
h('center', h('h1', Msg.policy_title)),
@@ -172,7 +185,7 @@ define([
};
Pages['/terms.html'] = function () {
return h('div#cp-main.cp-page-terms', [
return h('div#cp-main', [
infopageTopbar(),
h('div.container.cp-container', [
h('center', h('h1', Msg.tos_title)),
@@ -187,7 +200,7 @@ define([
};
Pages['/contact.html'] = function () {
return h('div#cp-main.cp-page-contact', [
return h('div#cp-main', [
infopageTopbar(),
h('div.container.cp-container', [
h('center', h('h1', Msg.contact)),
@@ -198,7 +211,7 @@ define([
};
Pages['/what-is-cryptpad.html'] = function () {
return h('div#cp-main.cp-page-what-is-cryptpad', [
return h('div#cp-main', [
infopageTopbar(),
h('div.container.cp-container', [
h('center', h('h1', Msg.whatis_title)),
@@ -234,7 +247,7 @@ define([
Pages['/'] = Pages['/index.html'] = function () {
var showingMore = false;
return [
h('div#cp-main.cp-page-index', [
h('div#cp-main', [
infopageTopbar(),
h('div.container.cp-container', [
h('div.row', [
@@ -274,11 +287,9 @@ define([
if (showingMore) {
$('.cp-more, .cp-callout-more-lessmsg').addClass('cp-hidden');
$('.cp-callout-more-moremsg').removeClass('cp-hidden');
if ( $( window ).width() >991 ) $('.navbar').css('margin-top','-1em');
} else {
$('.cp-more, .cp-callout-more-lessmsg').removeClass('cp-hidden');
$('.cp-callout-more-moremsg').addClass('cp-hidden');
$('.navbar').css('margin-top','0');
}
showingMore = !showingMore;
}
@@ -310,7 +321,7 @@ define([
};
Pages['/register/'] = Pages['/register/index.html'] = function () {
return [h('div#cp-main.cp-page-register', [
return [h('div#cp-main', [
infopageTopbar(),
h('div.container.cp-container', [
h('div.row.align-items-center', [
@@ -362,7 +373,7 @@ define([
};
Pages['/login/'] = Pages['/login/index.html'] = function () {
return [h('div#cp-main.cp-page-login', [
return [h('div#cp-main', [
infopageTopbar(),
h('div.container.cp-container', [
h('div.row.align-items-center', [
+16 -17
View File
@@ -5,15 +5,15 @@
@alertify-fore: @colortheme_old-fore;
@alertify-base: @colortheme_old-base;
@alertify-dialog-bg: #444;
@alertify-dialog-bg: #222;
@alertify-dialog-fg: @colortheme_old-fore;
@alertify-btn-fg: @colortheme_old-fore;
@alertify-btn-bg: rgba(200, 200, 200, 0.05);
@alertify-btn-bg-hover: rgba(200, 200, 200, .15);
@alertify-btn-bg: rgba(200, 200, 200, 0.1);
@alertify-btn-bg-hover: rgba(200, 200, 200, .3);
@alertify-bg: rgba(0, 0, 0, .3);
@alertify-bg: rgba(0, 0, 0, .4);
@alertify-fg: @colortheme_old-fore;
@alertify-input-bg: @colortheme_old-base;
@@ -21,7 +21,6 @@
@alertify_padding-base: 12px;
@alertify_box-shadow: 0 2px 5px 0 rgba(0,0,0,.2);
@alertify_border-radius: 1px;
// Logs to show that something has happened
// These show only once
@@ -38,7 +37,6 @@
font-size: large;
box-shadow: @alertify_box-shadow;
border-radius: @alertify_border-radius;
&, &.default {
// FIXME
background: rgba(0, 0, 0, .8);
@@ -64,6 +62,10 @@
height: 100%;
z-index: 99999;
h1, h2, h3 {
margin-top: 0;
}
&.hide {
opacity: 0;
pointer-events: none;
@@ -89,7 +91,6 @@
& > div {
background-color: @alertify-dialog-bg;
border-radius: 5px;
&.half {
width: 50%;
@media (max-width: @browser_media-medium-screen) {
@@ -106,10 +107,10 @@
> * {
width: 30%;
width: 500px;
min-width: 500px;
max-width: 95%;
margin: 0 auto;
text-align: center;
text-align: left;
padding: @alertify_padding-base;
background: #fff;
// FIXME
@@ -120,14 +121,12 @@
padding: @alertify_padding-base;
margin-bottom: @alertify_padding-base;
margin: 0;
text-align: left;
}
input:not(.form-control){
background-color: @alertify-input-bg;
color: @alertify-input-fg;
border: 0px;
border-radius: 5px;
margin-bottom: 15px;
width: 100%;
@@ -161,10 +160,10 @@
font-size: 14px;
text-decoration: none;
cursor: pointer;
border-radius: 0;
color: @alertify-btn-fg;
border: 1px solid @alertify-base;
border-radius: 5px;
border: 1px solid transparent;
&.safe, &.danger {
color: @colortheme_old-base;
@@ -172,16 +171,16 @@
font-weight: bold;
}
&.danger {
background-color: @colortheme_cp-red;
background-color: @colortheme_alertify-red;
&:hover, &:active {
background-color: lighten(@colortheme_cp-red, 5%);
background-color: lighten(@colortheme_alertify-red, 5%);
}
}
&.safe {
background-color: @colortheme_cp-green;
background-color: @colortheme_alertify-green;
&:hover, &:active {
background-color: lighten(@colortheme_cp-green, 10%);
background-color: lighten(@colortheme_alertify-green, 10%);
}
}
@@ -11,6 +11,9 @@
@colortheme_cp-red: #FA5858; // remove red
@colortheme_cp-green: #46E981;
@colortheme_alertify-red: #E55236;
@colortheme_alertify-green: #77C825;
@colortheme_pad-bg: #1c4fa0;
@colortheme_pad-color: #fff;
@@ -21,12 +21,11 @@
padding: 0;
margin: 0;
font-size: 14px;
font-size: 16pxt:;
font-family: 'Open Sans', 'Helvetica Neue', sans-serif;
.cp-container {
font-size: 16px;
margin-top: @infopages_infobar-height;
padding-top: @infopages_padding;
padding-bottom: @infopages_padding;
min-height: 75vh;
@@ -115,6 +114,15 @@
// Apply this to the top bar div
.infopages_topbar () {
.navbar-brand {
display: block;
background-image: url(/customize/CryptPad-blue-logo.svg);
background-repeat: no-repeat;
background-size: contain;
height: 50px;
width: 250px;
}
.cp-topbar {
background: #fff;
z-index: 9001;
@@ -153,9 +161,6 @@
}
.cp-logo {
img {
height: @infopages_infobar-height / 2;
}
margin-right: 0.5em;
}
}
+8 -8
View File
@@ -2,11 +2,11 @@
font-family: Neuropolitical;
src: url(./customize/fonts/neuropolitical.ttf)
}
div#cp-main.cp-page-index { @import "./pages/page-index.less"; }
div#cp-main.cp-page-contact { @import "./pages/page-contact.less"; }
div#cp-main.cp-page-login { @import "./pages/page-login.less"; }
div#cp-main.cp-page-register { @import "./pages/page-register.less"; }
div#cp-main.cp-page-what-is-cryptpad { @import "./pages/page-what-is-cryptpad.less"; }
div#cp-main.cp-page-about { @import "./pages/page-about.less"; }
div#cp-main.cp-page-privacy { @import "./pages/page-privacy.less"; }
div#cp-main.cp-page-terms { @import "./pages/page-terms.less"; }
body.cp-page-index { @import "./pages/page-index.less"; }
body.cp-page-contact { @import "./pages/page-contact.less"; }
body.cp-page-login { @import "./pages/page-login.less"; }
body.cp-page-register { @import "./pages/page-register.less"; }
body.cp-page-what-is-cryptpad { @import "./pages/page-what-is-cryptpad.less"; }
body.cp-page-about { @import "./pages/page-about.less"; }
body.cp-page-privacy { @import "./pages/page-privacy.less"; }
body.cp-page-terms { @import "./pages/page-terms.less"; }
@@ -9,14 +9,14 @@
@background_lighter: rgba(0,0,0,0.1);
@background_darker: rgba(0,0,0,0.4);
&#cp-main {
#cp-main {
color: #FFF;
background: linear-gradient( @background_darker, @background_lighter ), url('/customize/bg14.jpg');
background-size: cover;
min-height: 100vh;
display: flex;
flex-direction: column;
justify-content: space-around;
justify-content: space-between;
align-items: center;
.container {
@media only screen and (max-device-width : 576px) {
@@ -65,14 +65,11 @@
.navbar {
background: transparent;
width: 100%;
margin-top: -1em;
@media only screen and (max-device-width: 991px) {
margin-top: 0;
}
.navbar-brand {
background: url(/customize/CryptPad-white-logo.svg) no-repeat;
width: 250px;
height: 50px;
background-image: url(/customize/CryptPad-white-logo.svg);
}
a {
color: #fff;
@@ -23,3 +23,10 @@
}
}
}
.alertify {
// workaround for alertify making empty p
p:empty {
display: none;
}
}
+10
View File
@@ -78,6 +78,16 @@ $(function () {
return;
}
} else {
// add class on info-pages
var css = location.pathname.replace(/(index)?\.html$/gi, "") // .html
.replace(/[^a-zA-Z]+/gi, '-') // any non-alpha character
.replace(/^-|-$/g, ''); // starting/trailing dashes
if (css === '')
{
css = 'index';
}
$('body').addClass('cp-page-' + css);
}
require([
+1 -1
View File
@@ -121,7 +121,7 @@ define([
}
setTimeout(function () {
Cryptpad.confirm("<h2 class='bright'>" + Messages.register_warning + "</h2>",
Cryptpad.confirm("<h2 class='bright msg'>" + Messages.register_warning + "</h2>",
function (yes) {
if (!yes) { return; }