| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 |
- $module: #{$prefix}-timeline;
- .#{$prefix}-rtl,
- .#{$prefix}-portal-rtl {
- .#{$module} {
- direction: rtl;
- &-item {
- &-tail {
- left: auto;
- right: $spacing-timeline_tail-left;
- border-left: 0;
- border-right: $width-timeline_tail-border solid $color-timeline_tail-border;
- }
- &-head-custom {
- left: auto;
- right: $spacing-timeline_head_custom-left;
- transform: $motion-timeline_head_custom-transform-rtl;
- }
- &-content {
- margin: $spacing-none $spacing-timeline_content-marginLeft $spacing-none $spacing-none;
- }
- &:last-child {
- .#{$module}-item-tail {
- border-right: none;
- }
- }
- }
- &-alternate,
- &-right,
- &-center {
- .#{$module}-item {
- &-tail,
- &-head,
- &-head-custom {
- left: auto;
- right: $spacing-timeline_item_head_custom-left;
- }
- &-head {
- margin-left: 0;
- margin-right: $spacing-timeline_item_head-marginLeft;
- }
- &-left {
- .#{$module}-item-content {
- left: auto;
- right: $spacing-timeline_item_left_item_content-left;
- text-align: right;
- }
- }
- &-right {
- .#{$module}-item-content {
- text-align: left;
- }
- }
- }
- }
- &-center {
- .#{$module}-item {
- &-content-time {
- margin-left: 0;
- margin-right: $spacing-timeline_item_content_time-marginLeft;
- text-align: left;
- }
- }
- }
- &-right {
- .#{$module}-item-right {
- .#{$module}-item {
- &-tail,
- &-head,
- &-head-custom {
- left: 0;
- right: $spacing-timeline_item_right_item-left;
- }
- }
- }
- }
- }
- }
|