]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Adjust in modal size rules 11162/head
authorLFeh <luizfelipe.tf.13@gmail.com>
Mon, 21 Oct 2013 18:39:31 +0000 (16:39 -0200)
committerLFeh <luizfelipe.tf.13@gmail.com>
Mon, 21 Oct 2013 18:39:31 +0000 (16:39 -0200)
less/modals.less
less/variables.less

index c44b760944b4161db0eb0829c30d851aba85574c..accd4a94820ae632c66e5cc4085039d7393cb7b0 100644 (file)
   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
     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));
index 5fb66b22548480100b2ea657bcda293799a102b3..44b49a43d795eb16629608ff3aae5e74b9a94022 100644 (file)
 @modal-footer-border-color:   @modal-header-border-color;
 
 @modal-lg:                    900px;
-@modal-sm:                    400px;
+@modal-sm:                    300px;
 
 
 // Alerts