rtl.scss 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. @import './variables.scss';
  2. $module: #{$prefix}-popconfirm;
  3. .#{$module} {
  4. &-rtl {
  5. direction: rtl;
  6. }
  7. &-inner {
  8. .#{$module}-rtl & {
  9. padding: $spacing-popconfirm-top $spacing-popconfirm-bottom $spacing-popconfirm-top $spacing-popconfirm-top;
  10. }
  11. }
  12. &-header {
  13. .#{$module}-rtl & {
  14. margin-right: 0;
  15. &-icon {
  16. margin-right: 0;
  17. margin-left: $spacing-popconfirm_header_icon-marginRight;
  18. }
  19. }
  20. }
  21. &-footer {
  22. .#{$module}-rtl & {
  23. justify-content: flex-end;
  24. & > .#{$prefix}-button:first-child:not(:last-child) {
  25. margin-right: 0;
  26. margin-left: $spacing-popconfirm_footer_btn-marginRight;
  27. }
  28. }
  29. }
  30. }
  31. .#{$prefix}-popover-with-arrow {
  32. &.#{$module}-rtl {
  33. direction: rtl;
  34. .#{$module}-inner {
  35. padding: $spacing-popconfirm_popover_with_arrow_inner_rtl-padding;
  36. }
  37. }
  38. }