127.0.0.1:8000 watch-together / master src / scss / video.scss
master

Tree @master (Download .tar.gz)

video.scss @masterraw · history · blame

@import 'style.scss';

video {
    width: 100%;
    height: 100%;
}

video::-webkit-media-controls-enclosure {
    display: none !important;
}

.video-overlay {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: 0;
    background: $background;
    z-index: 1;
}

.video-wrapper {
    display: inline-block;
    background: black;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 122px;
    right: 350px;
    transition: all ease 350ms;
    border-bottom: solid 2px $blue;
}

.video-wrapper.fullscreen {
    bottom: 0;
    right: 0;
    border-bottom: none;
}

.subtitle-wrapper {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 20px;
    text-align: center;
    font-size: 26px;
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
    white-space: pre-line;
    transition: all ease 350ms;
}

.subtitle-wrapper.fullscreen-controls {
    bottom: 144px;
}

.seek-wrapper {
    padding: 10px 0 15px 0;
}

.volume-wrapper {
    display: inline-block;
    width: 200px;
    padding: 10px;
    vertical-align: bottom;
}

input[type=range]::-moz-focus-outer {
    border: 0;
}

.seek-slider {
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 100%;
    padding: 0;
    margin: 0 0 5px 0;
    height: 1px;
    background: white;
}

.seek-slider.volume {
    width: 200px;
}

.seek-slider::-moz-range-track {
    background: white;
}

.seek-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: $blue;
    cursor: pointer;
    border: 1px solid white;
}

.seek-slider::-moz-range-thumb {
    -moz-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: $blue;
    cursor: pointer;
    border: 1px solid white;
}

.video-controls {
    text-align: center;
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    padding-top: 8px;
    transition: all ease 350ms;
}

.video-controls.fullscreen {
    border: none;
    bottom: 0;
    height: 0;
    padding-top: 0;
}

.video-control-button {
    margin: 0 10px;
}

.video-sidebar {
    display: inline-block;
    position: absolute;
    right: 0;
    width: 350px;
    bottom: 122px;
    top: 0;
    border-bottom: solid 2px $blue;
}

.viewer-list {
    overflow: auto;
    padding-right: 10px;
}

.viewer {
    border-left: 2px solid $blue;
    margin-bottom: 20px;
}

.viewer-row {
    text-align: right;
    padding: 5px;
}

.viewer-row-left {
    float: left;
}

.viewer-state.self:hover {
    text-decoration: underline;
    cursor: pointer;
}

.viewer-state.self.viewer-state-menu-open:hover {
    text-decoration: unset;
    cursor: unset;
}

.viewer-state-option:hover {
    text-decoration: underline;
    cursor: pointer;
}