1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-22 17:33:14 +01:00
onion/sass/ascribe_media_player.scss

130 lines
2.6 KiB
SCSS
Raw Permalink Normal View History

2015-06-04 16:15:59 +02:00
.ascribe-media-player {
margin-bottom: 1em;
2015-07-28 17:34:15 +02:00
video,
2015-06-04 16:15:59 +02:00
img {
2015-07-29 15:54:08 +02:00
max-width: 100%;
max-height: 640px;
2015-07-28 17:34:15 +02:00
width: auto;
2015-07-29 15:54:08 +02:00
height: auto;
2015-07-28 17:34:15 +02:00
display: block;
margin: 0 auto;
2015-06-04 16:15:59 +02:00
}
2015-06-04 17:37:46 +02:00
.media-other {
color: #cccccc;
2015-09-03 16:11:41 +02:00
font-size: 500%;
p {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
2015-06-04 17:37:46 +02:00
}
2015-07-02 17:10:32 +02:00
2015-07-02 18:27:09 +02:00
.audiojs {
margin: 50px auto;
background-image: none;
}
.audiojs * {
box-sizing: content-box;
}
.audiojs .loaded {
background-color: $ascribe-dark-blue;
2015-07-02 18:27:09 +02:00
background-image: none;
}
.audiojs .progress {
background-color: rgba(255,255,255,0.8);
background-image: none;
}
2015-07-02 17:10:32 +02:00
.video-js,
.vjs-poster {
background-color: transparent;
}
.video-js .vjs-tech {
position: relative;
}
.vjs-fullscreen {
padding-top: 0px;
}
2015-07-29 16:04:33 +02:00
.vjs-fullscreen video {
max-height: 100%;
}
2015-07-02 17:10:32 +02:00
.vjs-default-skin .vjs-play-progress,
.vjs-default-skin .vjs-volume-level {
background: $ascribe-dark-blue;
2015-07-02 17:10:32 +02:00
}
.vjs-default-skin .vjs-big-play-button {
border-radius: 6px;
-o-border-radius: 6px;
-moz-border-radius: 6px;
-webkit-border-radius: 6px;
box-shadow: none;
-o-box-shadow: none;
-moz-box-shadow: none;
-webkit-box-shadow: none;
width: 100px;
height: 60px;
top: 50%;
left: 50%;
margin: -30px -50px;
border: none;
background-color: rgba(0,0,0,.8);
}
.vjs-default-skin:hover .vjs-big-play-button,
.vjs-default-skin .vjs-big-play-button:focus {
border-color: #fff;
background-color: rgba(0,0,0,.9);
box-shadow: none;
-o-box-shadow: none;
-moz-box-shadow: none;
-webkit-box-shadow: none;
transition: all 0s;
-o-transition: all 0s;
-moz-transition: all 0s;
-webkit-transition: all 0s;
}
.vjs-default-skin .vjs-big-play-button:before {
line-height: 60px;
}
.vjs-default-skin .vjs-slider-handle:before,
.vjs-default-skin .vjs-big-play-button:before {
text-shadow: none;
}
.vjs-default-skin .vjs-volume-bar {
height: .5em;
}
.vjs-default-skin .vjs-control-bar {
background-color: rgba(0,0,0,.7);
}
&.encoding-image {
text-align: center;
margin: 2em 0 2em 0;
em {
display: block;
margin-top: 1em;
}
}
2015-06-04 16:15:59 +02:00
}