File "ttb.scss"

Full path: /home/fsibplc/public_html/sommilito-bank2/splide-4.1.3/src/css/template/default/object/modifiers/ttb.scss
File size: 976 B (976 B bytes)
MIME-type: text/plain
Charset: utf-8

Download   Open   Edit   Advanced Editor   Back

$arrow-top: 1em !default;
$arrow-bottom: 1em !default;
$pagination-left: auto !default;
$pagination-right: .5em !default;
$pagination-dot-width: false !default;
$pagination-dot-height: false !default;

.splide {
  $root: &;

  &__arrows--ttb {
    #{ $root }__arrow {
      left: 50%;
      transform: translate( -50%, 0 );

      &--prev {
        top: $arrow-top;

        svg {
          transform: rotateZ( -90deg );
        }
      }

      &--next {
        bottom: $arrow-bottom;
        top: auto;

        svg {
          transform: rotateZ( 90deg );
        }
      }
    }
  }

  &__pagination--ttb {
    bottom: 0;
    display: flex;
    flex-direction: column;
    left: $pagination-left;
    padding: 1em 0;
    right: $pagination-right;
    top: 0;

    #{ $root }__pagination__page {
      @if $pagination-dot-width {
        width: $pagination-dot-width;
      }

      @if $pagination-dot-height {
        height: $pagination-dot-height;
      }
    }
  }
}