diff options
| author | LFeh <[email protected]> | 2013-10-18 10:05:50 -0300 |
|---|---|---|
| committer | LFeh <[email protected]> | 2013-10-18 10:05:50 -0300 |
| commit | 77bb7502bc7112f915b32940c1fe5d8555230c30 (patch) | |
| tree | effa4a22ca7b7c3cb658b411de87d3b5a9f37e7f | |
| parent | eb4a92bfedde23729bc812b9d6abe704bd8bca59 (diff) | |
| download | bootstrap-77bb7502bc7112f915b32940c1fe5d8555230c30.tar.xz bootstrap-77bb7502bc7112f915b32940c1fe5d8555230c30.zip | |
Options of sizes added in modal
| -rw-r--r-- | less/modals.less | 8 | ||||
| -rw-r--r-- | less/variables.less | 3 |
2 files changed, 11 insertions, 0 deletions
diff --git a/less/modals.less b/less/modals.less index 776073d57..c44b76094 100644 --- a/less/modals.less +++ b/less/modals.less @@ -123,6 +123,14 @@ 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 e596215d0..5fb66b225 100644 --- a/less/variables.less +++ b/less/variables.less @@ -448,6 +448,9 @@ @modal-header-border-color: #e5e5e5; @modal-footer-border-color: @modal-header-border-color; +@modal-lg: 900px; +@modal-sm: 400px; + // Alerts // ------------------------- |
