1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-18 20:31:41 +02:00

e-spinner tool-tip fix in admin area.

This commit is contained in:
CaMer0n
2012-11-16 00:20:00 +00:00
parent d3156afc2f
commit 539efe643a
2 changed files with 13 additions and 7 deletions

View File

@@ -5,6 +5,8 @@ $(document).ready(function()
// run tips on title attribute. // run tips on title attribute.
$(".e-tip").each(function() { $(".e-tip").each(function() {
var tip = $(this).attr('title'); var tip = $(this).attr('title');
if(!tip) if(!tip)
{ {
@@ -20,11 +22,11 @@ $(document).ready(function()
// run tips on .field-help // run tips on .field-help
$("input,textarea,select,label,.e-tip").each(function(c) { $("input,textarea,select,label,.e-tip").each(function(c) {
var t = $(this).nextAll(".field-help");
$(this).nextAll(".field-help").hide(); t.hide();
// alert('hello'); // alert('hello');
$(this).tipsy({title: function() { $(this).tipsy({title: function() {
var tip = $(this).nextAll(".field-help").text(); var tip = t.text();
return tip; return tip;
}, },
fade: true, fade: true,
@@ -34,8 +36,8 @@ $(document).ready(function()
}); });
// $(".e-spinner").spinner();
$(".e-spinner").spinner();
$(".e-radio-multi").each(function() { $(".e-radio-multi").each(function() {

View File

@@ -451,6 +451,10 @@ select[disabled='disabled'],
option { padding-right: 10px;} option { padding-right: 10px;}
input.input-text, textarea, .tbox, .helpbox { padding:2px; } input.input-text, textarea, .tbox, .helpbox { padding:2px; }
input.e-spinner {
border:0px;
}
select.tbox { min-height:17px; padding: 0px; /* setting the height of empty selects */ } select.tbox { min-height:17px; padding: 0px; /* setting the height of empty selects */ }
.select.order { width: 40px !important; } .select.order { width: 40px !important; }
.select.time-offset { width: 60px !important; } .select.time-offset { width: 60px !important; }