mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-12 07:09:55 +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>
68 lines
1.5 KiB
Plaintext
68 lines
1.5 KiB
Plaintext
.@{badge-prefix-cls} {
|
|
&-rtl {
|
|
direction: rtl;
|
|
}
|
|
|
|
&:not(&-not-a-wrapper) &-count,
|
|
&:not(&-not-a-wrapper) &-dot,
|
|
&:not(&-not-a-wrapper) .@{number-prefix-cls}-custom-component {
|
|
.@{badge-prefix-cls}-rtl & {
|
|
right: auto;
|
|
left: 0;
|
|
direction: ltr;
|
|
transform: translate(-50%, -50%);
|
|
transform-origin: 0% 0%;
|
|
}
|
|
}
|
|
|
|
&-rtl&:not(&-not-a-wrapper) .@{number-prefix-cls}-custom-component {
|
|
right: auto;
|
|
left: 0;
|
|
transform: translate(-50%, -50%);
|
|
transform-origin: 0% 0%;
|
|
}
|
|
|
|
&-status {
|
|
&-text {
|
|
.@{badge-prefix-cls}-rtl & {
|
|
margin-right: 8px;
|
|
margin-left: 0;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.@{ribbon-prefix-cls}-rtl {
|
|
direction: rtl;
|
|
&.@{ribbon-prefix-cls}-placement-end {
|
|
right: unset;
|
|
left: -8px;
|
|
border-bottom-right-radius: @border-radius-sm;
|
|
border-bottom-left-radius: 0;
|
|
.@{ribbon-prefix-cls}-corner {
|
|
right: unset;
|
|
left: 0;
|
|
border-color: currentColor currentColor transparent transparent;
|
|
|
|
&::after {
|
|
border-color: currentColor currentColor transparent transparent;
|
|
}
|
|
}
|
|
}
|
|
&.@{ribbon-prefix-cls}-placement-start {
|
|
right: -8px;
|
|
left: unset;
|
|
border-bottom-right-radius: 0;
|
|
border-bottom-left-radius: @border-radius-sm;
|
|
.@{ribbon-prefix-cls}-corner {
|
|
right: 0;
|
|
left: unset;
|
|
border-color: currentColor transparent transparent currentColor;
|
|
|
|
&::after {
|
|
border-color: currentColor transparent transparent currentColor;
|
|
}
|
|
}
|
|
}
|
|
}
|