mdb-ui-kit/less/_dialogs.less

53 lines
1.1 KiB
Plaintext
Raw Normal View History

//
// Modals
// Material Design element Dialogs
// --------------------------------------------------
.modal-content {
2014-12-03 12:30:08 +03:00
.shadow-z-5();
border-radius: @border-radius-base;
2014-12-03 12:30:08 +03:00
border: none;
// Modal header
// Top section of the modal w/ title and dismiss
2014-12-03 12:30:08 +03:00
.modal-header {
border-bottom: none;
padding-top: 24px;
padding-right: 24px;
padding-bottom: 0;
padding-left: 24px;
2014-12-03 12:30:08 +03:00
}
// Modal body
// Where all modal content resides (sibling of .modal-header and .modal-footer)
2014-12-03 12:30:08 +03:00
.modal-body {
padding-top: 24px;
padding-right: 24px;
padding-bottom: 16px;
padding-left: 24px;
2014-12-03 12:30:08 +03:00
}
// Footer (for actions)
2014-12-03 12:30:08 +03:00
.modal-footer {
border-top: none;
padding: 7px;
2014-12-03 12:30:08 +03:00
button {
margin: 0;
padding-left: 16px;
padding-right: 16px;
width: auto;
&.pull-left {
padding-left: 5px;
padding-right: 5px;
position: relative;
left: -5px;
}
}
2014-12-03 12:30:08 +03:00
button+button {
margin-bottom: 16px;
2014-10-19 22:11:31 +04:00
}
2014-12-03 12:30:08 +03:00
}
.modal-body + .modal-footer {
padding-top: 0;
}
}
.modal-backdrop {
2014-12-03 12:30:08 +03:00
background: rgba(0,0,0,0.3);
2014-10-18 18:17:31 +04:00
}