vinceliuice / Qogir-theme

Qogir is a flat Design theme for GTK
GNU General Public License v3.0
1.58k stars 119 forks source link

Remove transparency in Window Preview in panel #290

Closed anuragunnikannan closed 1 year ago

anuragunnikannan commented 1 year ago

cinnamon-2023-05-14T152753+0530.webm

In Lavanda gtk theme, there is a nice border on window previews on the panel, but in Qogir-dark, it is transparent hence making it difficult to read. It would be nice, if it is made opaque as before.

inucat commented 1 year ago

It also affects me, but solution was found simple.

  1. Open Qogir/cinnamon/cinnamon.css
  2. Locate .grouped-window-list-thumbnail-menu attributes
  3. As shown below, add the arrow-marked lines into the blocks. Change color as you like!
.grouped-window-list-thumbnail-menu .item-box {
  padding: 6px;
  border-radius: 2px;
  spacing: 4px;
  background-color: #2c2c2c; /* <--- */
}

.grouped-window-list-thumbnail-menu .item-box:selected {
  background-color: rgba(255, 255, 255, 0.33);
  background-color: #585858; /* <--- */
}

But this file is generated from the source css/scss files, so we need to modify them to completely fix the issue.

Unfortunately this problem is found in other themes including the ones by vinceliuice. I hope the cinnamon environment be supported well😇