From 609782ae17633b3d37ec5f1b400dc18564927f80 Mon Sep 17 00:00:00 2001 From: josc146 Date: Mon, 10 Apr 2023 23:38:32 +0800 Subject: [PATCH] feat: change the util component of code block to default semi-transparent, and become opaque when hovering (#183) --- src/content-script/styles.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/content-script/styles.scss b/src/content-script/styles.scss index 6c6466b..22caf87 100644 --- a/src/content-script/styles.scss +++ b/src/content-script/styles.scss @@ -120,6 +120,12 @@ position: absolute; right: 10px; top: 3px; + transition: opacity 0.3s; + opacity: 0.2; + } + + .code-corner-util:hover { + opacity: 1; } .gpt-util-group {