diff --git a/modules/announcement/show.html.erb b/modules/announcement/show.html.erb index 348e7d2..e36dbc0 100644 --- a/modules/announcement/show.html.erb +++ b/modules/announcement/show.html.erb @@ -97,6 +97,69 @@ display: none; float: left; } + .controlplay { + position: absolute; + right: 1em; + top: 3%; + z-index: 200; + } + .controlplay a { + display: inline-block; + margin-right: 0.25em; + cursor: pointer; + padding: 5px 10px; + border: 1px solid rgba(255,255,255,0.5); + background: rgba(0,0,0,0.2); + } + .controlplay a i { + font-family: FontAwesome; + position: relative; + font-size: 1rem; + line-height: 1; + color: #FFF; + vertical-align: middle; + font-style: unset; + } + .controlplay .resume-slide i::before { + content: "\f04b"; + } + .controlplay .pause-slide i::before { + content: "\f04c"; + } + ul.button-mid .prev-button { + transition: 0.4s; + position: relative; + float: left; + left: 0.5rem; + width: 2.5rem; + height: 2.5rem; + font-size: 2.2rem; + color: #ffffff; + background: rgba(0,0,0,0.2); + text-align: center; + line-height: 2.5rem; + top: 50%; + position: absolute; + transform: translateY(-50%); + z-index: 999; + } + ul.button-mid .next-button { + float: right; + transition: 0.4s; + position: relative; + right: 0.5rem; + width: 2.5rem; + height: 2.5rem; + font-size: 2.2rem; + color: #fff; + background: rgba(0,0,0,0.2); + text-align: center; + line-height: 2.5rem; + top: 50%; + position: absolute; + transform: translateY(-50%); + z-index: 999; + } .carousel_images_slide{ padding: 3em; }