From: Marcel Werk Date: Wed, 6 Jun 2012 20:31:02 +0000 (+0200) Subject: Some small style fixes X-Git-Tag: 2.0.0_Beta_1~1076 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=bc93fa20c04ea78a3a2dd6926f0035e74ff1cc84;p=GitHub%2FWoltLab%2FWCF.git Some small style fixes --- diff --git a/wcfsetup/install/files/style/badge.less b/wcfsetup/install/files/style/badge.less index 5fbf903aa7..da20841530 100644 --- a/wcfsetup/install/files/style/badge.less +++ b/wcfsetup/install/files/style/badge.less @@ -58,7 +58,7 @@ a.badge:hover { top: -1px; } -.boxHeadline > hgroup > h1 > .badge { +.boxHeadline > hgroup > h1 .badge { font-size: 50%; top: -3px; } diff --git a/wcfsetup/install/files/style/tabular.less b/wcfsetup/install/files/style/tabular.less index db5302beb0..4332d8d9da 100644 --- a/wcfsetup/install/files/style/tabular.less +++ b/wcfsetup/install/files/style/tabular.less @@ -49,6 +49,17 @@ padding: @wcfGapSmall; text-align: left; vertical-align: middle; + + > label { + cursor: pointer; + display: block; + margin: -@wcfGapSmall; + padding: @wcfGapSmall; + + > input[type="checkbox"] { + margin: 0 3px; + } + } } /* headline */ @@ -62,7 +73,7 @@ .textShadow(@wcfTabularBoxBackgroundColor); - a { + > a { color: @wcfTabularBoxColor; display: block; margin: -@wcfGapSmall; @@ -71,18 +82,16 @@ text-decoration: none; } - img { + > img { margin: -5px 0; } } - &:hover a, - &.active a { + &:hover > a, + &.active > a { background-color: rgba(0, 0, 0, .1); color: @wcfTabularBoxHoverColor; - } - - &.active a { + .boxShadowInset(0, 10px, rgba(0, 0, 0, .1), 10px, -10px); } diff --git a/wcfsetup/install/files/style/userPanel.less b/wcfsetup/install/files/style/userPanel.less index 0a5f73e38f..8a4199a3b5 100644 --- a/wcfsetup/install/files/style/userPanel.less +++ b/wcfsetup/install/files/style/userPanel.less @@ -39,6 +39,12 @@ text-decoration: none; } } + + > .framed > img { + padding: 0px; + margin-top: -3px; + margin-bottom: -3px; + } } } @@ -67,12 +73,6 @@ } } - .framed img { - padding: 0px; - margin-top: -3px; - margin-bottom: -3px; - } - /* dropdown icon */ .dropdownToggle { background-image: url('../icon/dropdownInverse.svg'); diff --git a/wcfsetup/install/files/style/wbb.less b/wcfsetup/install/files/style/wbb.less index 0763cf6c64..75925f0d69 100644 --- a/wcfsetup/install/files/style/wbb.less +++ b/wcfsetup/install/files/style/wbb.less @@ -223,9 +223,13 @@ } } - .columnTopic .labelList { + .columnTopic > h1 > .labelList { float: right; padding-left: 7px; + + > li > .badge { + font-size: @wcfSmallFontSize; + } } .columnTopic .wbbTopicLink {