Patch update
This includes a few modifications to the XFCE panelbar to adjust symbolic icon colour states when interacted in any way. This is in response to PR #73 since it did not address switching the colour state from a dark icon to a bright icon when interacted, which would make it difficult to see.
This commit is contained in:
parent
ae8f5a650e
commit
2249a4b24d
|
@ -31,7 +31,7 @@ XfceHeading {
|
|||
margin: 2px;
|
||||
border-radius: 0;
|
||||
border: 1px solid transparent;
|
||||
color: @panel_fg_color;
|
||||
color: @panel_fg_color_bright;
|
||||
background-color: @selected_bg_color;
|
||||
box-shadow: 0 0 0;
|
||||
}
|
||||
|
@ -45,7 +45,8 @@ XfceHeading {
|
|||
border-left: 1px solid #000000;
|
||||
border-right: 1px solid #FFF;
|
||||
box-shadow: inset 1px 1px #808080;
|
||||
background-color: #c0c0c0;
|
||||
color: @panel_fg_color_bright;
|
||||
background-color: @selected_bg_color;
|
||||
}
|
||||
|
||||
.xfce4-panel menu {
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
@define-color bg_color #c0c0c0;
|
||||
@define-color fg_color #000000;
|
||||
@define-color panel_fg_color #000000;
|
||||
@define-color panel_fg_color_bright #ffffff;
|
||||
@define-color base_color #ffffff;
|
||||
@define-color text_color #000000;
|
||||
@define-color selected_bg_color #000080;
|
||||
|
|
|
@ -15,8 +15,10 @@ XfdesktopIconView.view {
|
|||
border-radius: 0px; }
|
||||
|
||||
/* Panel buttons */
|
||||
.xfce4-panel > widget > frame,
|
||||
.xfce4-panel .flat:not(.toggle),
|
||||
/* Note: The ".xfce4-panel > widget > frame" and ".xfce4-panel .flat:not(.toggle)" CSS classes are specified in this manner due to the volatility in the naming of CSS IDs presented by the XFCE panelbar.*/
|
||||
.xfce4-panel > widget > frame, /* affects the frame of the notification area plugin for GTK2 notifications. */
|
||||
.xfce4-panel .flat:not(.toggle), /* affects the launcher buttons as well and the status notifier plugin. */
|
||||
#sn-button, /* Specifying this class is redundant due to ".xfce4-panel .flat:not(.toggle)" but included for consistency. */
|
||||
#xfce4-notification-plugin,
|
||||
#pulseaudio-button,
|
||||
#xfce4-power-manager-plugin {
|
||||
|
@ -24,14 +26,26 @@ XfdesktopIconView.view {
|
|||
border: transparent;
|
||||
/*box-shadow: inset 0px 1px white;*/
|
||||
box-shadow: none;
|
||||
color: @panel_fg_color;
|
||||
background-color: transparent; }
|
||||
.xfce4-panel .flat:not(.toggle):hover,
|
||||
.xfce4-panel .flat:not(.toggle):active,
|
||||
.xfce4-panel .flat:not(.toggle):checked,
|
||||
#sn-button:hover,
|
||||
#sn-button:active,
|
||||
#sn-button:checked,
|
||||
#xfce4-notification-plugin:hover,
|
||||
#xfce4-notification-plugin:active,
|
||||
#xfce4-notification-plugin:checked,
|
||||
#pulseaudio-button:hover,
|
||||
#xfce4-power-manager-plugin:hover {
|
||||
color: @selected_fg_color;
|
||||
#pulseaudio-button:active,
|
||||
#pulseaudio-button:checked,
|
||||
#xfce4-power-manager-plugin:hover,
|
||||
#xfce4-power-manager-plugin:active,
|
||||
#xfce4-power-manager-plugin:checked {
|
||||
border: transparent;
|
||||
box-shadow: none;
|
||||
color: @panel_fg_color_bright;
|
||||
background-color: @selected_bg_color; }
|
||||
|
||||
#clock-button {
|
||||
|
|
|
@ -10,6 +10,8 @@
|
|||
/* default color scheme */
|
||||
@define-color bg_color #c0c0c0;
|
||||
@define-color fg_color #000000;
|
||||
@define-color panel_fg_color #000000;
|
||||
@define-color panel_fg_color_bright #ffffff;
|
||||
@define-color base_color #ffffff;
|
||||
@define-color text_color #000000;
|
||||
@define-color selected_bg_color #000080;
|
||||
|
|
Loading…
Reference in New Issue