Sha256: 3f66e760cfca799b5e6a5e87330c0de12a28f3641bd5c8647fe5dd40054810df

Contents?: true

Size: 1.63 KB

Versions: 31

Compression:

Stored size: 1.63 KB

Contents

/*
 * # Semantic - Video
 * http://github.com/jlukic/semantic-ui/
 *
 *
 * Copyright 2013 Contributors
 * Released under the MIT license
 * http://opensource.org/licenses/MIT
 *
 */


/*******************************
            Video
*******************************/

.ui.video {
  position: relative;
  max-width: 100%;
}

/*--------------
     Content
---------------*/

/* Placeholder Image */
.ui.video .placeholder {
  background-color: #333333;
}

/* Play Icon Overlay */
.ui.video .play {
  cursor: pointer;
  position: absolute;
  top: 0px;
  left: 0px;
  z-index: 10;

  width: 100%;
  height: 100%;

  -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
  filter: alpha(opacity=60);
  opacity: 0.6;

  -webkit-transition: opacity 0.3s;
  -moz-transition: opacity 0.3s;
  -o-transition: opacity 0.3s;
  -ms-transition: opacity 0.3s;
  transition: opacity 0.3s;
}
.ui.video .play.icon:before {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 11;

  font-size: 6rem;
  margin: -3rem 0em 0em -3rem;
  color: #FFFFFF;
  text-shadow: 0px 3px 3px rgba(0, 0, 0, 0.4);
}

.ui.video .placeholder {
  display: block;
  width: 100%;
  height: 100%;
}

/* IFrame Embed */
.ui.video .embed {
  display: none;
}

/*******************************
            States
*******************************/

/*--------------
    Hover
---------------*/

.ui.video .play:hover {
  opacity: 1;
}


/*--------------
     Active
---------------*/

.ui.video.active .play,
.ui.video.active .placeholder {
  display: none;
}
.ui.video.active .embed {
  display: block;
}

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
semantic-ui-rails-0.18.0 app/assets/stylesheets/semantic-ui/modules/video.less
semantic-ui-rails-0.16.1 app/assets/stylesheets/semantic-ui/modules/video.less
semantic-ui-rails-0.14.0 app/assets/stylesheets/semantic-ui/modules/video.less
semantic-ui-rails-0.13.1 app/assets/stylesheets/semantic-ui/modules/video.less
semantic-ui-rails-0.13.0 app/assets/stylesheets/semantic-ui/modules/video.less
semantic-ui-rails-0.12.5 app/assets/stylesheets/semantic-ui/modules/video.less
semantic-ui-rails-0.12.4 app/assets/stylesheets/semantic-ui/modules/video.less
semantic-ui-rails-0.12.2 app/assets/stylesheets/semantic-ui/modules/video.less
semantic-ui-rails-0.12.0 app/assets/stylesheets/semantic-ui/modules/video.less
semantic-ui-rails-0.11.0 app/assets/stylesheets/semantic-ui/modules/video.less
semantic-ui-rails-0.10.3 app/assets/stylesheets/semantic-ui/modules/video.less
semantic-ui-rails-0.10.2 app/assets/stylesheets/semantic-ui/modules/video.less
semantic-ui-rails-0.10.1 app/assets/stylesheets/semantic-ui/modules/video.less
semantic-ui-rails-0.9.5 app/assets/stylesheets/semantic-ui/modules/video.less
semantic-ui-rails-0.9.3 app/assets/stylesheets/semantic-ui/modules/video.less
semantic-ui-rails-0.9.2 app/assets/stylesheets/semantic-ui/modules/video.less
semantic-ui-rails-0.9.0 app/assets/stylesheets/semantic-ui/modules/video.less
semantic-ui-rails-0.8.6.1 app/assets/stylesheets/semantic-ui/modules/video.less
semantic-ui-rails-0.8.6 app/assets/stylesheets/semantic-ui/modules/video.less
semantic-ui-rails-0.8.5 app/assets/stylesheets/semantic-ui/modules/video.less