0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

Adjust in modal size rules

This commit is contained in:
LFeh 2013-10-21 16:39:31 -02:00
parent 77bb7502bc
commit 89e0f1669f
2 changed files with 9 additions and 10 deletions

View File

@ -39,6 +39,13 @@
width: auto;
padding: 10px;
z-index: (@zindex-modal-background + 10);
&.modal-lg {
width: @modal-lg;
}
&.modal-sm {
width: @modal-sm;
}
}
// Actual modal
@ -123,14 +130,6 @@
width: 600px;
padding-top: 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 {
.box-shadow(0 5px 15px rgba(0,0,0,.5));

View File

@ -449,7 +449,7 @@
@modal-footer-border-color: @modal-header-border-color;
@modal-lg: 900px;
@modal-sm: 400px;
@modal-sm: 300px;
// Alerts