From d3c057375a87e0785901e38bc82ca0daf0d56435 Mon Sep 17 00:00:00 2001 From: Horst3180 Date: Sun, 31 Jan 2016 00:40:07 +0100 Subject: gnome-shell: don't use border-images for the dash (#329) --- .../3.14/common-assets/dash/dash-bottom.svg | 77 --------------------- .../common-assets/dash/dash-extended-bottom.svg | 80 ---------------------- .../3.14/common-assets/dash/dash-extended-left.svg | 76 -------------------- .../common-assets/dash/dash-extended-right.svg | 80 ---------------------- .../3.14/common-assets/dash/dash-extended-top.svg | 80 ---------------------- .../3.14/common-assets/dash/dash-top.svg | 77 --------------------- common/gnome-shell/3.14/gnome-shell-dark.css | 21 ++---- common/gnome-shell/3.14/gnome-shell.css | 21 ++---- common/gnome-shell/3.14/sass/_common.scss | 13 +--- .../3.16/common-assets/dash/dash-bottom.svg | 77 --------------------- .../common-assets/dash/dash-extended-bottom.svg | 80 ---------------------- .../3.16/common-assets/dash/dash-extended-left.svg | 76 -------------------- .../common-assets/dash/dash-extended-right.svg | 80 ---------------------- .../3.16/common-assets/dash/dash-extended-top.svg | 80 ---------------------- .../3.16/common-assets/dash/dash-top.svg | 77 --------------------- common/gnome-shell/3.16/gnome-shell-dark.css | 25 +++---- common/gnome-shell/3.16/gnome-shell.css | 25 +++---- common/gnome-shell/3.16/sass/_common.scss | 17 ++--- .../3.18/common-assets/dash/dash-bottom.svg | 77 --------------------- .../common-assets/dash/dash-extended-bottom.svg | 80 ---------------------- .../3.18/common-assets/dash/dash-extended-left.svg | 76 -------------------- .../common-assets/dash/dash-extended-right.svg | 80 ---------------------- .../3.18/common-assets/dash/dash-extended-top.svg | 80 ---------------------- .../3.18/common-assets/dash/dash-top.svg | 77 --------------------- common/gnome-shell/3.18/gnome-shell-dark.css | 25 +++---- common/gnome-shell/3.18/gnome-shell.css | 25 +++---- common/gnome-shell/3.18/sass/_common.scss | 17 ++--- 27 files changed, 54 insertions(+), 1545 deletions(-) delete mode 100644 common/gnome-shell/3.14/common-assets/dash/dash-bottom.svg delete mode 100644 common/gnome-shell/3.14/common-assets/dash/dash-extended-bottom.svg delete mode 100644 common/gnome-shell/3.14/common-assets/dash/dash-extended-left.svg delete mode 100644 common/gnome-shell/3.14/common-assets/dash/dash-extended-right.svg delete mode 100644 common/gnome-shell/3.14/common-assets/dash/dash-extended-top.svg delete mode 100644 common/gnome-shell/3.14/common-assets/dash/dash-top.svg delete mode 100644 common/gnome-shell/3.16/common-assets/dash/dash-bottom.svg delete mode 100644 common/gnome-shell/3.16/common-assets/dash/dash-extended-bottom.svg delete mode 100644 common/gnome-shell/3.16/common-assets/dash/dash-extended-left.svg delete mode 100644 common/gnome-shell/3.16/common-assets/dash/dash-extended-right.svg delete mode 100644 common/gnome-shell/3.16/common-assets/dash/dash-extended-top.svg delete mode 100644 common/gnome-shell/3.16/common-assets/dash/dash-top.svg delete mode 100644 common/gnome-shell/3.18/common-assets/dash/dash-bottom.svg delete mode 100644 common/gnome-shell/3.18/common-assets/dash/dash-extended-bottom.svg delete mode 100644 common/gnome-shell/3.18/common-assets/dash/dash-extended-left.svg delete mode 100644 common/gnome-shell/3.18/common-assets/dash/dash-extended-right.svg delete mode 100644 common/gnome-shell/3.18/common-assets/dash/dash-extended-top.svg delete mode 100644 common/gnome-shell/3.18/common-assets/dash/dash-top.svg (limited to 'common/gnome-shell') diff --git a/common/gnome-shell/3.14/common-assets/dash/dash-bottom.svg b/common/gnome-shell/3.14/common-assets/dash/dash-bottom.svg deleted file mode 100644 index ad2de78..0000000 --- a/common/gnome-shell/3.14/common-assets/dash/dash-bottom.svg +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - diff --git a/common/gnome-shell/3.14/common-assets/dash/dash-extended-bottom.svg b/common/gnome-shell/3.14/common-assets/dash/dash-extended-bottom.svg deleted file mode 100644 index 6d0c2d2..0000000 --- a/common/gnome-shell/3.14/common-assets/dash/dash-extended-bottom.svg +++ /dev/null @@ -1,80 +0,0 @@ - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - diff --git a/common/gnome-shell/3.14/common-assets/dash/dash-extended-left.svg b/common/gnome-shell/3.14/common-assets/dash/dash-extended-left.svg deleted file mode 100644 index c666279..0000000 --- a/common/gnome-shell/3.14/common-assets/dash/dash-extended-left.svg +++ /dev/null @@ -1,76 +0,0 @@ - - - - - - - - - - - - image/svg+xml - - - - - - - - - - diff --git a/common/gnome-shell/3.14/common-assets/dash/dash-extended-right.svg b/common/gnome-shell/3.14/common-assets/dash/dash-extended-right.svg deleted file mode 100644 index 72a0403..0000000 --- a/common/gnome-shell/3.14/common-assets/dash/dash-extended-right.svg +++ /dev/null @@ -1,80 +0,0 @@ - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - diff --git a/common/gnome-shell/3.14/common-assets/dash/dash-extended-top.svg b/common/gnome-shell/3.14/common-assets/dash/dash-extended-top.svg deleted file mode 100644 index a501da7..0000000 --- a/common/gnome-shell/3.14/common-assets/dash/dash-extended-top.svg +++ /dev/null @@ -1,80 +0,0 @@ - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - diff --git a/common/gnome-shell/3.14/common-assets/dash/dash-top.svg b/common/gnome-shell/3.14/common-assets/dash/dash-top.svg deleted file mode 100644 index 5f52736..0000000 --- a/common/gnome-shell/3.14/common-assets/dash/dash-top.svg +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - diff --git a/common/gnome-shell/3.14/gnome-shell-dark.css b/common/gnome-shell/3.14/gnome-shell-dark.css index 0122d4c..0d65df4 100644 --- a/common/gnome-shell/3.14/gnome-shell-dark.css +++ b/common/gnome-shell/3.14/gnome-shell-dark.css @@ -1115,24 +1115,15 @@ StScrollBar { background-color: transparent; border: none; padding: 3px 0px 3px 0px; - border-image: url("common-assets/dash/dash-left.svg") 3 3 3 3; } - .extended.left #dash { - border-image: url("common-assets/dash/dash-extended-left.svg") 3 3 3 3; } + border-radius: 0 3px 3px 0; } + #dash:rtl { + border-radius: 3px 0 0 3px; } .right #dash, #dash:rtl { - padding: 3px 0px 3px 0px; - border-image: url("common-assets/dash/dash-right.svg") 3 3 3 3; } - .extended.right #dash { - border-image: url("common-assets/dash/dash-extended-right.svg") 3 3 3 3; } + padding: 3px 0px 3px 0px; } .bottom #dash { - padding: 0px 3px 0px 3px; - border-image: url("common-assets/dash/dash-bottom.svg") 3 3 3 3; } - .extended.bottom #dash { - border-image: url("common-assets/dash/dash-extended-bottom.svg") 3 3 3 3; } + padding: 0px 3px 0px 3px; } .top #dash { - padding: 0px 3px 0px 3px; - border-image: url("common-assets/dash/dash-top.svg") 3 3 3 3; } - .extended.top #dash { - border-image: url("common-assets/dash/dash-extended-top.svg") 3 3 3 3; } + padding: 0px 3px 0px 3px; } #dash .placeholder { background-image: url("common-assets/dash/dash-placeholder.svg"); background-size: contain; diff --git a/common/gnome-shell/3.14/gnome-shell.css b/common/gnome-shell/3.14/gnome-shell.css index 04f74a5..6569f68 100644 --- a/common/gnome-shell/3.14/gnome-shell.css +++ b/common/gnome-shell/3.14/gnome-shell.css @@ -1115,24 +1115,15 @@ StScrollBar { background-color: transparent; border: none; padding: 3px 0px 3px 0px; - border-image: url("common-assets/dash/dash-left.svg") 3 3 3 3; } - .extended.left #dash { - border-image: url("common-assets/dash/dash-extended-left.svg") 3 3 3 3; } + border-radius: 0 3px 3px 0; } + #dash:rtl { + border-radius: 3px 0 0 3px; } .right #dash, #dash:rtl { - padding: 3px 0px 3px 0px; - border-image: url("common-assets/dash/dash-right.svg") 3 3 3 3; } - .extended.right #dash { - border-image: url("common-assets/dash/dash-extended-right.svg") 3 3 3 3; } + padding: 3px 0px 3px 0px; } .bottom #dash { - padding: 0px 3px 0px 3px; - border-image: url("common-assets/dash/dash-bottom.svg") 3 3 3 3; } - .extended.bottom #dash { - border-image: url("common-assets/dash/dash-extended-bottom.svg") 3 3 3 3; } + padding: 0px 3px 0px 3px; } .top #dash { - padding: 0px 3px 0px 3px; - border-image: url("common-assets/dash/dash-top.svg") 3 3 3 3; } - .extended.top #dash { - border-image: url("common-assets/dash/dash-extended-top.svg") 3 3 3 3; } + padding: 0px 3px 0px 3px; } #dash .placeholder { background-image: url("common-assets/dash/dash-placeholder.svg"); background-size: contain; diff --git a/common/gnome-shell/3.14/sass/_common.scss b/common/gnome-shell/3.14/sass/_common.scss index 14556b6..f793991 100644 --- a/common/gnome-shell/3.14/sass/_common.scss +++ b/common/gnome-shell/3.14/sass/_common.scss @@ -1404,29 +1404,20 @@ StScrollBar { background-color: transparent; border: none; padding: 3px 0px 3px 0px; - border-image: url('common-assets/dash/dash-left.svg') 3 3 3 3; + border-radius: 0 3px 3px 0; - .extended.left & { border-image: url('common-assets/dash/dash-extended-left.svg') 3 3 3 3; } + &:rtl { border-radius: 3px 0 0 3px; } .right &, &:rtl { padding: 3px 0px 3px 0px; - border-image: url('common-assets/dash/dash-right.svg') 3 3 3 3; } - .extended.right & { border-image: url('common-assets/dash/dash-extended-right.svg') 3 3 3 3; } - .bottom & { padding: 0px 3px 0px 3px; - border-image: url('common-assets/dash/dash-bottom.svg') 3 3 3 3; } - .extended.bottom & { border-image: url('common-assets/dash/dash-extended-bottom.svg') 3 3 3 3; } - .top & { padding: 0px 3px 0px 3px; - border-image: url('common-assets/dash/dash-top.svg') 3 3 3 3; } - .extended.top & { border-image: url('common-assets/dash/dash-extended-top.svg') 3 3 3 3; } - .placeholder { background-image: url("common-assets/dash/dash-placeholder.svg"); background-size: contain; diff --git a/common/gnome-shell/3.16/common-assets/dash/dash-bottom.svg b/common/gnome-shell/3.16/common-assets/dash/dash-bottom.svg deleted file mode 100644 index ad2de78..0000000 --- a/common/gnome-shell/3.16/common-assets/dash/dash-bottom.svg +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - diff --git a/common/gnome-shell/3.16/common-assets/dash/dash-extended-bottom.svg b/common/gnome-shell/3.16/common-assets/dash/dash-extended-bottom.svg deleted file mode 100644 index 6d0c2d2..0000000 --- a/common/gnome-shell/3.16/common-assets/dash/dash-extended-bottom.svg +++ /dev/null @@ -1,80 +0,0 @@ - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - diff --git a/common/gnome-shell/3.16/common-assets/dash/dash-extended-left.svg b/common/gnome-shell/3.16/common-assets/dash/dash-extended-left.svg deleted file mode 100644 index c666279..0000000 --- a/common/gnome-shell/3.16/common-assets/dash/dash-extended-left.svg +++ /dev/null @@ -1,76 +0,0 @@ - - - - - - - - - - - - image/svg+xml - - - - - - - - - - diff --git a/common/gnome-shell/3.16/common-assets/dash/dash-extended-right.svg b/common/gnome-shell/3.16/common-assets/dash/dash-extended-right.svg deleted file mode 100644 index 72a0403..0000000 --- a/common/gnome-shell/3.16/common-assets/dash/dash-extended-right.svg +++ /dev/null @@ -1,80 +0,0 @@ - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - diff --git a/common/gnome-shell/3.16/common-assets/dash/dash-extended-top.svg b/common/gnome-shell/3.16/common-assets/dash/dash-extended-top.svg deleted file mode 100644 index a501da7..0000000 --- a/common/gnome-shell/3.16/common-assets/dash/dash-extended-top.svg +++ /dev/null @@ -1,80 +0,0 @@ - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - diff --git a/common/gnome-shell/3.16/common-assets/dash/dash-top.svg b/common/gnome-shell/3.16/common-assets/dash/dash-top.svg deleted file mode 100644 index 5f52736..0000000 --- a/common/gnome-shell/3.16/common-assets/dash/dash-top.svg +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - diff --git a/common/gnome-shell/3.16/gnome-shell-dark.css b/common/gnome-shell/3.16/gnome-shell-dark.css index 0c06e72..2f25bc3 100644 --- a/common/gnome-shell/3.16/gnome-shell-dark.css +++ b/common/gnome-shell/3.16/gnome-shell-dark.css @@ -1107,27 +1107,18 @@ StScrollBar { #dash { font-size: 1em; color: #BAC3CF; - background-color: transparent; - border: none; + background-color: rgba(53, 57, 69, 0.95); + border-color: rgba(0, 0, 0, 0.4); padding: 6px 1px 6px 0px; - border-image: url("common-assets/dash/dash-left.svg") 3 3 3 3; } - .extended.left #dash { - border-image: url("common-assets/dash/dash-extended-left.svg") 3 3 3 3; } + border-radius: 0 3px 3px 0; } + #dash:rtl { + border-radius: 3px 0 0 3px; } .right #dash, #dash:rtl { - padding: 6px 0px 6px 1px; - border-image: url("common-assets/dash/dash-right.svg") 3 3 3 3; } - .extended.right #dash { - border-image: url("common-assets/dash/dash-extended-right.svg") 3 3 3 3; } + padding: 6px 0px 6px 1px; } .bottom #dash { - padding: 1px 6px 0px 6px; - border-image: url("common-assets/dash/dash-bottom.svg") 3 3 3 3; } - .extended.bottom #dash { - border-image: url("common-assets/dash/dash-extended-bottom.svg") 3 3 3 3; } + padding: 1px 6px 0px 6px; } .top #dash { - padding: 0px 6px 1px 6px; - border-image: url("common-assets/dash/dash-top.svg") 3 3 3 3; } - .extended.top #dash { - border-image: url("common-assets/dash/dash-extended-top.svg") 3 3 3 3; } + padding: 0px 6px 1px 6px; } #dash .placeholder { background-image: url("common-assets/dash/dash-placeholder.svg"); background-size: contain; diff --git a/common/gnome-shell/3.16/gnome-shell.css b/common/gnome-shell/3.16/gnome-shell.css index e83fc85..bee5896 100644 --- a/common/gnome-shell/3.16/gnome-shell.css +++ b/common/gnome-shell/3.16/gnome-shell.css @@ -1107,27 +1107,18 @@ StScrollBar { #dash { font-size: 1em; color: #BAC3CF; - background-color: transparent; - border: none; + background-color: rgba(53, 57, 69, 0.95); + border-color: rgba(0, 0, 0, 0.4); padding: 6px 1px 6px 0px; - border-image: url("common-assets/dash/dash-left.svg") 3 3 3 3; } - .extended.left #dash { - border-image: url("common-assets/dash/dash-extended-left.svg") 3 3 3 3; } + border-radius: 0 3px 3px 0; } + #dash:rtl { + border-radius: 3px 0 0 3px; } .right #dash, #dash:rtl { - padding: 6px 0px 6px 1px; - border-image: url("common-assets/dash/dash-right.svg") 3 3 3 3; } - .extended.right #dash { - border-image: url("common-assets/dash/dash-extended-right.svg") 3 3 3 3; } + padding: 6px 0px 6px 1px; } .bottom #dash { - padding: 1px 6px 0px 6px; - border-image: url("common-assets/dash/dash-bottom.svg") 3 3 3 3; } - .extended.bottom #dash { - border-image: url("common-assets/dash/dash-extended-bottom.svg") 3 3 3 3; } + padding: 1px 6px 0px 6px; } .top #dash { - padding: 0px 6px 1px 6px; - border-image: url("common-assets/dash/dash-top.svg") 3 3 3 3; } - .extended.top #dash { - border-image: url("common-assets/dash/dash-extended-top.svg") 3 3 3 3; } + padding: 0px 6px 1px 6px; } #dash .placeholder { background-image: url("common-assets/dash/dash-placeholder.svg"); background-size: contain; diff --git a/common/gnome-shell/3.16/sass/_common.scss b/common/gnome-shell/3.16/sass/_common.scss index 492dcfe..4216cce 100644 --- a/common/gnome-shell/3.16/sass/_common.scss +++ b/common/gnome-shell/3.16/sass/_common.scss @@ -1405,32 +1405,23 @@ StScrollBar { #dash { font-size: 1em; color: $osd_fg_color; - background-color: transparent; - border: none; + background-color: $dark_sidebar_bg; + border-color: rgba(0,0,0,0.4); padding: 6px 1px 6px 0px; - border-image: url('common-assets/dash/dash-left.svg') 3 3 3 3; + border-radius: 0 3px 3px 0; - .extended.left & { border-image: url('common-assets/dash/dash-extended-left.svg') 3 3 3 3; } + &:rtl { border-radius: 3px 0 0 3px; } .right &, &:rtl { padding: 6px 0px 6px 1px; - border-image: url('common-assets/dash/dash-right.svg') 3 3 3 3; } - .extended.right & { border-image: url('common-assets/dash/dash-extended-right.svg') 3 3 3 3; } - .bottom & { padding: 1px 6px 0px 6px; - border-image: url('common-assets/dash/dash-bottom.svg') 3 3 3 3; } - .extended.bottom & { border-image: url('common-assets/dash/dash-extended-bottom.svg') 3 3 3 3; } - .top & { padding: 0px 6px 1px 6px; - border-image: url('common-assets/dash/dash-top.svg') 3 3 3 3; } - .extended.top & { border-image: url('common-assets/dash/dash-extended-top.svg') 3 3 3 3; } - .placeholder { background-image: url("common-assets/dash/dash-placeholder.svg"); background-size: contain; diff --git a/common/gnome-shell/3.18/common-assets/dash/dash-bottom.svg b/common/gnome-shell/3.18/common-assets/dash/dash-bottom.svg deleted file mode 100644 index ad2de78..0000000 --- a/common/gnome-shell/3.18/common-assets/dash/dash-bottom.svg +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - diff --git a/common/gnome-shell/3.18/common-assets/dash/dash-extended-bottom.svg b/common/gnome-shell/3.18/common-assets/dash/dash-extended-bottom.svg deleted file mode 100644 index 6d0c2d2..0000000 --- a/common/gnome-shell/3.18/common-assets/dash/dash-extended-bottom.svg +++ /dev/null @@ -1,80 +0,0 @@ - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - diff --git a/common/gnome-shell/3.18/common-assets/dash/dash-extended-left.svg b/common/gnome-shell/3.18/common-assets/dash/dash-extended-left.svg deleted file mode 100644 index c666279..0000000 --- a/common/gnome-shell/3.18/common-assets/dash/dash-extended-left.svg +++ /dev/null @@ -1,76 +0,0 @@ - - - - - - - - - - - - image/svg+xml - - - - - - - - - - diff --git a/common/gnome-shell/3.18/common-assets/dash/dash-extended-right.svg b/common/gnome-shell/3.18/common-assets/dash/dash-extended-right.svg deleted file mode 100644 index 72a0403..0000000 --- a/common/gnome-shell/3.18/common-assets/dash/dash-extended-right.svg +++ /dev/null @@ -1,80 +0,0 @@ - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - diff --git a/common/gnome-shell/3.18/common-assets/dash/dash-extended-top.svg b/common/gnome-shell/3.18/common-assets/dash/dash-extended-top.svg deleted file mode 100644 index a501da7..0000000 --- a/common/gnome-shell/3.18/common-assets/dash/dash-extended-top.svg +++ /dev/null @@ -1,80 +0,0 @@ - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - diff --git a/common/gnome-shell/3.18/common-assets/dash/dash-top.svg b/common/gnome-shell/3.18/common-assets/dash/dash-top.svg deleted file mode 100644 index 5f52736..0000000 --- a/common/gnome-shell/3.18/common-assets/dash/dash-top.svg +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - diff --git a/common/gnome-shell/3.18/gnome-shell-dark.css b/common/gnome-shell/3.18/gnome-shell-dark.css index 6a35c82..0abc8c1 100644 --- a/common/gnome-shell/3.18/gnome-shell-dark.css +++ b/common/gnome-shell/3.18/gnome-shell-dark.css @@ -1104,27 +1104,18 @@ StScrollBar { #dash { font-size: 1em; color: #BAC3CF; - background-color: transparent; - border: none; + background-color: rgba(53, 57, 69, 0.95); + border-color: rgba(0, 0, 0, 0.4); padding: 6px 1px 6px 0px; - border-image: url("common-assets/dash/dash-left.svg") 3 3 3 3; } - .extended.left #dash { - border-image: url("common-assets/dash/dash-extended-left.svg") 3 3 3 3; } + border-radius: 0 3px 3px 0; } + #dash:rtl { + border-radius: 3px 0 0 3px; } .right #dash, #dash:rtl { - padding: 6px 0px 6px 1px; - border-image: url("common-assets/dash/dash-right.svg") 3 3 3 3; } - .extended.right #dash { - border-image: url("common-assets/dash/dash-extended-right.svg") 3 3 3 3; } + padding: 6px 0px 6px 1px; } .bottom #dash { - padding: 1px 6px 0px 6px; - border-image: url("common-assets/dash/dash-bottom.svg") 3 3 3 3; } - .extended.bottom #dash { - border-image: url("common-assets/dash/dash-extended-bottom.svg") 3 3 3 3; } + padding: 1px 6px 0px 6px; } .top #dash { - padding: 0px 6px 1px 6px; - border-image: url("common-assets/dash/dash-top.svg") 3 3 3 3; } - .extended.top #dash { - border-image: url("common-assets/dash/dash-extended-top.svg") 3 3 3 3; } + padding: 0px 6px 1px 6px; } #dash .placeholder { background-image: url("common-assets/dash/dash-placeholder.svg"); background-size: contain; diff --git a/common/gnome-shell/3.18/gnome-shell.css b/common/gnome-shell/3.18/gnome-shell.css index bb6fbf4..4054b2f 100644 --- a/common/gnome-shell/3.18/gnome-shell.css +++ b/common/gnome-shell/3.18/gnome-shell.css @@ -1104,27 +1104,18 @@ StScrollBar { #dash { font-size: 1em; color: #BAC3CF; - background-color: transparent; - border: none; + background-color: rgba(53, 57, 69, 0.95); + border-color: rgba(0, 0, 0, 0.4); padding: 6px 1px 6px 0px; - border-image: url("common-assets/dash/dash-left.svg") 3 3 3 3; } - .extended.left #dash { - border-image: url("common-assets/dash/dash-extended-left.svg") 3 3 3 3; } + border-radius: 0 3px 3px 0; } + #dash:rtl { + border-radius: 3px 0 0 3px; } .right #dash, #dash:rtl { - padding: 6px 0px 6px 1px; - border-image: url("common-assets/dash/dash-right.svg") 3 3 3 3; } - .extended.right #dash { - border-image: url("common-assets/dash/dash-extended-right.svg") 3 3 3 3; } + padding: 6px 0px 6px 1px; } .bottom #dash { - padding: 1px 6px 0px 6px; - border-image: url("common-assets/dash/dash-bottom.svg") 3 3 3 3; } - .extended.bottom #dash { - border-image: url("common-assets/dash/dash-extended-bottom.svg") 3 3 3 3; } + padding: 1px 6px 0px 6px; } .top #dash { - padding: 0px 6px 1px 6px; - border-image: url("common-assets/dash/dash-top.svg") 3 3 3 3; } - .extended.top #dash { - border-image: url("common-assets/dash/dash-extended-top.svg") 3 3 3 3; } + padding: 0px 6px 1px 6px; } #dash .placeholder { background-image: url("common-assets/dash/dash-placeholder.svg"); background-size: contain; diff --git a/common/gnome-shell/3.18/sass/_common.scss b/common/gnome-shell/3.18/sass/_common.scss index 913f388..62f3366 100644 --- a/common/gnome-shell/3.18/sass/_common.scss +++ b/common/gnome-shell/3.18/sass/_common.scss @@ -1434,32 +1434,23 @@ StScrollBar { #dash { font-size: 1em; color: $osd_fg_color; - background-color: transparent; - border: none; + background-color: $dark_sidebar_bg; + border-color: rgba(0,0,0,0.4); padding: 6px 1px 6px 0px; - border-image: url('common-assets/dash/dash-left.svg') 3 3 3 3; + border-radius: 0 3px 3px 0; - .extended.left & { border-image: url('common-assets/dash/dash-extended-left.svg') 3 3 3 3; } + &:rtl { border-radius: 3px 0 0 3px; } .right &, &:rtl { padding: 6px 0px 6px 1px; - border-image: url('common-assets/dash/dash-right.svg') 3 3 3 3; } - .extended.right & { border-image: url('common-assets/dash/dash-extended-right.svg') 3 3 3 3; } - .bottom & { padding: 1px 6px 0px 6px; - border-image: url('common-assets/dash/dash-bottom.svg') 3 3 3 3; } - .extended.bottom & { border-image: url('common-assets/dash/dash-extended-bottom.svg') 3 3 3 3; } - .top & { padding: 0px 6px 1px 6px; - border-image: url('common-assets/dash/dash-top.svg') 3 3 3 3; } - .extended.top & { border-image: url('common-assets/dash/dash-extended-top.svg') 3 3 3 3; } - .placeholder { background-image: url("common-assets/dash/dash-placeholder.svg"); background-size: contain; -- cgit v1.2.3