Skip to content

The free and privacy-friendly screen recorder with no limits 🎥

3.9 KB
Raw Blame
@use "../../../styles/_variables" as *;

.video-ui {
  position: relative;
  /* Blur the background */
  // &:before {
  // 	content: '';
  // 	position: absolute;
  // 	backdrop-filter: blur(5px);
  // 	top: 0px;
  // 	left: 0px;
  // 	width: 100%;
  // 	height: 100%;
  // 	background: rgba(255, 255, 255, 0.5);
  // 	z-index: 999;
  // }
}
.blurred {
  /* Blur the background */
  &:before {
    content: "";
    position: absolute;
    backdrop-filter: blur(5px);
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
    z-index: 999;
  }
}
.videos-list {
  position: relative;
  max-height: calc(96vh - 260px);
  overflow-y: auto;
  padding: $spacing-05;
  padding-bottom: 28px !important;

  &::-webkit-scrollbar {
    width: 6px;
    background: transparent;
  }
  &::-webkit-scrollbar-track {
    background: transparent;
    border: none;
    box-shadow: none;
  }
  &::-webkit-scrollbar-thumb {
    background: rgba(41, 41, 47, 0.18);
    border: none;
    border-radius: 10px;
  }
  &::-webkit-scrollbar-thumb:hover {
    background: rgba(41, 41, 47, 0.3);
  }
  &::-webkit-scrollbar-corner {
    background: transparent;
  }
}
.bottom-section {
  position: relative;
  width: 100%;
  bottom: 0px;
  left: 0px;
  box-sizing: border-box;
  padding-top: $spacing-03 !important;
  padding-bottom: $spacing-04 !important;
  z-index: 999999;
  padding: $spacing-05;

  // Fades the last rows into the panel instead of cutting them at the button.
  &::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    height: 36px;
    background: linear-gradient(
      to bottom,
      rgba(246, 247, 251, 0),
      $color-light-grey
    );
    pointer-events: none;
  }
}
.ModalSoon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: fit-content;
  width: 70%;
  padding: 20px $spacing-05;
  position: absolute;
  left: 0px;
  right: 0px;
  top: 0px;
  bottom: 0px;
  margin: auto;
  border-radius: $container-border-radius;
  background: white;
  box-shadow: 0px 4px 100px 0px rgba(0, 0, 0, 0.15);
  z-index: 9999999;
}
.strong {
  box-shadow: 0px 4px 100px -20px rgba(0, 0, 0, 0.75) !important;
}
.ModalSoonEmoji {
  font-size: 20px;
  margin-bottom: $spacing-03;
}
.ModalSoonTitle {
  font-weight: 700;
  color: $color-text-primary;
  margin-bottom: $spacing-03;
  text-align: center;
}
.ModalSoonDescription {
  text-align: center;
  color: $color-text-secondary;
  text-align: center;
  margin-bottom: $spacing-03;
}
.ModalSoonButton {
  margin-top: $spacing-03;
  color: $color-text-contrast;
  text-align: center;
  border-radius: 30px;
  background: $gradient-primary;
  padding: $spacing-03 $spacing-05;

  &:hover {
    cursor: pointer;
  }
}
.spinner-container,
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
  color: #6e7684;
  font-size: 14px;
}
.empty-state {
  text-align: center;
  padding-left: $spacing-05;
  padding-right: $spacing-05;
}
.empty-state-icon {
  width: 32px;
  height: 32px;
  margin-bottom: $spacing-04;
}
.empty-state-title {
  max-width: 100%;
  font-family: $font-medium;
  color: $color-text-primary;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.empty-state-description {
  margin-top: $spacing-02;
  color: $color-text-secondary;
  font-size: $font-size-small;
}

.spinner {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(0, 0, 0, 0.1);
  border-top-color: #6e7684;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 10px;
}

.load-more-indicator {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: $spacing-03;
  padding: $spacing-04 0;
  color: #6e7684;
  font-size: $font-size-small;
}
.spinner-small {
  width: 16px;
  height: 16px;
  margin-bottom: 0;
  border-width: 2px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}