Sha256: d32f00fe117a66b52182d56ac0dfff4daf864c450507682de93e86177824e076

Contents?: true

Size: 1.65 KB

Versions: 288

Compression:

Stored size: 1.65 KB

Contents

@import "../tokens/exports/scale.module";

@mixin hover-color-classes($colors-list) {
    @each $name, $color in $colors-list {
      .hover_background_#{"" + $name}:hover {
        background-color: $color !important;
        transition: background-color $transition-speed ease;
      }
      .hover_color_#{"" + $name}:hover {
        color: $color !important;
        transition: color $transition-speed ease;
      }
    }
  }
  
  @mixin hover-shadow-classes($shadows-list) {
    @each $name, $shadow in $shadows-list {
      .hover_#{"" + $name}:hover {
        box-shadow: $shadow;
        transition: box-shadow $transition-speed ease;
      }
    }
  }
  
  @mixin hover-scale-classes($scales-list) {
    @each $name, $scale in $scales-list {
      .hover_#{"" + $name}:hover {
        transform: $scale;
        transition: transform $transition-speed ease;
      }
    }
  }
  
  
  @include hover-scale-classes($scales);
  @include hover-shadow-classes($box_shadows);
  @include hover-color-classes($product_colors);
  @include hover-color-classes($status_colors);
  @include hover-color-classes($data_colors);
  @include hover-color-classes($shadow_colors);
  @include hover-color-classes($colors);
  @include hover-color-classes($interface_colors);
  @include hover-color-classes($main_colors);
  @include hover-color-classes($background_colors);
  @include hover-color-classes($card_colors);
  @include hover-color-classes($active_colors);
  @include hover-color-classes($action_colors);
  @include hover-color-classes($hover_colors);
  @include hover-color-classes($border_colors);
  @include hover-color-classes($text_colors);
  @include hover-color-classes($category_colors);

Version data entries

288 entries across 288 versions & 1 rubygems

Version Path
playbook_ui-14.6.0.pre.alpha.PBNTR5554217 app/pb_kits/playbook/utilities/_hover.scss
playbook_ui-14.7.0.pre.rc.0 app/pb_kits/playbook/utilities/_hover.scss
playbook_ui-14.5.0.pre.alpha.PLAY1485selectablecardoverflowoutlinebug4216 app/pb_kits/playbook/utilities/_hover.scss
playbook_ui-14.6.0 app/pb_kits/playbook/utilities/_hover.scss
playbook_ui-14.6.0.pre.rc.25 app/pb_kits/playbook/utilities/_hover.scss
playbook_ui-14.6.0.pre.rc.24 app/pb_kits/playbook/utilities/_hover.scss
playbook_ui-14.6.0.pre.rc.23 app/pb_kits/playbook/utilities/_hover.scss
playbook_ui-14.6.0.pre.rc.22 app/pb_kits/playbook/utilities/_hover.scss
playbook_ui-14.6.0.pre.rc.21 app/pb_kits/playbook/utilities/_hover.scss
playbook_ui-14.5.0.pre.alpha.PLAY1548intltelinputupdatelatest4175 app/pb_kits/playbook/utilities/_hover.scss
playbook_ui-14.6.0.pre.rc.20 app/pb_kits/playbook/utilities/_hover.scss
playbook_ui-14.5.0.pre.alpha.PLAY1548intltelinputupdatelatest4162 app/pb_kits/playbook/utilities/_hover.scss
playbook_ui-14.5.0.pre.alpha.PBNTR595popoverwidthpropfilterpopoverprop4158 app/pb_kits/playbook/utilities/_hover.scss
playbook_ui-14.5.0.pre.alpha.PBNTR614advancedtablepoc4155 app/pb_kits/playbook/utilities/_hover.scss
playbook_ui-14.6.0.pre.rc.19 app/pb_kits/playbook/utilities/_hover.scss
playbook_ui-14.6.0.pre.rc.18 app/pb_kits/playbook/utilities/_hover.scss
playbook_ui-14.5.0.pre.alpha.play1549upgradereactmodal4130 app/pb_kits/playbook/utilities/_hover.scss
playbook_ui-14.5.0.pre.alpha.PLAY1601updatereactzoompanpinch4128 app/pb_kits/playbook/utilities/_hover.scss
playbook_ui-14.5.0.pre.alpha.PLAY1601updatereactzoompanpinch4123 app/pb_kits/playbook/utilities/_hover.scss
playbook_ui-14.6.0.pre.rc.17 app/pb_kits/playbook/utilities/_hover.scss