From 839b6daf056639f6769150edeaed73cf79746c20 Mon Sep 17 00:00:00 2001 From: Tom MacWright Date: Thu, 16 Feb 2012 22:44:03 -0500 Subject: [PATCH] Restyle the tabs as simple blocks --- app/assets/stylesheets/common.css.scss | 36 ++++++++++---------------- app/assets/stylesheets/large.css | 2 +- app/assets/stylesheets/ltr.css.scss | 2 +- app/assets/stylesheets/small.css.scss | 4 +-- 4 files changed, 17 insertions(+), 27 deletions(-) diff --git a/app/assets/stylesheets/common.css.scss b/app/assets/stylesheets/common.css.scss index 4d53bd2ac..f807db251 100644 --- a/app/assets/stylesheets/common.css.scss +++ b/app/assets/stylesheets/common.css.scss @@ -249,10 +249,10 @@ h2 { /* Rules for tabbed navigation bar */ #tabnav { - height: 20px; - margin: 0px; - padding-top: 5px; - background: image-url('tab_bottom.gif') repeat-x bottom; + height: 29px; + border-bottom: 1px solid #ccc; + padding: 0; + margin: 0; } #tabnav li { @@ -263,47 +263,39 @@ h2 { } #tabnav a, #tabnav a:link, #tabnav a:visited { - background: #f3f3f3; - font-size: 13px; - line-height: 14px; + background: #fff; + font-size: 14px; + line-height: 19px; font-weight: bold; - padding: 2px 10px; - border: 1px solid #ccc; + padding: 5px 10px; text-decoration: none; color: #333; - border-top-right-radius: 5px; - -moz-border-radius-topright: 5px; - border-top-left-radius: 5px; - -moz-border-radius-topleft: 5px; } #tabnav a:link.active, #tabnav a:visited.active { - border-bottom: 1px solid #fff; - background: #fff; + border-bottom: 1px solid #aaa; + background: #9ed485; color: #000; } #tabnav a:link:hover, #tabnav a:visited:hover { - background: #fff; + text-decoration:underline; } #tabnav a:link.disabled, #tabnav a:visited.disabled, #tabnav a:link:hover.disabled, #tabnav a:visited:hover.disabled { - background: #bbbbbb; - color: white + color: #888; } /* Rules for greeting bar in the top right corner */ #greeting { - height: 20px; + height: 30px; margin: 0px; - padding-top: 5px; font-size: 13px; - line-height: 15px; - background: image-url('tab_bottom.gif') repeat-x bottom; + line-height: 30px; } .greeting-bar-unread { diff --git a/app/assets/stylesheets/large.css b/app/assets/stylesheets/large.css index c86672e9a..196b61c01 100644 --- a/app/assets/stylesheets/large.css +++ b/app/assets/stylesheets/large.css @@ -9,7 +9,7 @@ /* Rules for the main content area */ #content { - top: 25px; + top: 30px; } /* Rules for OpenLayers maps */ diff --git a/app/assets/stylesheets/ltr.css.scss b/app/assets/stylesheets/ltr.css.scss index 8ca91bf37..039d901c0 100644 --- a/app/assets/stylesheets/ltr.css.scss +++ b/app/assets/stylesheets/ltr.css.scss @@ -76,7 +76,7 @@ html body { #tabnav a:link, #tabnav a:visited { float: left; - margin-right: 4px; + margin-right: 1px; } /* Rules for greeting bar in the top right corner */ diff --git a/app/assets/stylesheets/small.css.scss b/app/assets/stylesheets/small.css.scss index 07b5d7b10..59a6469ce 100644 --- a/app/assets/stylesheets/small.css.scss +++ b/app/assets/stylesheets/small.css.scss @@ -22,10 +22,8 @@ h1 { { height: 14px; margin: 0px; - padding-left: 3px; padding-top: 5px; margin-top: 18px; - background: image-url('tab_bottom.gif') repeat-x bottom; font-size: 10px; line-height: 10px; } @@ -34,7 +32,7 @@ h1 { { font-size: 10px; line-height: 10px; - padding: 1px 5px; + padding: 2px 5px; margin-right: 1px; } -- 2.43.2