2015-11-02 23:39:13 +03:00
|
|
|
//
|
|
|
|
// Modals
|
|
|
|
// Material Design element Dialogs
|
|
|
|
// --------------------------------------------------
|
|
|
|
.modal-content {
|
2015-11-05 00:57:47 +03:00
|
|
|
@include shadow-z-5();
|
2015-11-02 23:39:13 +03:00
|
|
|
border-radius: 2px;
|
|
|
|
border: none;
|
|
|
|
// Modal header
|
|
|
|
// Top section of the modal w/ title and dismiss
|
|
|
|
.modal-header {
|
|
|
|
border-bottom: none;
|
|
|
|
padding-top: 24px;
|
|
|
|
padding-right: 24px;
|
|
|
|
padding-bottom: 0px;
|
|
|
|
padding-left: 24px;
|
|
|
|
}
|
|
|
|
// Modal body
|
|
|
|
// Where all modal content resides (sibling of .modal-header and .modal-footer)
|
|
|
|
.modal-body {
|
|
|
|
padding-top: 24px;
|
|
|
|
padding-right: 24px;
|
|
|
|
padding-bottom: 16px;
|
|
|
|
padding-left: 24px;
|
|
|
|
}
|
|
|
|
// Footer (for actions)
|
|
|
|
.modal-footer {
|
|
|
|
border-top: none;
|
|
|
|
padding: 7px;
|
|
|
|
button {
|
|
|
|
margin: 0;
|
|
|
|
padding-left: 16px;
|
|
|
|
padding-right: 16px;
|
|
|
|
width: auto;
|
|
|
|
&.pull-left {
|
|
|
|
padding-left: 5px;
|
|
|
|
padding-right: 5px;
|
|
|
|
position: relative;
|
|
|
|
left: -5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
button+button {
|
|
|
|
margin-bottom: 16px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.modal-body + .modal-footer {
|
|
|
|
padding-top: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.modal-backdrop {
|
|
|
|
background: rgba(0,0,0,0.3);
|
|
|
|
}
|