Skip to content

youtube tooltip background by HarbAlarm

Screenshot of youtube tooltip background

Details

AuthorHarbAlarm

LicenseNo License

Categoryyoutube.com

Created

Updated

Size652 B

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Gives the tooltips above the search bar a darkened, blurred background for easier legibility.

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name         youtube.com tooltip
@version      20230812.23.55
@namespace    ?
==/UserStyle== */

@-moz-document domain("youtube.com") {

.ytp-tooltip-title, .ytp-tooltip-text {
  background: #0005 !important;
  border-radius: 10px !important;
  padding: 4px 10px;
  margin-bottom: 7px !important;
/*   max-width: fit-content; */
  backdrop-filter: blur(4px);
  content: " ";
}
.ytp-preview:not(.ytp-text-detail) .ytp-tooltip-text-no-title {
    top: 45px;
}

.ytp-tooltip-text-wrapper {
  transform: translateY(1em) !important;
}
.ytp-tooltip.ytp-bottom,
.ytp-tooltip .ytp-tooltip-edu {
    transform: translateY(-1em) !important;
}
}

Reviews

No reviews yet.