Skip to content

Commit 111710e

Browse files
committed
gtk (both): three-dimensional buttons for xfce-panel
1 parent 8be31b1 commit 111710e

4 files changed

Lines changed: 44 additions & 40 deletions

File tree

Dark/gtk-3.0/gtk-dark.css

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5060,29 +5060,30 @@ window.csd.unified:not(.solid-csd):not(.fullscreen):not(.tiled):not(.tiled-top):
50605060
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
50615061
}
50625062

5063-
.xfce4-panel widget.tasklist > button.toggle, .mate-panel-menu-bar #tasklist-button {
5064-
background-color: alpha(currentColor,0.1);
5063+
.xfce4-panel widget.tasklist > button.toggle, #whiskermenu-button, .mate-panel-menu-bar #tasklist-button {
5064+
background: linear-gradient(to top, #353535 2px, #3f3f3f);
50655065
}
50665066

50675067
.xfce4-panel widget.tasklist > button.toggle:hover, .mate-panel-menu-bar #tasklist-button:hover, .xfce4-panel widget.tasklist > button.toggle:active, .mate-panel-menu-bar #tasklist-button:active, .xfce4-panel widget.tasklist > button.toggle:checked, .mate-panel-menu-bar #tasklist-button:checked {
50685068
color: white;
50695069
}
50705070

5071-
.xfce4-panel widget.tasklist > button.toggle, .mate-panel-menu-bar #tasklist-button {
5072-
border-color: transparent;
5071+
.xfce4-panel widget.tasklist > button.toggle, #whiskermenu-button, .mate-panel-menu-bar #tasklist-button {
5072+
border: 1px solid #1b1b1b;
50735073
background-clip: padding-box;
5074+
margin-right: 1px;
50745075
}
50755076

5076-
.xfce4-panel widget.tasklist > button.toggle:hover, .mate-panel-menu-bar #tasklist-button:hover {
5077-
background-color: alpha(currentColor,0.15);
5077+
.xfce4-panel widget.tasklist > button.toggle:hover, #whiskermenu-button:hover, .mate-panel-menu-bar #tasklist-button:hover {
5078+
background-image: linear-gradient(to top, #2b2b2b 2px, #353535);
50785079
}
50795080

5080-
.xfce4-panel widget.tasklist > button.toggle:active, .mate-panel-menu-bar #tasklist-button:active {
5081-
background-color: alpha(currentColor,0.25);
5081+
.xfce4-panel widget.tasklist > button.toggle:active, #whiskermenu-button:active, .mate-panel-menu-bar #tasklist-button:active {
5082+
background-image: image(#202020);
50825083
}
50835084

5084-
.xfce4-panel widget.tasklist > button.toggle:checked, .mate-panel-menu-bar #tasklist-button:checked {
5085-
background-color: alpha(currentColor,0.2);
5085+
.xfce4-panel widget.tasklist > button.toggle:checked, #whiskermenu-button:checked, .mate-panel-menu-bar #tasklist-button:checked {
5086+
background-image: image(#202020);
50865087
box-shadow: inset 0 1px rgba(255, 255, 255, 0.05);
50875088
font-weight: 700;
50885089
}

Dark/gtk-3.0/gtk.css

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5060,29 +5060,30 @@ window.csd.unified:not(.solid-csd):not(.fullscreen):not(.tiled):not(.tiled-top):
50605060
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
50615061
}
50625062

5063-
.xfce4-panel widget.tasklist > button.toggle, .mate-panel-menu-bar #tasklist-button {
5064-
background-color: alpha(currentColor,0.1);
5063+
.xfce4-panel widget.tasklist > button.toggle, #whiskermenu-button, .mate-panel-menu-bar #tasklist-button {
5064+
background: linear-gradient(to top, #353535 2px, #3f3f3f);
50655065
}
50665066

50675067
.xfce4-panel widget.tasklist > button.toggle:hover, .mate-panel-menu-bar #tasklist-button:hover, .xfce4-panel widget.tasklist > button.toggle:active, .mate-panel-menu-bar #tasklist-button:active, .xfce4-panel widget.tasklist > button.toggle:checked, .mate-panel-menu-bar #tasklist-button:checked {
50685068
color: white;
50695069
}
50705070

5071-
.xfce4-panel widget.tasklist > button.toggle, .mate-panel-menu-bar #tasklist-button {
5072-
border-color: transparent;
5071+
.xfce4-panel widget.tasklist > button.toggle, #whiskermenu-button, .mate-panel-menu-bar #tasklist-button {
5072+
border: 1px solid #1b1b1b;
50735073
background-clip: padding-box;
5074+
margin-right: 1px;
50745075
}
50755076

5076-
.xfce4-panel widget.tasklist > button.toggle:hover, .mate-panel-menu-bar #tasklist-button:hover {
5077-
background-color: alpha(currentColor,0.15);
5077+
.xfce4-panel widget.tasklist > button.toggle:hover, #whiskermenu-button:hover, .mate-panel-menu-bar #tasklist-button:hover {
5078+
background-image: linear-gradient(to top, #2b2b2b 2px, #353535);
50785079
}
50795080

5080-
.xfce4-panel widget.tasklist > button.toggle:active, .mate-panel-menu-bar #tasklist-button:active {
5081-
background-color: alpha(currentColor,0.25);
5081+
.xfce4-panel widget.tasklist > button.toggle:active, #whiskermenu-button:active, .mate-panel-menu-bar #tasklist-button:active {
5082+
background-image: image(#202020);
50825083
}
50835084

5084-
.xfce4-panel widget.tasklist > button.toggle:checked, .mate-panel-menu-bar #tasklist-button:checked {
5085-
background-color: alpha(currentColor,0.2);
5085+
.xfce4-panel widget.tasklist > button.toggle:checked, #whiskermenu-button:checked, .mate-panel-menu-bar #tasklist-button:checked {
5086+
background-image: image(#202020);
50865087
box-shadow: inset 0 1px rgba(255, 255, 255, 0.05);
50875088
font-weight: 700;
50885089
}

White/gtk-3.0/gtk-dark.css

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5060,29 +5060,30 @@ window.csd.unified:not(.solid-csd):not(.fullscreen):not(.tiled):not(.tiled-top):
50605060
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
50615061
}
50625062

5063-
.xfce4-panel widget.tasklist > button.toggle, .mate-panel-menu-bar #tasklist-button {
5064-
background-color: alpha(currentColor,0.1);
5063+
.xfce4-panel widget.tasklist > button.toggle, #whiskermenu-button, .mate-panel-menu-bar #tasklist-button {
5064+
background: linear-gradient(to top, #353535 2px, #3f3f3f);
50655065
}
50665066

50675067
.xfce4-panel widget.tasklist > button.toggle:hover, .mate-panel-menu-bar #tasklist-button:hover, .xfce4-panel widget.tasklist > button.toggle:active, .mate-panel-menu-bar #tasklist-button:active, .xfce4-panel widget.tasklist > button.toggle:checked, .mate-panel-menu-bar #tasklist-button:checked {
50685068
color: white;
50695069
}
50705070

5071-
.xfce4-panel widget.tasklist > button.toggle, .mate-panel-menu-bar #tasklist-button {
5072-
border-color: transparent;
5071+
.xfce4-panel widget.tasklist > button.toggle, #whiskermenu-button, .mate-panel-menu-bar #tasklist-button {
5072+
border: 1px solid #1b1b1b;
50735073
background-clip: padding-box;
5074+
margin-right: 1px;
50745075
}
50755076

5076-
.xfce4-panel widget.tasklist > button.toggle:hover, .mate-panel-menu-bar #tasklist-button:hover {
5077-
background-color: alpha(currentColor,0.15);
5077+
.xfce4-panel widget.tasklist > button.toggle:hover, #whiskermenu-button:hover, .mate-panel-menu-bar #tasklist-button:hover {
5078+
background-image: linear-gradient(to top, #2b2b2b 2px, #353535);
50785079
}
50795080

5080-
.xfce4-panel widget.tasklist > button.toggle:active, .mate-panel-menu-bar #tasklist-button:active {
5081-
background-color: alpha(currentColor,0.25);
5081+
.xfce4-panel widget.tasklist > button.toggle:active, #whiskermenu-button:active, .mate-panel-menu-bar #tasklist-button:active {
5082+
background-image: image(#202020);
50825083
}
50835084

5084-
.xfce4-panel widget.tasklist > button.toggle:checked, .mate-panel-menu-bar #tasklist-button:checked {
5085-
background-color: alpha(currentColor,0.2);
5085+
.xfce4-panel widget.tasklist > button.toggle:checked, #whiskermenu-button:checked, .mate-panel-menu-bar #tasklist-button:checked {
5086+
background-image: image(#202020);
50865087
box-shadow: inset 0 1px rgba(255, 255, 255, 0.05);
50875088
font-weight: 700;
50885089
}

White/gtk-3.0/gtk.css

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5068,29 +5068,30 @@ window.csd.unified:not(.solid-csd):not(.fullscreen):not(.tiled):not(.tiled-top):
50685068
border-radius: 8px;
50695069
}
50705070

5071-
.xfce4-panel widget.tasklist > button.toggle, .mate-panel-menu-bar #tasklist-button {
5072-
background-color: alpha(currentColor,0.1);
5071+
.xfce4-panel widget.tasklist > button.toggle, #whiskermenu-button, .mate-panel-menu-bar #tasklist-button {
5072+
background: linear-gradient(to top, #353535 2px, #3f3f3f);
50735073
}
50745074

50755075
.xfce4-panel widget.tasklist > button.toggle:hover, .mate-panel-menu-bar #tasklist-button:hover, .xfce4-panel widget.tasklist > button.toggle:active, .mate-panel-menu-bar #tasklist-button:active, .xfce4-panel widget.tasklist > button.toggle:checked, .mate-panel-menu-bar #tasklist-button:checked {
50765076
color: white;
50775077
}
50785078

5079-
.xfce4-panel widget.tasklist > button.toggle, .mate-panel-menu-bar #tasklist-button {
5080-
border-color: transparent;
5079+
.xfce4-panel widget.tasklist > button.toggle, #whiskermenu-button, .mate-panel-menu-bar #tasklist-button {
5080+
border: 1px solid #1b1b1b;
50815081
background-clip: padding-box;
5082+
margin-right: 1px;
50825083
}
50835084

5084-
.xfce4-panel widget.tasklist > button.toggle:hover, .mate-panel-menu-bar #tasklist-button:hover {
5085-
background-color: alpha(currentColor,0.15);
5085+
.xfce4-panel widget.tasklist > button.toggle:hover, #whiskermenu-button:hover, .mate-panel-menu-bar #tasklist-button:hover {
5086+
background-image: linear-gradient(to top, #2b2b2b 2px, #353535);
50865087
}
50875088

5088-
.xfce4-panel widget.tasklist > button.toggle:active, .mate-panel-menu-bar #tasklist-button:active {
5089-
background-color: alpha(currentColor,0.25);
5089+
.xfce4-panel widget.tasklist > button.toggle:active, #whiskermenu-button:active, .mate-panel-menu-bar #tasklist-button:active {
5090+
background-image: image(#202020);
50905091
}
50915092

5092-
.xfce4-panel widget.tasklist > button.toggle:checked, .mate-panel-menu-bar #tasklist-button:checked {
5093-
background-color: alpha(currentColor,0.2);
5093+
.xfce4-panel widget.tasklist > button.toggle:checked, #whiskermenu-button:checked, .mate-panel-menu-bar #tasklist-button:checked {
5094+
background-image: image(#202020);
50945095
box-shadow: inset 0 1px rgba(255, 255, 255, 0.05);
50955096
font-weight: 700;
50965097
}

0 commit comments

Comments
 (0)