From a5a86c156de1ecb5306e3713482b1c71d192543b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Fri, 31 Jul 2020 21:35:58 +0200 Subject: [PATCH] Manual stylelint fixes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- src/components/Controls.vue | 12 ++------ src/components/List.vue | 35 ---------------------- src/components/board/DeletedTabSidebar.vue | 13 ++++---- src/components/cards/AvatarList.vue | 7 ++--- stylelint.config.js | 8 ++++- 5 files changed, 19 insertions(+), 56 deletions(-) delete mode 100644 src/components/List.vue diff --git a/src/components/Controls.vue b/src/components/Controls.vue index f134896bb..f5db0d01b 100644 --- a/src/components/Controls.vue +++ b/src/components/Controls.vue @@ -291,6 +291,8 @@ export default { diff --git a/src/components/board/DeletedTabSidebar.vue b/src/components/board/DeletedTabSidebar.vue index 9cae68061..fc4cc82d4 100644 --- a/src/components/board/DeletedTabSidebar.vue +++ b/src/components/board/DeletedTabSidebar.vue @@ -89,6 +89,12 @@ export default { li { display: flex; height: 44px; + + &:hover, &:active, &.focus { + button { + opacity: 1; + } + } } span { @@ -119,12 +125,5 @@ export default { background-color: transparent; opacity: 0.5; } - li { - &:hover, &:active, &.focus { - button { - opacity: 1; - } - } - } } diff --git a/src/components/cards/AvatarList.vue b/src/components/cards/AvatarList.vue index 29d120202..d54027273 100644 --- a/src/components/cards/AvatarList.vue +++ b/src/components/cards/AvatarList.vue @@ -154,6 +154,9 @@ export default { width: 36px; height: 36px; box-sizing: content-box !important; + margin-right: -12px; + transition: margin-right 0.2s ease-in-out; + &.icon-more { width: 32px; height: 32px; @@ -161,10 +164,6 @@ export default { background-color: var(--color-background-dark) !important; cursor: pointer; } - & { - margin-right: -12px; - transition: margin-right 0.2s ease-in-out; - } } &:hover div:nth-child(n+2) /deep/ .avatardiv { margin-right: 1px; diff --git a/stylelint.config.js b/stylelint.config.js index b9937526d..d68fda184 100644 --- a/stylelint.config.js +++ b/stylelint.config.js @@ -20,7 +20,13 @@ module.exports = { 'selector-type-case': null, 'selector-list-comma-newline-after': null, 'no-descending-specificity': null, - 'string-quotes': 'single' + 'string-quotes': 'single', + 'selector-pseudo-element-no-unknown': [ + true, + { + ignorePseudoElements: ['v-deep'] + } + ] }, plugins: ['stylelint-scss'] }