Skip to content

A modern, self-hosted backup solution for secure, encrypted backups across local and cloud storage.

4.9 KB
Raw Blame
.activeBackups {
   width: 100%;
   margin: 30px 0;
}

.activeBackupsTable {
   width: 100%;
}

.backup {
   width: 100%;
   padding: 10px 15px;
   box-sizing: border-box;
   border-radius: 6px;
   border: 1px solid var(--line-color);
   margin-bottom: 15px;
   .backupProgress {
      display: flex;
      justify-content: left;
      align-items: center;
   }
   .backupIcon {
      margin-right: 15px;
   }
   .backupLeft {
      width: calc(55% - 20px);
      .backupId {
         font-weight: 600;
         margin-bottom: 5px;
         color: var(--content-text-color);
      }
      .backupTime {
         font-size: 0.9em;
         color: var(--content-text-color-light);
         margin-left: 10px;
         font-weight: normal;
      }

      .backupError {
         color: var(--error-button-color);
         margin-left: 0.5rem;
         font-size: 0.9em;
         cursor: pointer;
         i {
            font-style: normal;
         }
      }

      .backupStart {
         color: var(--content-text-color-light);
         font-size: 0.75rem;
         display: flex;
         gap: 10px;

         .progressMessage {
            cursor: pointer;
            text-transform: capitalize;
            &:hover {
               color: var(--content-text-color);
            }
         }

         button {
            color: inherit;
            font-family: inherit;
            background: var(--line-color);
            padding-right: 12px;
            border-radius: 12px;
            transition: all 0.12s linear;
            &:hover {
               color: var(--error-button-color);
               background-color: var(--error-bg-color);
            }
         }
      }
   }
   .backupRight {
      width: calc(45% - 20px);
      display: flex;
      flex-direction: column;
      gap: 5px;
      .ProgressStats {
         display: flex;
         justify-content: space-between;
         .ProgressStatsLeft {
            display: flex;
            gap: 15px;
            align-items: center;
            i {
               display: block;
               width: 1px;
               height: 11px;
               background-color: var(--line-color);
            }
         }
      }
      .progressBar {
         width: 100%;
         height: 12px;
         border-radius: 4px;
         background-color: var(--line-color);
         .progressBarFill {
            height: 100%;
            border-radius: 4px;
            background-color: turquoise;
            position: relative;
            transition: all 0.2s linear;
            span {
               font-weight: 600;
               font-size: 0.625rem;
               line-height: 1.2em;
               position: absolute;
            }
            &.progressBarFilled {
               span {
                  right: 5px;
                  color: #fff;
               }
            }
            &.progressBarDryRun {
               background-color: #b7cbf5;
            }
         }
      }
   }
}

.mirrorsSection {
   width: 100%;
   margin-top: 10px;
   padding: 10px;
   box-sizing: border-box;
   border-top: 1px solid var(--line-color);
}

.mirrorsTitle {
   font-size: 0.6875rem;
   font-weight: 600;
   color: var(--content-text-color-light);
   margin-bottom: 8px;
}

.mirrorsList {
   display: flex;
   flex-direction: column;
   gap: 6px;
}

.mirrorItem {
   display: flex;
   flex-direction: row;
   gap: 10px;
}
.mirrorProgress {
   width: 100%;
   display: flex;
   flex-direction: column;
   gap: 5px;
}

.mirrorStorageIcon {
   padding: 5px;
   border-radius: 4px;
   border: 1px solid var(--line-color);
   position: relative;
   span {
      position: absolute;
      z-index: 2;
      top: -5px;
      margin-left: -10px;
   }
   img {
      max-width: 20px;
      vertical-align: middle;
   }
}

.mirrorInfo {
   display: flex;
   justify-content: space-between;
   align-items: center;
}

.mirrorName {
   font-size: 0.7rem;
   color: var(--content-text-color);
}

.mirrorStatus {
   font-size: 0.7rem;
   font-weight: 600;
   color: var(--content-text-color-light);
   &.mirrorCompleted {
      color: var(--success-text-color);
   }
   &.mirrorFailed {
      color: var(--error-button-color);
   }
}

.mirrorBar {
   width: 100%;
   height: 6px;
   border-radius: 3px;
   background-color: var(--line-color);
   overflow: hidden;
   .mirrorBarFill {
      height: 100%;
      border-radius: 3px;
      transition: all 0.3s linear;
      &.mirrorCompleted {
         background-color: turquoise;
      }
      &.mirrorFailed {
         background-color: var(--error-button-color);
      }
      &.mirrorRunning {
         background-color: turquoise;
      }
      &.mirrorPending {
         background-color: var(--line-color);
         width: 0;
      }

      &.mirrorRunningIndeterminate {
         background-color: turquoise;
         width: 100% !important;
         opacity: 0.4;
         animation: mirrorPulse 1.8s ease-in-out infinite;
      }
   }
}

@keyframes mirrorPulse {
   0%,
   100% {
      opacity: 0.25;
   }
   50% {
      opacity: 0.6;
   }
}