Sha256: 69f5d831c3bb7259dbf3f8c4e9efcb60ac75c8b3e052672866b6a1a725adf5b1

Contents?: true

Size: 514 Bytes

Versions: 9

Compression:

Stored size: 514 Bytes

Contents

body .video {
  width: 100%;
  position: relative;
  height: 0;
  padding-bottom: 56.25%;
  &.twitch, &.youtube.show_controls {
    padding-top: 30px;
    // Use .show_controls f you want the play/pause controls
    // to show before the video plays, like on older youtube.
  }
  &.youtube, &.vimeo {
    // Nothing goes here anymore. Both use overlay transports.
  }
}

.video > video, .video > iframe, .video > object, .video > embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
gumby2-rails-0.0.9 vendor/assets/stylesheets/sass/ui/_video.scss
gumby2-rails-0.0.8 vendor/assets/stylesheets/sass/ui/_video.scss
gumby2-rails-0.0.7 vendor/assets/stylesheets/sass/ui/_video.scss
gumby2-rails-0.0.6 vendor/assets/stylesheets/sass/ui/_video.scss
gumby2-rails-0.0.5 vendor/assets/stylesheets/sass/ui/_video.scss
gumby2-rails-0.0.4 vendor/assets/stylesheets/sass/ui/_video.scss
gumby2-rails-0.0.3 vendor/assets/stylesheets/sass/ui/_video.scss
gumby2-rails-0.0.2 vendor/assets/stylesheets/sass/ui/_video.scss
gumby2-rails-0.0.1 vendor/assets/stylesheets/sass/ui/_video.scss