Subversion Repositories Integrator Subversion

Rev

Blame | Last modification | View Log | Download | RSS feed

/***
Customized Bootstrap Modal 
***/

.modal {
    z-index: $zindex-modal;
    outline: none;
    overflow-y: auto !important; /* Fix content shifting to the right on modal open due to scrollbar closed */ 
    
    .modal-header {
        border-bottom: 1px solid #EFEFEF;

        h3 {
            font-weight: 300;
        }    

        .close {
            margin-top: 0px !important;
        }
    }

    .modal-dialog {
        z-index: $zindex-modal + 1;
    }

    > .loading {
        position: absolute;
        top: 50%;
        left:50%;
        margin-top: -22px;
        margin-left: -22px;
    }

    &.in {
        .page-loading {
            display: none;
        }
    }
}

.modal-open {
    overflow-y: auto !important;
}  
    
.modal-open-noscroll {
    overflow-y: hidden !important;  
}

.modal-backdrop {
    border: 0;
    outline: none;
    z-index: $zindex-modal-background;

    &,
    &.fade.in {
        background-color: #333 !important;
    }
}

/* Full width modal */

.modal-full.modal-dialog {  
  width: 99%;
}

@media (max-width: $screen-sm-min) {

  .modal-full.modal-dialog {
    width: auto;
  }

}