Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MINOR Reverted special styling of preview button in CMS, too hard to …

…keep consistent alignment
  • Loading branch information...
commit 47f53dfa3934d8f5d70dc5443795d42b4a8749be 1 parent ac96375
@chillu chillu authored
View
4 admin/css/screen.css
@@ -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 */ }
View
1  admin/scss/_forms.scss
@@ -226,7 +226,6 @@ form.nostyle {
* ---------------------------------------------------- */
.Actions {
- margin-right: 80px; // Accommodate preview button
min-height: 30px;
& > div {
View
11 admin/templates/Includes/LeftAndMain_EditForm.ss
@@ -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') %> &raquo;
- </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') %> &raquo;
+ </a>
+ <% end_if %>
</div>
<% end_if %>
</div>

0 comments on commit 47f53df

Please sign in to comment.
Something went wrong with that request. Please try again.