at bottom :-
On 27/10/2016, Vlad Orlov <[email protected]> wrote:
> Oh, forgot about one more dir to look in.
>
> As described in GTK+ docs at [1], there might be gtk.css
> in ~/.config/gtk-3.0/ dir ($XDG_CONFIG_HOME is ~/.config).
>
> [1]
> https://developer.gnome.org/gtk3/stable/GtkCssProvider.html#GtkCssProvider.description
Hi Vlad,
Sorry for being such a pain. There indeed is a .config/gtk-3.0/gtk.css
but it doesn't tell where it is coming from and it does have
:prelight in the .css file.
I have attached the .css file although I don't know should I change it
from :prelight to :hover or just delete it ?
┌─[shirish@debian] - [~/.config/gtk-3.0] - [2585]
└─[$] cat gtk.css | grep prelight
PanelApplet .button:prelight {
PanelApplet .button:active:prelight {
Trying to find it has some parent is also futile
┌─[shirish@debian] - [~/.config/gtk-3.0] - [2586]
└─[$] dpkg -S ~/.config/gtk-3.0/gtk.css
dpkg-query: no path found matching pattern /home/shirish/.config/gtk-3.0/gtk.css
If it was something that I had done, I usually add a comment/note
about from where I got that file, but this has nothing of that kind.
Look forward to know what to do, just delete it or something else.
--
Regards,
Shirish Agarwal शिरीष अग्रवाल
My quotes in this email licensed under CC 3.0
http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com
EB80 462B 08E1 A0DE A73A 2C2F 9F3D C7A4 E1C4 D2D8
/* Custom styles */
/* select-off
@define-color selected_bg_color #398ee7;
@define-color selected_fg_color #eeeeee;
@define-color theme_selected_bg_color @selected_bg_color;
@define-color theme_selected_fg_color @selected_fg_color;
select-off */
/* panel-on */
@define-color panel_bg_color #000000;
@define-color panel_fg_color #ffffff;
PanelWidget,
PanelApplet,
PanelToplevel,
PanelSeparator,
PanelApplet > GtkMenuBar.menubar,
PanelApplet > GtkMenuBar.menubar.menuitem,
PanelMenuBar.menubar,
PanelMenuBar.menubar.menuitem,
PanelAppletFrame,
UnityPanelWidget,
.gnome-panel-menu-bar,
.unity-panel {
background-image: -gtk-gradient(linear,left top,left bottom,from(shade(@panel_bg_color,1.2)),to(shade(@panel_bg_color,0.8)));
color: @panel_fg_color;
}
.unity-panel.menuitem,
.unity-panel .menuitem {
color: @panel_fg_color;
}
.unity-panel.menubar.menuitem:hover,
.unity-panel.menubar .menuitem *:hover {
border-color: shade(@panel_bg_color, 0.7);
border-image: none;
background-image: -gtk-gradient(linear,left top,left bottom,from(shade(@panel_bg_color, 0.97)),to(shade(@panel_bg_color, 0.82)));
color: @panel_fg_color;
}
PanelApplet .button {
border-color: transparent;
border-image: none;
background-image: -gtk-gradient(linear,left top,left bottom,from(shade(@panel_bg_color,1.2)),to(shade(@panel_bg_color,0.8)));
color: @panel_fg_color;
box-shadow: none;
text-shadow: none;
-unico-inner-stroke-width: 0;
}
PanelApplet .button:active {
border-color: shade(@panel_bg_color,0.8);
border-image: none;
background-image: -gtk-gradient(linear,left top,left bottom,from(shade(shade(@panel_bg_color,1.02),0.9)),to(shade(shade(@panel_bg_color,1.02),0.95)));
color: @panel_fg_color;
box-shadow: none;
text-shadow: none;
-unico-inner-stroke-width: 0;
}
PanelApplet .button:prelight {
border-color: transparent;
border-image: none;
background-image: -gtk-gradient(linear,left top,left bottom,from(shade(@panel_bg_color,1.2)),to(shade(@panel_bg_color,1.0)));
color: @panel_fg_color;
box-shadow: none;
text-shadow: none;
-unico-inner-stroke-width: 0;
}
PanelApplet .button:active:prelight {
border-color: shade(@panel_bg_color,0.8);
border-image: none;
background-image: -gtk-gradient(linear,left top,left bottom,from(shade(shade(@panel_bg_color,1.02),1.0)),to(shade(shade(@panel_bg_color,1.02),1.05)));
color: @panel_fg_color;
box-shadow: none;
text-shadow: none;
-unico-inner-stroke-width: 0;
}
WnckPager,
WnckTasklist {
background-color: @panel_bg_color;
}
/* panel-on */
/* menu-off
@define-color menu_bg_color #fcaf3e;
@define-color menu_fg_color #4e9a06;
GtkTreeMenu.menu,
GtkMenuToolButton.menu,
GtkComboBox .menu {
background-color: @menu_bg_color;
}
.primary-toolbar .button .menu,
.toolbar .menu,
.toolbar .primary-toolbar .menu,
.menu {
border-style: none;
background-image: none;
background-color: @menu_bg_color;
color: @menu_fg_color;
box-shadow: none;
text-shadow: none;
-unico-inner-stroke-width: 0;
}
.menu.button:hover,
.menu.button:active,
.menu.button:active:insensitive,
.menu.button:insensitive,
.menu.button {
background-color: @menu_bg_color;
background-image: none;
}
GtkTreeMenu .menuitem * {
color: @menu_fg_color;
}
.menuitem,
.menu .menuitem {
background-color: transparent;
}
.menu .menuitem:active,
.menu .menuitem:hover {
background-color: @theme_selected_bg_color;
}
.menuitem.check,
.menuitem.radio,
.menuitem.check:hover,
.menuitem.radio:hover,
.menuitem.check:active,
.menuitem.radio:active {
background-color: transparent;
}
.menu .menuitem:insensitive,
.menu .menuitem *:insensitive {
color: mix(@menu_fg_color,@menu_bg_color,0.5);
}
.menuitem.arrow {
color: alpha(@menu_fg_color, 0.6);
}
.menuitem .entry {
border-color: shade(@menu_bg_color,0.7);
border-image: none;
background-color: @menu_bg_color;
background-image: none;
color: @menu_fg_color;
}
.menuitem .accelerator {
color: alpha(@menu_fg_color,0.6);
}
.menuitem .accelerator:insensitive {
color: alpha(mix(@menu_fg_color,@menu_bg_color,0.5),0.6);
text-shadow: none;
}
.menuitem.separator {
background-color: transparent;
color: shade(@menu_bg_color, 0.9);
}
.menuitem GtkCalendar,
.menuitem GtkCalendar.button,
.menuitem GtkCalendar.header,
.menuitem GtkCalendar.view {
border-color: shade(@menu_bg_color,0.8);
border-image: none;
background-color: @menu_bg_color;
background-image: none;
color: @menu_fg_color;
}
.menuitem GtkCalendar:inconsistent {
color: mix(@menu_fg_color,@menu_bg_color,0.5);
}
menu-off */