Created
January 23, 2021 14:56
-
-
Save rebelchris/1028ffa7cad60e9947865a455a20ed6b to your computer and use it in GitHub Desktop.
Video holder
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .holder { | |
| border-radius: 15px; | |
| background: #00bbf9; | |
| width: 100%; | |
| min-height: 50px; | |
| border: 1px solid #333; | |
| &--video { | |
| position: relative; | |
| overflow: hidden; | |
| margin-bottom: 0.5rem; | |
| min-height: 500px; | |
| color: #fee440; | |
| &-me { | |
| position: absolute; | |
| right: 0.5rem; | |
| top: 0.5rem; | |
| width: 150px; | |
| height: 150px; | |
| overflow: hidden; | |
| border: 3px solid #fff; | |
| border-radius: 15px; | |
| background: #efefef; | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| font-style: italic; | |
| &.connecting { | |
| &:before { | |
| content: "Connecting..."; | |
| } | |
| } | |
| } | |
| &-remote { | |
| position: relative; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| min-height: 500px; | |
| &.waiting { | |
| &:before { | |
| content: "Waiting..."; | |
| } | |
| } | |
| video { | |
| position: relative !important; | |
| display: block; | |
| transform: rotateY(180deg); | |
| object-fit: cover; | |
| } | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment