summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcello Coutinho <marcellocoutinho@gmail.com>2012-06-09 00:56:05 -0300
committermarcelloc <marcellocoutinho@gmail.com>2012-06-09 00:56:05 -0300
commit43b1760c40cd497c93d0bd25ab519fc7ef869752 (patch)
tree3a1867fa99305f35f719b68889f12294957bd36f
parent97f30a080cd0618c834dcadf178da3b4a0394c3e (diff)
downloadpfsense-43b1760c40cd497c93d0bd25ab519fc7ef869752.zip
pfsense-43b1760c40cd497c93d0bd25ab519fc7ef869752.tar.gz
fix jquery+domtt notices css on all themes
-rw-r--r--etc/inc/functions.inc6
-rw-r--r--usr/local/www/javascript/domTT/domLib.js2
-rwxr-xr-xusr/local/www/themes/code-red/all.css2
-rw-r--r--usr/local/www/themes/metallic/all.css1
-rw-r--r--usr/local/www/themes/nervecenter/all.css1
-rw-r--r--usr/local/www/themes/pfsense-dropdown/all.css1
-rw-r--r--usr/local/www/themes/pfsense/all.css1
-rw-r--r--usr/local/www/themes/pfsense_ng/all.css2
-rw-r--r--usr/local/www/themes/the_wall/all.css7
9 files changed, 16 insertions, 7 deletions
diff --git a/etc/inc/functions.inc b/etc/inc/functions.inc
index 83be27f..695a1cf 100644
--- a/etc/inc/functions.inc
+++ b/etc/inc/functions.inc
@@ -107,12 +107,12 @@ function get_menu_messages(){
$notice_msgs .="</table>";
$domtt= "onclick=\"domTT_activate(this, event, 'caption', '{$notice}','content', '<br>{$notice_msgs}', 'trail', false, 'delay', 0, 'fade', 'both', 'fadeMax', 93, 'styleClass', 'niceTitle','width','{$domtt_width}','y',5,'type', 'sticky');\"";
- $menu_messages="<div id='alerts' style='z-index:500'; >\n";
+ $menu_messages="<div id='alerts' ; >\n";
if(count($notices)==1)
$msg= sprintf("%1$02d",count($notices))." ".gettext("unread notice");
else
$msg= sprintf("%1$02d",count($notices))." ".gettext("unread notices");
- $menu_messages.="<div id='marquee-text' ><a href=# {$domtt}>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b> .:. {$msg} .:. </b></a></div>\n";
+ $menu_messages.="<div id='marquee-text' style='z-index:1001;'><a href=# {$domtt}><b> .:. {$msg} .:. </b></a></div>\n";
$menu_messages.="</div>\n";
}
} else {
@@ -132,4 +132,4 @@ require_once("certs.inc");
require_once("system.inc");
require_once("vslb.inc");
-?> \ No newline at end of file
+?>
diff --git a/usr/local/www/javascript/domTT/domLib.js b/usr/local/www/javascript/domTT/domLib.js
index 517a67c..f56075c 100644
--- a/usr/local/www/javascript/domTT/domLib.js
+++ b/usr/local/www/javascript/domTT/domLib.js
@@ -80,7 +80,7 @@ var domLib_styleNoMaxWidth = domLib_isOpera ? '10000px' : 'none';
var domLib_hidePosition = '-1000px';
var domLib_scrollbarWidth = 14;
var domLib_autoId = 1;
-var domLib_zIndex = 100;
+var domLib_zIndex = 1010;
// -- Detection --
var domLib_collisionElements;
diff --git a/usr/local/www/themes/code-red/all.css b/usr/local/www/themes/code-red/all.css
index 5121323..cd8e435 100755
--- a/usr/local/www/themes/code-red/all.css
+++ b/usr/local/www/themes/code-red/all.css
@@ -274,6 +274,8 @@ div#marquee-text {
font-weight: normal;
font-family: Verdana;
color: #990000;
+ text-align: right;
+ padding-right: 18px;
}
table#marquee div#container {
position: relative;
diff --git a/usr/local/www/themes/metallic/all.css b/usr/local/www/themes/metallic/all.css
index 766a869..056ae02 100644
--- a/usr/local/www/themes/metallic/all.css
+++ b/usr/local/www/themes/metallic/all.css
@@ -258,6 +258,7 @@ div#marquee-text {
font-size: 1.18em;
font-weight: bold;
font-family: Verdana;
+ text-align: center;
}
table#marquee div#container {
position: relative;
diff --git a/usr/local/www/themes/nervecenter/all.css b/usr/local/www/themes/nervecenter/all.css
index 91253b6..7a6a75b 100644
--- a/usr/local/www/themes/nervecenter/all.css
+++ b/usr/local/www/themes/nervecenter/all.css
@@ -281,6 +281,7 @@ div#marquee-text {
font-weight: normal;
font-family: Verdana;
color: #ffffff;
+ text-align: center;
}
table#marquee div#container {
position: relative;
diff --git a/usr/local/www/themes/pfsense-dropdown/all.css b/usr/local/www/themes/pfsense-dropdown/all.css
index 8a4fcc2..44161ac 100644
--- a/usr/local/www/themes/pfsense-dropdown/all.css
+++ b/usr/local/www/themes/pfsense-dropdown/all.css
@@ -235,6 +235,7 @@ div#marquee-text {
font-size: 1.18em;
font-weight: bold;
font: Verdana;
+ text-align: center;
}
table#marquee div#container {
position: relative;
diff --git a/usr/local/www/themes/pfsense/all.css b/usr/local/www/themes/pfsense/all.css
index 2cc7fcc..73b3324 100644
--- a/usr/local/www/themes/pfsense/all.css
+++ b/usr/local/www/themes/pfsense/all.css
@@ -246,6 +246,7 @@ div#marquee-text {
font-size: 1.18em;
font-weight: bold;
font: Verdana;
+ text-align: center;
}
table#marquee div#container {
position: relative;
diff --git a/usr/local/www/themes/pfsense_ng/all.css b/usr/local/www/themes/pfsense_ng/all.css
index c3c615e..57cc1bd 100644
--- a/usr/local/www/themes/pfsense_ng/all.css
+++ b/usr/local/www/themes/pfsense_ng/all.css
@@ -319,6 +319,8 @@ div#marquee-text {
font-weight: normal;
font-style: italic;
color: #000000;
+ padding-left: 30px;
+ padding-top: 2px;
}
table#marquee div#container {
position: relative;
diff --git a/usr/local/www/themes/the_wall/all.css b/usr/local/www/themes/the_wall/all.css
index 0d13dc9..c96a99c 100644
--- a/usr/local/www/themes/the_wall/all.css
+++ b/usr/local/www/themes/the_wall/all.css
@@ -239,12 +239,12 @@ iframe {
position: relative;
background: url('images/alert_bgr.png') no-repeat;
height: 90px;
- width: 180px;
+ width: 190px;
z-index: 1;
top: 55px;
left: -5px;
- padding-top: 60px;
- padding-left: 20px;
+ padding-top: 45px;
+ padding-left: 0px;
margin: 0px;
}
#header-right .container .right #hostname {
@@ -287,6 +287,7 @@ div#marquee-text {
font-family: Verdana;
font-weight: bold;
color: #000000;
+ padding-left: 5px;
}
table#marquee div#container {
position: relative;
OpenPOWER on IntegriCloud