aboutsummaryrefslogblamecommitdiffstats
path: root/ui/app/css/itcss/components/loading-overlay.scss
blob: c18b7fa59eff1a05055f36f83124f3d002c54b83 (plain) (tree)
1
2
3
4
5
6
7
8
9
                  
          





                          
                 
              
                                      









                                        






                    




















                            
 
.loading-overlay {
  left: 0;
  z-index: 50;
  position: absolute;
  flex-direction: column;
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1 1 auto;
  width: 100%;
  background: rgba(255, 255, 255, .8);

  @media screen and (max-width: 575px) {
    margin-top: 56px;
    height: calc(100% - 56px);
  }

  @media screen and (min-width: 576px) {
    margin-top: 75px;
    height: calc(100% - 75px);
  }

  &--full-screen {
    position: fixed;
    height: 100vh;
    width: 100vw;
    margin-top: 0;
  }

  &__container {
    position: absolute;
    top: 33%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  &__message {
    margin-top: 32px;
    font-weight: 400;
    font-size: 20px;
    color: $manatee;
  }
}

.spinner {
  height: 58px;
  width: 58px;
}