✨ Site > Demo > Add labels
This commit is contained in:
+6
-2
@@ -91,11 +91,15 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="speaker js-speaker">
|
<div class="speaker js-speaker">
|
||||||
<div class="icon"></div>
|
<div class="icon">
|
||||||
|
<div class="label">Speaker</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="audience js-audience">
|
<div class="audience js-audience">
|
||||||
<div class="icon"></div>
|
<div class="icon">
|
||||||
|
<div class="label">Audience</div>
|
||||||
|
</div>
|
||||||
<div class="white-cache"></div>
|
<div class="white-cache"></div>
|
||||||
<div class="url-bar"></div>
|
<div class="url-bar"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -77,7 +77,7 @@ export default class Demo
|
|||||||
this.goStep(4)
|
this.goStep(4)
|
||||||
}
|
}
|
||||||
|
|
||||||
if(this.speakerCurrentTime < 17.5 && this.$speakerVideo.currentTime >= 17.5)
|
if(this.speakerCurrentTime < 17.25 && this.$speakerVideo.currentTime >= 17.25)
|
||||||
{
|
{
|
||||||
this.goStep(5)
|
this.goStep(5)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -92,7 +92,7 @@ section.header
|
|||||||
|
|
||||||
.demo
|
.demo
|
||||||
position absolute
|
position absolute
|
||||||
top 520px
|
top 505px
|
||||||
left 50%
|
left 50%
|
||||||
|
|
||||||
.speaker
|
.speaker
|
||||||
@@ -116,6 +116,14 @@ section.header
|
|||||||
background-repeat no-repeat
|
background-repeat no-repeat
|
||||||
background-position center center
|
background-position center center
|
||||||
|
|
||||||
|
.label
|
||||||
|
position absolute
|
||||||
|
top calc(100% + 6px)
|
||||||
|
left -50px
|
||||||
|
right -50px
|
||||||
|
white-space nowrap
|
||||||
|
text-align center
|
||||||
|
|
||||||
.audience
|
.audience
|
||||||
position absolute
|
position absolute
|
||||||
top -150px
|
top -150px
|
||||||
@@ -138,6 +146,14 @@ section.header
|
|||||||
background-repeat no-repeat
|
background-repeat no-repeat
|
||||||
background-position center center
|
background-position center center
|
||||||
|
|
||||||
|
.label
|
||||||
|
position absolute
|
||||||
|
top calc(100% + 6px)
|
||||||
|
left -50px
|
||||||
|
right -50px
|
||||||
|
white-space nowrap
|
||||||
|
text-align center
|
||||||
|
|
||||||
.url-bar
|
.url-bar
|
||||||
position absolute
|
position absolute
|
||||||
top 1.5%
|
top 1.5%
|
||||||
@@ -173,7 +189,7 @@ section.header
|
|||||||
top 0
|
top 0
|
||||||
left 0
|
left 0
|
||||||
opacity 0
|
opacity 0
|
||||||
transition opacity 0.5s
|
transition opacity 0.25s
|
||||||
will-change opacity
|
will-change opacity
|
||||||
|
|
||||||
.bar
|
.bar
|
||||||
|
|||||||
Reference in New Issue
Block a user