From 1493baaf5f967c8dee50d15ef2b58748d234b930 Mon Sep 17 00:00:00 2001 From: yutent Date: Tue, 19 Jul 2022 19:59:05 +0800 Subject: [PATCH] fixed popup item --- cinnamon/cinnamon.css | 4 ++-- cinnamon/sass/ui/menu.scss | 4 ++-- update-theme.sh | 20 ++++++++++---------- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/cinnamon/cinnamon.css b/cinnamon/cinnamon.css index 07240ef..b012feb 100644 --- a/cinnamon/cinnamon.css +++ b/cinnamon/cinnamon.css @@ -1300,8 +1300,8 @@ StScrollBar StButton#hhandle:active { } .popup-combobox-item { - spacing: 1em; - padding: 0.4em 1.75em; + spacing: 2px; + padding: 0.4em 0.2em; border: 1px solid transparent; border-left-width: 0; border-right-width: 0; diff --git a/cinnamon/sass/ui/menu.scss b/cinnamon/sass/ui/menu.scss index ce5d555..2713168 100644 --- a/cinnamon/sass/ui/menu.scss +++ b/cinnamon/sass/ui/menu.scss @@ -82,8 +82,8 @@ } .popup-combobox-item { - spacing: 1em; - padding: 0.4em 1.75em; + spacing: 2px; + padding: 0.4em 0.2em; border: 1px solid transparent; border-left-width: 0; border-right-width: 0; diff --git a/update-theme.sh b/update-theme.sh index a3e5a9e..099bc12 100755 --- a/update-theme.sh +++ b/update-theme.sh @@ -1,11 +1,11 @@ # 控件主题(Controls) -echo "重置控件主题……" -gsettings set org.cinnamon.desktop.interface gtk-theme "Mint-Y" -echo "重置完成, 0.5秒之后, 修改为one-dark" -sleep 0.5 -gsettings set org.cinnamon.desktop.interface gtk-theme "one-dark" +# echo "重置控件主题……" +# gsettings set org.cinnamon.desktop.interface gtk-theme "Mint-Y" +# echo "重置完成, 0.5秒之后, 修改为one-dark" +# sleep 0.5 +# gsettings set org.cinnamon.desktop.interface gtk-theme "one-dark" # 鼠标主题(Mouse Pointer) # gsettings set org.cinnamon.desktop.interface cursor-theme "Adwaita" @@ -14,11 +14,11 @@ gsettings set org.cinnamon.desktop.interface gtk-theme "one-dark" # gsettings set org.cinnamon.desktop.interface icon-theme "Reversal-green-dark" # 桌面主题(Desktop) -# echo "重置桌面主题……" -# gsettings set org.cinnamon.theme name "Mint-Y" -# echo "重置完成, 0.5秒之后, 修改为one-dark" -# sleep 0.5 -# gsettings set org.cinnamon.theme name "one-dark" +echo "重置桌面主题……" +gsettings set org.cinnamon.theme name "Mint-Y" +echo "重置完成, 0.5秒之后, 修改为one-dark" +sleep 0.5 +gsettings set org.cinnamon.theme name "one-dark" # 窗口主题(Windows borders) # echo "重置窗口主题……"