Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bootstrap
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
bootstrap
Commits
88b1e44d
Commit
88b1e44d
authored
Sep 24, 2012
by
Jacob Thornton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change tooltip/popover insert strategy
remove modal-open class hopefully resolve z-index headaches
parent
4a244390
Changes
8
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
10 additions
and
49 deletions
+10
-49
docs/assets/css/bootstrap.css
docs/assets/css/bootstrap.css
+0
-16
docs/assets/js/bootstrap-modal.js
docs/assets/js/bootstrap-modal.js
+0
-4
docs/assets/js/bootstrap-tooltip.js
docs/assets/js/bootstrap-tooltip.js
+3
-3
docs/assets/js/bootstrap.js
docs/assets/js/bootstrap.js
+3
-8
docs/assets/js/bootstrap.min.js
docs/assets/js/bootstrap.min.js
+1
-1
js/bootstrap-modal.js
js/bootstrap-modal.js
+0
-4
js/bootstrap-tooltip.js
js/bootstrap-tooltip.js
+3
-3
less/modals.less
less/modals.less
+0
-10
No files found.
docs/assets/css/bootstrap.css
View file @
88b1e44d
...
...
@@ -4985,22 +4985,6 @@ input[type="submit"].btn.btn-mini {
background-color
:
#fff
;
}
.modal-open
.dropdown-menu
{
z-index
:
2050
;
}
.modal-open
.dropdown.open
{
*
z-index
:
2050
;
}
.modal-open
.popover
{
z-index
:
2060
;
}
.modal-open
.tooltip
{
z-index
:
2080
;
}
.modal-backdrop
{
position
:
fixed
;
top
:
0
;
...
...
docs/assets/js/bootstrap-modal.js
View file @
88b1e44d
...
...
@@ -49,8 +49,6 @@
if
(
this
.
isShown
||
e
.
isDefaultPrevented
())
return
$
(
'
body
'
).
addClass
(
'
modal-open
'
)
this
.
isShown
=
true
this
.
escape
()
...
...
@@ -96,8 +94,6 @@
this
.
isShown
=
false
$
(
'
body
'
).
removeClass
(
'
modal-open
'
)
this
.
escape
()
$
(
document
).
off
(
'
focusin.modal
'
)
...
...
docs/assets/js/bootstrap-tooltip.js
View file @
88b1e44d
...
...
@@ -121,7 +121,7 @@
$tip
.
remove
()
.
css
({
top
:
0
,
left
:
0
,
display
:
'
block
'
})
.
appendTo
(
inside
?
this
.
$element
:
document
.
body
)
.
insertAfter
(
this
.
$element
)
pos
=
this
.
getPosition
(
inside
)
...
...
@@ -144,7 +144,7 @@
}
$tip
.
css
(
tp
)
.
offset
(
tp
)
.
addClass
(
placement
)
.
addClass
(
'
in
'
)
}
...
...
docs/assets/js/bootstrap.js
View file @
88b1e44d
...
...
@@ -773,8 +773,6 @@
if
(
this
.
isShown
||
e
.
isDefaultPrevented
())
return
$
(
'
body
'
).
addClass
(
'
modal-open
'
)
this
.
isShown
=
true
this
.
escape
()
...
...
@@ -820,8 +818,6 @@
this
.
isShown
=
false
$
(
'
body
'
).
removeClass
(
'
modal-open
'
)
this
.
escape
()
$
(
document
).
off
(
'
focusin.modal
'
)
...
...
@@ -1083,7 +1079,7 @@
$tip
.
remove
()
.
css
({
top
:
0
,
left
:
0
,
display
:
'
block
'
})
.
appendTo
(
inside
?
this
.
$element
:
document
.
body
)
.
insertAfter
(
this
.
$element
)
pos
=
this
.
getPosition
(
inside
)
...
...
@@ -1106,7 +1102,7 @@
}
$tip
.
css
(
tp
)
.
offset
(
tp
)
.
addClass
(
placement
)
.
addClass
(
'
in
'
)
}
...
...
@@ -1234,8 +1230,7 @@
,
html
:
false
}
}(
window
.
jQuery
);
/* ===========================================================
}(
window
.
jQuery
);
/* ===========================================================
* bootstrap-popover.js v2.1.2
* http://twitter.github.com/bootstrap/javascript.html#popovers
* ===========================================================
...
...
docs/assets/js/bootstrap.min.js
View file @
88b1e44d
This diff is collapsed.
Click to expand it.
js/bootstrap-modal.js
View file @
88b1e44d
...
...
@@ -49,8 +49,6 @@
if
(
this
.
isShown
||
e
.
isDefaultPrevented
())
return
$
(
'
body
'
).
addClass
(
'
modal-open
'
)
this
.
isShown
=
true
this
.
escape
()
...
...
@@ -96,8 +94,6 @@
this
.
isShown
=
false
$
(
'
body
'
).
removeClass
(
'
modal-open
'
)
this
.
escape
()
$
(
document
).
off
(
'
focusin.modal
'
)
...
...
js/bootstrap-tooltip.js
View file @
88b1e44d
...
...
@@ -121,7 +121,7 @@
$tip
.
remove
()
.
css
({
top
:
0
,
left
:
0
,
display
:
'
block
'
})
.
appendTo
(
inside
?
this
.
$element
:
document
.
body
)
.
insertAfter
(
this
.
$element
)
pos
=
this
.
getPosition
(
inside
)
...
...
@@ -144,7 +144,7 @@
}
$tip
.
css
(
tp
)
.
offset
(
tp
)
.
addClass
(
placement
)
.
addClass
(
'
in
'
)
}
...
...
less/modals.less
View file @
88b1e44d
...
...
@@ -2,16 +2,6 @@
// Modals
// --------------------------------------------------
// Recalculate z-index where appropriate,
// but only apply to elements within modal
.modal-open {
.dropdown-menu { z-index: @zindexDropdown + @zindexModal; }
.dropdown.open { *z-index: @zindexDropdown + @zindexModal; }
.popover { z-index: @zindexPopover + @zindexModal; }
.tooltip { z-index: @zindexTooltip + @zindexModal; }
}
// Background
.modal-backdrop {
position: fixed;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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