Score:0

How change color of titlebar buttons on inactive windows using css?

rw flag

So I wrote my own gtk.css in ~/.config/gtk-3.0 to override the installed theme, But now i want to change the color of buttons in inactive windows.

button.titlebutton {
  min-height: 16px;
  min-width: 16px;
  padding: 0;
  color: transparent;
}

button.titlebutton.close {
  background-color: @error_color;
  margin-left: 10px;
}

button.titlebutton.close:hover {
  background-color: red;
  color: black;
}

button.titlebutton.maximize {
  background-color: green;
}

button.titlebutton.maximize:hover {
  background-color: mediumseagreen;
  color: black;
}

button.titlebutton.minimize {
  background-color: @warning_color;
}

button.titlebutton.minimize:hover {
  background-color: #e8e337;
  color: black;
}

Current behaviour (active/ inactive)

Behaviuor on hover

How do i modify this code to change color of buttons in inactive windows?

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.