From 1bf2f88cdc000f910364980816fd23a2da4bfcae Mon Sep 17 00:00:00 2001 From: Daniel <50356015+danny007in@users.noreply.github.com> Date: Sun, 13 Feb 2022 20:42:07 +0530 Subject: [PATCH] minor bug fixes --- .stylelintrc | 19 ++++++++++ gulpfile.js | 2 +- src/partials/_head.html | 2 +- src/partials/dashboard/_topbar.html | 4 +-- src/scss/_bootstrap-variables.scss | 2 +- src/scss/_brand-container.scss | 2 +- src/scss/_cards.scss | 2 +- src/scss/_custom-utilities.scss | 39 ++++++++++++--------- src/scss/_direct-chat.scss | 2 +- src/scss/_dropdown.scss | 2 +- src/scss/_info-box.scss | 5 +-- src/scss/_layout-fixed.scss | 2 +- src/scss/_main-header.scss | 1 - src/scss/_main-sidebar.scss | 2 +- src/scss/_miscellaneous.scss | 8 ++--- src/scss/_small-box.scss | 4 +-- src/scss/_table.scss | 2 +- src/scss/_variables.scss | 24 ++++++------- src/scss/bootstrap-dark/_placeholders.scss | 2 +- src/scss/bootstrap-dark/_reboot.scss | 2 +- src/scss/bootstrap-dark/_variables-alt.scss | 2 +- src/scss/bootstrap-dark/helpers/_vr.scss | 2 +- src/scss/pages/_login_and_register.scss | 6 ++-- 23 files changed, 79 insertions(+), 59 deletions(-) diff --git a/.stylelintrc b/.stylelintrc index 17c057466..9326b8199 100644 --- a/.stylelintrc +++ b/.stylelintrc @@ -4,12 +4,31 @@ ], "rules": { "declaration-no-important": null, + "declaration-property-value-disallowed-list": { + "border": "none", + "outline": "none" + }, "function-disallowed-list": [ "calc", "lighten", "darken" ], "keyframes-name-pattern": null, + "property-disallowed-list": [ + "border-radius", + "border-top-left-radius", + "border-top-right-radius", + "border-bottom-right-radius", + "border-bottom-left-radius", + "transition" + ], + "scss/dollar-variable-default": [ + true, + { + "ignore": "local" + } + ], + "scss/selector-no-union-class-name": true, "selector-max-class": null, "selector-max-combinators": null, "selector-max-compound-selectors": null, diff --git a/gulpfile.js b/gulpfile.js index c025a2f38..ba1745ffc 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -168,7 +168,7 @@ const serve = () => { // Clean const cleanDist = () => del([paths.dist.base]) -const lintDistScss = () => src([paths.src.scss + '/**/*.scss']) +const lintDistScss = () => src([paths.src.scss + '/**/*.scss'], ['./.temp/**/*.css']) .pipe(gulpStylelint({ failAfterError: false, reporters: [ diff --git a/src/partials/_head.html b/src/partials/_head.html index b9f35fe0f..971988c95 100644 --- a/src/partials/_head.html +++ b/src/partials/_head.html @@ -4,7 +4,7 @@ - + diff --git a/src/partials/dashboard/_topbar.html b/src/partials/dashboard/_topbar.html index 4d00435fb..6162c8e0a 100644 --- a/src/partials/dashboard/_topbar.html +++ b/src/partials/dashboard/_topbar.html @@ -27,7 +27,7 @@