From e435ac40f10b059fa6f157404770f9937cdffd13 Mon Sep 17 00:00:00 2001
From: Ralph Amissah <ralph.amissah@gmail.com>
Date: Thu, 11 Jul 2019 11:49:07 -0400
Subject: xmls, css, user-select on object-numbers & seg minitoc

- unselectable (copy & past of text)
  - object-numbers
  - html segments minitoc
- implemented differently across browsers
---
 src/doc_reform/output/xmls_css.d | 84 +++++++++++++++++++++++++++++++++++++---
 1 file changed, 78 insertions(+), 6 deletions(-)

(limited to 'src/doc_reform')

diff --git a/src/doc_reform/output/xmls_css.d b/src/doc_reform/output/xmls_css.d
index a60ba5f..2c5697f 100644
--- a/src/doc_reform/output/xmls_css.d
+++ b/src/doc_reform/output/xmls_css.d
@@ -452,9 +452,13 @@ template DocReformCss() {
     text-decoration          : none;
   }
   a.lnkocn:visited {
-    color                    : #003399;
+    color                    : #32CD32;
     text-decoration          : none;
   }
+  a.lnkocn:hover {
+    color                    : #777777;
+    font-size                : 15px;
+  }
   a:hover img {
     background-color         : #FFFFFF;
   }
@@ -750,6 +754,12 @@ template DocReformCss() {
     margin-right             : 5px;
     text-align               : right;
     color                    : %s;
+    -khtml-user-select       : none;
+    -moz-user-select         : none;
+    -ms-user-select          : none;
+    -o-user-select           : none;
+    -webkit-user-select      : none;
+    user-select              : none;
   }
   table {
     display                  : block;
@@ -958,6 +968,12 @@ template DocReformCss() {
     margin-bottom            : 0px;
     padding-left             : 0em;
     text-indent              : 0em;
+    -khtml-user-select       : none;
+    -moz-user-select         : none;
+    -ms-user-select          : none;
+    -o-user-select           : none;
+    -webkit-user-select      : none;
+    user-select              : none;
   }
   /* flex */
   .flex-menu-bar {
@@ -1106,9 +1122,13 @@ template DocReformCss() {
     text-decoration          : none;
   }
   a.lnkocn:visited {
-    color                    : #FFFFFF;
+    color                    : #9ACD32;
     text-decoration          : none;
   }
+  a.lnkocn:hover {
+    color                    : #BBBBBB;
+    font-size                : 15px;
+  }
   a:hover img {
     background-color         : #000000;
   }
@@ -1401,6 +1421,12 @@ template DocReformCss() {
     margin-right             : 5px;
     text-align               : right;
     color                    : %s;
+    -khtml-user-select       : none;
+    -moz-user-select         : none;
+    -ms-user-select          : none;
+    -o-user-select           : none;
+    -webkit-user-select      : none;
+    user-select              : none;
   }
   table {
     display                  : block;
@@ -1610,6 +1636,12 @@ template DocReformCss() {
     margin-bottom            : 0px;
     padding-left             : 0em;
     text-indent              : 0em;
+    -khtml-user-select       : none;
+    -moz-user-select         : none;
+    -ms-user-select          : none;
+    -o-user-select           : none;
+    -webkit-user-select      : none;
+    user-select              : none;
   }
   /* flex */
   .flex-menu-bar {
@@ -1758,9 +1790,13 @@ template DocReformCss() {
     text-decoration          : none;
   }
   a.lnkocn:visited {
-    color                    : #003399;
+    color                    : #32CD32;
     text-decoration          : none;
   }
+  a.lnkocn:hover {
+    color                    : #777777;
+    font-size                : 15px;
+  }
   a:hover img {
     background-color         : #FFFFFF;
   }
@@ -2056,6 +2092,12 @@ template DocReformCss() {
     margin-right             : 5px;
     text-align               : right;
     color                    : %s;
+    -khtml-user-select       : none;
+    -moz-user-select         : none;
+    -ms-user-select          : none;
+    -o-user-select           : none;
+    -webkit-user-select      : none;
+    user-select              : none;
   }
   table {
     display                  : block;
@@ -2346,9 +2388,13 @@ template DocReformCss() {
     text-decoration          : none;
   }
   a.lnkocn:visited {
-    color                    : #FFFFFF;
+    color                    : #9ACD32;
     text-decoration          : none;
   }
+  a.lnkocn:hover {
+    color                    : #BBBBBB;
+    font-size                : 15px;
+  }
   a:hover img {
     background-color         : #000000;
   }
@@ -2641,6 +2687,12 @@ template DocReformCss() {
     margin-right             : 5px;
     text-align               : right;
     color                    : %s;
+    -khtml-user-select       : none;
+    -moz-user-select         : none;
+    -ms-user-select          : none;
+    -o-user-select           : none;
+    -webkit-user-select      : none;
+    user-select              : none;
   }
   table {
     display                  : block;
@@ -2930,9 +2982,13 @@ template DocReformCss() {
     text-decoration          : none;
   }
   a.lnkocn:visited {
-    color                    : #003399;
+    color                    : #32CD32;
     text-decoration          : none;
   }
+  a.lnkocn:hover {
+    color                    : #777777;
+    font-size                : 15px;
+  }
   a:hover img {
     background-color         : #FFFFFF;
   }
@@ -3228,6 +3284,12 @@ template DocReformCss() {
     margin-right             : 5px;
     text-align               : right;
     color                    : %s;
+    -khtml-user-select       : none;
+    -moz-user-select         : none;
+    -ms-user-select          : none;
+    -o-user-select           : none;
+    -webkit-user-select      : none;
+    user-select              : none;
   }
   table {
     display                  : block;
@@ -3408,9 +3470,13 @@ template DocReformCss() {
     text-decoration          : none;
   }
   a.lnkocn:visited {
-    color                    : #FFFFFF;
+    color                    : #9ACD32;
     text-decoration          : none;
   }
+  a.lnkocn:hover {
+    color                    : #BBBBBB;
+    font-size                : 15px;
+  }
   a:hover img {
     background-color         : #000000;
   }
@@ -3703,6 +3769,12 @@ template DocReformCss() {
     margin-right             : 5px;
     text-align               : right;
     color                    : %s;
+    -khtml-user-select       : none;
+    -moz-user-select         : none;
+    -ms-user-select          : none;
+    -o-user-select           : none;
+    -webkit-user-select      : none;
+    user-select              : none;
   }
   table {
     display                  : block;
-- 
cgit v1.2.3