Skip to content
Snippets Groups Projects
modal.scss 765 B
Newer Older
  • Learn to ignore specific revisions
  • Guilhem CARRON's avatar
    Guilhem CARRON committed
    @import '../../styles/config/colors';
    
    .modal-bg {
    
    Guilhem CARRON's avatar
    Guilhem CARRON committed
      background-color: rgba(27, 28, 34, 0.85);
    
    Guilhem CARRON's avatar
    Guilhem CARRON committed
      display: flex;
      height: 100vh;
      left: 0;
      position: fixed;
      top: 0;
      width: 100%;
    
    Guilhem CARRON's avatar
    Guilhem CARRON committed
      z-index: 9999;
    
    Guilhem CARRON's avatar
    Guilhem CARRON committed
    
      .modal-container {
        align-items: center;
        display: flex;
        justify-content: center;
        overflow-y: auto;
        width: 100%;
      }
      .modal-content {
    
    Guilhem CARRON's avatar
    Guilhem CARRON committed
        background: linear-gradient(180deg, #323339 0%, #25262b 100%);
        box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.55);
        border-radius: 4px;
    
    Guilhem CARRON's avatar
    Guilhem CARRON committed
        padding: 1rem;
        position: relative;
        max-width: 350px;
        width: 100%;
      }
    
      .modal-large {
        max-width: 700px;
        min-height: 380px;
        display: flex;
        flex-direction: column;
      }
    
    Guilhem CARRON's avatar
    Guilhem CARRON committed
      .buttons {
        display: flex;
        justify-content: center;
      }
    }