Sha256: 3eb6d2a36f6fd5c18378036880449ab32b98c2c4d1f7285c1a5e4fbebaa65928

Contents?: true

Size: 1.77 KB

Versions: 98

Compression:

Stored size: 1.77 KB

Contents

@import "../tokens/colors";
@import "../tokens/typography";
@import "../tokens/border_radius";
@import "../tokens/shadows";

$pagination_padding: 7px 13px 6px 13px;
$top_bottom_radius: 0px;

.pb_pagination {
  display: inline-block;
  border-radius: $border_rad_light;
  border: $border_rad_lightest solid $border_light;
  background-color: $white;
  padding: $space_xxs 0px !important;
  li {
    display: inline;
    > a, li > span {
    padding: $pagination_padding;
    text-decoration: none;
  }}
  li:first-child > a, li:first-child > span  {
    padding: $pagination_padding;
    border-right: $border_rad_lightest solid $border_light;
    z-index: 2;
    border-top-right-radius: $top_bottom_radius;
    border-bottom-right-radius: $top_bottom_radius;
  }
  li:last-child > a, li:last-child > span {
    padding: $pagination_padding;
    border-left: $border_rad_lightest solid $border_light;
    z-index: 2;
    border-top-left-radius: $top_bottom_radius;
    border-bottom-left-radius: $top_bottom_radius;
  }
  a {
    color: $text_lt_default;
    font-size: $text_small;
    font-weight: $regular;
    border: none;
    transition: all $transition_default ease-out;

    &:hover {
      background-color: $active_light;
      color: $primary;
      border-radius: $border_rad_light;
    }

    &:focus-visible {
      outline: 1px solid $primary;
      border-color: transparent !important;
      border-radius: $border_rad_light !important;
      transition: none;
    }
  }
  .active > span {
    background-color: $primary;
    border-radius: $border_rad_light;
    color: #fff;
    padding: $pagination_padding;
    border: 0;
    text-decoration: none;
    font-weight: $bold;
    font-size: $text_small;
  }
  .disabled > span {
    padding: $pagination_padding;
    font-size: $text_small;
  }
}

Version data entries

98 entries across 98 versions & 1 rubygems

Version Path
playbook_ui-13.34.0.pre.alpha.PBNTR358responsiveadvancedtablereact3366 app/pb_kits/playbook/pb_pagination/_pagination.scss
playbook_ui-13.34.0.pre.alpha.PLAY14143358 app/pb_kits/playbook/pb_pagination/_pagination.scss
playbook_ui-13.34.0.pre.alpha.PLAY14143357 app/pb_kits/playbook/pb_pagination/_pagination.scss
playbook_ui-13.34.0 app/pb_kits/playbook/pb_pagination/_pagination.scss
playbook_ui-13.33.1.pre.alpha.play1407statvaluekitinconsistencies3352 app/pb_kits/playbook/pb_pagination/_pagination.scss
playbook_ui-13.33.1.pre.alpha.PLAY14143340 app/pb_kits/playbook/pb_pagination/_pagination.scss
playbook_ui-13.33.1.pre.alpha.PLAY14143336 app/pb_kits/playbook/pb_pagination/_pagination.scss
playbook_ui-13.33.1.pre.alpha.PLAY14063320 app/pb_kits/playbook/pb_pagination/_pagination.scss
playbook_ui-13.33.1 app/pb_kits/playbook/pb_pagination/_pagination.scss
playbook_ui-13.33.0.pre.alpha.PLAY14143318 app/pb_kits/playbook/pb_pagination/_pagination.scss
playbook_ui-13.33.0.pre.alpha.PLAY14143312 app/pb_kits/playbook/pb_pagination/_pagination.scss
playbook_ui-13.33.0.pre.alpha.PBNTR405dropdownformfixesrails3311 app/pb_kits/playbook/pb_pagination/_pagination.scss
playbook_ui-13.33.0.pre.alpha.PLAY1454formpillicons3309 app/pb_kits/playbook/pb_pagination/_pagination.scss
playbook_ui-13.33.0.pre.alpha.PLAY14143306 app/pb_kits/playbook/pb_pagination/_pagination.scss
playbook_ui-13.33.0.pre.alpha.PLAY14143305 app/pb_kits/playbook/pb_pagination/_pagination.scss
playbook_ui-13.33.0 app/pb_kits/playbook/pb_pagination/_pagination.scss
playbook_ui-13.32.0.pre.alpha.PBNTR405dropdownformfixesrails3301 app/pb_kits/playbook/pb_pagination/_pagination.scss
playbook_ui-13.32.0.pre.alpha.PLAY14143297 app/pb_kits/playbook/pb_pagination/_pagination.scss
playbook_ui-13.32.0.pre.alpha.PLAY14143288 app/pb_kits/playbook/pb_pagination/_pagination.scss
playbook_ui-13.32.0.pre.alpha.PLAY14143272 app/pb_kits/playbook/pb_pagination/_pagination.scss