From 3a47fff9ec8c0114d3eb2b010dd934e4d827c965 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Fri, 26 May 2023 16:41:22 +0200 Subject: [PATCH] Improve the visual appearance of button groups in container lists Fixes #5527 --- .../install/files/style/layout/containerList.scss | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/wcfsetup/install/files/style/layout/containerList.scss b/wcfsetup/install/files/style/layout/containerList.scss index 5fdebf6b24..c7b5dff480 100644 --- a/wcfsetup/install/files/style/layout/containerList.scss +++ b/wcfsetup/install/files/style/layout/containerList.scss @@ -128,14 +128,14 @@ > ul { background-color: var(--wcfContentBackground); - border: 1px solid rgba(0, 0, 0, 0.15); - border-radius: 6px; + border-radius: var(--wcfBorderRadius); + box-shadow: var(--wcfBoxShadowCard); > li { margin-right: 0; &:not(:last-child) { - border-right: 1px solid rgba(0, 0, 0, 0.15); + border-right: 1px solid var(--wcfContentContainerBorder); } > a, @@ -236,6 +236,12 @@ } } +@include screen-lg { + html[data-color-scheme="dark"] .containerList > li .buttonGroupNavigation > ul { + border: 1px solid var(--wcfContentContainerBorder); + } +} + .containerBoxList { @include screen-sm-down { &.doubleColumned, -- 2.20.1