1 |
|
2 | #{$tab-prefix}[dir='rtl'] {
|
3 | &.#{$css-prefix}medium {
|
4 | & #{$tab-prefix}-nav-container-scrolling {
|
5 | padding-left: $tab-nav-scroll-padding-right-m;
|
6 | padding-right: 0;
|
7 | }
|
8 | .#{$css-prefix}tabs-tab-close {
|
9 | padding-right: $tab-nav-close-icon-padding-l-size-m;
|
10 | padding-left: 0;
|
11 | }
|
12 | }
|
13 | &.#{$css-prefix}small {
|
14 | & #{$tab-prefix}-nav-container-scrolling {
|
15 | padding-left: $tab-nav-scroll-padding-right-s;
|
16 | padding-right: 0;
|
17 | }
|
18 | .#{$css-prefix}tabs-tab-close {
|
19 | padding-right: $tab-nav-close-icon-padding-l-size-s;
|
20 | padding-left: 0;
|
21 | }
|
22 | }
|
23 | &#{$tab-prefix}-wrapped#{$tab-prefix}-top > #{$tab-prefix}-bar {
|
24 | #{$tab-prefix}-nav-extra {
|
25 | right: auto;
|
26 | left: 0;
|
27 | }
|
28 | }
|
29 |
|
30 | &#{$tab-prefix}-wrapped#{$tab-prefix}-bottom > #{$tab-prefix}-bar {
|
31 | #{$tab-prefix}-nav-extra {
|
32 | right: auto;
|
33 | left: 0;
|
34 | }
|
35 | }
|
36 |
|
37 | & > #{$tab-prefix}-bar {
|
38 | #{$tab-prefix}-nav-extra {
|
39 | right: auto;
|
40 | left: 0;
|
41 | }
|
42 | }
|
43 |
|
44 | &#{$tab-prefix}-capsule > #{$tab-prefix}-bar {
|
45 | #{$tab-prefix}-tab {
|
46 | border-top: $tab-capsule-tab-border;
|
47 | border-bottom: $tab-capsule-tab-border;
|
48 | border-right: $tab-capsule-tab-border;
|
49 | border-left: 0;
|
50 | &:first-child {
|
51 | border-left: 0;
|
52 | border-radius: 0 $tab-capsule-corner-radius $tab-capsule-corner-radius 0;
|
53 | }
|
54 |
|
55 | &:last-child {
|
56 | border-radius: $tab-capsule-corner-radius 0 0 $tab-capsule-corner-radius;
|
57 | border-left: $tab-capsule-tab-border;
|
58 | }
|
59 |
|
60 | &.active {
|
61 | margin-left: calc(0px - #{$tab-capsule-tab-border-line-width});
|
62 | margin-right: auto;
|
63 | border-left: $tab-capsule-tab-border;
|
64 | border-color: $tab-capsule-tab-border-line-color-active;
|
65 | }
|
66 | }
|
67 | }
|
68 |
|
69 | #{$tab-prefix}-btn-next {
|
70 | left: $tab-nav-arrow-right-positon-right;
|
71 | right: auto;
|
72 | }
|
73 | #{$tab-prefix}-btn-prev {
|
74 | left: $tab-nav-arrow-left-positon-right;
|
75 | right: auto;
|
76 | }
|
77 | #{$tab-prefix}-btn-down {
|
78 | left: $tab-nav-arrow-down-positon-right;
|
79 | right: auto;
|
80 | }
|
81 | }
|
82 | #{$tab-prefix}-text[dir='rtl'] > #{$tab-prefix}-bar {
|
83 | #{$tab-prefix}-tab {
|
84 | &:not(:last-child):after {
|
85 | content: '';
|
86 | position: absolute;
|
87 | left: 0;
|
88 | right: auto;
|
89 | }
|
90 | }
|
91 | }
|
92 |
|