This repository has been archived by the owner on Apr 5, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
display tooltip with link address when hovering over link
This feature was accidentally deleted during the Gmail transition.
- Loading branch information
Jose Marino
committed
Mar 28, 2019
1 parent
90204d5
commit 10fe23f
Showing
2 changed files
with
27 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
/* Tooltip to display link contents */ | ||
/* <div class="AO"> contains message view area (right side of window) */ | ||
div.AO a[href]::after { | ||
content: attr(href); | ||
position: absolute; | ||
transform: translateY(100%); | ||
left: 0; | ||
background: rgba(0,0,0,0.7); | ||
text-align: center; | ||
color: #fff; | ||
font-size: small; | ||
border-radius: 5px; | ||
pointer-events: none; | ||
padding: 4px 8px; | ||
z-index:99; | ||
opacity:0; | ||
transition: opacity 0.5s; | ||
} | ||
|
||
div.AO a[href]:hover::after { | ||
opacity:1 | ||
} |