diff --git a/core/themes/seven/style-rtl.css b/core/themes/seven/style-rtl.css index d9f60e476b2..f4097d9ad57 100644 --- a/core/themes/seven/style-rtl.css +++ b/core/themes/seven/style-rtl.css @@ -157,12 +157,14 @@ ol.task-list li.active { #user-login-form .openid-links .user-link { margin-right: 1.5em; } + /** - * Improve form element usability + * Improve spacing of cancel link. */ -.form-actions #edit-cancel { - margin: 0 10px 0 0; +#edit-cancel { + margin-right: 10px; } + /** * Views styling */ diff --git a/core/themes/seven/style.css b/core/themes/seven/style.css index abf975e0959..c65a22d6a96 100644 --- a/core/themes/seven/style.css +++ b/core/themes/seven/style.css @@ -749,6 +749,13 @@ select.form-select:focus { box-shadow: inset 0 1px 2px rgba(0, 0, 0, .25); } +/** + * Improve spacing of cancel link. + */ +#edit-cancel { + margin-left: 10px; /* LTR */ +} + /** * Improve form element usability on narrow devices. */ @@ -788,11 +795,6 @@ select.form-select:focus { font-size: 1.2em; line-height: 1.2em; } - .form-actions a#edit-cancel { - display: inline-block; - padding: 10px 0; - margin: 10px 0; - } .form-actions input, .form-wrapper input[type="submit"] { float: none; @@ -825,13 +827,10 @@ select.form-select:focus { float: none; padding: 0; } -} - -/** - * Improve form element usability on normal and wide screens - */ -.form-actions #edit-cancel { - margin-left: 10px; + #edit-cancel { + display: block; + margin: 10px 0 0 0; + } } /* Exceptions */