This is an automated email from the ASF dual-hosted git repository.

wusheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 2eeb4a845b Fix: add a icon for closing the popup (#461)
2eeb4a845b is described below

commit 2eeb4a845b2cd2cab9e551cae8b2a5e256d76b0a
Author: Juntao Zhang <[email protected]>
AuthorDate: Fri Jun 10 23:19:12 2022 +0800

    Fix: add a icon for closing the popup (#461)
---
 static/images/icon-close.svg                   | 2 ++
 themes/docsy/assets/scss/_event-popup.scss     | 1 +
 themes/docsy/layouts/partials/event-popup.html | 2 +-
 3 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/static/images/icon-close.svg b/static/images/icon-close.svg
new file mode 100644
index 0000000000..6ed7829dd1
--- /dev/null
+++ b/static/images/icon-close.svg
@@ -0,0 +1,2 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 
1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd";><svg 
t="1654869994885" class="icon" viewBox="0 0 1024 1024" version="1.1" 
xmlns="http://www.w3.org/2000/svg"; p-id="3350" 
xmlns:xlink="http://www.w3.org/1999/xlink"; width="16" height="16"><defs><style 
type="text/css">@font-face { font-family: feedback-iconfont; src: 
url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff2?t=1630033759944") 
format("woff2"), url [...]
+</style></defs><path d="M153.998222 113.777778L910.222222 
870.001778l-40.220444 40.220444L113.777778 153.998222z" fill="#333333" 
p-id="3351"></path><path d="M870.001778 113.777778l40.220444 
40.220444L153.998222 910.222222 113.777778 870.001778z" fill="#333333" 
p-id="3352"></path></svg>
\ No newline at end of file
diff --git a/themes/docsy/assets/scss/_event-popup.scss 
b/themes/docsy/assets/scss/_event-popup.scss
index 88cdb464d5..61cdbf7893 100644
--- a/themes/docsy/assets/scss/_event-popup.scss
+++ b/themes/docsy/assets/scss/_event-popup.scss
@@ -51,6 +51,7 @@
       color: #c9c9c9;
       transition: color 0.3s;
       z-index: 99;
+      opacity: 0.5;
 
       &:hover {
         color: #8797ac;
diff --git a/themes/docsy/layouts/partials/event-popup.html 
b/themes/docsy/layouts/partials/event-popup.html
index 7ab7b81e33..e921406e65 100644
--- a/themes/docsy/layouts/partials/event-popup.html
+++ b/themes/docsy/layouts/partials/event-popup.html
@@ -13,7 +13,7 @@
 <div class="sky-event-popup">
 
     <div class="sky-pop-modal">
-        <i class="fa fa-window-close"></i>
+        <img class="fa-window-close" src="/images/icon-close.svg" alt="">
         <div class="pic-wrapper">
             <img
                     data-img="/images/skywalking_200x200.png"

Reply via email to