From 2e6852b1a6d1c33c139be82f26b0171a60a8e89a Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sun, 12 Feb 2012 10:45:17 +0000 Subject: [PATCH] Improve sidebar styling a little --- app/assets/stylesheets/common.css.scss | 8 ++------ app/assets/stylesheets/ltr.css.scss | 1 + app/assets/stylesheets/rtl.css.scss | 1 + 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/app/assets/stylesheets/common.css.scss b/app/assets/stylesheets/common.css.scss index 8df206477..a5ce30981 100644 --- a/app/assets/stylesheets/common.css.scss +++ b/app/assets/stylesheets/common.css.scss @@ -384,7 +384,6 @@ h2 { #sidebar { display: none; position: absolute; - border: 1px solid #888; margin: 0px; padding: 0px; width: 30%; @@ -405,11 +404,10 @@ h2 { #sidebar .sidebar_title { margin: 0px; - padding: 3px 6px; + padding: 3px 6px 4px 6px; height: 29px; font-size: 14px; line-height: 15px; - border-bottom: 1px solid #888; background: #bbb; } @@ -442,9 +440,7 @@ h2 { .search_results_heading { margin: 0px; - padding: 2px 5px; - border-top: 1px solid #ccc; - border-bottom: 1px solid #ccc; + padding: 3px 5px; background: #eee; } diff --git a/app/assets/stylesheets/ltr.css.scss b/app/assets/stylesheets/ltr.css.scss index aaca016e9..0cb78c290 100644 --- a/app/assets/stylesheets/ltr.css.scss +++ b/app/assets/stylesheets/ltr.css.scss @@ -112,6 +112,7 @@ html body { #sidebar { left: 0px; + border-left: 1px solid #ccc; } #sidebar #sidebar_title { diff --git a/app/assets/stylesheets/rtl.css.scss b/app/assets/stylesheets/rtl.css.scss index 6d7ed3b34..b0020dce4 100644 --- a/app/assets/stylesheets/rtl.css.scss +++ b/app/assets/stylesheets/rtl.css.scss @@ -112,6 +112,7 @@ html body { #sidebar { right: 0px; + border-right: 1px solid #ccc; } #sidebar #sidebar_title { -- 2.43.2