From 2b1ed904f7514f115005b142de4beef432865f9f Mon Sep 17 00:00:00 2001 From: yflory Date: Wed, 18 Jul 2018 14:31:01 +0200 Subject: [PATCH] lesshint compliance --- .lesshintrc | 2 +- customize.dist/src/less2/include/alertify.less | 3 ++- customize.dist/src/less2/include/app-noscroll.less | 3 ++- customize.dist/src/less2/include/app-print.less | 3 ++- customize.dist/src/less2/include/checkmark.less | 1 - customize.dist/src/less2/include/font.less | 3 ++- customize.dist/src/less2/include/framework.less | 3 ++- customize.dist/src/less2/include/help.less | 3 ++- customize.dist/src/less2/include/icons.less | 3 ++- customize.dist/src/less2/include/infopages.less | 3 ++- customize.dist/src/less2/include/markdown.less | 3 ++- customize.dist/src/less2/include/modal.less | 3 ++- customize.dist/src/less2/include/toolbar.less | 3 ++- customize.dist/src/less2/pages/page-about.less | 3 ++- customize.dist/src/less2/pages/page-contact.less | 3 ++- customize.dist/src/less2/pages/page-faq.less | 3 ++- customize.dist/src/less2/pages/page-features.less | 3 ++- customize.dist/src/less2/pages/page-index.less | 3 ++- customize.dist/src/less2/pages/page-login.less | 3 ++- customize.dist/src/less2/pages/page-privacy.less | 3 ++- customize.dist/src/less2/pages/page-register.less | 3 ++- customize.dist/src/less2/pages/page-terms.less | 1 + customize.dist/src/less2/pages/page-what-is-cryptpad.less | 3 ++- 23 files changed, 42 insertions(+), 22 deletions(-) diff --git a/.lesshintrc b/.lesshintrc index 693029bf1..651613c98 100644 --- a/.lesshintrc +++ b/.lesshintrc @@ -40,7 +40,7 @@ "depthLevel": { "depth": 1 // TODO(cjd) This is obviously not triggering, even with 1 }, - "duplicateProperty": { "enabled": true }, + "duplicateProperty": { "enabled": false }, "emptyRule": { "enabled": true }, "hexValidation": { "enabled": true }, // disallow actual garbage color hex codes (e.g. #ab) "propertyUnits": { diff --git a/customize.dist/src/less2/include/alertify.less b/customize.dist/src/less2/include/alertify.less index 61da93d95..0df305ddc 100644 --- a/customize.dist/src/less2/include/alertify.less +++ b/customize.dist/src/less2/include/alertify.less @@ -409,4 +409,5 @@ } } } -} \ No newline at end of file +} + diff --git a/customize.dist/src/less2/include/app-noscroll.less b/customize.dist/src/less2/include/app-noscroll.less index c9fc59bbf..fcd8f5d01 100644 --- a/customize.dist/src/less2/include/app-noscroll.less +++ b/customize.dist/src/less2/include/app-noscroll.less @@ -22,4 +22,5 @@ border: 0; } } -} \ No newline at end of file +} + diff --git a/customize.dist/src/less2/include/app-print.less b/customize.dist/src/less2/include/app-print.less index a22a10300..1625ff874 100644 --- a/customize.dist/src/less2/include/app-print.less +++ b/customize.dist/src/less2/include/app-print.less @@ -48,4 +48,5 @@ } } } -} \ No newline at end of file +} + diff --git a/customize.dist/src/less2/include/checkmark.less b/customize.dist/src/less2/include/checkmark.less index ec3f8b528..21d59cc19 100644 --- a/customize.dist/src/less2/include/checkmark.less +++ b/customize.dist/src/less2/include/checkmark.less @@ -152,7 +152,6 @@ } } - .cp-radio-mark { margin-right: 10px; position: relative; diff --git a/customize.dist/src/less2/include/font.less b/customize.dist/src/less2/include/font.less index 6dc4dc129..9247ae109 100644 --- a/customize.dist/src/less2/include/font.less +++ b/customize.dist/src/less2/include/font.less @@ -8,4 +8,5 @@ src: url("/customize/fonts/neuropolitical.ttf"); } -@import (once) '/customize/fonts/open-sans.less'; \ No newline at end of file +@import (once) '/customize/fonts/open-sans.less'; + diff --git a/customize.dist/src/less2/include/framework.less b/customize.dist/src/less2/include/framework.less index ae49f0660..5caa847f4 100644 --- a/customize.dist/src/less2/include/framework.less +++ b/customize.dist/src/less2/include/framework.less @@ -68,4 +68,5 @@ & { body.cp-readonly .cp-hidden-if-readonly { display: none !important; } -} \ No newline at end of file +} + diff --git a/customize.dist/src/less2/include/help.less b/customize.dist/src/less2/include/help.less index cb6d374e1..4dd396a29 100644 --- a/customize.dist/src/less2/include/help.less +++ b/customize.dist/src/less2/include/help.less @@ -55,4 +55,5 @@ ul, ol, p { margin: 0; } } } -} \ No newline at end of file +} + diff --git a/customize.dist/src/less2/include/icons.less b/customize.dist/src/less2/include/icons.less index 1068f59ba..c2ddfef32 100644 --- a/customize.dist/src/less2/include/icons.less +++ b/customize.dist/src/less2/include/icons.less @@ -38,4 +38,5 @@ } } } -} \ No newline at end of file +} + diff --git a/customize.dist/src/less2/include/infopages.less b/customize.dist/src/less2/include/infopages.less index eb600bf52..3df7b4c1d 100644 --- a/customize.dist/src/less2/include/infopages.less +++ b/customize.dist/src/less2/include/infopages.less @@ -219,4 +219,5 @@ body { font-size: 1.2em; color: #1E1F1F; } -} \ No newline at end of file +} + diff --git a/customize.dist/src/less2/include/markdown.less b/customize.dist/src/less2/include/markdown.less index 39be15426..1ba97a0f1 100644 --- a/customize.dist/src/less2/include/markdown.less +++ b/customize.dist/src/less2/include/markdown.less @@ -33,4 +33,5 @@ } } } -} \ No newline at end of file +} + diff --git a/customize.dist/src/less2/include/modal.less b/customize.dist/src/less2/include/modal.less index 3ab463b1d..07c533b15 100644 --- a/customize.dist/src/less2/include/modal.less +++ b/customize.dist/src/less2/include/modal.less @@ -80,4 +80,5 @@ } } } -} \ No newline at end of file +} + diff --git a/customize.dist/src/less2/include/toolbar.less b/customize.dist/src/less2/include/toolbar.less index fdbe006d5..858c0a8d9 100644 --- a/customize.dist/src/less2/include/toolbar.less +++ b/customize.dist/src/less2/include/toolbar.less @@ -1096,4 +1096,5 @@ } } } -}; \ No newline at end of file +} + diff --git a/customize.dist/src/less2/pages/page-about.less b/customize.dist/src/less2/pages/page-about.less index 1e23c0b07..23ce14e93 100644 --- a/customize.dist/src/less2/pages/page-about.less +++ b/customize.dist/src/less2/pages/page-about.less @@ -114,4 +114,5 @@ .cp-margin-bot { margin-bottom: 1.5em; } -} \ No newline at end of file +} + diff --git a/customize.dist/src/less2/pages/page-contact.less b/customize.dist/src/less2/pages/page-contact.less index 30cf702df..10150f597 100644 --- a/customize.dist/src/less2/pages/page-contact.less +++ b/customize.dist/src/less2/pages/page-contact.less @@ -88,4 +88,5 @@ color: #fff; } } -} \ No newline at end of file +} + diff --git a/customize.dist/src/less2/pages/page-faq.less b/customize.dist/src/less2/pages/page-faq.less index 01e360a29..96ba157e1 100644 --- a/customize.dist/src/less2/pages/page-faq.less +++ b/customize.dist/src/less2/pages/page-faq.less @@ -82,4 +82,5 @@ } margin-bottom: 1.5rem; } -} \ No newline at end of file +} + diff --git a/customize.dist/src/less2/pages/page-features.less b/customize.dist/src/less2/pages/page-features.less index 51ee53165..adaf174c7 100644 --- a/customize.dist/src/less2/pages/page-features.less +++ b/customize.dist/src/less2/pages/page-features.less @@ -85,4 +85,5 @@ } } } -} \ No newline at end of file +} + diff --git a/customize.dist/src/less2/pages/page-index.less b/customize.dist/src/less2/pages/page-index.less index f6217e300..167423ad1 100644 --- a/customize.dist/src/less2/pages/page-index.less +++ b/customize.dist/src/less2/pages/page-index.less @@ -189,4 +189,5 @@ left: 5px; } } -} \ No newline at end of file +} + diff --git a/customize.dist/src/less2/pages/page-login.less b/customize.dist/src/less2/pages/page-login.less index 329e09077..c92a08bde 100644 --- a/customize.dist/src/less2/pages/page-login.less +++ b/customize.dist/src/less2/pages/page-login.less @@ -67,4 +67,5 @@ padding-top: 3em; min-height: 66vh; } -} \ No newline at end of file +} + diff --git a/customize.dist/src/less2/pages/page-privacy.less b/customize.dist/src/less2/pages/page-privacy.less index 137f34683..2f6418e40 100644 --- a/customize.dist/src/less2/pages/page-privacy.less +++ b/customize.dist/src/less2/pages/page-privacy.less @@ -47,4 +47,5 @@ color: #3F4141; } } -} \ No newline at end of file +} + diff --git a/customize.dist/src/less2/pages/page-register.less b/customize.dist/src/less2/pages/page-register.less index 37ddf333f..314ad7236 100644 --- a/customize.dist/src/less2/pages/page-register.less +++ b/customize.dist/src/less2/pages/page-register.less @@ -138,4 +138,5 @@ #cp-main { background: #fff; } -} \ No newline at end of file +} + diff --git a/customize.dist/src/less2/pages/page-terms.less b/customize.dist/src/less2/pages/page-terms.less index 79fdafd1f..7370f34f3 100644 --- a/customize.dist/src/less2/pages/page-terms.less +++ b/customize.dist/src/less2/pages/page-terms.less @@ -4,3 +4,4 @@ &.cp-page-terms { .infopages_main(); } + 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 28522f337..f26188fe7 100644 --- a/customize.dist/src/less2/pages/page-what-is-cryptpad.less +++ b/customize.dist/src/less2/pages/page-what-is-cryptpad.less @@ -41,4 +41,5 @@ margin: 0 auto; } } -} \ No newline at end of file +} +