mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-28 13:09:40 +08:00
b445baa001
* chore(deps-dev): bump stylelint-config-prettier from 8.0.2 to 9.0.2 Bumps [stylelint-config-prettier](https://github.com/prettier/stylelint-config-prettier) from 8.0.2 to 9.0.2. - [Release notes](https://github.com/prettier/stylelint-config-prettier/releases) - [Commits](https://github.com/prettier/stylelint-config-prettier/compare/v8.0.2...v9.0.2) --- updated-dependencies: - dependency-name: stylelint-config-prettier dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * chore: autofix stylelint errors * chore: autofix stylelint errors Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: afc163 <afc163@gmail.com>
49 lines
1.1 KiB
Plaintext
49 lines
1.1 KiB
Plaintext
@import '../../style/themes/index';
|
|
@import '../../style/mixins/index';
|
|
|
|
@skeleton-prefix-cls: ~'@{ant-prefix}-skeleton';
|
|
@skeleton-avatar-prefix-cls: ~'@{skeleton-prefix-cls}-avatar';
|
|
@skeleton-title-prefix-cls: ~'@{skeleton-prefix-cls}-title';
|
|
@skeleton-paragraph-prefix-cls: ~'@{skeleton-prefix-cls}-paragraph';
|
|
|
|
.@{skeleton-prefix-cls} {
|
|
&-rtl {
|
|
direction: rtl;
|
|
}
|
|
|
|
&-header {
|
|
.@{skeleton-prefix-cls}-rtl & {
|
|
padding-right: 0;
|
|
padding-left: 16px;
|
|
}
|
|
}
|
|
|
|
// With active animation
|
|
&.@{skeleton-prefix-cls}-active {
|
|
& .@{skeleton-prefix-cls}-content {
|
|
.@{skeleton-title-prefix-cls},
|
|
.@{skeleton-paragraph-prefix-cls} > li {
|
|
.@{skeleton-prefix-cls}-rtl& {
|
|
animation-name: ~'@{skeleton-prefix-cls}-loading-rtl';
|
|
}
|
|
}
|
|
}
|
|
|
|
.@{skeleton-avatar-prefix-cls} {
|
|
.@{skeleton-prefix-cls}-rtl& {
|
|
animation-name: ~'@{skeleton-prefix-cls}-loading-rtl';
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
@keyframes ~"@{skeleton-prefix-cls}-loading-rtl" {
|
|
0% {
|
|
background-position: 0% 50%;
|
|
}
|
|
|
|
100% {
|
|
background-position: 100% 50%;
|
|
}
|
|
}
|