prefix classes with neko-.

This commit is contained in:
Miroslav Šedivý 2021-02-10 20:57:13 +01:00
parent becc18a928
commit 723ec821f3
2 changed files with 8 additions and 8 deletions

View File

@ -1,6 +1,6 @@
<template>
<div ref="component" class="component">
<div ref="container" class="player-container">
<div ref="component" class="neko-component">
<div ref="container" class="neko-container">
<video ref="video" :autoplay="autoplay" :muted="autoplay" />
<neko-overlay
:webrtc="webrtc"
@ -18,12 +18,12 @@
</template>
<style lang="scss" scoped>
.component {
.neko-component {
width: 100%;
height: 100%;
}
.player-container {
.neko-container {
position: relative;
video {

View File

@ -1,8 +1,8 @@
<template>
<div
ref="overlay"
class="overlay"
:class="isControling ? 'active' : ''"
class="neko-overlay"
:class="isControling ? 'neko-active' : ''"
tabindex="0"
:style="{ cursor }"
@click.stop.prevent
@ -21,7 +21,7 @@
</template>
<style lang="scss" scoped>
.overlay {
.neko-overlay {
position: absolute;
top: 0;
bottom: 0;
@ -29,7 +29,7 @@
height: 100%;
outline: 0;
&.active {
&.neko-active {
outline: 2px solid red;
box-sizing: border-box;
}