Skip to content

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

2.1 KB
Raw Blame
@use '../../../styles/steps.scss';

.steps {
   @extend %modalSteps;

   display: flex;
   flex-direction: row;
   justify-content: center;

   ul {
      width: 100%;
      max-width: 700px;
   }

   &.stepsEdit {
      & > ul {
         position: relative;
         top: 6px;
         justify-content: flex-start;
         gap: 12px;
         &::before {
            display: none;
         }
         li {
            border-radius: 6px 6px 0 0;
            border: 1px solid transparent;
            border-bottom: none;
            cursor: pointer;
            i {
               padding: 4px 18px;
               position: relative;
               top: -3px;
            }
            &.stepCurrent {
               background-color: var(--content-background-color);
               border: 1px solid var(--content-shadow-color);
               border-bottom: none;
            }
            & > span {
               display: none;
            }
         }
      }
   }
}

.planFormFooter {
   width: 100%;
   display: flex;
   flex-direction: row;
   justify-content: center;
   .footerContainer {
      width: 100%;
      max-width: 700px;
      display: flex;
      flex-direction: row;
      justify-content: space-between;
   }
}

.formContent {
   padding: 30px;
   display: flex;
   flex-direction: row;
   justify-content: center;
   padding: 30px;
   box-sizing: border-box;
   width: 100%;
   height: calc(100vh - 210px);
   overflow: auto;

   hr {
      margin: 30px 0;
      border: 0;
      border-top: 1px solid var(--line-color);
   }

   .planStep {
      width: 100%;
      max-width: 700px;
   }
}

.backButton {
   color: var(--icon-color);
   &:hover {
      color: var(--content-text-color-light);
   }
}

@media only screen and (max-width: 768px) {
   .steps.stepsEdit {
      > ul {
         gap: 0;
         li i {
            padding: 4px 10px;
            span {
               display: none;
            }
         }
      }
   }
   .steps.stepsAdd {
      ul li i {
         max-width: 70px;
         white-space: nowrap;
         overflow: hidden;
         text-overflow: ellipsis;
      }
   }
}