This repository has been archived by the owner on Apr 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: add tooltips for cards * fix: one tooltip div * fix: tests * fix: tooltips that move * fix: tooltip not scaled anymore * feat: working tooltips * fix: tooltips in edit mode * fix: comments * fix: rename selections object * fix: tooltip height constant * fix: constraints.passive and hover delay * fix: remove mouseout and mousedown because they weren't helping * fix: comments * fix: auto height and bottom positioning * fix: no tooltip on click or pan * fix: no extra <br>
- Loading branch information
1 parent
f536b21
commit 4366b0c
Showing
8 changed files
with
134 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
.sn-org-chart { | ||
.sn-org-tooltip { | ||
visibility: hidden; | ||
opacity: 0; | ||
font-family: 'QlikView Sans', sans-serif; | ||
width: 240px; | ||
max-height: 100px; | ||
background-color: #646464; | ||
color: #E6E6E6; | ||
text-align: center; | ||
font-size: 12px; | ||
line-height: 15px; | ||
padding: 5px 0; | ||
border-radius: 6px; | ||
|
||
overflow-wrap: break-word; | ||
word-wrap: break-word; | ||
word-break: break-word; | ||
|
||
/* Position the tooltip text */ | ||
position: absolute; | ||
z-index: 1; | ||
bottom: 125%; | ||
left: 50%; | ||
} | ||
|
||
/* Tooltip arrow */ | ||
.sn-org-tooltip::after { | ||
content: ""; | ||
position: absolute; | ||
top: 100%; | ||
left: 50%; | ||
margin-left: -10px; | ||
border-width: 10px; | ||
border-style: solid; | ||
border-color: #646464 transparent transparent transparent; | ||
} | ||
} |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters