Fix tooltip in form
Change form_file
This commit is contained in:
1 parent
de6ce0073f
commit
0d0f85e7ad
11 files changed
+57
-71
No files matched your search
@@ -1,8 +1,8 @@
|
||||
//= require jquery
|
||||
//= require jquery_ujs
|
||||
//= require jquery.ui.tooltip
|
||||
|
||||
//= require basic/bootstrap
|
||||
//= require jquery.ui.tooltip
|
||||
//= require basic/iscroll
|
||||
//= require basic/orbit_js_1.0.1.js
|
||||
//= require basic/jquery.nanoscroller.js
|
||||
|
||||
@@ -121,3 +121,12 @@ CKEDITOR.editorConfig = function( config ) {
|
||||
// Make dialogs simpler.
|
||||
config.removeDialogTabs = 'image:advanced;link:advanced';
|
||||
};
|
||||
|
||||
CKEDITOR.on('instanceReady',function(){
|
||||
$('.cke_button').tooltip({
|
||||
position: {
|
||||
my: "center bottom-4",
|
||||
at: "center top"
|
||||
}
|
||||
});
|
||||
});
|
||||
+9
-4
@@ -4,7 +4,12 @@ $(function () {
|
||||
$type = ['pdf', 'psd', 'ai', 'fla', 'swf', 'in', 'acc', 'do', 'xl', 'pp', 'zip', 'rar', '7z', 'txt', 'jp', 'gif', 'png', 'mp3', 'wav'];
|
||||
|
||||
$fileType.each(function (i) {
|
||||
var $fileTypeHref = $(this).children('a').attr('href');
|
||||
var $fileTypeHref = null;
|
||||
if($(this).children('a').length) {
|
||||
$fileTypeHref = $(this).children('a').attr('href');
|
||||
} else {
|
||||
$fileTypeHref = $(this).attr('href');
|
||||
};
|
||||
|
||||
$fileTypeHref = $fileTypeHref.split("/");
|
||||
$fileTypeHref = $fileTypeHref[$fileTypeHref.length-1];
|
||||
@@ -21,8 +26,8 @@ $(function () {
|
||||
$fileType.eq(i).addClass('type-audio');
|
||||
} else {
|
||||
$fileType.eq(i).addClass('type-'+type);
|
||||
}
|
||||
}
|
||||
})
|
||||
};
|
||||
};
|
||||
});
|
||||
});
|
||||
});
|
||||
@@ -520,9 +520,10 @@ legend {
|
||||
padding: 0px 5px;
|
||||
position: absolute;
|
||||
z-index: 9999;
|
||||
max-width: 300px;
|
||||
max-width: 500px;
|
||||
border-radius: 3px;
|
||||
background-color: #0088CC;
|
||||
white-space: nowrap;
|
||||
}
|
||||
#sideset .ui-tooltip.sidebar-tooltip:after {
|
||||
display: none;
|
||||
@@ -532,9 +533,10 @@ legend {
|
||||
padding: 0px 5px;
|
||||
position: absolute;
|
||||
z-index: 9999;
|
||||
max-width: 300px;
|
||||
max-width: 500px;
|
||||
border-radius: 3px;
|
||||
background-color: #000000;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.ui-tooltip:after {
|
||||
content: '';
|
||||
|
||||
Reference in new issue
Block a user