From 17487394090d351f4ee37354f80cb091ffb96340 Mon Sep 17 00:00:00 2001 From: EliverLara Date: Wed, 5 Jun 2019 11:16:07 -0500 Subject: [PATCH] Fix budgie workspace switcher --- gtk-3.0/apps/_budgie.scss | 57 +++++++++++++++++++++++++++++++++++++++ gtk-3.0/gtk-dark.css | 54 +++++++++++++++++++++++++++++++++++++ gtk-3.0/gtk.css | 54 +++++++++++++++++++++++++++++++++++++ 3 files changed, 165 insertions(+) diff --git a/gtk-3.0/apps/_budgie.scss b/gtk-3.0/apps/_budgie.scss index 4922a28..32fd2c1 100755 --- a/gtk-3.0/apps/_budgie.scss +++ b/gtk-3.0/apps/_budgie.scss @@ -948,4 +948,61 @@ window.background.budgie-settings-window.csd { buttonbox.inline-toolbar { border-style: none none solid; } } +} + +.workspace-switcher { + + .workspace-layout { + border: 0 solid $panel_bg; + + .top &, + .bottom & { + &:dir(ltr) { border-left-width: 1px; } + + &:dir(rtl) { border-right-width: 1px; } + } + + .left &, + .right & { border-top-width: 1px; } + } + + .workspace-item, + .workspace-add-button { + border: 0 solid lighten($panel_bg, 10%); + + .top &, + .bottom & { + &:dir(ltr) { border-right-width: 1px; } + + &:dir(rtl) { border-left-width: 1px; } + } + + .left &, + .right & { border-bottom-width: 1px; } + } + + .workspace-item { + + &.current-workspace { background-color: lighten($panel_bg, 10%); } + } + + .workspace-add-button { + border: none; + background: transparent; + box-shadow: none; + &:hover { box-shadow: none; } + + &:active { background-image: none; } + + &:active image { margin: 1px 0 -1px; } + } + + .workspace-icon-button { + .budgie-panel & { // to overwrite the .budgie-panel button style below + min-height: 24px; + min-width: 24px; + padding: 0; + border-radius: 2px; + } + } } \ No newline at end of file diff --git a/gtk-3.0/gtk-dark.css b/gtk-3.0/gtk-dark.css index 43d463a..64c1dda 100755 --- a/gtk-3.0/gtk-dark.css +++ b/gtk-3.0/gtk-dark.css @@ -5524,6 +5524,60 @@ calendar.raven-calendar { window.background.budgie-settings-window.csd > box.horizontal > stack > scrolledwindow buttonbox.inline-toolbar { border-style: none none solid; } +.workspace-switcher .workspace-layout { + border: 0 solid rgba(0, 0, 0, 0.95); } + .top .workspace-switcher .workspace-layout:dir(ltr), + .bottom .workspace-switcher .workspace-layout:dir(ltr) { + border-left-width: 1px; } + .top .workspace-switcher .workspace-layout:dir(rtl), + .bottom .workspace-switcher .workspace-layout:dir(rtl) { + border-right-width: 1px; } + .left .workspace-switcher .workspace-layout, + .right .workspace-switcher .workspace-layout { + border-top-width: 1px; } + +.workspace-switcher .workspace-item, +.workspace-switcher .workspace-add-button { + border: 0 solid rgba(26, 26, 26, 0.95); } + .top .workspace-switcher .workspace-item:dir(ltr), + .bottom .workspace-switcher .workspace-item:dir(ltr), .top + .workspace-switcher .workspace-add-button:dir(ltr), + .bottom + .workspace-switcher .workspace-add-button:dir(ltr) { + border-right-width: 1px; } + .top .workspace-switcher .workspace-item:dir(rtl), + .bottom .workspace-switcher .workspace-item:dir(rtl), .top + .workspace-switcher .workspace-add-button:dir(rtl), + .bottom + .workspace-switcher .workspace-add-button:dir(rtl) { + border-left-width: 1px; } + .left .workspace-switcher .workspace-item, + .right .workspace-switcher .workspace-item, .left + .workspace-switcher .workspace-add-button, + .right + .workspace-switcher .workspace-add-button { + border-bottom-width: 1px; } + +.workspace-switcher .workspace-item.current-workspace { + background-color: rgba(26, 26, 26, 0.95); } + +.workspace-switcher .workspace-add-button { + border: none; + background: transparent; + box-shadow: none; } + .workspace-switcher .workspace-add-button:hover { + box-shadow: none; } + .workspace-switcher .workspace-add-button:active { + background-image: none; } + .workspace-switcher .workspace-add-button:active image { + margin: 1px 0 -1px; } + +.budgie-panel .workspace-switcher .workspace-icon-button { + min-height: 24px; + min-width: 24px; + padding: 0; + border-radius: 2px; } + /************ * Nautilus * ************/ diff --git a/gtk-3.0/gtk.css b/gtk-3.0/gtk.css index 3cd337b..7637b5c 100755 --- a/gtk-3.0/gtk.css +++ b/gtk-3.0/gtk.css @@ -5549,6 +5549,60 @@ calendar.raven-calendar { window.background.budgie-settings-window.csd > box.horizontal > stack > scrolledwindow buttonbox.inline-toolbar { border-style: none none solid; } +.workspace-switcher .workspace-layout { + border: 0 solid rgba(0, 0, 0, 0.95); } + .top .workspace-switcher .workspace-layout:dir(ltr), + .bottom .workspace-switcher .workspace-layout:dir(ltr) { + border-left-width: 1px; } + .top .workspace-switcher .workspace-layout:dir(rtl), + .bottom .workspace-switcher .workspace-layout:dir(rtl) { + border-right-width: 1px; } + .left .workspace-switcher .workspace-layout, + .right .workspace-switcher .workspace-layout { + border-top-width: 1px; } + +.workspace-switcher .workspace-item, +.workspace-switcher .workspace-add-button { + border: 0 solid rgba(26, 26, 26, 0.95); } + .top .workspace-switcher .workspace-item:dir(ltr), + .bottom .workspace-switcher .workspace-item:dir(ltr), .top + .workspace-switcher .workspace-add-button:dir(ltr), + .bottom + .workspace-switcher .workspace-add-button:dir(ltr) { + border-right-width: 1px; } + .top .workspace-switcher .workspace-item:dir(rtl), + .bottom .workspace-switcher .workspace-item:dir(rtl), .top + .workspace-switcher .workspace-add-button:dir(rtl), + .bottom + .workspace-switcher .workspace-add-button:dir(rtl) { + border-left-width: 1px; } + .left .workspace-switcher .workspace-item, + .right .workspace-switcher .workspace-item, .left + .workspace-switcher .workspace-add-button, + .right + .workspace-switcher .workspace-add-button { + border-bottom-width: 1px; } + +.workspace-switcher .workspace-item.current-workspace { + background-color: rgba(26, 26, 26, 0.95); } + +.workspace-switcher .workspace-add-button { + border: none; + background: transparent; + box-shadow: none; } + .workspace-switcher .workspace-add-button:hover { + box-shadow: none; } + .workspace-switcher .workspace-add-button:active { + background-image: none; } + .workspace-switcher .workspace-add-button:active image { + margin: 1px 0 -1px; } + +.budgie-panel .workspace-switcher .workspace-icon-button { + min-height: 24px; + min-width: 24px; + padding: 0; + border-radius: 2px; } + /************ * Nautilus * ************/