From c6f7462d80ab626174329b69045fb7e5704c0683 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期六, 05 六月 2021 22:44:17 +0800 Subject: [PATCH] 2021-06-05 --- src/mob/colorsketch/index.scss | 18 ++++++++++++++++++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/src/mob/colorsketch/index.scss b/src/mob/colorsketch/index.scss index b6aec44..ce226de 100644 --- a/src/mob/colorsketch/index.scss +++ b/src/mob/colorsketch/index.scss @@ -18,6 +18,7 @@ height: 100%; } .color-sketch-value { + position: relative; display: inline-block; font-size: 13px; width: 160px; @@ -27,6 +28,23 @@ vertical-align: top; white-space: nowrap; overflow: visible; + + .anticon-close { + position: relative; + right: -10px; + font-size: 10px; + padding: 3px; + background: #eeeeee; + border-radius: 50%; + cursor: pointer; + opacity: 0; + transition: opacity 0.3s; + } + } +} +.color-sketch-block:hover { + .anticon-close { + opacity: 1; } } -- Gitblit v1.8.0