From d9f4b9ed905faf12f20b52cc8f6e9528ea6c0789 Mon Sep 17 00:00:00 2001 From: Alex Gyoshev Date: Thu, 7 Sep 2017 11:25:35 +0300 Subject: [PATCH] chore: fix lint warnings --- sass-lint.yml | 7 +++++-- scss/common/_forms.scss | 23 ++++++++--------------- scss/common/_icons.scss | 4 +++- 3 files changed, 16 insertions(+), 18 deletions(-) diff --git a/sass-lint.yml b/sass-lint.yml index 46a89c4..29672be 100644 --- a/sass-lint.yml +++ b/sass-lint.yml @@ -11,10 +11,13 @@ rules: property-sort-order: 0 mixins-before-declarations: 0 + nesting-depth: + - 1 + - max-depth: 4 + indentation: - 2 - - - size: 4 + - size: 4 force-element-nesting: 0 force-attribute-nesting: 0 diff --git a/scss/common/_forms.scss b/scss/common/_forms.scss index 623e963..c9e240f 100644 --- a/scss/common/_forms.scss +++ b/scss/common/_forms.scss @@ -449,6 +449,14 @@ .k-numerictextbox { &.form-control { &-sm { + .k-link-increase > .k-icon { + bottom: -$numerictextbox-icon-offset-sm; + } + + .k-link-decrease > .k-icon { + top: -$numerictextbox-icon-offset-sm; + } + .k-link { height: $bootstrap-integration-input-height-sm / 2; } @@ -462,21 +470,6 @@ } } - .k-numerictextbox, - .k-dateinput { - &.form-control { - &-sm { - .k-link-increase > .k-icon { - bottom: -$numerictextbox-icon-offset-sm; - } - - .k-link-decrease > .k-icon { - top: -$numerictextbox-icon-offset-sm; - } - } - } - } - .k-dateinput { &.form-control { .k-dateinput-wrap { diff --git a/scss/common/_icons.scss b/scss/common/_icons.scss index f2e887a..a8d7c62 100644 --- a/scss/common/_icons.scss +++ b/scss/common/_icons.scss @@ -702,7 +702,9 @@ // RTL icons .k-rtl .k-i-indent-increase, - .k-rtl .k-i-indent-decrease { transform: scaleX(-1); } + .k-rtl .k-i-indent-decrease { + transform: scaleX(-1); + } .k-sprite { display: inline-block;