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