Skip to content
GitLab
Explore
Projects
Groups
Snippets
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
8bdaf1f3
Commit
8bdaf1f3
authored
13 years ago
by
Mark Otto
Browse files
Options
Download
Email Patches
Plain Diff
better ranking of z-indexes for tipsies so they appear above dropdown menus but below fixed topbar
parent
2540caed
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
bootstrap.css
+4
-4
bootstrap.css
bootstrap.min.css
+3
-3
bootstrap.min.css
lib/dropdowns.less
+1
-1
lib/dropdowns.less
lib/popovers.less
+1
-1
lib/popovers.less
lib/twipsy.less
+1
-1
lib/twipsy.less
with
10 additions
and
10 deletions
+10
-10
bootstrap.css
+
4
-
4
View file @
8bdaf1f3
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
* http://www.apache.org/licenses/LICENSE-2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Designed and built with all the love in the world @twitter by @mdo and @fat.
* Designed and built with all the love in the world @twitter by @mdo and @fat.
* Date: Sat Jan 7 0
3:57:28
PST 2012
* Date: Sat Jan 7 0
4:00:34
PST 2012
*/
*/
html
,
body
{
html
,
body
{
margin
:
0
;
margin
:
0
;
...
@@ -1472,7 +1472,7 @@ i {
...
@@ -1472,7 +1472,7 @@ i {
.dropdown-menu
{
.dropdown-menu
{
position
:
absolute
;
position
:
absolute
;
top
:
40px
;
top
:
40px
;
z-index
:
9
00
;
z-index
:
10
00
;
float
:
left
;
float
:
left
;
display
:
none
;
display
:
none
;
min-width
:
160px
;
min-width
:
160px
;
...
@@ -2304,7 +2304,7 @@ i {
...
@@ -2304,7 +2304,7 @@ i {
}
}
.twipsy
{
.twipsy
{
position
:
absolute
;
position
:
absolute
;
z-index
:
100
0
;
z-index
:
100
5
;
display
:
block
;
display
:
block
;
visibility
:
visible
;
visibility
:
visible
;
padding
:
5px
;
padding
:
5px
;
...
@@ -2382,7 +2382,7 @@ i {
...
@@ -2382,7 +2382,7 @@ i {
position
:
absolute
;
position
:
absolute
;
top
:
0
;
top
:
0
;
left
:
0
;
left
:
0
;
z-index
:
100
0
;
z-index
:
100
5
;
display
:
none
;
display
:
none
;
padding
:
5px
;
padding
:
5px
;
}
}
...
...
This diff is collapsed.
Click to expand it.
bootstrap.min.css
+
3
-
3
View file @
8bdaf1f3
...
@@ -285,7 +285,7 @@ i{background-image:url(docs/assets/img/glyphicons-halflings-sprite.png);backgrou
...
@@ -285,7 +285,7 @@ i{background-image:url(docs/assets/img/glyphicons-halflings-sprite.png);backgrou
.caret
{
display
:
inline-block
;
width
:
0
;
height
:
0
;
text-indent
:
-99999px
;
vertical-align
:
top
;
border-left
:
4px
solid
transparent
;
border-right
:
4px
solid
transparent
;
border-top
:
4px
solid
#000
;
filter
:
alpha
(
opacity
=
30
);
-moz-opacity
:
0.3
;
opacity
:
0.3
;
content
:
"\2193"
;}
.caret
{
display
:
inline-block
;
width
:
0
;
height
:
0
;
text-indent
:
-99999px
;
vertical-align
:
top
;
border-left
:
4px
solid
transparent
;
border-right
:
4px
solid
transparent
;
border-top
:
4px
solid
#000
;
filter
:
alpha
(
opacity
=
30
);
-moz-opacity
:
0.3
;
opacity
:
0.3
;
content
:
"\2193"
;}
.dropdown
.caret
{
margin-top
:
8px
;
margin-left
:
2px
;}
.dropdown
.caret
{
margin-top
:
8px
;
margin-left
:
2px
;}
.dropdown
:hover
.caret
{
filter
:
alpha
(
opacity
=
100
);
-moz-opacity
:
1
;
opacity
:
1
;}
.dropdown
:hover
.caret
{
filter
:
alpha
(
opacity
=
100
);
-moz-opacity
:
1
;
opacity
:
1
;}
.dropdown-menu
{
position
:
absolute
;
top
:
40px
;
z-index
:
9
00
;
float
:
left
;
display
:
none
;
min-width
:
160px
;
max-width
:
220px
;
_width
:
160px
;
padding
:
5px
0
;
margin
:
0
;
list-style
:
none
;
background-color
:
#ffffff
;
border-color
:
#999
;
border-color
:
rgba
(
0
,
0
,
0
,
0.1
);
border-style
:
solid
;
border-width
:
1px
;
-webkit-border-radius
:
0
0
5px
5px
;
-moz-border-radius
:
0
0
5px
5px
;
border-radius
:
0
0
5px
5px
;
-webkit-box-shadow
:
0
5px
10px
rgba
(
0
,
0
,
0
,
0.2
);
-moz-box-shadow
:
0
5px
10px
rgba
(
0
,
0
,
0
,
0.2
);
box-shadow
:
0
5px
10px
rgba
(
0
,
0
,
0
,
0.2
);
-webkit-background-clip
:
padding-box
;
-moz-background-clip
:
padding
;
background-clip
:
padding-box
;
zoom
:
1
;}
.dropdown-menu
.divider
{
height
:
1px
;
margin
:
5px
1px
;
overflow
:
hidden
;
background-color
:
#e5e5e5
;
border-bottom
:
1px
solid
#ffffff
;}
.dropdown-menu
{
position
:
absolute
;
top
:
40px
;
z-index
:
10
00
;
float
:
left
;
display
:
none
;
min-width
:
160px
;
max-width
:
220px
;
_width
:
160px
;
padding
:
5px
0
;
margin
:
0
;
list-style
:
none
;
background-color
:
#ffffff
;
border-color
:
#999
;
border-color
:
rgba
(
0
,
0
,
0
,
0.1
);
border-style
:
solid
;
border-width
:
1px
;
-webkit-border-radius
:
0
0
5px
5px
;
-moz-border-radius
:
0
0
5px
5px
;
border-radius
:
0
0
5px
5px
;
-webkit-box-shadow
:
0
5px
10px
rgba
(
0
,
0
,
0
,
0.2
);
-moz-box-shadow
:
0
5px
10px
rgba
(
0
,
0
,
0
,
0.2
);
box-shadow
:
0
5px
10px
rgba
(
0
,
0
,
0
,
0.2
);
-webkit-background-clip
:
padding-box
;
-moz-background-clip
:
padding
;
background-clip
:
padding-box
;
zoom
:
1
;}
.dropdown-menu
.divider
{
height
:
1px
;
margin
:
5px
1px
;
overflow
:
hidden
;
background-color
:
#e5e5e5
;
border-bottom
:
1px
solid
#ffffff
;}
.dropdown-menu
a
{
display
:
block
;
padding
:
2px
15px
;
clear
:
both
;
font-weight
:
normal
;
line-height
:
18px
;
color
:
#555555
;}
.dropdown-menu
a
:hover
{
color
:
#fff
;
text-decoration
:
none
;
text-shadow
:
0
-1px
0
rgba
(
0
,
0
,
0
,
0.25
);
background-color
:
#0064cd
;
background-image
:
-khtml-gradient
(
linear
,
left
top
,
left
bottom
,
from
(
#049cdb
),
to
(
#0064cd
));
background-image
:
-moz-linear-gradient
(
top
,
#049cdb
,
#0064cd
);
background-image
:
-ms-linear-gradient
(
top
,
#049cdb
,
#0064cd
);
background-image
:
-webkit-gradient
(
linear
,
left
top
,
left
bottom
,
color-stop
(
0%
,
#049cdb
),
color-stop
(
100%
,
#0064cd
));
background-image
:
-webkit-linear-gradient
(
top
,
#049cdb
,
#0064cd
);
background-image
:
-o-linear-gradient
(
top
,
#049cdb
,
#0064cd
);
background-image
:
linear-gradient
(
top
,
#049cdb
,
#0064cd
);
background-repeat
:
repeat-x
;
filter
:
progid
:
DXImageTransform
.
Microsoft
.
gradient
(
startColorstr
=
'#049cdb'
,
endColorstr
=
'#0064cd'
,
GradientType
=
0
);
-webkit-box-shadow
:
inset
0
1px
0
rgba
(
0
,
0
,
0
,
0.075
),
inset
0
-1px
rgba
(
0
,
0
,
0
,
0.075
);
-moz-box-shadow
:
inset
0
1px
0
rgba
(
0
,
0
,
0
,
0.075
),
inset
0
-1px
rgba
(
0
,
0
,
0
,
0.075
);
box-shadow
:
inset
0
1px
0
rgba
(
0
,
0
,
0
,
0.075
),
inset
0
-1px
rgba
(
0
,
0
,
0
,
0.075
);}
.dropdown-menu
a
{
display
:
block
;
padding
:
2px
15px
;
clear
:
both
;
font-weight
:
normal
;
line-height
:
18px
;
color
:
#555555
;}
.dropdown-menu
a
:hover
{
color
:
#fff
;
text-decoration
:
none
;
text-shadow
:
0
-1px
0
rgba
(
0
,
0
,
0
,
0.25
);
background-color
:
#0064cd
;
background-image
:
-khtml-gradient
(
linear
,
left
top
,
left
bottom
,
from
(
#049cdb
),
to
(
#0064cd
));
background-image
:
-moz-linear-gradient
(
top
,
#049cdb
,
#0064cd
);
background-image
:
-ms-linear-gradient
(
top
,
#049cdb
,
#0064cd
);
background-image
:
-webkit-gradient
(
linear
,
left
top
,
left
bottom
,
color-stop
(
0%
,
#049cdb
),
color-stop
(
100%
,
#0064cd
));
background-image
:
-webkit-linear-gradient
(
top
,
#049cdb
,
#0064cd
);
background-image
:
-o-linear-gradient
(
top
,
#049cdb
,
#0064cd
);
background-image
:
linear-gradient
(
top
,
#049cdb
,
#0064cd
);
background-repeat
:
repeat-x
;
filter
:
progid
:
DXImageTransform
.
Microsoft
.
gradient
(
startColorstr
=
'#049cdb'
,
endColorstr
=
'#0064cd'
,
GradientType
=
0
);
-webkit-box-shadow
:
inset
0
1px
0
rgba
(
0
,
0
,
0
,
0.075
),
inset
0
-1px
rgba
(
0
,
0
,
0
,
0.075
);
-moz-box-shadow
:
inset
0
1px
0
rgba
(
0
,
0
,
0
,
0.075
),
inset
0
-1px
rgba
(
0
,
0
,
0
,
0.075
);
box-shadow
:
inset
0
1px
0
rgba
(
0
,
0
,
0
,
0.075
),
inset
0
-1px
rgba
(
0
,
0
,
0
,
0.075
);}
.dropdown.open
.dropdown-toggle
{
color
:
#ffffff
;
background
:
#ccc
;
background
:
rgba
(
0
,
0
,
0
,
0.3
);}
.dropdown.open
.dropdown-toggle
{
color
:
#ffffff
;
background
:
#ccc
;
background
:
rgba
(
0
,
0
,
0
,
0.3
);}
.dropdown.open
.dropdown-menu
{
display
:
block
;}
.dropdown.open
.dropdown-menu
{
display
:
block
;}
...
@@ -384,7 +384,7 @@ i{background-image:url(docs/assets/img/glyphicons-halflings-sprite.png);backgrou
...
@@ -384,7 +384,7 @@ i{background-image:url(docs/assets/img/glyphicons-halflings-sprite.png);backgrou
.modal-footer
{
padding
:
14px
15px
15px
;
margin-bottom
:
0
;
background-color
:
#f5f5f5
;
border-top
:
1px
solid
#ddd
;
-webkit-border-radius
:
0
0
6px
6px
;
-moz-border-radius
:
0
0
6px
6px
;
border-radius
:
0
0
6px
6px
;
-webkit-box-shadow
:
inset
0
1px
0
#ffffff
;
-moz-box-shadow
:
inset
0
1px
0
#ffffff
;
box-shadow
:
inset
0
1px
0
#ffffff
;
zoom
:
1
;}
.modal-footer
:before
,
.modal-footer
:after
{
display
:
table
;
*
display
:
inline
;
content
:
""
;
zoom
:
1
;}
.modal-footer
{
padding
:
14px
15px
15px
;
margin-bottom
:
0
;
background-color
:
#f5f5f5
;
border-top
:
1px
solid
#ddd
;
-webkit-border-radius
:
0
0
6px
6px
;
-moz-border-radius
:
0
0
6px
6px
;
border-radius
:
0
0
6px
6px
;
-webkit-box-shadow
:
inset
0
1px
0
#ffffff
;
-moz-box-shadow
:
inset
0
1px
0
#ffffff
;
box-shadow
:
inset
0
1px
0
#ffffff
;
zoom
:
1
;}
.modal-footer
:before
,
.modal-footer
:after
{
display
:
table
;
*
display
:
inline
;
content
:
""
;
zoom
:
1
;}
.modal-footer
:after
{
clear
:
both
;}
.modal-footer
:after
{
clear
:
both
;}
.modal-footer
.btn
{
float
:
right
;
margin-left
:
5px
;}
.modal-footer
.btn
{
float
:
right
;
margin-left
:
5px
;}
.twipsy
{
position
:
absolute
;
z-index
:
100
0
;
display
:
block
;
visibility
:
visible
;
padding
:
5px
;
font-size
:
11px
;
filter
:
alpha
(
opacity
=
0
);
-moz-opacity
:
0
;
opacity
:
0
;}
.twipsy.in
{
filter
:
alpha
(
opacity
=
80
);
-moz-opacity
:
0.8
;
opacity
:
0.8
;}
.twipsy
{
position
:
absolute
;
z-index
:
100
5
;
display
:
block
;
visibility
:
visible
;
padding
:
5px
;
font-size
:
11px
;
filter
:
alpha
(
opacity
=
0
);
-moz-opacity
:
0
;
opacity
:
0
;}
.twipsy.in
{
filter
:
alpha
(
opacity
=
80
);
-moz-opacity
:
0.8
;
opacity
:
0.8
;}
.twipsy.top
{
margin-top
:
-2px
;}
.twipsy.top
{
margin-top
:
-2px
;}
.twipsy.right
{
margin-left
:
2px
;}
.twipsy.right
{
margin-left
:
2px
;}
.twipsy.bottom
{
margin-top
:
2px
;}
.twipsy.bottom
{
margin-top
:
2px
;}
...
@@ -395,7 +395,7 @@ i{background-image:url(docs/assets/img/glyphicons-halflings-sprite.png);backgrou
...
@@ -395,7 +395,7 @@ i{background-image:url(docs/assets/img/glyphicons-halflings-sprite.png);backgrou
.twipsy.right
.twipsy-arrow
{
top
:
50%
;
left
:
0
;
margin-top
:
-5px
;
border-top
:
5px
solid
transparent
;
border-bottom
:
5px
solid
transparent
;
border-right
:
5px
solid
#000000
;}
.twipsy.right
.twipsy-arrow
{
top
:
50%
;
left
:
0
;
margin-top
:
-5px
;
border-top
:
5px
solid
transparent
;
border-bottom
:
5px
solid
transparent
;
border-right
:
5px
solid
#000000
;}
.twipsy-inner
{
max-width
:
200px
;
padding
:
3px
8px
;
color
:
white
;
text-align
:
center
;
text-decoration
:
none
;
background-color
:
#000000
;
-webkit-border-radius
:
4px
;
-moz-border-radius
:
4px
;
border-radius
:
4px
;}
.twipsy-inner
{
max-width
:
200px
;
padding
:
3px
8px
;
color
:
white
;
text-align
:
center
;
text-decoration
:
none
;
background-color
:
#000000
;
-webkit-border-radius
:
4px
;
-moz-border-radius
:
4px
;
border-radius
:
4px
;}
.twipsy-arrow
{
position
:
absolute
;
width
:
0
;
height
:
0
;}
.twipsy-arrow
{
position
:
absolute
;
width
:
0
;
height
:
0
;}
.popover
{
position
:
absolute
;
top
:
0
;
left
:
0
;
z-index
:
100
0
;
display
:
none
;
padding
:
5px
;}
.popover.top
{
margin-top
:
-5px
;}
.popover
{
position
:
absolute
;
top
:
0
;
left
:
0
;
z-index
:
100
5
;
display
:
none
;
padding
:
5px
;}
.popover.top
{
margin-top
:
-5px
;}
.popover.right
{
margin-left
:
5px
;}
.popover.right
{
margin-left
:
5px
;}
.popover.bottom
{
margin-top
:
5px
;}
.popover.bottom
{
margin-top
:
5px
;}
.popover.left
{
margin-left
:
-5px
;}
.popover.left
{
margin-left
:
-5px
;}
...
...
This diff is collapsed.
Click to expand it.
lib/dropdowns.less
+
1
-
1
View file @
8bdaf1f3
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
.dropdown-menu {
.dropdown-menu {
position: absolute;
position: absolute;
top: 40px;
top: 40px;
z-index:
9
00;
z-index:
10
00;
float: left;
float: left;
display: none; // none by default, but block on "open" of the menu
display: none; // none by default, but block on "open" of the menu
min-width: 160px;
min-width: 160px;
...
...
This diff is collapsed.
Click to expand it.
lib/popovers.less
+
1
-
1
View file @
8bdaf1f3
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
position: absolute;
position: absolute;
top: 0;
top: 0;
left: 0;
left: 0;
z-index: 100
0
;
z-index: 100
5
;
display: none;
display: none;
padding: 5px;
padding: 5px;
&.top { margin-top: -5px; }
&.top { margin-top: -5px; }
...
...
This diff is collapsed.
Click to expand it.
lib/twipsy.less
+
1
-
1
View file @
8bdaf1f3
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
.twipsy {
.twipsy {
position: absolute;
position: absolute;
z-index: 100
0
;
z-index: 100
5
;
display: block;
display: block;
visibility: visible;
visibility: visible;
padding: 5px;
padding: 5px;
...
...
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
Menu
Explore
Projects
Groups
Snippets