From: Alexander Ebert Date: Mon, 24 Nov 2014 12:05:13 +0000 (+0100) Subject: Improved styling of small button groups X-Git-Tag: 2.1.0_Beta_1~176 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a183f36be957077e6b283e74a27cbdc0c763a08a;p=GitHub%2FWoltLab%2FWCF.git Improved styling of small button groups --- diff --git a/wcfsetup/install/files/style/attachment.less b/wcfsetup/install/files/style/attachment.less index cac804d133..e56ce3758d 100644 --- a/wcfsetup/install/files/style/attachment.less +++ b/wcfsetup/install/files/style/attachment.less @@ -113,10 +113,6 @@ > li { display: inline-block; - - > span.jsDeleteButton { - margin-right: @wcfGapMedium; - } } } } diff --git a/wcfsetup/install/files/style/button.less b/wcfsetup/install/files/style/button.less index 6fecec6d48..dd0b3a3152 100644 --- a/wcfsetup/install/files/style/button.less +++ b/wcfsetup/install/files/style/button.less @@ -177,17 +177,27 @@ button.small, } &:first-child { - > .button { + > .button:not(.small) { border-top-left-radius: @wcfButtonBorderRadius; border-bottom-left-radius: @wcfButtonBorderRadius; } + + > .button.small { + border-top-left-radius: @wcfSmallButtonBorderRadius; + border-bottom-left-radius: @wcfSmallButtonBorderRadius; + } } &:last-child { - > .button { + > .button:not(.small) { border-top-right-radius: @wcfButtonBorderRadius; border-bottom-right-radius: @wcfButtonBorderRadius; } + + > .button.small { + border-top-right-radius: @wcfSmallButtonBorderRadius; + border-bottom-right-radius: @wcfSmallButtonBorderRadius; + } } } }