wengxt / gnome-shell-extension-kimpanel

KDE kimpanel protocol for gnome shell
GNU General Public License v2.0
125 stars 23 forks source link

如何调整候选词边框的圆角半径? #74

Closed linsui closed 1 year ago

linsui commented 1 year ago

外侧的半径太大,我想要调整到和选中的候选词高亮的圆角相近。请问怎样修改?谢谢

wengxt commented 1 year ago

stylesheet.css

linsui commented 1 year ago

我没有找到外边框要改哪个 class,最后把选中的高亮圆角改到 8px 了。

Winson-Huang commented 9 months ago

这一段是设置外层边框的:

.popup-menu-content.kimpanel-popup-content {
  /* you may customize pointer box here */
  /* padding: 6px; */
  padding: 2px;
  border-radius: 2px;
}

这一段是设置候选字边框的:

.kimpanel-label {
  font-family:sans;
  font-weight:normal;
  padding: 0.4em;
  border-radius: 2px;
}
linsui commented 9 months ago

不知道为什么 GNOME 45 上没有这个问题,我现在就用原本的样式看着就挺和谐了。

wengxt commented 9 months ago

因为样式改过了? https://github.com/wengxt/gnome-shell-extension-kimpanel/pull/71

linsui commented 9 months ago

确实,https://github.com/wengxt/gnome-shell-extension-kimpanel/pull/71 里提到的问题就是我想解决的。 :+1: