Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adds tooltip for email address #1

Merged
merged 2 commits into from Apr 3, 2020
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

@@ -193,6 +193,17 @@

}

/* Mobile S 340px */
@media only screen and (max-width: 340px) {
.tooltip {
left: -50%;
}

.tooltip::after {
left: 50%;
}
}

/* Mobile S 320px */
@media only screen and (max-width: 320px) {

@@ -435,6 +435,53 @@ div.androidNotification-text {
padding-right: 2rem;
}

/* Tooltip */
.tooltipParent {
position: relative;
}

.tooltipParent:hover > .tooltip {
opacity: 1;
}

.tooltip {
background: #fb542b;

position: absolute;
left: -70%;
bottom: 30px;
z-index: 999999;

display: block;
box-sizing: border-box;
width: 205%;
padding: 15px 15px;
border-radius: 5px;

text-align: left;
color: white;
line-height: 1.4;

opacity: 0;
pointer-events: none;
transition: all 0.3s ease-in-out;
box-shadow: -1px -1px 15px 0px rgba(0,0,0,0.2);
}

.tooltip::after {
content: "";

position: absolute;
bottom: -10px;
left: 60%;

width: 0;
height: 0;
border-left: 10px solid transparent;
border-right: 10px solid transparent;
border-top: 10px solid #fb542b;
}

/* Brand logos */
.quoteBox img {
opacity: .68;
@@ -530,4 +577,4 @@ footer img:hover {

footer .footerListItems span {
margin-right: 1rem;
}
}
@@ -192,7 +192,7 @@ <h1 class="sectionTitle">I'm ready to boost my business</h1>
class="basicButton myBtn" id="finalStartNow">Start now</button></a>
<p>
Or for more information about setting up, contact
<a href="mailto:AdSales@brave.com"><strong>adsales@brave.com</strong></a>
<a class="tooltipParent" href="mailto:AdSales@brave.com"><strong>adsales@brave.com</strong><span class="tooltip">Please only use this email address if you are interested in purchasing advertising with Brave. For support, please visit community.brave.com.</span></a>
</p>
<small class="notice"><strong>Note:</strong> The current minimum campaign spend requirement for Brave Ads is
$2,500 per month.
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.