Skip to content
Snippets Groups Projects
gcuModal.scss 1.17 KiB
Newer Older
  • Learn to ignore specific revisions
  • @import 'src/styles/base/color';
    @import 'src/styles/base/breakpoint';
    
    
    Yoan VALLET's avatar
    Yoan VALLET committed
    .gcu-modal-root{
      height: 100%;
      width: 100%;
      display: flex;
      flex-direction: column;
      .gcu-modal-content{
        position: relative;
        overflow-x: hidden;
        overflow-y: scroll;
        flex: 1;
    
        display: flex;
        justify-content: center;
        align-items: center;
        &::-webkit-scrollbar {
          width: 10px;
        }
        &::-webkit-scrollbar-track {
          background: $scrollbar-track;
        }
        &::-webkit-scrollbar-thumb {
          background: $scrollbar-thumb;
        }
    
    Yoan VALLET's avatar
    Yoan VALLET committed
      }
      .gcu-modal-footer{
        position: relative;
        margin: 1.5rem 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        .gcu-modal-icon{
          position: absolute;
          left: calc(50% - 13px);
    
          top: -42px;
          @media #{$large-phone} {
            top: -35px;
          }
    
    Yoan VALLET's avatar
    Yoan VALLET committed
        }
        .rounded {
          border-radius: 22px;
          margin-left: 1rem;
          margin-right: 1rem;
        }
    
        .disabled {
          opacity: 0.5;
        }
    
    Yoan VALLET's avatar
    Yoan VALLET committed
      }
    }
    button.gcu-modal-button {
    
      max-width: 9.375rem;
    
    Yoan VALLET's avatar
    Yoan VALLET committed
      margin: 0.375rem 1rem;
      padding: 0.5rem 1rem;
    
    }
    #accessibility-title {
      display: none;
    
    Yoan VALLET's avatar
    Yoan VALLET committed
    }