mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-26 23:54:23 +01:00
Adjust in modal size rules
This commit is contained in:
parent
77bb7502bc
commit
89e0f1669f
@ -39,6 +39,13 @@
|
|||||||
width: auto;
|
width: auto;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
z-index: (@zindex-modal-background + 10);
|
z-index: (@zindex-modal-background + 10);
|
||||||
|
|
||||||
|
&.modal-lg {
|
||||||
|
width: @modal-lg;
|
||||||
|
}
|
||||||
|
&.modal-sm {
|
||||||
|
width: @modal-sm;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Actual modal
|
// Actual modal
|
||||||
@ -123,14 +130,6 @@
|
|||||||
width: 600px;
|
width: 600px;
|
||||||
padding-top: 30px;
|
padding-top: 30px;
|
||||||
padding-bottom: 30px;
|
padding-bottom: 30px;
|
||||||
// Define large size for the modal
|
|
||||||
&.modal-lg{
|
|
||||||
width: @modal-lg;
|
|
||||||
}
|
|
||||||
// Define small size for the modal
|
|
||||||
&.modal-sm{
|
|
||||||
width: @modal-sm;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
.modal-content {
|
.modal-content {
|
||||||
.box-shadow(0 5px 15px rgba(0,0,0,.5));
|
.box-shadow(0 5px 15px rgba(0,0,0,.5));
|
||||||
|
@ -449,7 +449,7 @@
|
|||||||
@modal-footer-border-color: @modal-header-border-color;
|
@modal-footer-border-color: @modal-header-border-color;
|
||||||
|
|
||||||
@modal-lg: 900px;
|
@modal-lg: 900px;
|
||||||
@modal-sm: 400px;
|
@modal-sm: 300px;
|
||||||
|
|
||||||
|
|
||||||
// Alerts
|
// Alerts
|
||||||
|
Loading…
x
Reference in New Issue
Block a user