From 1b2439c4a48a2e3c0ec29b9dd084f2c0c0423aed Mon Sep 17 00:00:00 2001 From: Kyle Fiedler Date: Tue, 21 Feb 2012 16:05:27 -0500 Subject: [PATCH] Added more styles for the askbot sidebar --HG-- branch : kf-sidebar --- sass/discussion/_sidebar.scss | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/sass/discussion/_sidebar.scss b/sass/discussion/_sidebar.scss index 6642a5aa68..37810749a2 100644 --- a/sass/discussion/_sidebar.scss +++ b/sass/discussion/_sidebar.scss @@ -31,17 +31,28 @@ div.discussion-wrapper aside { } div.box { - @extend .bottom-border; - @extend .clearfix; display: block; - margin: 0 (-(lh())); - padding: lh(.5) lh(); + margin: lh(.5) 0; &:last-child { @include box-shadow(none); border: 0; } + h2 { + text-transform: uppercase; + font-weight: bold; + font-size: 14px; + letter-spacing: 1px; + + &:not(.first) { + @include box-shadow(inset 0 1px 0 #eee); + border-top: 1px solid #d3d3d3; + margin: 0 (-(lh())) 0; + padding: lh(.5) lh(); + } + } + &.contributors { a { @@ -165,11 +176,10 @@ div.discussion-wrapper aside { div.question-stats { ul { color: #777; + list-style: none; li { - @include box-shadow(0 1px 0 #eee); - border-bottom: 1px solid #d3d3d3; - padding: 7px 0; + padding: 7px 0 0; &:last-child { @include box-shadow(none);