123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158 |
- $module: #{$prefix}-table;
- .#{$prefix}-rtl,
- .#{$prefix}-portal-rtl {
- .#{$module} {
- direction: rtl;
- text-align: right;
- &-thead {
- & > .#{$module}-row {
- & > .#{$module}-row-head {
- text-align: right;
- &.#{$module}-cell-fixed {
- &-left-last {
- border-right: 0;
- border-left: 1px solid $color-table_shadow-border-default;
- &.resizing {
- // rtl override mixin
- border-left: $border-table_resizer;
- }
- }
- &-right-first {
- border-left: 0;
- border-right: 1px solid $color-table_shadow-border-default;
- &.resizing {
- border-left: $border-table_resizer;
- }
- &[x-type="column-scrollbar"] {
- box-shadow: none;
- border-right: transparent;
- }
- }
- }
- }
- .resizing {
- border-left: $border-table_resizer;
- }
- .react-resizable-handle {
- right: auto;
- left: $spacing-table_react_resizable_handle-right;
- }
- }
- }
- &-tbody {
- display: table-row-group;
- & > .#{$module}-row {
- & > .#{$module}-row-cell {
- &.resizing {
- border-right: 0;
- border-left: $border-table_resizer;
- }
- }
- & > .#{$module}-cell-fixed {
- &-left-last {
- border-right: 0;
- border-left: $width-table_cell_fixed_left_last solid $color-table_shadow-border-default;
- }
- &-right-first {
- border-left: 0;
- border-right: $width-table_cell_fixed_right_first solid $color-table_shadow-border-default;
- }
- }
- }
- }
- .#{$module}-column {
- &-selection {
- .#{$prefix}-checkbox-inner-display {
- .#{$prefix}-icon {
- left: auto;
- right: 0;
- }
- }
- }
- &-expand {
- .#{$module}-expand-icon {
- transform: scaleX(-1) translateY(2px);
- &:last-child {
- margin-right: auto;
- margin-left: 0;
- }
- }
- }
- &-sorter {
- margin-left: auto;
- margin-right: $spacing-table_column_sorter-marginLeft;
- }
- &-filter {
- margin-left: auto;
- margin-right: $spacing-table_column_filter-marginLeft;
- }
- }
- &-bordered {
- .#{$module}-container {
- border-left: 0;
- border-right: $border-table;
- }
- .#{$module}-thead > .#{$module}-row > .#{$module}-row-head,
- .#{$module}-tbody > .#{$module}-row > .#{$module}-row-cell {
- border-right: 0;
- border-left: $border-table;
- }
- .#{$module}-placeholder {
- border-left: $border-table;
- border-right: 0;
- }
- .#{$module}-header {
- &::-webkit-scrollbar {
- border-right: 0;
- border-left: $border-table;
- }
- }
- }
- &-fixed {
- & > .#{$module}-tbody {
- & > .#{$module}-row-expand > .#{$module}-row-cell > .#{$module}-expand-inner,
- & > .#{$module}-row-section > .#{$module}-row-cell > .#{$module}-section-inner {
- left: auto;
- right: 0;
- margin-right: -$spacing-table_expand_row-paddingLeft;
- margin-left: -$spacing-table_expand_row-paddingRight;
- padding-right: $spacing-table_expand_row-paddingLeft;
- padding-left: $spacing-table_expand_row-paddingRight;
- }
- }
- }
- }
- .#{$module}-expand-icon {
- margin-right: auto;
- margin-left: $spacing-table_expand_icon-marginRight;
- transform: scaleX(-1) translateY(2px);
- }
- }
|