2015-03-09 00:30:26 +03:00
|
|
|
//
|
|
|
|
// Modals
|
|
|
|
// Material Design element Dialogs
|
|
|
|
// --------------------------------------------------
|
2014-10-13 12:12:05 +04:00
|
|
|
.modal-content {
|
2014-12-03 12:30:08 +03:00
|
|
|
.shadow-z-5();
|
|
|
|
border-radius: 2px;
|
|
|
|
border: none;
|
2015-03-09 00:30:26 +03:00
|
|
|
// Modal header
|
|
|
|
// Top section of the modal w/ title and dismiss
|
2014-12-03 12:30:08 +03:00
|
|
|
.modal-header {
|
|
|
|
border-bottom: none;
|
2015-03-09 00:30:26 +03:00
|
|
|
padding-top: 24px;
|
|
|
|
padding-right: 24px;
|
|
|
|
padding-bottom: 0px;
|
|
|
|
padding-left: 24px;
|
2014-12-03 12:30:08 +03:00
|
|
|
}
|
2015-03-09 00:30:26 +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 {
|
2015-03-09 00:30:26 +03:00
|
|
|
padding-top: 0px;
|
|
|
|
padding-right: 24px;
|
|
|
|
padding-bottom: 16px;
|
|
|
|
padding-left: 24px;
|
2014-12-03 12:30:08 +03:00
|
|
|
}
|
2015-03-09 00:30:26 +03:00
|
|
|
// Footer (for actions)
|
2014-12-03 12:30:08 +03:00
|
|
|
.modal-footer {
|
|
|
|
border-top: none;
|
2015-03-09 00:30:26 +03:00
|
|
|
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-10-13 12:12:05 +04:00
|
|
|
}
|
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;
|
|
|
|
}
|
2014-10-13 12:12:05 +04:00
|
|
|
}
|
|
|
|
.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
|
|
|
}
|