From 4a09e311f89e6cb3f1fccbd9c6fce4b08f51ddf4 Mon Sep 17 00:00:00 2001
From: Aneimytis <5927301+cyrildtm@users.noreply.github.com>
Date: Sun, 8 May 2022 00:41:33 -0500
Subject: [PATCH] add hover labels for select list label
---
Extensions/combined/popup.css | 12 ++++++++++--
Extensions/combined/popup.html | 2 +-
2 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/Extensions/combined/popup.css b/Extensions/combined/popup.css
index eaf82e3..0dda34f 100644
--- a/Extensions/combined/popup.css
+++ b/Extensions/combined/popup.css
@@ -68,7 +68,7 @@ button:hover {
border-radius: 0.25rem;
}
-.switch:before {
+.switch:before, .label-with-hover-tip:before {
content: attr(data-hover);
visibility: hidden;
opacity: 0;
@@ -84,7 +84,7 @@ button:hover {
top: 160%;
}
-.switch:hover:before {
+.switch:hover:before, .label-with-hover-tip:hover:before {
visibility: visible;
opacity: 1;
}
@@ -188,6 +188,14 @@ button:hover {
margin-bottom: 1rem;
}
+.label-with-hover-tip {
+ position: relative;
+ display: inline-block;
+ width: 80px;
+ height: 17px;
+ margin-bottom: 1rem;
+}
+
.switch:last-of-type {
margin-bottom: 0;
}
diff --git a/Extensions/combined/popup.html b/Extensions/combined/popup.html
index 7d39246..1a51440 100644
--- a/Extensions/combined/popup.html
+++ b/Extensions/combined/popup.html
@@ -137,7 +137,7 @@