From 3a0f022ea8694ba965b55cef5295e5a0eae9b2a8 Mon Sep 17 00:00:00 2001 From: Gareth J Barnard Date: Wed, 27 Sep 2017 22:30:12 +0100 Subject: [PATCH] Fix #844 - While adding images with floating submit buttons. --- CHANGES.txt | 1 + less/essential/form.less | 8 +++----- style/essential.css | 20 ++++++++++++-------- 3 files changed, 16 insertions(+), 13 deletions(-) diff --git a/CHANGES.txt b/CHANGES.txt index 5f889375..4495f12b 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -4,6 +4,7 @@ New in 3.2.1.4 - FIX: Above setting for 'coursetitleposition' does not work on 'incourse' / two column content pages. - FIX: Issue #842: Would it be possible to change a private to a protected? - FIX: Issue #843: Add an activity or resource popup display. +- FIX: Issue #844: While adding images with floating submit buttons. New in 3.2.1.3 ============== diff --git a/less/essential/form.less b/less/essential/form.less index 54144e36..aa18ff5c 100644 --- a/less/essential/form.less +++ b/less/essential/form.less @@ -72,20 +72,18 @@ body#page-admin-setting-messageinbound_mailsettings fieldset select { .fp-content-center form + div, div.backup-section + form, #fgroup_id_buttonar { - width: 30%; - text-align: center; + border-radius: @baseBorderRadius; margin-left: auto; margin-right: auto; + padding: 10px 10px 0 5px; + text-align: center; z-index: 101; - padding: 10px; - border-radius: @baseBorderRadius; .felement { margin-left: auto; margin-right: auto; } > .fgroup { margin: 0; - padding-top: 15px; } input[type=submit] { .btn-primary; diff --git a/style/essential.css b/style/essential.css index 41eb9242..1e884ec7 100644 --- a/style/essential.css +++ b/style/essential.css @@ -3427,14 +3427,14 @@ img.iconsmall { margin-right: 0.5rem; } .path-calendar .maincalendar .eventlist .event .name, -.path-calendar .maincalendar .eventlist .event .course { +.path-calendar .maincalendar .eventlist .event .action { margin-bottom: 5px; } .path-calendar .maincalendar .eventlist .event .date { float: right; } -.path-calendar .maincalendar .eventlist .event .course, -.path-calendar .maincalendar .eventlist .event .subscription { +.path-calendar .maincalendar .eventlist .event .subscription, +.path-calendar .maincalendar .eventlist .event .action { float: left; clear: left; } @@ -13882,6 +13882,12 @@ form { .singleselect label { margin-right: .3em; } +.custom-select { + max-width: 100%; +} +.custom-select + input[type="submit"] { + margin: 0 0 0 5px; +} #portfolio-add-button { display: inline; } @@ -21691,13 +21697,12 @@ body#page-admin-setting-messageinbound_mailsettings fieldset select { #region-main form .fp-content-center form + div, #region-main form div.backup-section + form, #region-main form #fgroup_id_buttonar { - width: 30%; - text-align: center; + border-radius: 4px; margin-left: auto; margin-right: auto; + padding: 10px 10px 0 5px; + text-align: center; z-index: 101; - padding: 10px; - border-radius: 4px; } #region-main form table#form td.submit .felement, #region-main form .form-buttons .felement, @@ -21717,7 +21722,6 @@ body#page-admin-setting-messageinbound_mailsettings fieldset select { #region-main form div.backup-section + form > .fgroup, #region-main form #fgroup_id_buttonar > .fgroup { margin: 0; - padding-top: 15px; } #region-main form table#form td.submit input[type=submit], #region-main form .form-buttons input[type=submit],