mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
Site edit. File upload input button UI change. .overlap button style added.
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11760 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
ab79cc4552
commit
1443edc1eb
5 changed files with 15 additions and 17 deletions
|
|
@ -190,9 +190,10 @@ jQuery(function($){
|
|||
// File input .overlap style
|
||||
$('input[type="file"].overlap').each(function(){
|
||||
var $this = $(this);
|
||||
var $btn = $this.prev('button');
|
||||
$this.parent().css('position','relative');
|
||||
$this.width($btn.width()).height($btn.height()).offset($btn.offset());
|
||||
$this.wrap('<span class="fileBtn" />').before('<button type="button">');
|
||||
var $button = $this.prev('button');
|
||||
$button.text($this.attr('title')).addClass($this.attr('class')).removeClass('overlap');
|
||||
$this.attr('class','overlap').width($button.width()).height($button.height()).offset($button.offset());
|
||||
});
|
||||
// Email Masking
|
||||
$.fn.xeMask = function(){
|
||||
|
|
|
|||
7
modules/admin/tpl/js/admin.min.js
vendored
7
modules/admin/tpl/js/admin.min.js
vendored
|
|
@ -190,9 +190,10 @@ jQuery(function($){
|
|||
// File input .overlap style
|
||||
$('input[type="file"].overlap').each(function(){
|
||||
var $this = $(this);
|
||||
var $btn = $this.prev('button');
|
||||
$this.parent().css('position','relative');
|
||||
$this.width($btn.width()).height($btn.height()).offset($btn.offset());
|
||||
$this.wrap('<span class="fileBtn" />').before('<button type="button">');
|
||||
var $button = $this.prev('button');
|
||||
$button.text($this.attr('title')).addClass($this.attr('class')).removeClass('overlap');
|
||||
$this.attr('class','overlap').width($button.width()).height($button.height()).offset($button.offset());
|
||||
});
|
||||
// Email Masking
|
||||
$.fn.xeMask = function(){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue