-
Notifications
You must be signed in to change notification settings - Fork 799
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add tooltip for installed with no videos (#38842)
* Add tooltip for installed with no videos * Add tooltip for inactive with videos * Add tooltips for active states * Add changelog * Update copy * Update tooltip location when videos are present but plugin is inactive * Move info tooltip to heading * Nitpicks
- Loading branch information
1 parent
eb13dd7
commit 66515fb
Showing
15 changed files
with
288 additions
and
67 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
38 changes: 38 additions & 0 deletions
38
projects/packages/my-jetpack/_inc/components/info-tooltip/style.scss
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 @@ | ||
.info-tooltip__button { | ||
display: flex; | ||
align-items: center; | ||
background: transparent; | ||
border: none; | ||
color: var(--jp-gray-50); | ||
padding: 2px; | ||
cursor: pointer; | ||
svg { | ||
margin: 0 auto; | ||
} | ||
} | ||
|
||
.info-tooltip__content { | ||
h3 { | ||
font-size: var(--font-title-small); | ||
line-height: calc(var(--font-title-small) + 6px);; | ||
color: var(--jp-black); | ||
margin: 0 0 calc(var(--spacing-base) * 2); | ||
font-weight: 500; | ||
} | ||
|
||
p { | ||
font-size: var(--font-body); | ||
line-height: var(--font-title-small); | ||
color: var(--jp-gray-70); | ||
|
||
margin-bottom: 0; | ||
|
||
a { | ||
color: var(--jp-black); | ||
text-decoration: underline; | ||
} | ||
a:hover, a:focus { | ||
text-decoration: none; | ||
} | ||
} | ||
} |
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
12 changes: 0 additions & 12 deletions
12
...ges/my-jetpack/_inc/components/product-cards-section/protect-card/info-tooltip/style.scss
This file was deleted.
Oops, something went wrong.
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
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
Oops, something went wrong.