From c17bc65432342a7d1122e474401791ae185185ad Mon Sep 17 00:00:00 2001 From: James Kirkus-Lamont Date: Thu, 12 Feb 2009 09:46:49 +0000 Subject: [PATCH] BUGFIX: removed doubled up pipes and border on switch view links in footer. git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@71797 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- css/layout.css | 12 ++++++++---- templates/LeftAndMain.ss | 4 ++-- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/css/layout.css b/css/layout.css index 695dae99..e0ad7617 100644 --- a/css/layout.css +++ b/css/layout.css @@ -293,12 +293,16 @@ body.stillLoading select { #bottom #switchView { float: left; } - #bottom #switchView a { + #bottom #switchView a, #bottom #switchView span { background: none; - margin-left: 8px; - border-left: 1px solid; + padding-left: 8px; + padding-right: 8px; + display: inline-block; + border-left: 1px solid #AAA; + } + #bottom #switchView span { + border-left: none; } - #bottom .bottomTabs a { color: #fff; } diff --git a/templates/LeftAndMain.ss b/templates/LeftAndMain.ss index 02063aec..130a4137 100644 --- a/templates/LeftAndMain.ss +++ b/templates/LeftAndMain.ss @@ -49,8 +49,8 @@ <% if ShowSwitchView %>
<% _t('VIEWPAGEIN','Page view:') %>
<% _t('EDIT','Edit') %> - | <% _t('DRAFTS','Draft Site') %> - | <% _t('PUBLIS','Published Site') %> + <% _t('DRAFTS','Draft Site') %> + <% _t('PUBLIS','Published Site') %> <% end_if %>