summaryrefslogtreecommitdiff
path: root/themes/_common
diff options
context:
space:
mode:
authormakitso <makitso@gmail.com>2017-07-05 06:26:08 -0500
committermakitso <makitso@gmail.com>2017-07-05 06:26:08 -0500
commitd21ca44cc74890b1a884defd1205ed8b182e514f (patch)
tree9c4429d717e33a513dc86e61451dfe14fc85cff4 /themes/_common
parent95a9c76c1d0a0648eaac5d13f1626bc2bb8786e4 (diff)
downloadwebtrees-d21ca44cc74890b1a884defd1205ed8b182e514f.tar.gz
webtrees-d21ca44cc74890b1a884defd1205ed8b182e514f.tar.bz2
webtrees-d21ca44cc74890b1a884defd1205ed8b182e514f.zip
Revamp Revamp how horizontal lines are handled in charts
Moved horizontal line management to common
Diffstat (limited to 'themes/_common')
-rw-r--r--themes/_common/css-1.7.8/style.css34
1 files changed, 34 insertions, 0 deletions
diff --git a/themes/_common/css-1.7.8/style.css b/themes/_common/css-1.7.8/style.css
index 3a418b1f6e..659619b486 100644
--- a/themes/_common/css-1.7.8/style.css
+++ b/themes/_common/css-1.7.8/style.css
@@ -157,6 +157,40 @@
.wt-ajax-load:empty {
}
+/*
+ * These selectors control how the short horizontal lines are positioned in the Charts
+ * Optimized for Win10 and FF, Chrome and Edge browsers
+ * Ancestors
+ * Descendants
+ * amily book
+ * Hourglass chart
+ *
+ * */
+
+/* Ascentors */
+.wt-ancestors-chart .linea1 {margin-bottom: 4px;}
+.wt-ancestors-chart .linea2 {margin-bottom: 7px;}
+.wt-ancestors-chart .linea3 {margin-bottom: 4px;}
+.wt-ancestors-chart .linea4 {margin-bottom: 7px;}
+.wt-ancestors-chart .linea5 {vertical-align: top;}
+
+/* Descendants */
+.wt-descendants-chart .lined1 {margin-bottom: 4px;}
+.wt-descendants-chart .lined2 {margin-bottom: 7px;}
+.wt-descendants-chart .lined3 {margin-bottom: 4px;}
+.wt-descendants-chart .lined4 {margin-bottom: 7px;}
+.wt-descendants-chart .linea5 {vertical-align: top;}
+
+/* Family book */
+.linef1 {margin-bottom: 3px;}
+.linef2 {margin-bottom: 3px;}
+.linef3 {margin-bottom: 7px;}
+
+/* Hourglass */
+.lineh1 {margin-bottom: 4px;}
+.lineh2 {margin-bottom: 4px;}
+.lineh3 {margin-bottom: 7px;}
+
/*
* Ancestors chart
*