- 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:
parent
7e22620ec2
commit
09fdda8131
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -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 {
|
||||
|
||||
@ -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 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user