You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by hu...@apache.org on 2021/12/13 17:22:50 UTC

[incubator-ponymail-foal] branch master updated: tweak borders between emails in list view

This is an automated email from the ASF dual-hosted git repository.

humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git


The following commit(s) were added to refs/heads/master by this push:
     new b75af8b  tweak borders between emails in list view
b75af8b is described below

commit b75af8b79502a5f76eb0e3c017969b1059e43f6b
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Mon Dec 13 18:22:25 2021 +0100

    tweak borders between emails in list view
---
 webui/css/scaffolding.css | 22 ++++++++++------------
 1 file changed, 10 insertions(+), 12 deletions(-)

diff --git a/webui/css/scaffolding.css b/webui/css/scaffolding.css
index 0c014bb..9299f88 100644
--- a/webui/css/scaffolding.css
+++ b/webui/css/scaffolding.css
@@ -511,22 +511,23 @@ a.dropdown-toggle {
 #emails {
     background: #FFF;
     border: 1.5px groove #FFF9;
-    min-height: 100px;
+    min-height: auto;
+    position: relative;
+    overflow-y: hidden;
 }
 
 
 /* Flat email item */
 .listview_email_flat {
     background: #FFF;
-    border: 1.25px solid #CCC9;
     border-left: 3px solid #AAA;
-    border-top: none;
     height: 40px;
     line-height: 40px;
     padding-top: 2px;
     font-size: 1.25rem;
     float: left;
     width: 100%;
+    position: relative;
 }
 
 .listview_email_as {
@@ -553,7 +554,6 @@ a.dropdown-toggle {
 /* Compacted email item */
 .listview_email_compact {
     background: #FFF;
-    border: 1.25px solid #CCC9;
     border-left: 3px solid #AAA;
     border-top: none;
     height: 24px;
@@ -845,16 +845,15 @@ a.dropdown-toggle {
   line-height: 17px;
 }
 
-.listview_email_flat:first-of-type {
-    border: 1.25px solid #CCC9;
-    border-left: 3px solid #AAA;
+a > .listview_email_flat {
+    border-top: 1px solid #CCC9;
 }
 
-.listview_email_compact:first-of-type {
-    border: 1.25px solid #CCC9;
-    border-left: 3px solid #AAA;
+a > .listview_email_compact {
+    border-top: 1px solid #CCC9;
 }
 
+
 .listview_email_flat:hover {
     border-left: 3px solid #369;
     background: #FFE;
@@ -933,7 +932,7 @@ a.dropdown-toggle {
 
 .email_wrapper {
 
-    border: 1.25px solid #CCC9;
+    border-top: 1px solid #CCC9;
     border-left: 3px solid #AAA;
     font-family: Hack;
     margin-left: 8px;
@@ -942,7 +941,6 @@ a.dropdown-toggle {
     float: left;
     width: calc(100% - 10px);
     position: relative;
-
 }