aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLFeh <[email protected]>2013-10-21 16:39:31 -0200
committerLFeh <[email protected]>2013-10-21 16:39:31 -0200
commit89e0f1669f2b4166051affa4eec819475660ed72 (patch)
tree5fed6ab093b0aaa54788e61f9cd97677ba2664fb
parent77bb7502bc7112f915b32940c1fe5d8555230c30 (diff)
downloadbootstrap-89e0f1669f2b4166051affa4eec819475660ed72.tar.xz
bootstrap-89e0f1669f2b4166051affa4eec819475660ed72.zip
Adjust in modal size rules
-rw-r--r--less/modals.less17
-rw-r--r--less/variables.less2
2 files changed, 9 insertions, 10 deletions
diff --git a/less/modals.less b/less/modals.less
index c44b76094..accd4a948 100644
--- a/less/modals.less
+++ b/less/modals.less
@@ -38,7 +38,14 @@
margin-right: auto;
width: auto;
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
@@ -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));
diff --git a/less/variables.less b/less/variables.less
index 5fb66b225..44b49a43d 100644
--- a/less/variables.less
+++ b/less/variables.less
@@ -449,7 +449,7 @@
@modal-footer-border-color: @modal-header-border-color;
@modal-lg: 900px;
-@modal-sm: 400px;
+@modal-sm: 300px;
// Alerts