[Rt-commit] rt branch, 5.0-trunk, updated. rt-5.0.0-38-gd3c6000b98

? sunnavy sunnavy at bestpractical.com
Wed Oct 7 17:35:11 EDT 2020


The branch, 5.0-trunk has been updated
       via  d3c6000b98369681a55a74949959e4a544b9fe3b (commit)
       via  498c3d997a548b5cfeead88e19570acbbff9cbc9 (commit)
      from  163162d2fe526242fbbf918098f686f1bdd8c5b1 (commit)

Summary of changes:
 share/static/css/elevator-light/forms.css | 13 ++-----------
 1 file changed, 2 insertions(+), 11 deletions(-)

- Log -----------------------------------------------------------------
commit 498c3d997a548b5cfeead88e19570acbbff9cbc9
Author: Dianne Skoll <dianne at bestpractical.com>
Date:   Tue Jul 28 13:52:34 2020 -0400

    Tweak error widget styles to make it pretty in elevator themes
    
    The widget was not migrated for RT 5 previously and the old styles
    worked badly in RT 5. Error widget generally needs 4 changes based on
    new RT 5 widget:
    
    * No outer border
    * Noticeable background color
    * Balanced padding
    * Bold text
    
    Note that the change to set padding in .card-body is not optional:
    without this, the "Toggle visibility" feature there wouldn't be
    smooth(hiding it would hide the text first, then pause a little bit,
    then hide the left padding space).

diff --git a/share/static/css/elevator-light/forms.css b/share/static/css/elevator-light/forms.css
index e408ecd617..80b20d4f00 100644
--- a/share/static/css/elevator-light/forms.css
+++ b/share/static/css/elevator-light/forms.css
@@ -79,18 +79,9 @@ div.results .titlebox-content {
     margin-bottom: 0;
 }
 
-div.error-titlebox .titlebox-title span.left {
-  border: none;
-  border-right: 2px solid #b00;
-  margin-left: 0;
-  padding-left: 2.3em;
-  background-color: #f00;
-  color: #fff;
-}
-
-div.error-titlebox .titlebox-content {
+div.error-titlebox .titlebox-content .card-body {
     background-color: #fcc;
-    padding: 1em;
+    padding: 15px;
 }
 
 div.error .titlebox-content {

commit d3c6000b98369681a55a74949959e4a544b9fe3b
Merge: 163162d2fe 498c3d997a
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Thu Oct 8 05:34:38 2020 +0800

    Merge branch '5.0/tweak-error-widget-style' into 5.0-trunk


-----------------------------------------------------------------------


More information about the rt-commit mailing list