Sha256: 45207f16d8501a32a55fa6a589d126645ae7135b11634abf8ae85a00bb4addda

Contents?: true

Size: 1.29 KB

Versions: 87

Compression:

Stored size: 1.29 KB

Contents

@mixin player-controls-classic-icons-sprite {
  $dir: "pageflow/themes/default";

  @if $classic-player-controls-images == "custom" {
    $dir: "pageflow/themes/#{$theme-name}";
  }

  %player_controls {
    &-play_button,
    &-progress_bar_handle {
      background-image: image-url("#{$dir}/player_controls_sprite.png");
    }

    &-play_button {
      background-position: center top;

      &:hover {
        background-position: center -40px;
      }

      &:active,
      &.touched {
        background-position: center -80px;
      }
    }

    &-play_button-playing {
      background-position: center -120px;

      &:hover {
        background-position: center -160px;
      }

      &:active,
      &:touched {
        background-position: center -200px;
      }
    }

    &-play_button-custom_icon {
      background-image: image-url("#{$dir}/player_controls_sprite_custom.png");
    }

    &-progress_bar_handle {
      background-position: center -240px;
    }

    &-loading_spinner {
      top: 10px;
      left: 10px;

      &:before {
        content: " ";
        display: block;
        width: 41px;
        height: 41px;
        background-image: image-url("#{$dir}/player_controls_loading_spinner.png");
        background-repeat: no-repeat;
        background-position: center;
      }
    }
  }
}

Version data entries

87 entries across 87 versions & 1 rubygems

Version Path
pageflow-12.0.0.rc7 app/assets/stylesheets/pageflow/themes/default/player_controls/classic/icons/sprite.scss
pageflow-12.0.0.rc6 app/assets/stylesheets/pageflow/themes/default/player_controls/classic/icons/sprite.scss
pageflow-12.0.0.rc5 app/assets/stylesheets/pageflow/themes/default/player_controls/classic/icons/sprite.scss
pageflow-12.0.0.rc4 app/assets/stylesheets/pageflow/themes/default/player_controls/classic/icons/sprite.scss
pageflow-12.0.0.rc3 app/assets/stylesheets/pageflow/themes/default/player_controls/classic/icons/sprite.scss
pageflow-12.0.0.rc2 app/assets/stylesheets/pageflow/themes/default/player_controls/classic/icons/sprite.scss
pageflow-12.0.0.rc1 app/assets/stylesheets/pageflow/themes/default/player_controls/classic/icons/sprite.scss