UNPKG

causeway-standard-theme

Version:

162 lines (146 loc) 2.79 kB
@modal-width: 400px; .modal { top: 100px; margin: 0 auto; color: @black040; z-index: 4060; .modal-dialog { width: @modal-width; z-index: 3000; } .modal-header { background: @pale-grey; color: @black080; height: 28px; padding: 6px 13px; h4 { padding: 0; margin: 0; color: @black070; .font-size(12); font-weight: bold; font-family: "Roboto", "Helvetica Neue", Arial, sans-serif; } } .modal-footer { background-color: @white; margin-top: 0; padding: 10px; text-align: right; border-top: 1px solid @pale-grey; a, a:link, a:hover, a:active, a:visited { text-decoration: underline; color: @black080; font-weight: bold; padding-right: 30px; } .btn-dropdown { .dropdown-menu { position: fixed; top: auto; min-width: auto; left: auto; margin-top: 20px; } } } .modal-body { padding: 40px; color: @black080 } .modal-content { border: 1px solid @pale-grey; background-color: @white; border-radius: 0; .box-shadow(none) } &.lightbox { text-align: center; z-index: 4040; .modal-dialog { width: auto; height: 100%; max-width: 96%; max-height: 90%; min-width: @modal-width; display: inline-block; text-align: left; padding: 0; left: 0; position: relative; top: 10px; margin: 0; } .modal-content { height: auto; max-height: 100%; overflow: hidden; padding: 60px 0; border-radius: 0; } .modal-header { position: absolute; top: 0; left: 0; right: 0; width: 100%; border-bottom: none; height: auto; h4 { padding: 0; margin: 0; .font-size(20); font-family: "Roboto Light", Helvetica Neue, Helvetica, Arial; } .close { .font-size(28); margin-top: 0; } } .modal-body{ padding: 0 25px; height: 100%; overflow: hidden; overflow-y: auto; .form-horizontal{ width: 100%; min-width: 600px; margin: 0; &.form-two-columns{ min-width: 960px; } } } .scroll-element.scroll-x { display: none !important; } .modal-footer { position: absolute; bottom: 0; left: 0; right: 0; width: 100%; } } } .lightbox-modal { .modal-backdrop{ z-index: 4030; + .modal-backdrop { z-index: 4050; } } } //.lightbox-modal { // .modal-backdrop{ // background: @white; // opacity: .75; // } //} // //.modal-backdrop{ // z-index: 3000; //} //.modal{ // z-index: 3001; //}