Sha256: 34238fbb84e517912f3ee451c2624fadd5b753917e0d110d1a9351d256f52256

Contents?: true

Size: 891 Bytes

Versions: 5

Compression:

Stored size: 891 Bytes

Contents

////
/// @group classic-player-controls
////

/// Base typography settings for player controls.
$classic-player-controls-typography: $player-controls-typography !default;

%player_controls {
  &-container {
    position: absolute;
    bottom: 10%;
    left: 50%;
    z-index: 2;
    pointer-events: none;
    @include transition(opacity 0.1);
    @include standard-typography($classic-player-controls-typography);

    @include phone {
      left: 5%;
      max-width: 90%;

      .hint {
        display: block;
      }
    }

    @include phone_portrait {
      bottom: 50px;
    }

    a {
      pointer-events: all;
    }

    &-idle {
      @include transition-duration(1.5s);
      @include transition-delay(1s);
      opacity: 0;
    }

    &-paused,
    &-unplayed,
    &-has_been_faded {
      // Unused, but have to be defined for @extend to work
      display: block;
    }
  }
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
pageflow-0.11.4 app/assets/stylesheets/pageflow/themes/default/player_controls/classic/container.scss
pageflow-0.11.3 app/assets/stylesheets/pageflow/themes/default/player_controls/classic/container.scss
pageflow-0.11.2 app/assets/stylesheets/pageflow/themes/default/player_controls/classic/container.scss
pageflow-0.11.1 app/assets/stylesheets/pageflow/themes/default/player_controls/classic/container.scss
pageflow-0.11.0 app/assets/stylesheets/pageflow/themes/default/player_controls/classic/container.scss