You are not logged in.
I want my tabs to be separated significantly by some line or something.
I also want active tabs to have different background color.
I like my theme and i don't want to change it, so i need to know which files i need to edit.
Have gimp and inkscape installed.
Offline
A screenshot might help. Also, which theme are you using? It would be the theme that defines the colour scheme.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
https://imgur.com/IFg4T87.png
As you can see there is almost no distinction between active and inactive tabs.
Using matcha-dark-sea theme that came with my manjaro installation.
I have an old laptop with xfce 4.12, on that the active tab is of different color.
I want active tabs to be very distinct.
This looks much better: https://imgur.com/Ev2Jalu.png
So i just need to mix these 2 themes.
Offline
Matcha-dark-sea uses a green underline to indicate the active button/window.
You can change the background colour of the selected button via something like the following in your ~/.config/gtk-3.0/gtk.css file:
#tasklist-2 button:checked { background-color: rgba(255,155,155,1); }
...where:
- "tasklist-2" is the name of your tasklist widget (hover over the item in Panel>Properties>Items tab).
- "rgba(x,x,x,x)" is the red, green, blue, transparency value of the colour that you want to use.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
I don't have that css file for some reason. Have the folder but it's empty. What if I create myself?
Offline
I don't have that css file for some reason. Have the folder but it's empty. What if I create myself?
Yes, create the file if it doesn't exist.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
this is from matcha-dark-sea
button:active, button:checked {
color: #ffffff;
border-color: rgba(0, 0, 0, 0.25);
background-color: #2eb398;
background-clip: padding-box;
transition-duration: 50ms;
}
and this is from matcha-aliz
button:active, button:checked {
color: #ffffff;
border-color: #F0544C;
background-color: #F0544C;
background-clip: border-box;
transition-duration: 50ms;
}
Matcha-aliz is using similar box style of adwaita i posted.
When I change color code of aliz it changes immediately. When I use exact code on dark-sea nothing changes.
If you would like to take a look: https://filebin.net/7e0at5udovnf9enk
Offline
Are you making these changes directly in the theme's gtk.css file or are you creating an ~/.config/gtk-3.0/gtk.css file? When I use my code from post #4 in ~/.config/gtk-3.0/gtk.css, and restart xfce4-panel, it does work.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
I got this error when i added it to gtk.css of root
(xfce4-panel:42355): Gtk-WARNING **: 20:45:17.866: Theme parsing error: gtk.css:409:22: '2EB398' is not a valid color name
Edit: Nah ignore it, it was from my edited version of the theme. As usual, nothing happens. I don't think gtk.css from root is used.
Last edited by woistmeinauto (2020-03-29 17:54:24)
Offline
I got this error when i added it to gtk.css of root
(xfce4-panel:42355): Gtk-WARNING **: 20:45:17.866: Theme parsing error: gtk.css:409:22: '2EB398' is not a valid color name
Edit: Nah ignore it, it was from my edited version of the theme. As usual, nothing happens. I don't think gtk.css from root is used.
No, don't add it to root's gtk.css. You want it in your profile - your ~/.config/gtk-3.0/gtk.css file.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Thank you so much! It works now. Show desktop plugin is also slim now.
Offline
[ Generated in 0.009 seconds, 7 queries executed - Memory usage: 560.89 KiB (Peak: 577.73 KiB) ]