- Moved style info from PMA_createQtip() into theme_right.css.php

- Adjusted style to look more like the tooltips we had originally
- Removed dHint class
This commit is contained in:
Tyron Madlener 2011-08-08 16:15:35 +03:00
parent 7e22620ec2
commit 09fdda8131
3 changed files with 44 additions and 36 deletions

View File

@ -3052,30 +3052,28 @@ function PMA_createqTip($elements, content, options) {
var o = {
content: content,
style: {
background: '#333',
border: {
radius: 5
classes: {
tooltip: 'normalqTip',
content: 'normalqTipContent'
},
fontSize: '0.8em',
padding: '0 0.5em',
name: 'dark'
},
position: {
target: 'mouse',
corner: { target: 'rightMiddle', tooltip: 'leftMiddle' },
adjust: { x: 20 }
adjust: { x: 10, y: 20 }
},
show: {
delay: 0,
effect: {
type: 'grow',
length: 100
length: 150
}
},
hide: {
effect: {
type: 'grow',
length: 150
length: 200
}
}
}

View File

@ -2346,20 +2346,25 @@ span.mysql-number {
width: 10px;
}
.dHint {
background: #333;
border:1px solid #000;
color: #FFF;
font-size: 0.8em;
font-weight: bold;
margin-top: -1em;
opacity: 0.8;
padding: 0.5em 1em;
position: fixed;
text-shadow: -1px -1px #000;
-moz-border-radius: 0.3em;
-webkit-border-radius: 0.3em;
border-radius: 0.3em;
.normalqTip {
background: #333 !important;
opacity: 0.8 !important;
border:1px solid #000 !important;
-moz-border-radius: 0.3em !important;
-webkit-border-radius: 0.3em !important;
border-radius: 0.3em !important;
text-shadow: -1px -1px #000 !important;
font-size: 0.8em !important;
font-weight: bold !important;
}
.normalqTip * {
background: none !important;
color: #FFF !important;
}
.normalqTipContent {
padding: 1px 3px !important;
}
.data {

View File

@ -2761,20 +2761,25 @@ span.mysql-number {
width: 10px;
}
.dHint {
background: #333;
border:1px solid #000;
color: #FFF;
font-size: 0.8em;
font-weight: bold;
margin-top: -1em;
opacity: 0.8;
padding: 0.5em 1em;
position: fixed;
text-shadow: -1px -1px #000;
-moz-border-radius: 0.3em;
-webkit-border-radius: 0.3em;
border-radius: 0.3em;
.normalqTip {
background: #333 !important;
opacity: 0.8 !important;
border:1px solid #000 !important;
-moz-border-radius: 0.3em !important;
-webkit-border-radius: 0.3em !important;
border-radius: 0.3em !important;
text-shadow: -1px -1px #000 !important;
font-size: 0.8em !important;
font-weight: bold !important;
}
.normalqTip * {
background: none !important;
color: #FFF !important;
}
.normalqTipContent {
padding: 1px 3px !important;
}
.cHide {