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
5fd8ca90
Commit
5fd8ca90
authored
10 years ago
by
Mark Otto
Browse files
Options
Download
Email Patches
Plain Diff
fixes
#13210
: clean up tooltip example
parent
98574cd0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/examples/tooltip-viewport/index.html
+8
-10
docs/examples/tooltip-viewport/index.html
docs/examples/tooltip-viewport/tooltip-viewport.css
+7
-9
docs/examples/tooltip-viewport/tooltip-viewport.css
with
15 additions
and
19 deletions
+15
-19
docs/examples/tooltip-viewport/index.html
+
8
-
10
View file @
5fd8ca90
...
@@ -32,21 +32,19 @@
...
@@ -32,21 +32,19 @@
<body>
<body>
<button
class=
"btn pull-right tooltip-bottom"
title=
"This should be shifted to the left"
>
Shift Left
</button>
<button
class=
"btn
btn-default
pull-right tooltip-bottom"
title=
"This should be shifted to the left"
>
Shift Left
</button>
<button
class=
"btn tooltip-bottom"
title=
"This should be shifted to the right"
>
Shift Right
</button>
<button
class=
"btn
btn-default
tooltip-bottom"
title=
"This should be shifted to the right"
>
Shift Right
</button>
<button
class=
"btn tooltip-right"
title=
"This should be shifted down"
>
Shift Down
</button>
<button
class=
"btn
btn-default
tooltip-right"
title=
"This should be shifted down"
>
Shift Down
</button>
<div
class=
"placeholder"
>
There is a button down there ↓
</div>
<button
class=
"btn btn-default tooltip-right btn-bottom"
title=
"This should be shifted up"
>
Shift Up
</button>
<button
class=
"btn tooltip-right"
title=
"This should be shifted up"
>
Shift Up
</button>
<div
class=
"container-viewport"
>
<div
class=
"container-viewport"
>
<button
class=
"btn tooltip-viewport-bottom"
title=
"This should be shifted to the left"
>
Shift Left
</button>
<button
class=
"btn
btn-default
tooltip-viewport-bottom"
title=
"This should be shifted to the left"
>
Shift Left
</button>
<button
class=
"btn tooltip-viewport-right"
title=
"This should be shifted down"
>
Shift Down
</button>
<button
class=
"btn
btn-default
tooltip-viewport-right"
title=
"This should be shifted down"
>
Shift Down
</button>
<button
class=
"btn pull-right tooltip-viewport-bottom"
title=
"This should be shifted to the right"
>
Shift Right
</button>
<button
class=
"btn
btn-default
pull-right tooltip-viewport-bottom"
title=
"This should be shifted to the right"
>
Shift Right
</button>
<button
class=
"btn tooltip-viewport-right btn-bottom"
title=
"This should be shifted up"
>
Shift Up
</button>
<button
class=
"btn
btn-default
tooltip-viewport-right btn-bottom"
title=
"This should be shifted up"
>
Shift Up
</button>
</div>
</div>
...
...
This diff is collapsed.
Click to expand it.
docs/examples/tooltip-viewport/tooltip-viewport.css
+
7
-
9
View file @
5fd8ca90
...
@@ -8,18 +8,16 @@ body {
...
@@ -8,18 +8,16 @@ body {
.tooltip
.tooltip-inner
{
.tooltip
.tooltip-inner
{
min-width
:
250px
;
min-width
:
250px
;
max-width
:
500px
;
max-width
:
500px
;
min-height
:
200px
;
min-height
:
100px
;
}
text-align
:
left
;
.placeholder
{
height
:
900px
;
}
}
.container-viewport
{
.container-viewport
{
position
:
absolute
;
position
:
absolute
;
top
:
6
00px
;
top
:
1
00px
;
left
:
2
0
0px
;
left
:
2
5
0px
;
width
:
60
0px
;
right
:
25
0px
;
height
:
4
00px
;
height
:
3
00px
;
background
:
#c00
;
background
-color
:
#eee
;
}
}
.btn-bottom
{
.btn-bottom
{
position
:
absolute
;
position
:
absolute
;
...
...
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