fix style

This commit is contained in:
chiu 2021-08-31 17:31:24 +08:00
parent be6db75d29
commit 9a386911f1
2 changed files with 28 additions and 6 deletions

View File

@ -60,10 +60,21 @@
</script>
<style type="text/css">
.controlplay .resume-slide.active i{
.w-ba-banner .controlplay .resume-slide.active i{
color: #32D9C3;
}
.controlplay .pause-slide.active i{
.w-ba-banner .controlplay .pause-slide.active i{
color: #ff4500;
}
.w-ba-banner .controlplay{
width: auto;
}
.w-ba-banner .button-mid{
position: absolute;
width: 100%;
height: 100%;
}
.next-button,.prev-button{
cursor: pointer;
}
</style>

View File

@ -28,8 +28,8 @@
<div class="w-ba-banner__caption banner-pager banner_caption_{{subpart-id}}"></div>
<ul class="controlplay"><a class="resume-slide active" title = "<%= (I18n.locale.to_s =="zh_tw") ? "繼續播放" : "resume" %>"><i></i></a><a class="pause-slide" title = "<%= (I18n.locale.to_s =="zh_tw") ? "暫停播放" : "pause"%>"><i></i></a></ul>
<ul class="button-mid">
<i class="fa fa-angle-left prev-button" aria-hidden="true" title = "<%= (I18n.locale.to_s =="zh_tw") ? "上一張" : "prev" %>" style="cursor: pointer;"></i>
<i class="fa fa-angle-right next-button" aria-hidden="true" title = "<%= (I18n.locale.to_s =="zh_tw") ? "下一張" : "next" %>" style="cursor: pointer;"></i>
<i class="fa fa-angle-left prev-button" aria-hidden="true" title = "<%= (I18n.locale.to_s =="zh_tw") ? "上一張" : "prev" %>"></i>
<i class="fa fa-angle-right next-button" aria-hidden="true" title = "<%= (I18n.locale.to_s =="zh_tw") ? "下一張" : "next" %>"></i>
</ul>
</div>
</div>
@ -178,10 +178,21 @@ if (typeof onYouTubeIframeAPIReady !== 'function'){
}
</script>
<style type="text/css">
.controlplay .resume-slide.active i{
.w-ba-banner .controlplay .resume-slide.active i{
color: #32D9C3;
}
.controlplay .pause-slide.active i{
.w-ba-banner .controlplay .pause-slide.active i{
color: #ff4500;
}
.w-ba-banner .controlplay{
width: auto;
}
.w-ba-banner .button-mid{
position: absolute;
width: 100%;
height: 100%;
}
.next-button,.prev-button{
cursor: pointer;
}
</style>