From b9b0008545f133038ec5afaeec59eb3fc86d9895 Mon Sep 17 00:00:00 2001 From: liweijie0812 <674416404@qq.com> Date: Wed, 12 Jul 2023 14:15:11 +0800 Subject: [PATCH 01/18] feat(stylelint): number-leading-zero deprecated (#563) --- src/style/layout.less | 12 ++++++------ stylelint.config.js | 1 - 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/src/style/layout.less b/src/style/layout.less index e0e6e53..449e309 100644 --- a/src/style/layout.less +++ b/src/style/layout.less @@ -27,7 +27,7 @@ text-decoration: none; margin-right: 24px; cursor: pointer; - transition: color .2s cubic-bezier(.38, 0, .24, 1); + transition: color 0.2s cubic-bezier(0.38, 0, 0.24, 1); } .left-operation-container, @@ -129,7 +129,7 @@ top: 0; bottom: 0; z-index: 200; - transition: all .3s; + transition: all 0.3s; min-height: 100%; &-mix { @@ -176,19 +176,19 @@ &-logo-normal { color: var(--td-brand-color); font: var(--td-font-body-large); - transition: all .3s; + transition: all 0.3s; } } &-side-nav-placeholder { flex: 1 1 232px; min-width: 232px; - transition: all .3s; + transition: all 0.3s; &-hidden { flex: 1 1 72px; min-width: 72px; - transition: all .3s; + transition: all 0.3s; } } } @@ -207,7 +207,7 @@ .version-container { color: var(--td-text-color-primary); - opacity: .4; + opacity: 0.4; } .t-menu__popup { diff --git a/stylelint.config.js b/stylelint.config.js index 73e3952..9f9ad63 100644 --- a/stylelint.config.js +++ b/stylelint.config.js @@ -3,7 +3,6 @@ module.exports = { extends: ['stylelint-config-standard'], rules: { 'no-duplicate-selectors': null, - 'number-leading-zero': 'never', 'block-no-empty': null, 'selector-class-pattern': null, 'declaration-block-no-redundant-longhand-properties': [true, { ignoreShorthands: ['/flex/'] }], From 5184c78d9a27578795429a47dd6bff8fabd2a180 Mon Sep 17 00:00:00 2001 From: liweijie0812 <674416404@qq.com> Date: Wed, 12 Jul 2023 16:29:42 +0800 Subject: [PATCH 02/18] fix: t-link hover color (#565) --- .../dashboard/base/components/RankList.vue | 4 +-- src/pages/detail/advanced/index.vue | 9 +++--- src/pages/detail/deploy/index.vue | 9 +++--- src/pages/list/base/index.vue | 6 ++-- src/pages/list/components/CommonTable.vue | 6 ++-- src/style/reset.less | 31 ------------------- stylelint.config.js | 6 ++++ 7 files changed, 26 insertions(+), 45 deletions(-) diff --git a/src/pages/dashboard/base/components/RankList.vue b/src/pages/dashboard/base/components/RankList.vue index 9cafa36..d9a1e6a 100644 --- a/src/pages/dashboard/base/components/RankList.vue +++ b/src/pages/dashboard/base/components/RankList.vue @@ -20,7 +20,7 @@ @@ -43,7 +43,7 @@ diff --git a/src/pages/detail/advanced/index.vue b/src/pages/detail/advanced/index.vue index 2e2d9f3..928de5d 100644 --- a/src/pages/detail/advanced/index.vue +++ b/src/pages/detail/advanced/index.vue @@ -87,8 +87,10 @@