mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR Reverted special styling of preview button in CMS, too hard to keep consistent alignment
This commit is contained in:
parent
ac963755dd
commit
47f53dfa39
@ -112,10 +112,10 @@ form.nostyle .middleColumn { margin-left: 0; }
|
||||
.field input.hasDatepicker { width: 50%; max-width: 96px; }
|
||||
|
||||
/** ---------------------------------------------------- Buttons ---------------------------------------------------- */
|
||||
.Actions { margin-right: 80px; min-height: 30px; }
|
||||
.Actions { min-height: 30px; }
|
||||
.Actions > div { overflow: auto; }
|
||||
|
||||
.cms-preview-toggle-link { display: block; float: right; font-size: 11px; }
|
||||
.cms-preview-toggle-link { display: block; float: right; font-size: 12px; text-decoration: none; }
|
||||
|
||||
.cms input.loading, .cms input.ui-state-default.loading, .cms .ui-widget-content input.ui-state-default.loading, .cms .ui-widget-header input.ui-state-default.loading { padding-left: 24px; color: #525252; background: #eeeded url(../../images/network-save.gif) no-repeat 4px center; border-color: #d5d3d3; cursor: default; text-shadow: none; -moz-box-shadow: none; -webkit-box-shadow: none; -o-box-shadow: none; box-shadow: none; }
|
||||
.cms .ss-ui-button { /* all buttons */ padding: 7px 12px; font-weight: bold; text-decoration: none; margin: 0; line-height: 16px; color: #393939; background-color: #e6e6e6; border: 1px solid #c0c0c2; text-shadow: white 0 1px 1px; -moz-box-shadow: #ced7dc 0 1px 2px; -webkit-box-shadow: #ced7dc 0 1px 2px; -o-box-shadow: #ced7dc 0 1px 2px; box-shadow: #ced7dc 0 1px 2px; background: #e6e6e6 url('../images/btn_icons_sprite.png?1324073872') no-repeat 999px 999px; background: url('../images/btn_icons_sprite.png?1324073872') no-repeat 999px 999px, -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ffffff), color-stop(100%, #d9d9d9)); background: url('../images/btn_icons_sprite.png?1324073872') no-repeat 999px 999px, -webkit-linear-gradient(#ffffff, #d9d9d9); background: url('../images/btn_icons_sprite.png?1324073872') no-repeat 999px 999px, -moz-linear-gradient(#ffffff, #d9d9d9); background: url('../images/btn_icons_sprite.png?1324073872') no-repeat 999px 999px, -o-linear-gradient(#ffffff, #d9d9d9); background: url('../images/btn_icons_sprite.png?1324073872') no-repeat 999px 999px, -ms-linear-gradient(#ffffff, #d9d9d9); background: url('../images/btn_icons_sprite.png?1324073872') no-repeat 999px 999px, linear-gradient(#ffffff, #d9d9d9); /* constructive */ /* destructive */ /* generic action buttons */ }
|
||||
|
@ -226,7 +226,6 @@ form.nostyle {
|
||||
* ---------------------------------------------------- */
|
||||
|
||||
.Actions {
|
||||
margin-right: 80px; // Accommodate preview button
|
||||
min-height: 30px;
|
||||
|
||||
& > div {
|
||||
|
@ -45,17 +45,16 @@
|
||||
</div>
|
||||
|
||||
<div class="cms-content-actions south">
|
||||
<% if CurrentPage.PreviewLink %>
|
||||
<a href="$CurrentPage.PreviewLink" class="cms-preview-toggle-link ss-ui-button">
|
||||
<% _t('LeftAndMain.PreviewButton', 'Preview') %> »
|
||||
</a>
|
||||
|
||||
<% end_if %>
|
||||
<% if Actions %>
|
||||
<div class="Actions">
|
||||
<% control Actions %>
|
||||
$Field
|
||||
<% end_control %>
|
||||
<% if CurrentPage.PreviewLink %>
|
||||
<a href="$CurrentPage.PreviewLink" class="cms-preview-toggle-link ss-ui-button">
|
||||
<% _t('LeftAndMain.PreviewButton', 'Preview') %> »
|
||||
</a>
|
||||
<% end_if %>
|
||||
</div>
|
||||
<% end_if %>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user