update assets from bootstrap@3.3.7
This commit is contained in:
@@ -14,14 +14,14 @@
|
||||
|
||||
// Container that the modal scrolls within
|
||||
.modal {
|
||||
display: none;
|
||||
overflow: hidden;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
z-index: @zindex-modal;
|
||||
display: none;
|
||||
overflow: hidden;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
|
||||
// Prevent Chrome on Windows from adding a focus outline. For details, see
|
||||
@@ -31,11 +31,9 @@
|
||||
// When fading in the modal, animate it to slide down
|
||||
&.fade .modal-dialog {
|
||||
.translate(0, -25%);
|
||||
.transition-transform(~'0.3s ease-out');
|
||||
}
|
||||
&.in .modal-dialog {
|
||||
.translate(0, 0);
|
||||
.transition-transform(~"0.3s ease-out");
|
||||
}
|
||||
&.in .modal-dialog { .translate(0, 0); }
|
||||
}
|
||||
.modal-open .modal {
|
||||
overflow-x: hidden;
|
||||
@@ -53,11 +51,11 @@
|
||||
.modal-content {
|
||||
position: relative;
|
||||
background-color: @modal-content-bg;
|
||||
background-clip: padding-box;
|
||||
border: 1px solid @modal-content-fallback-border-color; //old browsers fallback (ie8 etc)
|
||||
border: 1px solid @modal-content-border-color;
|
||||
border-radius: @border-radius-large;
|
||||
.box-shadow(0 3px 9px rgba(0,0,0,0.5));
|
||||
background-clip: padding-box;
|
||||
.box-shadow(0 3px 9px rgba(0, 0, 0, .5));
|
||||
// Remove focus outline from opened modal
|
||||
outline: 0;
|
||||
}
|
||||
@@ -72,12 +70,8 @@
|
||||
z-index: @zindex-modal-background;
|
||||
background-color: @modal-backdrop-bg;
|
||||
// Fade for backdrop
|
||||
&.fade {
|
||||
.opacity(0);
|
||||
}
|
||||
&.in {
|
||||
.opacity(@modal-backdrop-opacity);
|
||||
}
|
||||
&.fade { .opacity(0); }
|
||||
&.in { .opacity(@modal-backdrop-opacity); }
|
||||
}
|
||||
|
||||
// Modal header
|
||||
@@ -114,8 +108,8 @@
|
||||
|
||||
// Properly space out buttons
|
||||
.btn + .btn {
|
||||
margin-left: 5px;
|
||||
margin-bottom: 0; // account for input[type="submit"] which gets the bottom margin like all other inputs
|
||||
margin-left: 5px;
|
||||
}
|
||||
// but override that for button groups
|
||||
.btn-group .btn + .btn {
|
||||
@@ -144,17 +138,13 @@
|
||||
margin: 30px auto;
|
||||
}
|
||||
.modal-content {
|
||||
.box-shadow(0 5px 15px rgba(0,0,0,0.5));
|
||||
.box-shadow(0 5px 15px rgba(0, 0, 0, .5));
|
||||
}
|
||||
|
||||
// Modal sizes
|
||||
.modal-sm {
|
||||
width: @modal-sm;
|
||||
}
|
||||
.modal-sm { width: @modal-sm; }
|
||||
}
|
||||
|
||||
@media (min-width: @screen-md-min) {
|
||||
.modal-lg {
|
||||
width: @modal-lg;
|
||||
}
|
||||
.modal-lg { width: @modal-lg; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user