Sha256: 75f8ed2af68b4d529fbeadaf42e01d8d8dd8a606ace4734ed7a13530e3d9c255

Contents?: true

Size: 1.29 KB

Versions: 1253

Compression:

Stored size: 1.29 KB

Contents

@import "./button_toolbar_mixins";
@import "../tokens/colors";
@import "../tokens/opacity";

[class^=pb_button_toolbar]{

  // Vertical =============

  &[class*=_vertical] {
    &[class*=_primary].dark {
      & > [class^=pb_button]:not(:first-child)::before {
        @include toolbar_border(true, $primary_dark)
      }
    }
    &[class*=_secondary].dark {
      & > [class^=pb_button]:not(:first-child)::before {
        @include toolbar_border(true, $secondary_dark)
      }
    }
  }

  // Horizontal =============

  &[class*=_horizontal] {
    &[class*=_primary].dark {
      & > [class^=pb_button]:not(:first-child)::before {
        @include toolbar_border(false, $primary_dark)
      }
    }
    &[class*=_secondary].dark {
      & > [class^=pb_button]:not(:first-child)::before {
        @include toolbar_border(false, $secondary_dark)
      }
    }
  }
  & > [class^=pb_button]:not(:first-child):hover::before,
  [class^=pb_button]:hover + [class^=pb_button]::before {
    opacity: 0
  }

  // Hover =============

  [class^=pb_button].dark  {
    @media (hover:hover) {
      &:hover {
        background-color:darken($royal, 20%);
      }
    }
    &[class*=secondary] {
      @media (hover:hover) {
        &:hover {
          background-color:rgba($primary_action, $opacity_3)
        }
      }
    }
  }
}

Version data entries

1,253 entries across 1,253 versions & 1 rubygems

Version Path
playbook_ui-14.11.1.pre.alpha.PLAY17445539 app/pb_kits/playbook/pb_button_toolbar/_button_toolbar_dark.scss
playbook_ui-14.11.1.pre.alpha.PBNTR798datepickerturbo5537 app/pb_kits/playbook/pb_button_toolbar/_button_toolbar_dark.scss
playbook_ui-14.11.1.pre.alpha.pbntr703collapsiblerowsrails5536 app/pb_kits/playbook/pb_button_toolbar/_button_toolbar_dark.scss
playbook_ui-14.11.1.pre.alpha.PLAY1751pbcontenttagpt25529 app/pb_kits/playbook/pb_button_toolbar/_button_toolbar_dark.scss
playbook_ui-14.11.1.pre.alpha.PBNTR7495495 app/pb_kits/playbook/pb_button_toolbar/_button_toolbar_dark.scss
playbook_ui-14.12.0.pre.rc.11 app/pb_kits/playbook/pb_button_toolbar/_button_toolbar_dark.scss
playbook_ui-14.12.0.pre.rc.10 app/pb_kits/playbook/pb_button_toolbar/_button_toolbar_dark.scss
playbook_ui-14.12.0.pre.rc.9 app/pb_kits/playbook/pb_button_toolbar/_button_toolbar_dark.scss
playbook_ui-14.12.0.pre.rc.8 app/pb_kits/playbook/pb_button_toolbar/_button_toolbar_dark.scss
playbook_ui-14.12.0.pre.rc.7 app/pb_kits/playbook/pb_button_toolbar/_button_toolbar_dark.scss
playbook_ui-14.11.1.pre.alpha.play1724darkmodeauditmap5437 app/pb_kits/playbook/pb_button_toolbar/_button_toolbar_dark.scss
playbook_ui-14.11.1.pre.alpha.PBNTR719listdraggablesimple5432 app/pb_kits/playbook/pb_button_toolbar/_button_toolbar_dark.scss
playbook_ui-14.11.1.pre.alpha.PBNTR768stickyrightcolumn5431 app/pb_kits/playbook/pb_button_toolbar/_button_toolbar_dark.scss
playbook_ui-14.12.0.pre.rc.6 app/pb_kits/playbook/pb_button_toolbar/_button_toolbar_dark.scss
playbook_ui-14.11.1.pre.alpha.PBNTR718simiplifieddraggablereact5415 app/pb_kits/playbook/pb_button_toolbar/_button_toolbar_dark.scss
playbook_ui-14.11.1.pre.alpha.play1724darkmodeauditmap5413 app/pb_kits/playbook/pb_button_toolbar/_button_toolbar_dark.scss
playbook_ui-14.12.0.pre.rc.5 app/pb_kits/playbook/pb_button_toolbar/_button_toolbar_dark.scss
playbook_ui-14.11.1.pre.alpha.play1724darkmodeauditmap5409 app/pb_kits/playbook/pb_button_toolbar/_button_toolbar_dark.scss
playbook_ui-14.11.1.pre.alpha.PBNTR718simiplifieddraggablereact5400 app/pb_kits/playbook/pb_button_toolbar/_button_toolbar_dark.scss
playbook_ui-14.11.1.pre.alpha.PBNTR718simiplifieddraggablereact5392 app/pb_kits/playbook/pb_button_toolbar/_button_toolbar_dark.scss