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

adding tooltip/glossary term to wildcard tab #511

Merged
merged 1 commit into from
Feb 26, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion _sass/_instruction-widget.scss
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ h1.instruct {
margin-left: 0;
}
}
h3 {
h3 {
font-size: 22px;
font-weight: bold;
font-style: italic;
Expand Down Expand Up @@ -381,12 +381,19 @@ h1.instruct {
font-weight: 400;
width: 250px;
}
.glossary-term .tooltip a {
color: $link-color;
}
&:not(.active) {
border-left: 1px solid $stroke;
border-top: 1px solid $stroke;
border-right: 1px solid $stroke;
background-color: rgba(0,0,0,0.05);
color: #aaa;
a {
color: rgba(0, 0, 0, 0.05);
opacity: 0.5;
}
&:hover {
cursor: pointer;
background-color: $darkstroke;
Expand All @@ -402,6 +409,9 @@ h1.instruct {
border-left: 1px solid $content-stroke;
border-right: 1px solid $content-stroke;
border-top: 1px solid $content-stroke;
a {
color: white;
}
}

}
Expand Down
4 changes: 2 additions & 2 deletions _scripts/instruction-widget/templates/instructions.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<h2 id="instructions-header"><a href="/lets-encrypt/{{os}}-{{webserver}}.html">{{server_longname}} on {{distro_longname}}</a></h2>
<div class="tab automated active">default</div>
<div class="tab advanced">wildcard</div>
<div class="tab advanced">wildcard{% include tooltip.html term-name="wildcard-certificate" text="*" %}</div>


<div class="instruction-pane-wrapper">
Expand Down Expand Up @@ -42,7 +42,7 @@ <h2 id="instructions-header"><a href="/lets-encrypt/{{os}}-{{webserver}}.html">{
<img alt="Bag decorated with a heart" src="/images/BlackCircle-Donate.svg">
<div class="text-wrapper">
<span class="mobile-hidden">
Like Certbot? This free, open source project is part of EFF's
Like Certbot? This free, open source project is part of EFF's
commitment to make encryption accessible for all.
</span>
<span class="mobile-only">
Expand Down