superdesk/superdesk-client-core

View on GitHub
scripts/extensions/videoEditor/src/index.css

Summary

Maintainability
Test Coverage
.timeline-controls {
  position: relative;
  margin: auto;
  padding: 0 3rem;
  width: 100%;
}

.controlbars {
  position: relative;
  margin: auto;
  width: min-content;
}

.controlbars__mask {
  position: absolute;
  top: -1px;
  bottom: -1px;
  background-color: rgba(25, 30, 64, 0.8);
}

.controlbars__mask--left {
  inset-inline-start: 0;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

.controlbars__mask--right {
  inset-inline-end: 0;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

.controlbars__progress-output {
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  bottom: 0;
  transform: translate(-50%, 0);
  pointer-events: none;
}

.controlbars__progress-output__content {
  position: relative;
  transform: translate(0, -20px);
  text-align: center;
}

.controlbars__progress-output__content__inner {
  background-color: #fff;
  color: #000;
  font-size: 11px;
  padding: 0 9px;
  box-sizing: border-box;
  transform: translate(0, -10px);
  height: 18px;
  line-height: 18px;
  border-radius: 30px;
}

.controlbars__progress-output__progress-line {
  width: 1px;
  background-color: #fff;
  position: absolute;
  top: inherit;
  bottom: inherit;
  inset-inline-start: 50%;
}

.controlbars__wrapper-out {
  position: absolute;
  inset-inline-start: 0;
  inset-inline-end: 0;
  top: 0;
  bottom: 0;
  border: solid 1px #00e0ff;
  border-radius: 5px;
}

.controlbars__wrapper--left {
  transform: translateX(-50%);
}

.controlbars__wrapper {
  width: 10px;
  position: absolute;
  top: 20%;
  bottom: 20%;
  background-color: #00e0ff;
  cursor: ew-resize;
  pointer-events: all;
  border-radius: 10px;
}

.controlbars__wrapper:before {
  content: "•\A•\A•";
  position: absolute;
  top: 50%;
  inset-inline-start: 50%;
  transform: translate(-50%, -50%);
  font-size: 12px;
  margin-top: 0;
  white-space: pre;
  line-height: 6px;
}

.controlbars__wrapper__content {
  transition: left 100ms linear, transform 100ms linear;
  position: absolute;
  font-size: 12px;
  color: #00e0ff;
  inset-inline-start: 50%;
  transform: translate(-50%, 0);
  font-weight: 400;
  bottom: -35px;
}

.controlbars__wrapper--right {
  inset-inline-end: 0;
  transform: translateX(50%);
}

.timeline__thumbnails {
  overflow: hidden;
  display: block;
  width: 100%;
  white-space: nowrap;
  border-radius: 5px;  
  min-height: 50px;
}
.timeline__thumbnails--loading {
  background-image: url(~images/three-dots.svg);
  background-repeat: no-repeat;
  background-position: center center;
  background-color: rgba(0, 0, 0, 0.4);
  background-size: 70px;
}

.rotate__transition {
  transition: transform 0.3s ease;
}

.dropdown__crop {
  margin-left: 0.4rem;
  margin-right: 0.4rem;
}
.dropdown__quality--disable {
  color: grey;
}
.dropdown__quality--disable:active {
  pointer-events: none;
}
.dropdown__caret:hover::after {
  max-width: none;
}

.loading {
  position: absolute;
  width: 100%;
  height: calc(100vh - 53px);
  /* generated by Loading.io, under Loading.io Free License
   * https://loading.io/license/#free-license
   */
  background-image: url(data:image/svg+xml;base64,PHN2ZyBjbGFzcz0ibGRzLXNwaW5uZXIiIHdpZHRoPSIyMDBweCIgIGhlaWdodD0iMjAwcHgiICB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCIgcHJlc2VydmVBc3BlY3RSYXRpbz0ieE1pZFlNaWQiIHN0eWxlPSJiYWNrZ3JvdW5kOiByZ2JhKDAsIDAsIDAsIDApIG5vbmUgcmVwZWF0IHNjcm9sbCAwJSAwJTsiPjxnIHRyYW5zZm9ybT0icm90YXRlKDAgNTAgNTApIj4gIDxyZWN0IHg9IjQ3LjUiIHk9IjI0IiByeD0iMi4zNzUiIHJ5PSIxLjIiIHdpZHRoPSI1IiBoZWlnaHQ9IjEyIiBmaWxsPSIjZDJkMmNiIj4gICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0ib3BhY2l0eSIgdmFsdWVzPSIxOzAiI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ODU3MTQyN3MiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIj48L2FuaW1hdGU+ICA8L3JlY3Q+PC9nPjxnIHRyYW5zZm9ybT0icm90YXRlKDMwOC41NzE0Mjg1NzE0Mjg1NiA1MCA1MCkiPiAgPHJlY3QgeD0iNDcuNSIgeT0iMjQiIHJ4PSIyLjM3NSIgcnk9IjEuMiIgd2lkdGg9IjUiIGhlaWdodD0iMTIiIGZpbGw9IiNkMmQyY2IiPiAgICA8YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJvcGFjaXR5IiB2YWx1ZXM9IjE7MCIga2V5VGltZXM9IjA7MSIgZHVyPSIxLjVzIiBiZWdpbj0iLTAuMTA3MTQyODU3MTQyODU3MTRzIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSI+PC9hbmltYXRlPiAgPC9yZWN0PjwvZz48ZyB0cmFuc2Zvcm09InJvdGF0ZSgzMzQuMjg1NzE0Mjg1NzE0MyA1MCA1MCkiPiAgPHJlY3QgeD0iNDcuNSIgeT0iMjQiIHJ4PSIyLjM3NSIgcnk9IjEuMiIgd2lkdGg9IjUiIGhlaWdodD0iMTIiIGZpbGw9IiNkMmQyY2IiPiAgICA8YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJvcGFjaXR5IiB2YWx1ZXM9IjE7MCIga2V5VGltZXM9IjA7MSIgZHVyPSIxLjVzIiBiZWdpbj0iMHMiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIj48L2FuaW1hdGU+ICA8L3JlY3Q+PC9nPjwvc3ZnPg==);
  background-position: center;
  background-repeat: no-repeat;
  object-fit: contain;
  z-index: 99;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
}
.loading__text {
  font-size: 30px;
  color: grey;
  position: relative;
  top: 80px;
}

.thumbnail__container {
  background-color: #303030;
}
.thumbnail__wrapper {
  height: 100%;
  width: calc(16rem * 16 / 9);
  display: flex;
  align-items: center;
  justify-content: center;
}

.thumbnail--empty {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.thumbnail--empty__text {
  font-size: 20px;
  padding-top: 1rem;
  color: grey;
}

.info__headline {
  text-overflow: ellipsis;
  max-width: 55vw;
}