From 22ddbde394df3a7372c2883369b874a8e1f73d6c Mon Sep 17 00:00:00 2001 From: Alex Date: Fri, 28 Jun 2019 13:41:53 +0200 Subject: [PATCH] style(workspaces): update hover style --- resources/style.css | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/resources/style.css b/resources/style.css index ad657363..b9d3aa5e 100644 --- a/resources/style.css +++ b/resources/style.css @@ -36,7 +36,6 @@ window#waybar.chromium { border: none; } -/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */ #workspaces button { padding: 0 5px; background-color: transparent; @@ -44,6 +43,13 @@ window#waybar.chromium { border-bottom: 3px solid transparent; } +/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */ +#workspaces button:hover { + background: rgba(0, 0, 0, 0.2); + box-shadow: inherit; + border-bottom: 3px solid #ffffff; +} + #workspaces button.focused { background-color: #64727D; border-bottom: 3px solid #ffffff;