noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 19/30: Cosmetic


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 19/30: Cosmetic
Date: Sat, 3 Dec 2022 08:35:12 -0500 (EST)

sparkyx pushed a commit to branch master
in repository noalyss.

commit be0de15511e37ebc8fea6c1eaad4abda0941952d
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Sun Nov 27 17:03:15 2022 +0100

    Cosmetic
---
 html/css/style-classic7.css      | 41 +++++++++++++++++++++++++++++-----------
 html/js/anc_script.js            |  1 -
 include/lib/dbg.php              |  2 +-
 include/lib/html_input.class.php |  6 ++++++
 4 files changed, 37 insertions(+), 13 deletions(-)

diff --git a/html/css/style-classic7.css b/html/css/style-classic7.css
index 379d9f04b..9467d82cd 100644
--- a/html/css/style-classic7.css
+++ b/html/css/style-classic7.css
@@ -56,7 +56,7 @@ a.mtitle span.notice {
 }
 table.sortable, table.table_large, table.result  ,table.resultfooter {
     width:99%;
-    border-spacing:  0px;
+    border-spacing:  0px 2px;
    border-collapse:collapse; 
     
     border:1px solid #5D90CD;
@@ -75,13 +75,20 @@ table.sortable th,  table.table_large th,table.result th {
     font-family: Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif;
     font-family: 'OpenSansRegular';
     border-bottom:2px #5d90cd groove;
-    border-top:0;
+    border-top:0px;
 
     color:#0C106D;
     text-align: left;
     font-style: normal;
 
 }
+/* LarGe */
+@media (min-width: 992px) {
+    table.sortable , table.table_large, table.result {
+        border-collapse: separate;
+        border-spacing: 1px 3px;
+    }
+}
 h2.title {
     border-radius: 0px;
     margin: 0px;
@@ -3272,22 +3279,23 @@ li.li-active {
      position: relative;
      left: 0px;
      top: 10px;
-    background: rgb(176, 173, 230);
-     box-shadow: navy 1px 1px 40px;
-
+     background: rgb(176, 173, 230);
+     box-shadow: #a7a7b3 1px 1px 40px;
+     border-radius: 5px;
  }
 
 
- @keyframes turn-color{
-     0% { transform : rotate(0deg);opacity:0.1;}
-     50% { transform : rotate(90deg);opacity:0.9}
-     100% { transform : rotate(180deg);opacity:0.1}
+  @keyframes turn-color{
+     0% { transform : rotate(0deg);opacity:0.1;transform:scale( 
0.3);background-color:navy}
+     50% { transform : rotate(90deg);opacity:0.9;; }
+     100% { transform : rotate(180deg);opacity:0.1;transform:scale( 1.3)}
  }
 
  /**
-  * style in TEXTAREA wysiwyg
+  * style in TEXTAREA wysiwyg must be encapsuled in div with the class 
nicEdit-main
+  *
   */
- div.nicEdit-main>blockquote {
+ div.nicEdit-main blockquote {
      margin-left:2rem !important;
  }
 
@@ -3298,4 +3306,15 @@ li.li-active {
      margin-right:5% !important;
      background-size:1px !important;
      height:2px;
+ }
+
+ div.nicEdit-main h2 {
+     margin: 0px;
+     padding: 0px;
+     font-size: 1.6em;
+     font-style: normal;
+     margin-bottom: .5rem;
+     font-size: 2rem !important;
+     background-color: white;
+     color: navy;
  }
\ No newline at end of file
diff --git a/html/js/anc_script.js b/html/js/anc_script.js
index d2765bd7c..f238ad35f 100644
--- a/html/js/anc_script.js
+++ b/html/js/anc_script.js
@@ -91,7 +91,6 @@ function compute_total_table(p_table, seq)
                 tot += rounded_value
           
         }
-      console.log(`total computed (compute_total_table) ${p_table} ${tot/100}`)
         return tot/100;
     }
     catch (e)
diff --git a/include/lib/dbg.php b/include/lib/dbg.php
index f71bba927..82dabc3af 100644
--- a/include/lib/dbg.php
+++ b/include/lib/dbg.php
@@ -27,7 +27,7 @@ class Dbg
     public static function echo_function($msg,$print=true)
     {
         if (DEBUGNOALYSS > 1) {
-            $r =  '<span 
style="font-size:12px;color:lightgreen;background-color:lightyellow;">';
+            $r =  '<span 
style="font-size:12px;color:brown;background-color:bisque;">';
             $r.="[FILE: $msg]";
 
             $r.= '</span>';
diff --git a/include/lib/html_input.class.php b/include/lib/html_input.class.php
index 9e82f2fb9..167e53264 100755
--- a/include/lib/html_input.class.php
+++ b/include/lib/html_input.class.php
@@ -221,6 +221,12 @@ class HtmlInput
     {
         if ($p_id=="")
             $p_id=$p_name;
+        if ( DEBUGNOALYSS > 2) {
+            return '<span 
style="font-size:80%;color:blue;background-color:lightgoldenrodyellow">'.
+                $p_id .
+                '= <INPUT TYPE="text" id="'.strip_tags($p_id).'" 
NAME="'.$p_name.'" VALUE="'.strip_tags($p_value).'" 
style="color:blue;font-size:80%">'.
+                '</span>';
+        }else
         return '<INPUT TYPE="hidden" id="'.strip_tags($p_id).'" 
NAME="'.$p_name.'" VALUE="'.strip_tags($p_value).'">';
     }
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]