Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
e2fc202d
Commit
e2fc202d
authored
12 years ago
by
Jacob Thornton
Browse files
Options
Download
Plain Diff
Merge branch '2.1.0-wip' of
https://github.com/twitter/bootstrap
into 2.1.0-wip
parents
c98b75c9
394922a1
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
docs/assets/css/bootstrap-responsive.css
+11
-6
docs/assets/css/bootstrap-responsive.css
docs/assets/css/bootstrap.css
+7
-2
docs/assets/css/bootstrap.css
less/modals.less
+5
-0
less/modals.less
less/responsive-767px-max.less
+11
-4
less/responsive-767px-max.less
less/utilities.less
+2
-3
less/utilities.less
with
36 additions
and
15 deletions
+36
-15
docs/assets/css/bootstrap-responsive.css
+
11
-
6
View file @
e2fc202d
...
...
@@ -835,6 +835,17 @@
display
:
inline-block
;
width
:
auto
;
}
.modal
{
position
:
fixed
;
top
:
20px
;
right
:
20px
;
left
:
20px
;
width
:
auto
;
margin
:
0
;
}
.modal.fade.in
{
top
:
auto
;
}
}
@media
(
max-width
:
480px
)
{
...
...
@@ -866,15 +877,9 @@
padding-left
:
10px
;
}
.modal
{
position
:
fixed
;
top
:
10px
;
right
:
10px
;
left
:
10px
;
width
:
auto
;
margin
:
0
;
}
.modal.fade.in
{
top
:
auto
;
}
.modal-header
.close
{
padding
:
10px
;
...
...
This diff is collapsed.
Click to expand it.
docs/assets/css/bootstrap.css
+
7
-
2
View file @
e2fc202d
...
...
@@ -4715,6 +4715,11 @@ input[type="submit"].btn.btn-mini {
margin-top
:
2px
;
}
.modal-header
h3
{
margin
:
0
;
line-height
:
30px
;
}
.modal-body
{
max-height
:
400px
;
padding
:
15px
;
...
...
@@ -5498,11 +5503,11 @@ a.badge:hover {
}
.hide
{
display
:
none
!important
;
display
:
none
;
}
.show
{
display
:
block
!important
;
display
:
block
;
}
.invisible
{
...
...
This diff is collapsed.
Click to expand it.
less/modals.less
+
5
-
0
View file @
e2fc202d
...
...
@@ -56,6 +56,11 @@
border-bottom: 1px solid #eee;
// Close icon
.close { margin-top: 2px; }
// Heading
h3 {
margin: 0;
line-height: 30px;
}
}
// Body (where all modal content resides)
...
...
This diff is collapsed.
Click to expand it.
less/responsive-767px-max.less
+
11
-
4
View file @
e2fc202d
...
...
@@ -84,6 +84,17 @@
width: auto;
}
// Modals
.modal {
position: fixed;
top: 20px;
left: 20px;
right: 20px;
width: auto;
margin: 0;
&.fade.in { top: auto; }
}
}
...
...
@@ -133,13 +144,9 @@
// Modals
.modal {
position: fixed;
top: 10px;
left: 10px;
right: 10px;
width: auto;
margin: 0;
&.fade.in { top: auto; }
}
.modal-header .close {
padding: 10px;
...
...
This diff is collapsed.
Click to expand it.
less/utilities.less
+
2
-
3
View file @
e2fc202d
...
...
@@ -12,12 +12,11 @@
}
// Toggling content
// Uses `!important` for proper specifity over things like form controls
.hide {
display: none
!important
;
display: none;
}
.show {
display: block
!important
;
display: block;
}
// Visibility
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment