mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUGFIX:fixed position of back button in the cms-content-header - adapted design to work around the inclusion of tabs.
This commit is contained in:
parent
af59228036
commit
59df00d302
@ -243,7 +243,8 @@ body.cms { overflow: hidden; }
|
|||||||
|
|
||||||
.cms-content-header { padding: 0px 8px 8px; height: 32px; z-index: 60; background-image: url(../images/textures/cms_content_header.png); background-repeat: repeat; }
|
.cms-content-header { padding: 0px 8px 8px; height: 32px; z-index: 60; background-image: url(../images/textures/cms_content_header.png); background-repeat: repeat; }
|
||||||
.cms-content-header a { color: #1556b2; }
|
.cms-content-header a { color: #1556b2; }
|
||||||
.cms-content-header h2 { float: left; padding: 8px 8px 0 0; font-size: 14px; line-height: 24px; font-weight: bold; text-shadow: #bfcad2 1px 1px 0; max-width: 400px; margin: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; o-text-overflow: ellipsis; }
|
.cms-content-header .backlink { float: left; margin-top: 7px; }
|
||||||
|
.cms-content-header h2 { float: left; padding: 8px 8px 0 8px; font-size: 14px; line-height: 24px; font-weight: bold; text-shadow: #bfcad2 1px 1px 0; max-width: 400px; margin: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; o-text-overflow: ellipsis; }
|
||||||
.cms-content-header > div { width: 9999em; overflow: hidden; }
|
.cms-content-header > div { width: 9999em; overflow: hidden; }
|
||||||
.cms-content-header .cms-content-header-tabs { position: fixed; right: 40px; }
|
.cms-content-header .cms-content-header-tabs { position: fixed; right: 40px; }
|
||||||
.cms-content-header .cms-content-header-tabs .ui-tabs-nav li a { font-weight: bold; line-height: 16px; padding: 12px 20px 11px; text-indent: -9999em; }
|
.cms-content-header .cms-content-header-tabs .ui-tabs-nav li a { font-weight: bold; line-height: 16px; padding: 12px 20px 11px; text-indent: -9999em; }
|
||||||
|
@ -102,9 +102,14 @@ body.cms {
|
|||||||
color: $color-text-blue-link;
|
color: $color-text-blue-link;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.backlink {
|
||||||
|
float:left;
|
||||||
|
margin-top:$grid-x - 1;
|
||||||
|
}
|
||||||
|
|
||||||
h2 {
|
h2 {
|
||||||
float: left;
|
float: left;
|
||||||
padding: $grid-y $grid-x 0 0;
|
padding: $grid-y $grid-x 0 $grid-x;
|
||||||
font-size: $font-base-size + 2;
|
font-size: $font-base-size + 2;
|
||||||
line-height: $grid-x * 3;
|
line-height: $grid-x * 3;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
@ -3,6 +3,13 @@
|
|||||||
<% end_if %>
|
<% end_if %>
|
||||||
<div class="cms-content-header north">
|
<div class="cms-content-header north">
|
||||||
<div>
|
<div>
|
||||||
|
|
||||||
|
<% if Backlink %>
|
||||||
|
<a class="backlink ss-ui-button cms-panel-link" data-icon="back" href="$Backlink">
|
||||||
|
<% _t('Back', 'Back') %>
|
||||||
|
</a>
|
||||||
|
<% end_if %>
|
||||||
|
|
||||||
<h2 id="page-title-heading">
|
<h2 id="page-title-heading">
|
||||||
<% control Controller %>
|
<% control Controller %>
|
||||||
<% include CMSBreadcrumbs %>
|
<% include CMSBreadcrumbs %>
|
||||||
@ -22,12 +29,6 @@
|
|||||||
|
|
||||||
<!-- <div class="cms-content-search">...</div> -->
|
<!-- <div class="cms-content-search">...</div> -->
|
||||||
|
|
||||||
<% if Backlink %>
|
|
||||||
<a class="backlink ss-ui-button cms-panel-link" data-icon="back" href="$Backlink">
|
|
||||||
<% _t('Back', 'Back') %>
|
|
||||||
</a>
|
|
||||||
<% end_if %>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user