[Rt-commit] rt branch, 5.0/more-dark-theme-fixes, updated. rt-5.0.0-11-g16f715d13f

Blaine Motsinger blaine at bestpractical.com
Fri Oct 2 20:04:31 EDT 2020


The branch, 5.0/more-dark-theme-fixes has been updated
       via  16f715d13f79b1404c74936e658b52187db93835 (commit)
       via  0cb2bbc387ef7c4a74cbb3f16d75235daf77014a (commit)
      from  4ac82ce9622da2641096fa0123a5b2aa28ad5315 (commit)

Summary of changes:
 share/static/css/elevator-dark/main.css   | 2 +-
 share/static/css/elevator-light/forms.css | 5 -----
 2 files changed, 1 insertion(+), 6 deletions(-)

- Log -----------------------------------------------------------------
commit 0cb2bbc387ef7c4a74cbb3f16d75235daf77014a
Author: Blaine Motsinger <blaine at bestpractical.com>
Date:   Fri Oct 2 18:35:50 2020 -0500

    Fix TimeUnits overlap for dark-theme
    
    The TimeUnits margin-left definition was causing the right border
    of the select to overlap.
    
    The width definition was removed since it was being overridden by
    the new theme style.  Since they are both carry over from the old
    theme they were safe to remmove.

diff --git a/share/static/css/elevator-light/forms.css b/share/static/css/elevator-light/forms.css
index e408ecd617..7769b92e05 100644
--- a/share/static/css/elevator-light/forms.css
+++ b/share/static/css/elevator-light/forms.css
@@ -155,11 +155,6 @@ div.widget .hints {
     }
 }
 
-.value .TimeUnits{
-    margin-left: .5em;
-    width: 7em;
-}
-
 .cfinvalidfield {
     font-style: italic;
     color: red;

commit 16f715d13f79b1404c74936e658b52187db93835
Author: Blaine Motsinger <blaine at bestpractical.com>
Date:   Fri Oct 2 19:02:01 2020 -0500

    Fix dropdown toggle for dark-theme
    
    The dropdown toggle was not being correctly rendered as a downward
    arrow due to the override for border-color.  The margin-top was
    also too high for dark theme so is reset to 0.

diff --git a/share/static/css/elevator-dark/main.css b/share/static/css/elevator-dark/main.css
index 064235a2f9..3a5b870731 100644
--- a/share/static/css/elevator-dark/main.css
+++ b/share/static/css/elevator-dark/main.css
@@ -95,7 +95,7 @@
 }
 
 .darkmode .dropdown-toggle:after {
-    border-color: #FFF;
+    margin-top: 0;
 }
 
 .darkmode .dropdown-menu {

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


More information about the rt-commit mailing list