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-12-07 22:34:46 +03:00
|
|
|
border: 0;
|
2015-11-25 01:34:17 +03:00
|
|
|
border-radius: $border-radius-base;
|
2015-11-02 23:39:13 +03:00
|
|
|
// Modal header
|
|
|
|
// Top section of the modal w/ title and dismiss
|
|
|
|
.modal-header {
|
2015-12-07 22:34:46 +03:00
|
|
|
padding: 24px 24px 0;
|
|
|
|
border-bottom: 0;
|
2015-11-02 23:39:13 +03:00
|
|
|
}
|
|
|
|
// Modal body
|
|
|
|
// Where all modal content resides (sibling of .modal-header and .modal-footer)
|
|
|
|
.modal-body {
|
2015-12-07 22:34:46 +03:00
|
|
|
padding: 24px 24px 16px;
|
2015-11-02 23:39:13 +03:00
|
|
|
}
|
|
|
|
// Footer (for actions)
|
|
|
|
.modal-footer {
|
|
|
|
padding: 7px;
|
2015-12-07 22:34:46 +03:00
|
|
|
border-top: 0;
|
2015-11-02 23:39:13 +03:00
|
|
|
button {
|
|
|
|
width: auto;
|
2015-12-07 22:34:46 +03:00
|
|
|
padding-right: 16px;
|
|
|
|
padding-left: 16px;
|
|
|
|
margin: 0;
|
2015-11-02 23:39:13 +03:00
|
|
|
&.pull-left {
|
|
|
|
position: relative;
|
|
|
|
left: -5px;
|
2015-12-07 22:34:46 +03:00
|
|
|
padding-right: 5px;
|
|
|
|
padding-left: 5px;
|
2015-11-02 23:39:13 +03:00
|
|
|
}
|
|
|
|
}
|
2015-12-07 22:34:46 +03:00
|
|
|
button + button {
|
2015-11-02 23:39:13 +03:00
|
|
|
margin-bottom: 16px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.modal-body + .modal-footer {
|
|
|
|
padding-top: 0;
|
|
|
|
}
|
|
|
|
}
|
2015-12-07 22:34:46 +03:00
|
|
|
|
2015-11-02 23:39:13 +03:00
|
|
|
.modal-backdrop {
|
2015-12-07 22:34:46 +03:00
|
|
|
background: rgba($black, 0.3);
|
2015-11-02 23:39:13 +03:00
|
|
|
}
|