vlibras-web.css 4.64 KB
.vlibras-widget {
  position: fixed;
  right: 0;
  top: 50%;
  margin-top: -285px;
  z-index: 999999999999;
  display: none;
  font-family: Arial;
  color: #000;
}

.vlibras-widget.active {
  display: block;
}

.vlibras-widget.maximize {
  bottom: 40px;
  top: initial;
  right: 50%;
  margin-right: -45vh;
}

.vlibras-widget.maximize .vw-player {
  height: 90vh;
  width: 90vh !important;
}

.vlibras-widget.maximize .vw-canvas-wrapper {
  height: calc(90vh - 82px);
}

.vlibras-widget.left {
  left: 0;
  right: initial;
}

.vlibras-widget.left .vw-player {
  float: left;
}

.vlibras-widget .vw-btn-access {
  width: 70px;
  padding: 5px;
  text-align: center;
  font-size: 16px;
  background-color: #fff;
  cursor: pointer;

  -webkit-box-shadow: 0px 0px 9px 0px rgba(0,0,0,0.75);
  -moz-box-shadow: 0px 0px 9px 0px rgba(0,0,0,0.75);
  box-shadow: 0px 0px 9px 0px rgba(0,0,0,0.75);
}

.vw-btn-access img {
  margin-bottom: 5px;
  width: 65px;
  height: 65px;
}

.vw-btn-access span {
  font-size: 13px;
  color: #004088;
}

.vlibras-widget .vw-btn-access.inactive {
  display: none;
}

.vlibras-widget .vw-player {
  display: none;
  width: 320px;
  height: 100%;
  float: right;

  background-color: #ebebeb;

  -webkit-box-shadow: 0px 0px 9px 0px rgba(0,0,0,0.75);
  -moz-box-shadow: 0px 0px 9px 0px rgba(0,0,0,0.75);
  box-shadow: 0px 0px 9px 0px rgba(0,0,0,0.75);
}

.vlibras-widget .vw-player.active {
  display: -webkit-flex;
  display: flex;
  flex-direction: column;
  -webkit-flex-direction: column;
}

.vw-player .vw-canvas-wrapper {
  position: relative;
  width: 100%;
  height: 370px;
}

.vw-canvas-wrapper .vw-subtitle {
  position: absolute;
  top: 15px;
  right: 15px;
  cursor: pointer;

  display: none;
}

.vw-player.loaded:not(.error) .vw-subtitle {
  display: block;
}

.vw-subtitle .vw-subtitle-off, .vw-subtitle.active .vw-subtitle-on {
  display: block;
}

.vw-subtitle .vw-subtitle-on, .vw-subtitle.active .vw-subtitle-off {
  display: none;
}

.vw-canvas-wrapper .vw-canvas {
  width: 100%;
  height: 100%;
  visibility: hidden;
}

.vw-canvas.active {
  visibility: visible;
}

.vw-player .vw-topbar {
  padding: 8.5px 10px;
  height: 37px;
  background-color: #004088;
  color: #fff;

  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.vw-player .vw-btn-close {
  float: right;
  height: 100%;
  cursor: pointer;
}

.vw-player .vw-btn-side {
  float: left;
  border: 1px solid #fff;
  background-color: #fff;
  width: 2em;
  margin: 0;
  cursor: pointer;
}

.vw-btn-side .vw-arrow {
  background-color: #004088;
  float: right;
  width: 50%;
  text-align: center;
}

.vw-btn-side .vw-arrow:after {
  content: "<";
}

.vlibras-widget.left .vw-arrow {
  float: left;
}

.vlibras-widget.left .vw-arrow:after {
  content: ">";
}

.vlibras-widget .vw-links {
  background-color: #fff;
  width: 100%;
  max-height: 120px;
  overflow: auto;
  display: none;
}

.vw-links.active {
  display: block;
}

.vw-links ul {
  list-style: none;
}

.vw-links li {
  padding: .5em 0;
}

.vlibras-widget .vw-controls {
  width: 100%;
  padding: 8.5px 10px;
  background-color: #fff;

  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;

  visibility: hidden;

  display: -webkit-flex;
  display: flex;
  align-items: center;
  -webkit-align-items: center;
}

.vw-player.loaded:not(.error) .vw-controls {
  visibility: visible;
}

.vw-controls .vw-play {
  cursor: pointer;
  height: 28px;
}

.vw-play img {
  height: 100%;
}

.vw-controls .vw-progressbar {
  margin: 0 20px;
  width: 100%;
  height: 3px;
  background-color: #000;
}

.vw-progressbar .vw-progress {
  background-color: #ff2323;
  width: 0;
  height: 100%;
}

.vw-controls .vw-speed {
  margin-right: 20px;
  font-size: 19px;
  font-weight: bold;
  cursor: pointer;
}

.vw-controls .vw-speed:before {
  content: "x";
}

.vw-window {
  cursor: pointer;
  flex-shrink: 0;
  -webkit-flex-shrink: 0;
}

.vw-window .vw-maximize, .vw-window.active .vw-minimize {
  display: block;
}

.vw-window .vw-minimize, .vw-window.active .vw-maximize {
  display: none;
}

.vw-text:hover {
  background-color: rgba(255, 102, 0, 0.5);
  color: #000;
  cursor: pointer;
}

.vw-text-active {
  background-color: #7CFC00;
  color: #000;
}

.vw-loading, .vw-error {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1001;
  display: none;
  text-align: center;
}

.vw-loading {
  margin-left: -50px;
  margin-top: -25px;
  width: 100px;
  height: 50px;
}

.vw-error {
  margin-left: -150px;
  margin-top: -30px;
  width: 300px;
  height: 60px;
}

.vw-loading img {
  width: 50px;
  height: 50px;
}

.vw-player:not(.error) .vw-loading.active,
.vw-player.error .vw-error {
  display: block;
}