From 91ca9584866b27c8e75680374ef8937d7f5efb67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?"J.=20Rene=CC=81e=20Beach"?= Date: Fri, 14 Jun 2013 11:12:51 -0400 Subject: [PATCH] Issue #2018913 by ekl1773: Vertical tab styling for tabs should not be applied when JavaScript is disabled and no tabs are present MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: J. ReneĢe Beach --- core/themes/seven/vertical-tabs-rtl.css | 3 ++- core/themes/seven/vertical-tabs.css | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/core/themes/seven/vertical-tabs-rtl.css b/core/themes/seven/vertical-tabs-rtl.css index 9181ee9..006e1e7 100644 --- a/core/themes/seven/vertical-tabs-rtl.css +++ b/core/themes/seven/vertical-tabs-rtl.css @@ -8,7 +8,8 @@ .vertical-tab-button.selected { border-left: 1px solid #fcfcfa; } -.vertical-tabs-panes { +html.js .vertical-tabs-panes { margin: 0 240px 0 0; + border-left: none; border-right: 1px solid #a6a5a1; } diff --git a/core/themes/seven/vertical-tabs.css b/core/themes/seven/vertical-tabs.css index 90f85fa..a5ea955 100644 --- a/core/themes/seven/vertical-tabs.css +++ b/core/themes/seven/vertical-tabs.css @@ -61,10 +61,12 @@ color: #007ecc; } .vertical-tabs-panes { + background-color: #fcfcfa; +} +html.js .vertical-tabs-panes { margin: 0 0 0 240px; /* LTR */ padding: 10px 15px 10px 15px; border-left: 1px solid #a6a5a1; /* LTR */ - background-color: #fcfcfa; } .vertical-tabs-panes:after { content: ""; -- 1.7.10.4