aboutsummaryrefslogtreecommitdiff
path: root/less/modals.less
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 /less/modals.less
parent77bb7502bc7112f915b32940c1fe5d8555230c30 (diff)
downloadbootstrap-89e0f1669f2b4166051affa4eec819475660ed72.tar.xz
bootstrap-89e0f1669f2b4166051affa4eec819475660ed72.zip
Adjust in modal size rules
Diffstat (limited to 'less/modals.less')
-rw-r--r--less/modals.less17
1 files changed, 8 insertions, 9 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));