noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 14/15: cosmetic : position inner_box on large


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 14/15: cosmetic : position inner_box on larger screen
Date: Fri, 5 Feb 2021 11:38:33 -0500 (EST)

sparkyx pushed a commit to branch master
in repository noalyss.

commit ee543225e7bbef065073c91092e86f51b79e9c04
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Thu Feb 4 15:59:45 2021 +0100

    cosmetic : position inner_box on larger screen
---
 html/js/card.js         |  3 ++-
 html/style-classic7.css | 10 +++++-----
 2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/html/js/card.js b/html/js/card.js
index 428c384..d5e334e 100644
--- a/html/js/card.js
+++ b/html/js/card.js
@@ -596,7 +596,8 @@ function fill_ipopcard(obj)
     if ( nTop > 300 ) {
         nTop=170;
     }
-    var str_top=fixed_position(250,nTop)
+    var str_top="top:"+calcy(nTop)+"px";
+
     var str_style=str_top+";width:45em;height:auto;position:absolute";
 
     var popup={'id':  
content,'cssclass':'inner_box','style':str_style,'html':loading(),'drag':false};
diff --git a/html/style-classic7.css b/html/style-classic7.css
index 5b9d185..daefc5a 100644
--- a/html/style-classic7.css
+++ b/html/style-classic7.css
@@ -917,7 +917,7 @@ div.inner_box  {
     overflow:hidden;
     z-index:3;
     position:absolute;
-    left:10%;
+    left : 5px;
     border:1px solid #00008B;
 -moz-box-shadow: 10px 10px 5px #888;
 /*! -webkit-box-shadow: 10px 10px 5px #888; */
@@ -933,6 +933,7 @@ div.inner_box  {
     width: 85%;
      border-radius: 9px; 
     /*! padding: 5px; */
+    left:10%;
     }
 }
 div.op_detail_title {
@@ -1804,13 +1805,12 @@ li.highlight a,tr.highlight a{
     color: inherit;
 }
 
/*******************************************************************************
- * Inner_box on a smaller screen
+ * Inner_box on a larger screen
  
*******************************************************************************/
 @media only screen and (min-width: 1280px) {
     div.inner_box  {
-        width: 95%;
-        left:2%;
-        /*! margin-bottom: 2%; */
+        width: 75%;
+        left:5%;
         padding-bottom: 10px;
         }
 }



reply via email to

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