2015-01-30 09:51:18 +08:00
|
|
|
// ------------------------------------
|
|
|
|
// Modals
|
|
|
|
|
|
|
|
.modal-backdrop {
|
2015-02-10 15:35:40 +08:00
|
|
|
background-color: @fl-primary-color;
|
|
|
|
&.in {
|
|
|
|
opacity: 0.9;
|
|
|
|
}
|
2015-01-30 09:51:18 +08:00
|
|
|
}
|
|
|
|
.modal-dialog {
|
2015-02-10 15:35:40 +08:00
|
|
|
margin: 120px auto;
|
2015-01-30 09:51:18 +08:00
|
|
|
|
2015-02-10 15:35:40 +08:00
|
|
|
& .close {
|
|
|
|
position: absolute;
|
|
|
|
right: 5px;
|
|
|
|
top: 5px;
|
|
|
|
}
|
2015-01-30 09:51:18 +08:00
|
|
|
}
|
|
|
|
.modal-content {
|
2015-02-10 15:35:40 +08:00
|
|
|
border: 0;
|
|
|
|
border-radius: @border-radius-base;
|
2015-02-16 10:10:57 +08:00
|
|
|
.box-shadow(0 7px 15px @fl-shadow-color);
|
2015-01-30 09:51:18 +08:00
|
|
|
}
|
|
|
|
.modal-sm {
|
2015-02-10 15:35:40 +08:00
|
|
|
width: 375px;
|
2015-01-30 09:51:18 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.modal-header {
|
2015-02-10 15:35:40 +08:00
|
|
|
text-align: center;
|
|
|
|
border: 0;
|
|
|
|
padding: 25px;
|
2015-01-30 09:51:18 +08:00
|
|
|
|
2015-02-10 15:35:40 +08:00
|
|
|
& h3 {
|
|
|
|
font-size: 22px;
|
|
|
|
margin: 0;
|
|
|
|
}
|
2015-01-30 09:51:18 +08:00
|
|
|
}
|
|
|
|
.modal-body {
|
2015-02-10 15:35:40 +08:00
|
|
|
background-color: @fl-secondary-color;
|
|
|
|
padding: 25px;
|
2015-01-30 09:51:18 +08:00
|
|
|
|
2015-02-10 15:35:40 +08:00
|
|
|
& .form-control {
|
|
|
|
background-color: #fff;
|
|
|
|
}
|
2015-01-30 09:51:18 +08:00
|
|
|
}
|
|
|
|
.modal-footer {
|
2015-02-10 15:35:40 +08:00
|
|
|
border: 0;
|
|
|
|
padding: 20px;
|
|
|
|
text-align: center;
|
|
|
|
color: @fl-body-muted-color;
|
2015-01-30 09:51:18 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.modal-loading {
|
2015-02-10 15:35:40 +08:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
background: rgba(255, 255, 255, 0.9);
|
|
|
|
opacity: 0;
|
|
|
|
pointer-events: none;
|
|
|
|
border-radius: @border-radius-base;
|
|
|
|
.transition(opacity 0.2s);
|
2015-01-30 09:51:18 +08:00
|
|
|
|
2015-02-10 15:35:40 +08:00
|
|
|
&.active {
|
|
|
|
opacity: 1;
|
|
|
|
pointer-events: auto;
|
|
|
|
}
|
2015-01-30 09:51:18 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.form-centered {
|
2015-02-10 15:35:40 +08:00
|
|
|
text-align: center;
|
2015-01-30 09:51:18 +08:00
|
|
|
|
2015-02-10 15:35:40 +08:00
|
|
|
& .form-control, & .btn {
|
|
|
|
width: 220px;
|
|
|
|
margin: 0 auto;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
}
|