From cd0c9cc95ad7abba7f224614991f73f8fad762f0 Mon Sep 17 00:00:00 2001 From: Pierre Bondoerffer Date: Wed, 2 Aug 2017 11:08:36 +0200 Subject: [PATCH] create less templates for info pages --- customize.dist/src/less2/main.less | 6 +++++- customize.dist/src/less2/pages/page-about.less | 5 +++++ customize.dist/src/less2/pages/page-contact.less | 1 + customize.dist/src/less2/pages/page-privacy.less | 5 +++++ customize.dist/src/less2/pages/page-terms.less | 5 +++++ customize.dist/src/less2/pages/page-what-is-cryptpad.less | 5 +++++ 6 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 customize.dist/src/less2/pages/page-about.less create mode 100644 customize.dist/src/less2/pages/page-privacy.less create mode 100644 customize.dist/src/less2/pages/page-terms.less create mode 100644 customize.dist/src/less2/pages/page-what-is-cryptpad.less diff --git a/customize.dist/src/less2/main.less b/customize.dist/src/less2/main.less index 05ee01c8b..068db5c7e 100644 --- a/customize.dist/src/less2/main.less +++ b/customize.dist/src/less2/main.less @@ -5,4 +5,8 @@ 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"; } \ No newline at end of file +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"; } diff --git a/customize.dist/src/less2/pages/page-about.less b/customize.dist/src/less2/pages/page-about.less new file mode 100644 index 000000000..59fa4b1fd --- /dev/null +++ b/customize.dist/src/less2/pages/page-about.less @@ -0,0 +1,5 @@ +@import (once) "../include/infopages.less"; +@import (once) "../include/colortheme.less"; + +.infopages_main(); +.infopages_topbar(); diff --git a/customize.dist/src/less2/pages/page-contact.less b/customize.dist/src/less2/pages/page-contact.less index 6c7f0ac04..59fa4b1fd 100644 --- a/customize.dist/src/less2/pages/page-contact.less +++ b/customize.dist/src/less2/pages/page-contact.less @@ -1,4 +1,5 @@ @import (once) "../include/infopages.less"; +@import (once) "../include/colortheme.less"; .infopages_main(); .infopages_topbar(); diff --git a/customize.dist/src/less2/pages/page-privacy.less b/customize.dist/src/less2/pages/page-privacy.less new file mode 100644 index 000000000..59fa4b1fd --- /dev/null +++ b/customize.dist/src/less2/pages/page-privacy.less @@ -0,0 +1,5 @@ +@import (once) "../include/infopages.less"; +@import (once) "../include/colortheme.less"; + +.infopages_main(); +.infopages_topbar(); diff --git a/customize.dist/src/less2/pages/page-terms.less b/customize.dist/src/less2/pages/page-terms.less new file mode 100644 index 000000000..59fa4b1fd --- /dev/null +++ b/customize.dist/src/less2/pages/page-terms.less @@ -0,0 +1,5 @@ +@import (once) "../include/infopages.less"; +@import (once) "../include/colortheme.less"; + +.infopages_main(); +.infopages_topbar(); diff --git a/customize.dist/src/less2/pages/page-what-is-cryptpad.less b/customize.dist/src/less2/pages/page-what-is-cryptpad.less new file mode 100644 index 000000000..59fa4b1fd --- /dev/null +++ b/customize.dist/src/less2/pages/page-what-is-cryptpad.less @@ -0,0 +1,5 @@ +@import (once) "../include/infopages.less"; +@import (once) "../include/colortheme.less"; + +.infopages_main(); +.infopages_topbar();