mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
prefix classes with neko-.
This commit is contained in:
parent
becc18a928
commit
723ec821f3
@ -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 {
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user