[Rt-commit] rt branch, 4.6-theme/compact-layout, created. rt-4.4.4-203-g91a00487d

? sunnavy sunnavy at bestpractical.com
Wed May 1 16:22:51 EDT 2019


The branch, 4.6-theme/compact-layout has been created
        at  91a00487d0bec014af87d1f000d3761e82742a6c (commit)

- Log -----------------------------------------------------------------
commit ee901eaee4563eda0c46a7464204e468257bfb56
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Thu May 2 03:23:06 2019 +0800

    Set root font size to 13px for elevator themes
    
    Note that we set it to "html" to make it "root", so other root relative
    "rem" font-size settings could respect that.
    
    The size is consitent with old themes.

diff --git a/share/static/css/elevator-light/layout.css b/share/static/css/elevator-light/layout.css
index 6e99b2a24..f91748a1e 100644
--- a/share/static/css/elevator-light/layout.css
+++ b/share/static/css/elevator-light/layout.css
@@ -1,5 +1,9 @@
 /* body */
 
+html {
+    font-size: 13px;
+}
+
 body {
     padding: 0;
     margin: 0;

commit 91a00487d0bec014af87d1f000d3761e82742a6c
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Thu May 2 03:34:35 2019 +0800

    Smaller padding of table cells
    
    bootstrap has 0.75rem padding by default, which is kinda too big

diff --git a/share/static/css/elevator-light/ticket-lists.css b/share/static/css/elevator-light/ticket-lists.css
index ee7c19743..837db5604 100644
--- a/share/static/css/elevator-light/ticket-lists.css
+++ b/share/static/css/elevator-light/ticket-lists.css
@@ -6,6 +6,11 @@ table.table th {
     border: none;
 }
 
+table.table th,
+table.table td {
+    padding: 0.5rem;
+}
+
 tr.oddline td {
     background: #eee;
 }

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


More information about the rt-commit mailing list