mirror of
https://github.com/Tencent/tdesign-vue-next-starter.git
synced 2024-12-23 03:59:54 +08:00
feat(stylelint): number-leading-zero deprecated (#563)
This commit is contained in:
parent
109db6868e
commit
b9b0008545
|
@ -27,7 +27,7 @@
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
margin-right: 24px;
|
margin-right: 24px;
|
||||||
cursor: pointer;
|
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,
|
.left-operation-container,
|
||||||
|
@ -129,7 +129,7 @@
|
||||||
top: 0;
|
top: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
z-index: 200;
|
z-index: 200;
|
||||||
transition: all .3s;
|
transition: all 0.3s;
|
||||||
min-height: 100%;
|
min-height: 100%;
|
||||||
|
|
||||||
&-mix {
|
&-mix {
|
||||||
|
@ -176,19 +176,19 @@
|
||||||
&-logo-normal {
|
&-logo-normal {
|
||||||
color: var(--td-brand-color);
|
color: var(--td-brand-color);
|
||||||
font: var(--td-font-body-large);
|
font: var(--td-font-body-large);
|
||||||
transition: all .3s;
|
transition: all 0.3s;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&-side-nav-placeholder {
|
&-side-nav-placeholder {
|
||||||
flex: 1 1 232px;
|
flex: 1 1 232px;
|
||||||
min-width: 232px;
|
min-width: 232px;
|
||||||
transition: all .3s;
|
transition: all 0.3s;
|
||||||
|
|
||||||
&-hidden {
|
&-hidden {
|
||||||
flex: 1 1 72px;
|
flex: 1 1 72px;
|
||||||
min-width: 72px;
|
min-width: 72px;
|
||||||
transition: all .3s;
|
transition: all 0.3s;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -207,7 +207,7 @@
|
||||||
|
|
||||||
.version-container {
|
.version-container {
|
||||||
color: var(--td-text-color-primary);
|
color: var(--td-text-color-primary);
|
||||||
opacity: .4;
|
opacity: 0.4;
|
||||||
}
|
}
|
||||||
|
|
||||||
.t-menu__popup {
|
.t-menu__popup {
|
||||||
|
|
|
@ -3,7 +3,6 @@ module.exports = {
|
||||||
extends: ['stylelint-config-standard'],
|
extends: ['stylelint-config-standard'],
|
||||||
rules: {
|
rules: {
|
||||||
'no-duplicate-selectors': null,
|
'no-duplicate-selectors': null,
|
||||||
'number-leading-zero': 'never',
|
|
||||||
'block-no-empty': null,
|
'block-no-empty': null,
|
||||||
'selector-class-pattern': null,
|
'selector-class-pattern': null,
|
||||||
'declaration-block-no-redundant-longhand-properties': [true, { ignoreShorthands: ['/flex/'] }],
|
'declaration-block-no-redundant-longhand-properties': [true, { ignoreShorthands: ['/flex/'] }],
|
||||||
|
|
Loading…
Reference in New Issue
Block a user