From 730378a84e91b18b4cd3455723deff03bb672bcc Mon Sep 17 00:00:00 2001 From: Vladyslav Date: Thu, 26 Apr 2018 00:34:04 +0300 Subject: [PATCH 1/4] Change the appearance of the tooltips --- img/admin/admin.css | 57 +++++++++++++++++++++++++++------------------ 1 file changed, 34 insertions(+), 23 deletions(-) diff --git a/img/admin/admin.css b/img/admin/admin.css index 40efc02a..cf5572e1 100644 --- a/img/admin/admin.css +++ b/img/admin/admin.css @@ -573,34 +573,45 @@ input#btn_search {width:97px; background-image: url(b/search.gif);} /* Start tooltips for the admin panel settings */ .tooltip { - border-bottom: 1px dotted #000000; - color: #000000; - outline: none; - cursor: help; - text-decoration: none; position: relative; + display: inline-block; + border-bottom: 1px dotted black; + cursor: help; } -.tooltip span { - margin-left: -999em; - position: absolute; -} - -.tooltip:hover span { - font-family: Calibri, Tahoma, Geneva, sans-serif; - font-size: 1.2em; - position: absolute; - left: -2em; - bottom: 1em; - z-index: 99; - margin-left: 0; +.tooltip .classic { + visibility: hidden; width: 250px; + background-color: black; + color: #fff; + text-align: center; + font-style: normal; + border-radius: 5px; + padding: 10px; + position: absolute; + z-index: 99; + bottom: 120%; + left: 50%; + margin-left: -40px; + + /* Fade in tooltip - takes 1 second to go from 0% to 100% opac: */ + opacity: 0; + transition: opacity 1s; } -.classic { - padding: 0.8em 1em; - background: #FFFFAA; - border: 1px solid #FFAD33; - border-radius: 5px; +.tooltip .classic::after { + content: ""; + position: absolute; + top: 100%; + left: 40px; + margin-left: -5px; + border-width: 5px; + border-style: solid; + border-color: black transparent transparent transparent; +} + +.tooltip:hover .classic { + visibility: visible; + opacity: 1; } /* End of tooltips */ \ No newline at end of file From ae624f75990870b103fb1247b1bb7b14b0b0eaa9 Mon Sep 17 00:00:00 2001 From: phaze1G Date: Thu, 26 Apr 2018 09:19:52 +0200 Subject: [PATCH 2/4] replacing buttons --- password.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/password.php b/password.php index d6430712..fa6f7ba9 100644 --- a/password.php +++ b/password.php @@ -106,7 +106,7 @@ if(!isset($_REQUEST['npw'])){

- +

- \ No newline at end of file + From 2783d395d18d4cbf1dc2a003e92b597ea058e3e9 Mon Sep 17 00:00:00 2001 From: phaze1G Date: Thu, 26 Apr 2018 09:22:06 +0200 Subject: [PATCH 3/4] Update warsim.php --- warsim.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/warsim.php b/warsim.php index dff6163a..9d2a586e 100644 --- a/warsim.php +++ b/warsim.php @@ -162,7 +162,7 @@ if(count($target) > 0) { -

+





From f168d95e3ab3a29298af981090ff8845bbff283a Mon Sep 17 00:00:00 2001 From: phaze1G Date: Thu, 26 Apr 2018 09:25:45 +0200 Subject: [PATCH 4/4] Update notes.tpl --- Templates/Message/notes.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Templates/Message/notes.tpl b/Templates/Message/notes.tpl index 0da607e1..7267034c 100644 --- a/Templates/Message/notes.tpl +++ b/Templates/Message/notes.tpl @@ -7,7 +7,7 @@ include("menu.tpl");
-


+