diff options
Diffstat (limited to 'popup/popup.css')
-rw-r--r-- | popup/popup.css | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/popup/popup.css b/popup/popup.css index 1a47b2a..73f2b74 100644 --- a/popup/popup.css +++ b/popup/popup.css @@ -42,6 +42,7 @@ body { padding: 16px 20px;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
box-shadow: var(--shadow);
+ position: relative; /* Add this for positioning the whats-new button */
}
.logo-container {
@@ -79,6 +80,53 @@ body { text-decoration: underline;
}
+/* What's New Button */
+.whats-new-button {
+ position: absolute;
+ top: 16px;
+ right: 16px;
+ background: none;
+ border: none;
+ color: white;
+ font-size: 18px;
+ cursor: pointer;
+ padding: 5px;
+ border-radius: 50%;
+ transition: all 0.2s ease;
+ width: 32px;
+ height: 32px;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+}
+
+.whats-new-button:hover {
+ background-color: rgba(255, 255, 255, 0.2);
+ transform: scale(1.1);
+}
+
+.whats-new-button::after {
+ content: "What's New";
+ position: absolute;
+ bottom: -25px;
+ right: 0;
+ background-color: rgba(0, 0, 0, 0.7);
+ color: white;
+ padding: 3px 8px;
+ border-radius: 4px;
+ font-size: 10px;
+ opacity: 0;
+ visibility: hidden;
+ transition: opacity 0.2s ease, visibility 0.2s ease;
+ pointer-events: none;
+ white-space: nowrap;
+}
+
+.whats-new-button:hover::after {
+ opacity: 1;
+ visibility: visible;
+}
+
/* Main Content Styles */
.app-content {
padding: 20px;
|