From 2dba6507add1e00b9f0724f2f9044ec51997c493 Mon Sep 17 00:00:00 2001 From: Saltssaumure Date: Sun, 1 Oct 2023 16:56:09 +0100 Subject: [PATCH] Run linter --- .prettierignore | 4 ++ HideAKA/HideAKA-badge.css | 69 +------------------ HideAKA/HideAKA-blur.css | 8 +-- RoleTint/RoleTint.css | 39 +---------- .../{channelicon.scss => _channelicon.scss} | 0 5 files changed, 7 insertions(+), 113 deletions(-) rename _resources/{channelicon.scss => _channelicon.scss} (100%) diff --git a/.prettierignore b/.prettierignore index 44c6840..3aa9ac4 100644 --- a/.prettierignore +++ b/.prettierignore @@ -2,6 +2,10 @@ /.github /node_modules +# File types +*.md +*.css + # Files LICENSE pnpm-lock.yaml \ No newline at end of file diff --git a/HideAKA/HideAKA-badge.css b/HideAKA/HideAKA-badge.css index 1aab31b..5d6ae43 100644 --- a/HideAKA/HideAKA-badge.css +++ b/HideAKA/HideAKA-badge.css @@ -1,68 +1 @@ -:has(.container-mAkQVR):is(.container-3g15px, .usernameSection-3FppkT) - :is(.userTagNoNickname-h9Bh88, .nickname-3P1RuO, .nameTag-H6kSJ0):first-child { - display: inline-flex; - padding: 0 4px; - margin-left: -4px; - background: var(--profile-body-divider-color); - border-radius: 4px; -} -.username-3JLfHz { - overflow-y: hidden; -} -.container-mAkQVR { - position: absolute; - transform: translateY(-100%); - box-sizing: border-box; - max-height: 90px; - max-width: 200px; - padding: 7px 12px; - background: var(--profile-body-background-color); - border-radius: 8px; - overflow: hidden; - z-index: 1; - pointer-events: none; - opacity: 0; - transition: - opacity 0.2s, - box-shadow 0.2s; -} -.userProfileModalOuter-2wdWjU .container-mAkQVR { - top: -40px; - left: 144px; -} -.userPopoutOuter-1OHwPL .container-mAkQVR { - top: -23px; - right: 0; -} -.container-mAkQVR .nicknames-3g5AJ9 { - -webkit-mask: linear-gradient(black 90%, transparent); -} -:is(.container-3g15px, .usernameSection-3FppkT):hover .container-mAkQVR { - opacity: 1; -} -:is(.container-3g15px, .usernameSection-3FppkT):active .container-mAkQVR { - -webkit-backdrop-filter: blur(4px); - backdrop-filter: blur(4px); - box-shadow: var(--elevation-high); - transform: unset; - max-height: 999px; - transition: max-height 1s; -} -.userProfileModalOuter-2wdWjU :is(.container-3g15px, .usernameSection-3FppkT):active .container-mAkQVR { - top: -130px; -} -.userPopoutOuter-1OHwPL :is(.container-3g15px, .usernameSection-3FppkT):active .container-mAkQVR { - top: -113px; -} -:is(.container-3g15px, .usernameSection-3FppkT):active .container-mAkQVR .nicknames-3g5AJ9 { - -webkit-mask: none; -} -:is(.profileBadges-2pItdR, .badgeList-2aoHPw) { - transition: opacity 0.2s; -} -:has(:is(.container-3g15px, .usernameSection-3FppkT):hover .container-mAkQVR) :is(.profileBadges-2pItdR, .badgeList-2aoHPw) { - opacity: 0; -} -.overlayBackground-2aa7wt { - overflow: visible; -} +:has(.container-mAkQVR):is(.container-3g15px,.usernameSection-3FppkT) :is(.userTagNoNickname-h9Bh88,.nickname-3P1RuO,.nameTag-H6kSJ0):first-child{display:inline-flex;padding:0 4px;margin-left:-4px;background:var(--profile-body-divider-color);border-radius:4px}.username-3JLfHz{overflow-y:hidden}.container-mAkQVR{position:absolute;transform:translateY(-100%);box-sizing:border-box;max-height:90px;max-width:200px;padding:7px 12px;background:var(--profile-body-background-color);border-radius:8px;overflow:hidden;z-index:1;pointer-events:none;opacity:0;transition:opacity .2s,box-shadow .2s}.userProfileModalOuter-2wdWjU .container-mAkQVR{top:-40px;left:144px}.userPopoutOuter-1OHwPL .container-mAkQVR{top:-23px;right:0}.container-mAkQVR .nicknames-3g5AJ9{-webkit-mask:linear-gradient(black 90%, transparent)}:is(.container-3g15px,.usernameSection-3FppkT):hover .container-mAkQVR{opacity:1}:is(.container-3g15px,.usernameSection-3FppkT):active .container-mAkQVR{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);box-shadow:var(--elevation-high);transform:unset;max-height:999px;transition:max-height 1s}.userProfileModalOuter-2wdWjU :is(.container-3g15px,.usernameSection-3FppkT):active .container-mAkQVR{top:-130px}.userPopoutOuter-1OHwPL :is(.container-3g15px,.usernameSection-3FppkT):active .container-mAkQVR{top:-113px}:is(.container-3g15px,.usernameSection-3FppkT):active .container-mAkQVR .nicknames-3g5AJ9{-webkit-mask:none}:is(.profileBadges-2pItdR,.badgeList-2aoHPw){transition:opacity .2s}:has(:is(.container-3g15px,.usernameSection-3FppkT):hover .container-mAkQVR) :is(.profileBadges-2pItdR,.badgeList-2aoHPw){opacity:0}.overlayBackground-2aa7wt{overflow:visible} \ No newline at end of file diff --git a/HideAKA/HideAKA-blur.css b/HideAKA/HideAKA-blur.css index 55e09ab..f137c90 100644 --- a/HideAKA/HideAKA-blur.css +++ b/HideAKA/HideAKA-blur.css @@ -1,7 +1 @@ -.nicknames-3g5AJ9 { - filter: blur(4px); - transition: filter 0.2s; -} -:is(.container-3g15px, .usernameSection-3FppkT):hover .nicknames-3g5AJ9 { - filter: none; -} +.nicknames-3g5AJ9{filter:blur(4px);transition:filter .2s}:is(.container-3g15px,.usernameSection-3FppkT):hover .nicknames-3g5AJ9{filter:none} \ No newline at end of file diff --git a/RoleTint/RoleTint.css b/RoleTint/RoleTint.css index 9c00138..afdee04 100644 --- a/RoleTint/RoleTint.css +++ b/RoleTint/RoleTint.css @@ -1,38 +1 @@ -.rolePill-78LFtg { - padding: 0; - overflow: hidden; - position: relative; -} -.rolePill-78LFtg .roleRemoveButton-17oXnT { - position: unset; - width: 100%; - height: 100%; -} -.rolePill-78LFtg .roleRemoveButton-17oXnT .roleCircle-3TFUOr { - border-radius: unset; - margin: unset; - position: absolute; - width: 100%; - height: 100%; - mix-blend-mode: multiply; -} -.rolePill-78LFtg .roleRemoveButton-17oXnT .roleRemoveIcon-387wKV { - background: var(--profile-role-pill-background-color); - padding: 2px; - border-radius: 50%; - margin: -6px 0 0 -6px; -} -.rolePill-78LFtg .roleRemoveButton-17oXnT .roleRemoveIcon-387wKV path { - fill: #fff; -} -.rolePill-78LFtg .roleRemoveButton-17oXnT + .roleName-2ZJJYR, -.rolePill-78LFtg .roleIcon-29epUq { - margin-left: 4px; -} -.rolePill-78LFtg .roleName-2ZJJYR { - padding: 4px; -} -.rolePill-78LFtg .roleIcon-29epUq { - min-width: 16px; - z-index: 1; -} +.rolePill-78LFtg{padding:0;overflow:hidden;position:relative}.rolePill-78LFtg .roleRemoveButton-17oXnT{position:unset;width:100%;height:100%}.rolePill-78LFtg .roleRemoveButton-17oXnT .roleCircle-3TFUOr{border-radius:unset;margin:unset;position:absolute;width:100%;height:100%;mix-blend-mode:multiply}.rolePill-78LFtg .roleRemoveButton-17oXnT .roleRemoveIcon-387wKV{background:var(--profile-role-pill-background-color);padding:2px;border-radius:50%;margin:-6px 0 0 -6px}.rolePill-78LFtg .roleRemoveButton-17oXnT .roleRemoveIcon-387wKV path{fill:#fff}.rolePill-78LFtg .roleRemoveButton-17oXnT+.roleName-2ZJJYR,.rolePill-78LFtg .roleIcon-29epUq{margin-left:4px}.rolePill-78LFtg .roleName-2ZJJYR{padding:4px}.rolePill-78LFtg .roleIcon-29epUq{min-width:16px;z-index:1} \ No newline at end of file diff --git a/_resources/channelicon.scss b/_resources/_channelicon.scss similarity index 100% rename from _resources/channelicon.scss rename to _resources/_channelicon.scss