diff --git a/.github/workflows/Deploy CN.yml b/.github/workflows/Deploy CN.yml new file mode 100644 index 00000000..5fd67cfb --- /dev/null +++ b/.github/workflows/Deploy CN.yml @@ -0,0 +1,37 @@ +# . +name: 🚀 Deploy INFO-SYS +on: + # Triggers the workflow on push or pull request events but only for the master branch + push: + branches: [ master ] +jobs: + gh-win-cn-all-deploy: + name: 🎉 Deploy InfoSys to CN + runs-on: ubuntu-latest + steps: + - name: 🚚 Get latest code + uses: actions/checkout@v3 + + - name: 📂 Sync files + uses: SamKirkland/FTP-Deploy-Action@v4.3.4 + with: + server: ${{ secrets.CN_FTP_SERVER }} + username: ${{ secrets.CN_FTP_USER }} + password: ${{ secrets.CN_FTP_PASSWORD }} + port: ${{ secrets.CN_FTP_PORT }} + local-dir: ./ + server-dir: /wwwroot/origin-cht.mycht.cn/ + # dry-run: true + # log-level: verbose + exclude: | + **/.git* + **/.git*/** + **/node_modules/** + document/** + download_statement/** + sample/** + **/logs/** + **/web.config + **/author/document/** + *.exe + *.docx diff --git a/.github/workflows/Deploy.yml b/.github/workflows/Deploy.yml new file mode 100644 index 00000000..eec9b0a3 --- /dev/null +++ b/.github/workflows/Deploy.yml @@ -0,0 +1,94 @@ +name: 🚀 Deploy INFO-SYS + +on: + # Triggers the workflow on push or pull request events but only for the master branch + push: + branches: [ master ] + +jobs: + gh-win-us-deploy: + name: 🎉 Deploy InfoSys to US + runs-on: ubuntu-latest + steps: + - name: 🚚 Get latest code + uses: actions/checkout@v3 + + - name: 📂 Sync files to CHT + uses: SamKirkland/FTP-Deploy-Action@v4.3.4 + with: + server: ${{ secrets.US_FTP_SERVER }} + username: ${{ secrets.US_FTP_USER }} + password: ${{ secrets.US_FTP_PASSWORD }} + port: ${{ secrets.US_FTP_PORT }} + local-dir: ./ + server-dir: /information-system/ + # dry-run: true + exclude: | + **/.git* + **/.git*/** + **/node_modules/** + document/** + download_statement/** + sample/** + **/logs/** + **/web.config + **/author/document/** + *.exe + *.docx + .ftp-deploy-sync-state.json + - name: 📂 Sync files to CT + uses: SamKirkland/FTP-Deploy-Action@v4.3.4 + with: + server: ${{ secrets.US_FTP_SERVER }} + username: ${{ secrets.US_FTP_USER }} + password: ${{ secrets.US_FTP_PASSWORD }} + port: ${{ secrets.US_FTP_PORT }} + local-dir: ./ + server-dir: /origin-ct.mycht.cn/ + # dry-run: true + exclude: | + **/.git* + **/.git*/** + **/node_modules/** + document/** + download_statement/** + sample/** + **/logs/** + **/web.config + **/author/document/** + *.exe + *.docx + .ftp-deploy-sync-state.json + + gh-win-cn-deploy: + needs: gh-win-us-deploy + name: 🎉 Deploy InfoSys to CN + runs-on: ubuntu-latest + steps: + - name: 🚚 Get latest code + uses: actions/checkout@v3 + + - name: 📂 Sync files to CHT + uses: SamKirkland/FTP-Deploy-Action@v4.3.4 + with: + server: ${{ secrets.CN_FTP_SERVER }} + username: ${{ secrets.CN_FTP_USER }} + password: ${{ secrets.CN_FTP_PASSWORD }} + port: ${{ secrets.CN_FTP_PORT }} + local-dir: ./ + server-dir: /wwwroot/origin-cht.mycht.cn/ + # dry-run: true + # log-level: verbose + exclude: | + **/.git* + **/.git*/** + **/node_modules/** + document/** + download_statement/** + sample/** + **/logs/** + **/web.config + **/author/document/** + *.exe + *.docx + .ftp-deploy-sync-state.json diff --git a/.gitignore b/.gitignore index 87794a8c..a286a2b9 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,7 @@ .idea -.phpintel +.phpintel +.*.json.bak +.ftp-deploy-sync-state.json .svn/* */logs/log* /web.config @@ -14,3 +16,4 @@ /application/config/database.php + diff --git a/README.md b/README.md index 2176b435..d423b3cf 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,6 @@ # information-system 网前订单数量查看 https://cht.mycht.cn/info.php/look_order/status -商务加传统订单超过500页面报错,可用于监控 \ No newline at end of file +商务加传统订单超过500页面报错,可用于监控 + +test diff --git a/application/cache/.htaccess b/application/cache/.htaccess deleted file mode 100644 index 3418e55a..00000000 --- a/application/cache/.htaccess +++ /dev/null @@ -1 +0,0 @@ -deny from all \ No newline at end of file diff --git a/application/cache/index.html b/application/cache/index.html deleted file mode 100644 index c942a79c..00000000 --- a/application/cache/index.html +++ /dev/null @@ -1,10 +0,0 @@ - - - 403 Forbidden - - - -

Directory access is forbidden.

- - - \ No newline at end of file diff --git a/application/controllers/information.php b/application/controllers/information.php index 84f6e170..85fc3446 100644 --- a/application/controllers/information.php +++ b/application/controllers/information.php @@ -311,6 +311,8 @@ class Information extends CI_Controller //获取移动优先的模板,如果有的话 //增加判断站点,每个站点需要读取的模板不一样。 20210311 zp + //取消预览,严重影响速度 2023-08-15 ycc + /* if (is_mobile_first()) { $mobile_first_template_path = 'mobile_first/' . $this->config->item('site_code'); if (is_file(APPPATH . 'views/' . $mobile_first_template_path . EXT)) { @@ -326,9 +328,10 @@ class Information extends CI_Controller $data['mobile_first_template'] = '没有找到移动模板'; } } + */ - //CT判断是否生成静态文件 - if ($this->config->item("site_code") == "chinatravel") { + //判断是否生成静态文件 + if (is_mobile_first()) { //查找是否有静态文件 if ($this->html_file_helper('find', $data['information']->ic_url)) { $data['has_html_file'] = true; @@ -547,7 +550,7 @@ class Information extends CI_Controller echo json_encode(array('name' => 'yes', 'data' => '更新成功!')); return true; } else { - echo json_encode(array('name' => 'no', 'data' => '没有发布静态页面')); + echo json_encode(array('name' => 'no', 'data' => '没有发布静态页面: ' . $information->ic_url)); return false; } } @@ -737,18 +740,18 @@ class Information extends CI_Controller //火车票搜索框添加 -- zp if ($information->is_parent_id == "278008234") { //本地测试的火车父类ID为:278035939 。网前为:278008234 - $meta_train_city = get_meta($information->ic_id, 'meta_train_city'); //默认的出发及目的地城市 , beijing|shanghai - $data_TrainCity=array(); - $data_TrainCity["from"]=""; - $data_TrainCity["to"]=""; - if (!empty($meta_train_city)){ - if (strpos($meta_train_city,'|')!==false){ - $arrTrainCity = explode('|',$meta_train_city); - $data_TrainCity["from"] = $arrTrainCity[0]; - $data_TrainCity["to"] = $arrTrainCity[1]; + $meta_train_city = get_meta($information->ic_id, 'meta_train_city'); //默认的出发及目的地城市 , beijing|shanghai + $data_TrainCity = array(); + $data_TrainCity["from"] = ""; + $data_TrainCity["to"] = ""; + if (!empty($meta_train_city)) { + if (strpos($meta_train_city, '|') !== false) { + $arrTrainCity = explode('|', $meta_train_city); + $data_TrainCity["from"] = $arrTrainCity[0]; + $data_TrainCity["to"] = $arrTrainCity[1]; } } - + $template_TrainSearch = $this->load->view($template_path . '-train-detail', $data_TrainCity, true); $template = str_replace('', $template_TrainSearch, $template); } @@ -921,6 +924,46 @@ class Information extends CI_Controller if (!empty($template_recommand['Tips Right'])) { $template = str_replace('', "
" . $template_recommand['Tips Right']->it_content . "
", $template); } + + // /day-tours/(278008224) 节点不使用推荐信息 + if ($information->is_parent_id == '278008224') { + } else { + // 右侧列表广告 + $tips_right_a = []; + $tips_right_b = []; + $tips_right_c = []; + for ($i = 1; $i <= 12; $i++) { + $key = 'List Tips Right A_' . $i; + if (array_key_exists($key, $recommand_information) && $recommand_information[$key]) { + $tips_right_a[] = $recommand_information[$key]; + } + } + for ($i = 1; $i <= 12; $i++) { + $key = 'List Tips Right B_' . $i; + if (array_key_exists($key, $recommand_information) && $recommand_information[$key]) { + $tips_right_b[] = $recommand_information[$key]; + } + } + for ($i = 1; $i <= 12; $i++) { + $key = 'List Tips Right C_' . $i; + if (array_key_exists($key, $recommand_information) && $recommand_information[$key]) { + $tips_right_c[] = $recommand_information[$key]; + } + } + + $tips_right_list_content = $this->load->view( + 'mobile_first/ch-tips-right-list', + array( + 'tips_right_a' => $tips_right_a, + 'tips_right_b' => $tips_right_b, + 'tips_right_c' => $tips_right_c + ), + true + ); + + $template = str_replace('', $tips_right_list_content, $template); + } + //文中的信息推荐 if (strpos($information->ic_content, '') !== false) { $information->ic_content = str_replace('', $this->load->view($template_path . '-recommends-article', array('recommands' => $template_recommand), true), $information->ic_content); @@ -979,7 +1022,9 @@ class Information extends CI_Controller if (!empty($meta_addon_picture_url)) { $template = str_replace('', '
' . $information->ic_title . '
', $template); } else { - $template = str_replace('', '
' . $information->ic_title . '' . $template_TrainSearch . '
', $template); + $template = str_replace('', '
' . $information->ic_title . '
+ +
' . $template_TrainSearch . '
', $template); } } //顶部视频 @@ -1001,7 +1046,8 @@ class Information extends CI_Controller $template = str_replace( '', '', - $template); + $template + ); } //额外样式 $meta_addon_css = get_meta($information->ic_id, 'meta_addon_css'); @@ -1435,6 +1481,40 @@ class Information extends CI_Controller if (!empty($template_recommand['Tips Right'])) { $template = str_replace('', "
" . $template_recommand['Tips Right']->it_content . "
", $template); } + // 右侧列表广告 + $tips_right_a = []; + $tips_right_b = []; + $tips_right_c = []; + for ($i = 1; $i <= 12; $i++) { + $key = 'List Tips Right A_' . $i; + if (array_key_exists($key, $recommand_information) && $recommand_information[$key]) { + $tips_right_a[] = $recommand_information[$key]; + } + } + for ($i = 1; $i <= 12; $i++) { + $key = 'List Tips Right B_' . $i; + if (array_key_exists($key, $recommand_information) && $recommand_information[$key]) { + $tips_right_b[] = $recommand_information[$key]; + } + } + for ($i = 1; $i <= 12; $i++) { + $key = 'List Tips Right C_' . $i; + if (array_key_exists($key, $recommand_information) && $recommand_information[$key]) { + $tips_right_c[] = $recommand_information[$key]; + } + } + + $tips_right_list_content = $this->load->view( + 'mobile_first/gh-tips-right-list', + array( + 'tips_right_a' => $tips_right_a, + 'tips_right_b' => $tips_right_b, + 'tips_right_c' => $tips_right_c + ), + true + ); + + $template = str_replace('', $tips_right_list_content, $template); //文中的信息推荐 if (strpos($information->ic_content, '') !== false) { // $information->ic_content = str_replace('', $this->load->view($template_path . '-recommends-article', array('recommands' => $template_recommand), TRUE), $information->ic_content); @@ -3114,4 +3194,4 @@ class Information extends CI_Controller echo json_encode($data); return true; } -} +} \ No newline at end of file diff --git a/application/models/infoauthors_model.php b/application/models/infoauthors_model.php index 34a6a691..6d5193d0 100644 --- a/application/models/infoauthors_model.php +++ b/application/models/infoauthors_model.php @@ -12,7 +12,7 @@ class Infoauthors_model extends CI_Model function __construct() { parent::__construct(); - $this->HT = $this->load->database('HT', TRUE); + $this->HT = $this->load->database('INFORMATION', TRUE); } function init() diff --git a/application/models/recommends_and_tips_model.php b/application/models/recommends_and_tips_model.php index fd0e4a10..c91c282e 100644 --- a/application/models/recommends_and_tips_model.php +++ b/application/models/recommends_and_tips_model.php @@ -6,7 +6,7 @@ class recommends_and_tips_model extends CI_Model function __construct() { parent::__construct(); - $this->HT = $this->load->database('HT', TRUE); + $this->HT = $this->load->database('INFORMATION', TRUE); } @@ -60,4 +60,4 @@ class recommends_and_tips_model extends CI_Model } } -} \ No newline at end of file +} diff --git a/application/third_party/wwwlog/controllers/index.php b/application/third_party/wwwlog/controllers/index.php index 1baa7fce..ebf5ba77 100644 --- a/application/third_party/wwwlog/controllers/index.php +++ b/application/third_party/wwwlog/controllers/index.php @@ -13,25 +13,44 @@ class Index extends CI_Controller //private $logstore = 'globalhoghlights'; private $token = ""; private $Log_Client; - private $logstore = array('cht' => 'globalhoghlights' - , 'ah' => 'asiahighlights' - , 'gh' => 'globalhighlights' - , 'ct' => 'chinatravel' - , 'yz' => 'yangtzeriver' - , 'gl' => 'guilinchina' - , 'sht' => 'shanghaihighlights' - , 'gm' => 'chinarundreisen' - , 'gmhw' => 'chinarundreisen' - , 'jp' => 'arachina' - , 'jphw' => 'arachina' - , 'ru' => 'chinahighlights_ru' - , 'ruhw' => 'chinahighlights_ru' - , 'it' => 'viaggio-in-cina' - , 'ithw' => 'viaggio-in-cina' - , 'vac' => 'viaje-a-china' - , 'vachw' => 'viaje-a-china' - , 'vc' => 'voyageschine' - , 'vchw' => 'voyageschine', + private $logstore = array( + 'cht' => 'globalhoghlights' + , + 'ah' => 'asiahighlights' + , + 'gh' => 'globalhighlights' + , + 'ct' => 'chinatravel' + , + 'yz' => 'yangtzeriver' + , + 'gl' => 'guilinchina' + , + 'sht' => 'shanghaihighlights' + , + 'gm' => 'chinarundreisen' + , + 'gmhw' => 'chinarundreisen' + , + 'jp' => 'arachina' + , + 'jphw' => 'arachina' + , + 'ru' => 'chinahighlights_ru' + , + 'ruhw' => 'chinahighlights_ru' + , + 'it' => 'viaggio-in-cina' + , + 'ithw' => 'viaggio-in-cina' + , + 'vac' => 'viaje-a-china' + , + 'vachw' => 'viaje-a-china' + , + 'vc' => 'voyageschine' + , + 'vchw' => 'voyageschine', ); //站点日志存储库,每个网站对应一个 public function __construct() @@ -46,11 +65,16 @@ class Index extends CI_Controller { $data = array(); $orders = $this->wwwlogs_model->get_update_list(10); + // print_r($orders); if ($orders) { foreach ($orders as $item) { $site_code = strtolower($item->COLI_WebCode); if (in_array($site_code, array('gm', 'gmhw', 'jp', 'jphw', 'ru', 'ruhw', 'it', 'ithw', 'vac', 'vachw', 'vc', 'vchw'))) { - $this->orders_view_path_int($item->COLI_SN, $site_code, $item->COLI_SenderIP, 0, $item->COLI_OrderDetailText); + try { + $this->orders_view_path_int($item->COLI_SN, $site_code, $item->COLI_SenderIP, 0, $item->COLI_OrderDetailText); + } catch (Exception $err) { + print_r($err); + } } else { $this->orders_view_path($item->COLI_SN, $site_code, $item->COLI_SenderIP); } @@ -238,4 +262,4 @@ class Index extends CI_Controller logVarDump($ex); } } -} +} \ No newline at end of file diff --git a/application/views/mobile_first/ah-feedback-list.php b/application/views/mobile_first/ah-feedback-list.php index 465970b9..fd4b95ff 100644 --- a/application/views/mobile_first/ah-feedback-list.php +++ b/application/views/mobile_first/ah-feedback-list.php @@ -1,20 +1,18 @@ -
- 98.8% positive customer reviews among 10,000+ - -
Tour Review -
-
+

98.8% Positive Customer reviews among 10,000+

+
+ + +
$feedback) {?>
diff --git a/application/views/mobile_first/ah-feedback-newest.php b/application/views/mobile_first/ah-feedback-newest.php index e83c8a56..9384a687 100644 --- a/application/views/mobile_first/ah-feedback-newest.php +++ b/application/views/mobile_first/ah-feedback-newest.php @@ -1,21 +1,19 @@ -
- 98.8% positive customer reviews among 10,000+ - -
Tour Review -
-
+

98.8% Positive Customer reviews among 10,000+

+
+ + +
$feedback) {?> '); - f.appendTo(c.find('table')); - - // Thumbnails - } else { - if (file.thumb) - icon = _.getURL('thumb') + "&file=" + encodeURIComponent(file.name) + "&dir=" + encodeURIComponent(_.dir) + "&stamp=" + stamp; - else if (file.smallThumb) { - icon = _.uploadURL + "/" + _.dir + "/" + encodeURIComponent(file.name); - icon = $.$.escapeDirs(icon).replace(/\'/g, "%27"); - } else { - icon = file.bigIcon ? $.$.getFileExtension(file.name) : "."; - if (!icon.length) icon = "."; - icon = "themes/" + _.theme + "/img/files/big/" + icon + ".png"; - } - f = $('
'); - f.appendTo(c); - } - - f.find('.thumb').css({backgroundImage: 'url("' + icon + '")'}); - f.find('.name').html($.$.htmlData(file.name)); - f.find('.time').html(file.date); - f.find('.size').html(_.humanSize(file.size)); - f.data(file); - - if ((file.name === selected) || $.$.inArray(file.name, selected)) - f.addClass('selected'); - }); - - c.css({opacity:'', filter:''}); - $('#files').html(c); - - if (callBack) callBack(); - _.initFiles(); - }, 200); -}; - -_.selectFile = function(file, e) { - - // Click with Ctrl, Meta or Shift key - if (e.ctrlKey || e.metaKey || e.shiftKey) { - - // Click with Shift key - if (e.shiftKey && !file.hasClass('selected')) { - var f = file.prev(); - while (f.get(0) && !f.hasClass('selected')) { - f.addClass('selected'); - f = f.prev(); - } - } - - file.toggleClass('selected'); - - // Update statusbar - var files = $('.file.selected').get(), - size = 0, data; - if (!files.length) - _.statusDir(); - else { - $.each(files, function(i, cfile) { - size += $(cfile).data('size'); - }); - size = _.humanSize(size); - if (files.length > 1) - $('#fileinfo').html(files.length + " " + _.label("selected files") + " (" + size + ")"); - else { - data = $(files[0]).data(); - $('#fileinfo').html($.$.htmlData(data.name) + " (" + _.humanSize(data.size) + ", " + data.date + ")"); - } - } - - // Normal click - } else { - data = file.data(); - $('.file').removeClass('selected'); - file.addClass('selected'); - $('#fileinfo').html($.$.htmlData(data.name) + " (" + _.humanSize(data.size) + ", " + data.date + ")"); - } -}; - -_.selectAll = function(e) { - if ((!e.ctrlKey && !e.metaKey) || ((e.keyCode != 65) && (e.keyCode != 97))) // Ctrl-A - return false; - - var files = $('.file'), - size = 0; - - if (files.length) { - - files.addClass('selected').each(function() { - size += $(this).data('size'); - }); - - $('#fileinfo').html(files.length + " " + _.label("selected files") + " (" + _.humanSize(size) + ")"); - } - - return true; -}; - -_.returnFile = function(file) { - - var button, win, fileURL = file.substr - ? file : _.uploadURL + "/" + _.dir + "/" + file.data('name'); - fileURL = $.$.escapeDirs(fileURL); - - if (_.opener.name == "ckeditor") { - _.opener.CKEditor.object.tools.callFunction(_.opener.CKEditor.funcNum, fileURL, ""); - window.close(); - - } else if (_.opener.name == "fckeditor") { - window.opener.SetUrl(fileURL) ; - window.close() ; - - } else if (_.opener.name == "tinymce") { - win = tinyMCEPopup.getWindowArg('window'); - win.document.getElementById(tinyMCEPopup.getWindowArg('input')).value = fileURL; - if (win.getImageData) win.getImageData(); - if (typeof(win.ImageDialog) != "undefined") { - if (win.ImageDialog.getImageData) - win.ImageDialog.getImageData(); - if (win.ImageDialog.showPreviewImage) - win.ImageDialog.showPreviewImage(fileURL); - } - tinyMCEPopup.close(); - - } else if (_.opener.name == "tinymce4") { - win = (window.opener ? window.opener : window.parent); - $(win.document).find('#' + _.opener.TinyMCE.field).val(fileURL); - win.tinyMCE.activeEditor.windowManager.close(); - - } else if (_.opener.callBack) { - - if (window.opener && window.opener.KCFinder) { - _.opener.callBack(fileURL); - window.close(); - } - - if (window.parent && window.parent.KCFinder) { - button = $('#toolbar a[href="kcact:maximize"]'); - if (button.hasClass('selected')) - _.maximize(button); - _.opener.callBack(fileURL); - } - - } else if (_.opener.callBackMultiple) { - if (window.opener && window.opener.KCFinder) { - _.opener.callBackMultiple([fileURL]); - window.close(); - } - - if (window.parent && window.parent.KCFinder) { - button = $('#toolbar a[href="kcact:maximize"]'); - if (button.hasClass('selected')) - _.maximize(button); - _.opener.callBackMultiple([fileURL]); - } - - } -}; - -_.returnFiles = function(files) { - if (_.opener.callBackMultiple && files.length) { - var rfiles = []; - $.each(files, function(i, file) { - rfiles[i] = _.uploadURL + "/" + _.dir + "/" + $(file).data('name'); - rfiles[i] = $.$.escapeDirs(rfiles[i]); - }); - _.opener.callBackMultiple(rfiles); - if (window.opener) window.close() - } -}; - -_.returnThumbnails = function(files) { - if (_.opener.callBackMultiple) { - var rfiles = [], j = 0; - $.each(files, function(i, file) { - if ($(file).data('thumb')) { - rfiles[j] = _.thumbsURL + "/" + _.dir + "/" + $(file).data('name'); - rfiles[j] = $.$.escapeDirs(rfiles[j++]); - } - }); - _.opener.callBackMultiple(rfiles); - if (window.opener) window.close() - } -}; -/** This file is part of KCFinder project - * - * @desc Folder related functionality - * @package KCFinder - * @version 3.12 - * @author Pavel Tzonkov - * @copyright 2010-2014 KCFinder Project - * @license http://opensource.org/licenses/GPL-3.0 GPLv3 - * @license http://opensource.org/licenses/LGPL-3.0 LGPLv3 - * @link http://kcfinder.sunhater.com - */ - -_.initFolders = function() { - $('#folders').scroll(function() { - _.menu.hide(); - }).disableTextSelect(); - $('div.folder > a').unbind().click(function() { - _.menu.hide(); - return false; - }); - $('div.folder > a > span.brace').unbind().click(function() { - if ($(this).hasClass('opened') || $(this).hasClass('closed')) - _.expandDir($(this).parent()); - }); - $('div.folder > a > span.folder').unbind().click(function() { - _.changeDir($(this).parent()); - }).rightClick(function(el, e) { - _.menuDir($(el).parent(), e); - }); - if ($.mobile) { - $('div.folder > a > span.folder').on('taphold', function() { - _.menuDir($(this).parent(), { - pageX: $(this).offset().left + 1, - pageY: $(this).offset().top + $(this).outerHeight() - }); - }); - } -}; - -_.setTreeData = function(data, path) { - if (!path) - path = ""; - else if (path.length && (path.substr(path.length - 1, 1) != '/')) - path += "/"; - path += data.name; - var selector = '#folders a[href="kcdir:/' + $.$.escapeDirs(path) + '"]'; - $(selector).data({ - name: data.name, - path: path, - readable: data.readable, - writable: data.writable, - removable: data.removable, - hasDirs: data.hasDirs - }); - $(selector + ' span.folder').addClass(data.current ? 'current' : 'regular'); - if (data.dirs && data.dirs.length) { - $(selector + ' span.brace').addClass('opened'); - $.each(data.dirs, function(i, cdir) { - _.setTreeData(cdir, path + "/"); - }); - } else if (data.hasDirs) - $(selector + ' span.brace').addClass('closed'); -}; - -_.buildTree = function(root, path) { - if (!path) path = ""; - path += root.name; - var cdir, html = '
 ' + $.$.htmlData(root.name) + ''; - if (root.dirs) { - html += '
'; - for (var i = 0; i < root.dirs.length; i++) { - cdir = root.dirs[i]; - html += _.buildTree(cdir, path + "/"); - } - html += '
'; - } - html += '
'; - return html; -}; - -_.expandDir = function(dir) { - var path = dir.data('path'); - if (dir.children('.brace').hasClass('opened')) { - dir.parent().children('.folders').hide(500, function() { - if (path == _.dir.substr(0, path.length)) - _.changeDir(dir); - }); - dir.children('.brace').removeClass('opened').addClass('closed'); - } else { - if (dir.parent().children('.folders').get(0)) { - dir.parent().children('.folders').show(500); - dir.children('.brace').removeClass('closed').addClass('opened'); - } else if (!$('#loadingDirs').get(0)) { - dir.parent().append('
' + _.label("Loading folders...") + '
'); - $('#loadingDirs').hide().show(200, function() { - $.ajax({ - type: "post", - dataType: "json", - url: _.getURL("expand"), - data: {dir: path}, - async: false, - success: function(data) { - $('#loadingDirs').hide(200, function() { - $('#loadingDirs').detach(); - }); - if (_.check4errors(data)) - return; - - var html = ""; - $.each(data.dirs, function(i, cdir) { - html += ''; - }); - if (html.length) { - dir.parent().append('
' + html + '
'); - var folders = $(dir.parent().children('.folders').first()); - folders.hide(); - $(folders).show(500); - $.each(data.dirs, function(i, cdir) { - _.setTreeData(cdir, path); - }); - } - if (data.dirs.length) - dir.children('.brace').removeClass('closed').addClass('opened'); - else - dir.children('.brace').removeClass('opened closed'); - _.initFolders(); - _.initDropUpload(); - }, - error: function() { - $('#loadingDirs').detach(); - _.alert(_.label("Unknown error.")); - } - }); - }); - } - } -}; - -_.changeDir = function(dir) { - if (dir.children('span.folder').hasClass('regular')) { - $('div.folder > a > span.folder').removeClass('current regular').addClass('regular'); - dir.children('span.folder').removeClass('regular').addClass('current'); - $('#files').html(_.label("Loading files...")); - $.ajax({ - type: "post", - dataType: "json", - url: _.getURL("chDir"), - data: {dir: dir.data('path')}, - async: false, - success: function(data) { - if (_.check4errors(data)) - return; - _.files = data.files; - _.orderFiles(); - _.dir = dir.data('path'); - _.dirWritable = data.dirWritable; - _.setTitle("KCFinder: /" + _.dir); - _.statusDir(); - }, - error: function() { - $('#files').html(_.label("Unknown error.")); - } - }); - } -}; - -_.statusDir = function() { - var i = 0, size = 0; - for (; i < _.files.length; i++) - size += _.files[i].size; - size = _.humanSize(size); - $('#fileinfo').html(_.files.length + " " + _.label("files") + " (" + size + ")"); -}; - -_.refreshDir = function(dir) { - var path = dir.data('path'); - if (dir.children('.brace').hasClass('opened') || dir.children('.brace').hasClass('closed')) - dir.children('.brace').removeClass('opened').addClass('closed'); - dir.parent().children('.folders').first().detach(); - if (path == _.dir.substr(0, path.length)) - _.changeDir(dir); - _.expandDir(dir); - return true; -}; -/** This file is part of KCFinder project - * - * @desc Context menus - * @package KCFinder - * @version 3.12 - * @author Pavel Tzonkov - * @copyright 2010-2014 KCFinder Project - * @license http://opensource.org/licenses/GPL-3.0 GPLv3 - * @license http://opensource.org/licenses/LGPL-3.0 LGPLv3 - * @link http://kcfinder.sunhater.com - */ - -_.menu = { - - init: function() { - $('#menu').html("
    ").css('display', 'none'); - }, - - addItem: function(href, label, callback, denied) { - if (typeof denied == "undefined") - denied = false; - - $('#menu ul').append('
  • ' + label + '
  • '); - - if (!denied && $.isFunction(callback)) - $('#menu a[href="' + href + '"]').click(function() { - _.menu.hide(); - return callback(); - }); - }, - - addDivider: function() { - if ($('#menu ul').html().length) - $('#menu ul').append("
  • -
  • "); - }, - - show: function(e) { - var dlg = $('#menu'), - ul = $('#menu ul'); - if (ul.html().length) { - dlg.find('ul').first().menu(); - if (typeof e != "undefined") { - var left = e.pageX, - top = e.pageY, - win = $(window); - - if ((dlg.outerWidth() + left) > win.width()) - left = win.width() - dlg.outerWidth(); - - if ((dlg.outerHeight() + top) > win.height()) - top = win.height() - dlg.outerHeight(); - - dlg.hide().css({ - left: left, - top: top, - width: "" - }).fadeIn('fast'); - } else - dlg.fadeIn('fast'); - } else - ul.detach(); - }, - - hide: function() { - $('#clipboard').removeClass('selected'); - $('div.folder > a > span.folder').removeClass('context'); - $('#menu').hide().css('width', "").html("").data('title', null).unbind().click(function() { - return false; - }); - $(document).unbind('keydown').keydown(function(e) { - return !_.selectAll(e); - }); - } -}; - -// FILE CONTEXT MENU -_.menuFile = function(file, e) { - _.menu.init(); - - var data = file.data(), - files = $('.file.selected').get(); - - // MULTIPLE FILES MENU - if (file.hasClass('selected') && files.length && (files.length > 1)) { - var thumb = false, - notWritable = 0, - cdata; - - $.each(files, function(i, cfile) { - cdata = $(cfile).data(); - if (cdata.thumb) thumb = true; - if (!data.writable) notWritable++; - }); - - if (_.opener.callBackMultiple) { - - // SELECT FILES - _.menu.addItem("kcact:pick", _.label("Select"), function() { - _.returnFiles(files); - return false; - }); - - // SELECT THUMBNAILS - if (thumb) - _.menu.addItem("kcact:pick_thumb", _.label("Select Thumbnails"), function() { - _.returnThumbnails(files); - return false; - }); - } - - if (data.thumb || data.smallThumb || _.support.zip) { - - _.menu.addDivider(); - - // VIEW IMAGE - if (data.thumb || data.smallThumb) - _.menu.addItem("kcact:view", _.label("View"), function() { - _.viewImage(data); - }); - - // DOWNLOAD - if (_.support.zip) - _.menu.addItem("kcact:download", _.label("Download"), function() { - var pfiles = []; - $.each(files, function(i, cfile) { - pfiles[i] = $(cfile).data('name'); - }); - _.post(_.getURL('downloadSelected'), {dir:_.dir, files:pfiles}); - return false; - }); - } - - // ADD TO CLIPBOARD - if (_.access.files.copy || _.access.files.move) { - _.menu.addDivider(); - _.menu.addItem("kcact:clpbrdadd", _.label("Add to Clipboard"), function() { - var msg = ''; - $.each(files, function(i, cfile) { - var cdata = $(cfile).data(), - failed = false; - for (i = 0; i < _.clipboard.length; i++) - if ((_.clipboard[i].name == cdata.name) && - (_.clipboard[i].dir == _.dir) - ) { - failed = true; - msg += cdata.name + ": " + _.label("This file is already added to the Clipboard.") + "\n"; - break; - } - - if (!failed) { - cdata.dir = _.dir; - _.clipboard[_.clipboard.length] = cdata; - } - }); - _.initClipboard(); - if (msg.length) _.alert(msg.substr(0, msg.length - 1)); - return false; - }); - } - - // DELETE - if (_.access.files['delete']) { - _.menu.addDivider(); - _.menu.addItem("kcact:rm", _.label("Delete"), function() { - if ($(this).hasClass('denied')) return false; - var failed = 0, - dfiles = []; - $.each(files, function(i, cfile) { - var cdata = $(cfile).data(); - if (!cdata.writable) - failed++; - else - dfiles[dfiles.length] = _.dir + "/" + cdata.name; - }); - if (failed == files.length) { - _.alert(_.label("The selected files are not removable.")); - return false; - } - - var go = function(callBack) { - _.fadeFiles(); - $.ajax({ - type: "post", - dataType: "json", - url: _.getURL("rm_cbd"), - data: {files:dfiles}, - async: false, - success: function(data) { - if (callBack) callBack(); - _.check4errors(data); - _.refresh(); - }, - error: function() { - if (callBack) callBack(); - $('#files > div').css({ - opacity: "", - filter: "" - }); - _.alert(_.label("Unknown error.")); - } - }); - }; - - if (failed) - _.confirm( - _.label("{count} selected files are not removable. Do you want to delete the rest?", {count:failed}), - go - ); - - else - _.confirm( - _.label("Are you sure you want to delete all selected files?"), - go - ); - - return false; - }, (notWritable == files.length)); - } - - _.menu.show(e); - - // SINGLE FILE MENU - } else { - $('.file').removeClass('selected'); - file.addClass('selected'); - $('#fileinfo').html($.$.htmlData(data.name) + " (" + _.humanSize(data.size) + ", " + data.date + ")"); - - if (_.opener.callBack || _.opener.callBackMultiple) { - - // SELECT FILE - _.menu.addItem("kcact:pick", _.label("Select"), function() { - _.returnFile(file); - return false; - }); - - // SELECT THUMBNAIL - if (data.thumb) - _.menu.addItem("kcact:pick_thumb", _.label("Select Thumbnail"), function() { - _.returnFile(_.thumbsURL + "/" + _.dir + "/" + data.name); - return false; - }); - - _.menu.addDivider(); - } - - // VIEW IMAGE - if (data.thumb || data.smallThumb) - _.menu.addItem("kcact:view", _.label("View"), function() { - _.viewImage(data); - }); - - // DOWNLOAD - _.menu.addItem("kcact:download", _.label("Download"), function() { - $('#menu').html('
    '); - $('#downloadForm input').get(0).value = _.dir; - $('#downloadForm input').get(1).value = data.name; - $('#downloadForm').submit(); - return false; - }); - - // ADD TO CLIPBOARD - if (_.access.files.copy || _.access.files.move) { - _.menu.addDivider(); - _.menu.addItem("kcact:clpbrdadd", _.label("Add to Clipboard"), function() { - for (i = 0; i < _.clipboard.length; i++) - if ((_.clipboard[i].name == data.name) && - (_.clipboard[i].dir == _.dir) - ) { - _.alert(_.label("This file is already added to the Clipboard.")); - return false; - } - var cdata = data; - cdata.dir = _.dir; - _.clipboard[_.clipboard.length] = cdata; - _.initClipboard(); - return false; - }); - } - - - if (_.access.files.rename || _.access.files['delete']) - _.menu.addDivider(); - - // RENAME - if (_.access.files.rename) - _.menu.addItem("kcact:mv", _.label("Rename..."), function() { - if (!data.writable) return false; - _.fileNameDialog( - {dir: _.dir, file: data.name}, - 'newName', data.name, _.getURL("rename"), { - title: "New file name:", - errEmpty: "Please enter new file name.", - errSlash: "Unallowable characters in file name.", - errDot: "File name shouldn't begins with '.'" - }, - _.refresh - ); - return false; - }, !data.writable); - - // DELETE - if (_.access.files['delete']) - _.menu.addItem("kcact:rm", _.label("Delete"), function() { - if (!data.writable) return false; - _.confirm(_.label("Are you sure you want to delete this file?"), - function(callBack) { - $.ajax({ - type: "post", - dataType: "json", - url: _.getURL("delete"), - data: {dir: _.dir, file: data.name}, - async: false, - success: function(data) { - if (callBack) callBack(); - _.clearClipboard(); - if (_.check4errors(data)) - return; - _.refresh(); - }, - error: function() { - if (callBack) callBack(); - _.alert(_.label("Unknown error.")); - } - }); - } - ); - return false; - }, !data.writable); - - _.menu.show(e); - } - -}; - -// FOLDER CONTEXT MENU -_.menuDir = function(dir, e) { - _.menu.init(); - - var data = dir.data(), - html = '
      '; - - if (_.clipboard && _.clipboard.length) { - - // COPY CLIPBOARD - if (_.access.files.copy) - _.menu.addItem("kcact:cpcbd", _.label("Copy {count} files", {count: _.clipboard.length}), function() { - _.copyClipboard(data.path); - return false; - }, !data.writable); - - // MOVE CLIPBOARD - if (_.access.files.move) - _.menu.addItem("kcact:mvcbd", _.label("Move {count} files", {count: _.clipboard.length}), function() { - _.moveClipboard(data.path); - return false; - }, !data.writable); - - if (_.access.files.copy || _.access.files.move) - _.menu.addDivider(); - } - - // REFRESH - _.menu.addItem("kcact:refresh", _.label("Refresh"), function() { - _.refreshDir(dir); - return false; - }); - - // DOWNLOAD - if (_.support.zip) { - _.menu.addDivider(); - _.menu.addItem("kcact:download", _.label("Download"), function() { - _.post(_.getURL("downloadDir"), {dir:data.path}); - return false; - }); - } - - if (_.access.dirs.create || _.access.dirs.rename || _.access.dirs['delete']) - _.menu.addDivider(); - - // NEW SUBFOLDER - if (_.access.dirs.create) - _.menu.addItem("kcact:mkdir", _.label("New Subfolder..."), function(e) { - if (!data.writable) return false; - _.fileNameDialog( - {dir: data.path}, - "newDir", "", _.getURL("newDir"), { - title: "New folder name:", - errEmpty: "Please enter new folder name.", - errSlash: "Unallowable characters in folder name.", - errDot: "Folder name shouldn't begins with '.'" - }, function() { - _.refreshDir(dir); - _.initDropUpload(); - if (!data.hasDirs) { - dir.data('hasDirs', true); - dir.children('span.brace').addClass('closed'); - } - } - ); - return false; - }, !data.writable); - - // RENAME - if (_.access.dirs.rename) - _.menu.addItem("kcact:mvdir", _.label("Rename..."), function(e) { - if (!data.removable) return false; - _.fileNameDialog( - {dir: data.path}, - "newName", data.name, _.getURL("renameDir"), { - title: "New folder name:", - errEmpty: "Please enter new folder name.", - errSlash: "Unallowable characters in folder name.", - errDot: "Folder name shouldn't begins with '.'" - }, function(dt) { - if (!dt.name) { - _.alert(_.label("Unknown error.")); - return; - } - var currentDir = (data.path == _.dir); - dir.children('span.folder').html($.$.htmlData(dt.name)); - dir.data('name', dt.name); - dir.data('path', $.$.dirname(data.path) + '/' + dt.name); - if (currentDir) - _.dir = dir.data('path'); - _.initDropUpload(); - }, - true - ); - return false; - }, !data.removable); - - // DELETE - if (_.access.dirs['delete']) - _.menu.addItem("kcact:rmdir", _.label("Delete"), function() { - if (!data.removable) return false; - _.confirm( - _.label("Are you sure you want to delete this folder and all its content?"), - function(callBack) { - $.ajax({ - type: "post", - dataType: "json", - url: _.getURL("deleteDir"), - data: {dir: data.path}, - async: false, - success: function(data) { - if (callBack) callBack(); - if (_.check4errors(data)) - return; - dir.parent().hide(500, function() { - var folders = dir.parent().parent(); - var pDir = folders.parent().children('a').first(); - dir.parent().detach(); - if (!folders.children('div.folder').get(0)) { - pDir.children('span.brace').first().removeClass('opened closed'); - pDir.parent().children('.folders').detach(); - pDir.data('hasDirs', false); - } - if (pDir.data('path') == _.dir.substr(0, pDir.data('path').length)) - _.changeDir(pDir); - _.initDropUpload(); - }); - }, - error: function() { - if (callBack) callBack(); - _.alert(_.label("Unknown error.")); - } - }); - } - ); - return false; - }, !data.removable); - - _.menu.show(e); - - $('div.folder > a > span.folder').removeClass('context'); - if (dir.children('span.folder').hasClass('regular')) - dir.children('span.folder').addClass('context'); -}; - -// CLIPBOARD MENU -_.openClipboard = function() { - - if (!_.clipboard || !_.clipboard.length) return; - - // CLOSE MENU - if ($('#menu a[href="kcact:clrcbd"]').html()) { - $('#clipboard').removeClass('selected'); - _.menu.hide(); - return; - } - - setTimeout(function() { - _.menu.init(); - - var dlg = $('#menu'), - jStatus = $('#status'), - html = '
    • '; - - // CLIPBOARD FILES - $.each(_.clipboard, function(i, val) { - var icon = $.$.getFileExtension(val.name); - if (val.thumb) - icon = ".image"; - else if (!val.smallIcon || !icon.length) - icon = "."; - icon = "themes/" + _.theme + "/img/files/small/" + icon + ".png"; - html += '' + $.$.htmlData($.$.basename(val.name)) + ''; - }); - html += '
    • -
    • '; - $('#menu ul').append(html); - - // DOWNLOAD - if (_.support.zip) - _.menu.addItem("kcact:download", _.label("Download files"), function() { - _.downloadClipboard(); - return false; - }); - - if (_.access.files.copy || _.access.files.move || _.access.files['delete']) - _.menu.addDivider(); - - // COPY - if (_.access.files.copy) - _.menu.addItem("kcact:cpcbd", _.label("Copy files here"), function() { - if (!_.dirWritable) return false; - _.copyClipboard(_.dir); - return false; - }, !_.dirWritable); - - // MOVE - if (_.access.files.move) - _.menu.addItem("kcact:mvcbd", _.label("Move files here"), function() { - if (!_.dirWritable) return false; - _.moveClipboard(_.dir); - return false; - }, !_.dirWritable); - - // DELETE - if (_.access.files['delete']) - _.menu.addItem("kcact:rmcbd", _.label("Delete files"), function() { - _.confirm( - _.label("Are you sure you want to delete all files in the Clipboard?"), - function(callBack) { - if (callBack) callBack(); - _.deleteClipboard(); - } - ); - return false; - }); - - _.menu.addDivider(); - - // CLEAR CLIPBOARD - _.menu.addItem("kcact:clrcbd", _.label("Clear the Clipboard"), function() { - _.clearClipboard(); - return false; - }); - - $('#clipboard').addClass('selected'); - _.menu.show(); - - var left = $(window).width() - dlg.css({width: ""}).outerWidth(), - top = $(window).height() - dlg.outerHeight() - jStatus.outerHeight(), - lheight = top + dlg.outerTopSpace(); - - dlg.find('.list').css({ - 'max-height': lheight, - 'overflow-y': "auto", - 'overflow-x': "hidden", - width: "" - }); - - top = $(window).height() - dlg.outerHeight(true) - jStatus.outerHeight(true); - - dlg.css({ - left: left - 5, - top: top - }).fadeIn("fast"); - - var a = dlg.find('.list').outerHeight(), - b = dlg.find('.list div').outerHeight(); - - if (b - a > 10) { - dlg.css({ - left: parseInt(dlg.css('left')) - _.scrollbarWidth, - }).width(dlg.width() + _.scrollbarWidth); - } - }, 1); -};/** This file is part of KCFinder project - * - * @desc Image viewer - * @package KCFinder - * @version 3.12 - * @author Pavel Tzonkov - * @copyright 2010-2014 KCFinder Project - * @license http://opensource.org/licenses/GPL-3.0 GPLv3 - * @license http://opensource.org/licenses/LGPL-3.0 LGPLv3 - * @link http://kcfinder.sunhater.com - */ - -_.viewImage = function(data) { - - var ts = new Date().getTime(), - dlg = false, - images = [], - - showImage = function(data) { - _.lock = true; - $('#loading').html(_.label("Loading image...")).show(); - - var url = $.$.escapeDirs(_.uploadURL + "/" + _.dir + "/" + data.name) + "?ts=" + ts, - img = new Image(), - i = $(img), - w = $(window), - d = $(document); - - onImgLoad = function() { - _.lock = false; - - $('#files .file').each(function() { - if ($(this).data('name') == data.name) { - _.ssImage = this; - return false; - } - }); - - i.hide().appendTo('body'); - - var o_w = i.width(), - o_h = i.height(), - i_w = o_w, - i_h = o_h, - - goTo = function(i) { - if (!_.lock) { - var nimg = images[i]; - _.currImg = i; - showImage(nimg); - } - }, - - nextFunc = function() { - goTo((_.currImg >= images.length - 1) ? 0 : (_.currImg + 1)); - }, - - prevFunc = function() { - goTo((_.currImg ? _.currImg : images.length) - 1); - }, - - t = $('
      '); - - i.detach().appendTo(t); - t.addClass("img"); - - if (!dlg) { - - var ww = w.width() - 60, - - closeFunc = function() { - d.unbind('keydown').keydown(function(e) { - return !_.selectAll(e); - }); - dlg.dialog('destroy').detach(); - }; - - if ((ww % 2)) ww++; - - dlg = _.dialog($.$.htmlData(data.name), t.get(0), { - width: ww, - height: w.height() - 36, - position: [30, 30], - draggable: false, - nopadding: true, - close: closeFunc, - show: false, - hide: false, - buttons: [ - { - text: _.label("Previous"), - icons: {primary: "ui-icon-triangle-1-w"}, - click: prevFunc - - }, { - text: _.label("Next"), - icons: {secondary: "ui-icon-triangle-1-e"}, - click: nextFunc - - }, { - text: _.label("Select"), - icons: {primary: "ui-icon-check"}, - click: function(e) { - d.unbind('keydown').keydown(function(e) { - return !_.selectAll(e); - }); - if (_.ssImage) { - _.selectFile($(_.ssImage), e); - } - dlg.dialog('destroy').detach(); - } - - }, { - text: _.label("Close"), - icons: {primary: "ui-icon-closethick"}, - click: closeFunc - } - ] - }); - - dlg.addClass('kcfImageViewer').css('overflow', "hidden").parent().find('.ui-dialog-buttonpane button').get(2).focus(); - - } else { - dlg.prev().find('.ui-dialog-title').html($.$.htmlData(data.name)); - dlg.html(t.get(0)); - } - - dlg.unbind('click').click(nextFunc).disableTextSelect(); - - var d_w = dlg.innerWidth(), - d_h = dlg.innerHeight(); - - if ((o_w > d_w) || (o_h > d_h)) { - i_w = d_w; - i_h = d_h; - if ((d_w / d_h) > (o_w / o_h)) - i_w = parseInt((o_w * d_h) / o_h); - else if ((d_w / d_h) < (o_w / o_h)) - i_h = parseInt((o_h * d_w) / o_w); - } - - i.css({ - width: i_w, - height: i_h - }).show().parent().css({ - display: "block", - margin: "0 auto", - width: i_w, - height: i_h, - marginTop: parseInt((d_h - i_h) / 2) - }); - - $('#loading').hide(); - - d.unbind('keydown').keydown(function(e) { - if (!_.lock) { - var kc = e.keyCode; - if ((kc == 37)) prevFunc(); - if ((kc == 39)) nextFunc(); - } - }); - }; - - img.src = url; - - if (img.complete) - onImgLoad(); - else { - img.onload = onImgLoad; - img.onerror = function() { - _.lock = false; - $('#loading').hide(); - _.alert(_.label("Unknown error.")); - d.unbind('keydown').keydown(function(e) { - return !_.selectAll(e); - }); - _.refresh(); - }; - } - }; - - $.each(_.files, function(i, file) { - var i = images.length; - if (file.thumb || file.smallThumb) - images[i] = file; - if (file.name == data.name) - _.currImg = i; - }); - - showImage(data); - return false; -}; -/** This file is part of KCFinder project - * - * @desc Clipboard functionality - * @package KCFinder - * @version 3.12 - * @author Pavel Tzonkov - * @copyright 2010-2014 KCFinder Project - * @license http://opensource.org/licenses/GPL-3.0 GPLv3 - * @license http://opensource.org/licenses/LGPL-3.0 LGPLv3 - * @link http://kcfinder.sunhater.com - */ - -_.initClipboard = function() { - if (!_.clipboard || !_.clipboard.length) return; - - var size = 0, - jClipboard = $('#clipboard'); - - $.each(_.clipboard, function(i, val) { - size += val.size; - }); - size = _.humanSize(size); - jClipboard.disableTextSelect().html('
      '); - var resize = function() { - jClipboard.css({ - left: $(window).width() - jClipboard.outerWidth(), - top: $(window).height() - jClipboard.outerHeight() - }); - }; - resize(); - jClipboard.show(); - $(window).unbind().resize(function() { - _.resize(); - resize(); - }); -}; - -_.removeFromClipboard = function(i) { - if (!_.clipboard || !_.clipboard[i]) return false; - if (_.clipboard.length == 1) { - _.clearClipboard(); - _.menu.hide(); - return; - } - - if (i < _.clipboard.length - 1) { - var last = _.clipboard.slice(i + 1); - _.clipboard = _.clipboard.slice(0, i); - _.clipboard = _.clipboard.concat(last); - } else - _.clipboard.pop(); - - _.initClipboard(); - _.menu.hide(); - _.openClipboard(); - return true; -}; - -_.copyClipboard = function(dir) { - if (!_.clipboard || !_.clipboard.length) return; - var files = [], - failed = 0; - for (i = 0; i < _.clipboard.length; i++) - if (_.clipboard[i].readable) - files[i] = _.clipboard[i].dir + "/" + _.clipboard[i].name; - else - failed++; - if (_.clipboard.length == failed) { - _.alert(_.label("The files in the Clipboard are not readable.")); - return; - } - var go = function(callBack) { - if (dir == _.dir) - _.fadeFiles(); - $.ajax({ - type: "post", - dataType: "json", - url: _.getURL("cp_cbd"), - data: {dir: dir, files: files}, - async: false, - success: function(data) { - if (callBack) callBack(); - _.check4errors(data); - _.clearClipboard(); - if (dir == _.dir) - _.refresh(); - }, - error: function() { - if (callBack) callBack(); - $('#files > div').css({ - opacity: "", - filter: "" - }); - _.alert(_.label("Unknown error.")); - } - }); - }; - - if (failed) - _.confirm( - _.label("{count} files in the Clipboard are not readable. Do you want to copy the rest?", {count:failed}), - go - ) - else - go(); - -}; - -_.moveClipboard = function(dir) { - if (!_.clipboard || !_.clipboard.length) return; - var files = [], - failed = 0; - for (i = 0; i < _.clipboard.length; i++) - if (_.clipboard[i].readable && _.clipboard[i].writable) - files[i] = _.clipboard[i].dir + "/" + _.clipboard[i].name; - else - failed++; - if (_.clipboard.length == failed) { - _.alert(_.label("The files in the Clipboard are not movable.")) - return; - } - - var go = function(callBack) { - _.fadeFiles(); - $.ajax({ - type: "post", - dataType: "json", - url: _.getURL("mv_cbd"), - data: {dir: dir, files: files}, - async: false, - success: function(data) { - if (callBack) callBack(); - _.check4errors(data); - _.clearClipboard(); - _.refresh(); - }, - error: function() { - if (callBack) callBack(); - $('#files > div').css({ - opacity: "", - filter: "" - }); - _.alert(_.label("Unknown error.")); - } - }); - }; - - if (failed) - _.confirm( - _.label("{count} files in the Clipboard are not movable. Do you want to move the rest?", {count: failed}), - go - ); - else - go(); -}; - -_.deleteClipboard = function() { - if (!_.clipboard || !_.clipboard.length) return; - var files = [], - failed = 0; - for (i = 0; i < _.clipboard.length; i++) - if (_.clipboard[i].readable && _.clipboard[i].writable) - files[i] = _.clipboard[i].dir + "/" + _.clipboard[i].name; - else - failed++; - if (_.clipboard.length == failed) { - _.alert(_.label("The files in the Clipboard are not removable.")) - return; - } - var go = function(callBack) { - _.fadeFiles(); - $.ajax({ - type: "post", - dataType: "json", - url: _.getURL("rm_cbd"), - data: {files:files}, - async: false, - success: function(data) { - if (callBack) callBack(); - _.check4errors(data); - _.clearClipboard(); - _.refresh(); - }, - error: function() { - if (callBack) callBack(); - $('#files > div').css({ - opacity: "", - filter: "" - }); - _.alert(_.label("Unknown error.")); - } - }); - }; - if (failed) - _.confirm( - _.label("{count} files in the Clipboard are not removable. Do you want to delete the rest?", {count: failed}), - go - ); - else - go(); -}; - -_.downloadClipboard = function() { - if (!_.clipboard || !_.clipboard.length) return; - var files = []; - for (i = 0; i < _.clipboard.length; i++) - if (_.clipboard[i].readable) - files[i] = _.clipboard[i].dir + "/" + _.clipboard[i].name; - if (files.length) - _.post(_.getURL('downloadClipboard'), {files:files}); -}; - -_.clearClipboard = function() { - $('#clipboard').html(""); - _.clipboard = []; -}; -/** This file is part of KCFinder project - * - * @desc Upload files using drag and drop - * @package KCFinder - * @version 3.12 - * @author Forum user (updated by Pavel Tzonkov) - * @copyright 2010-2014 KCFinder Project - * @license http://opensource.org/licenses/GPL-3.0 GPLv3 - * @license http://opensource.org/licenses/LGPL-3.0 LGPLv3 - * @link http://kcfinder.sunhater.com - */ - -_.initDropUpload = function() { - if ((typeof XMLHttpRequest == "undefined") || - (typeof document.addEventListener == "undefined") || - (typeof File == "undefined") || - (typeof FileReader == "undefined") - ) - return; - - if (!XMLHttpRequest.prototype.sendAsBinary) { - XMLHttpRequest.prototype.sendAsBinary = function(datastr) { - var ords = Array.prototype.map.call(datastr, function(x) { - return x.charCodeAt(0) & 0xff; - }), - ui8a = new Uint8Array(ords); - this.send(ui8a.buffer); - } - } - - var uploadQueue = [], - uploadInProgress = false, - filesCount = 0, - errors = [], - files = $('#files'), - folders = $('div.folder > a'), - boundary = "------multipartdropuploadboundary" + (new Date).getTime(), - currentFile, - - filesDragOver = function(e) { - if (e.preventDefault) e.preventDefault(); - $('#files').addClass('drag'); - return false; - }, - - filesDragEnter = function(e) { - if (e.preventDefault) e.preventDefault(); - return false; - }, - - filesDragLeave = function(e) { - if (e.preventDefault) e.preventDefault(); - $('#files').removeClass('drag'); - return false; - }, - - filesDrop = function(e) { - if (e.preventDefault) e.preventDefault(); - if (e.stopPropagation) e.stopPropagation(); - $('#files').removeClass('drag'); - if (!$('#folders span.current').first().parent().data('writable')) { - _.alert("Cannot write to upload folder."); - return false; - } - filesCount += e.dataTransfer.files.length; - for (var i = 0; i < e.dataTransfer.files.length; i++) { - var file = e.dataTransfer.files[i]; - file.thisTargetDir = _.dir; - uploadQueue.push(file); - } - processUploadQueue(); - return false; - }, - - folderDrag = function(e) { - if (e.preventDefault) e.preventDefault(); - return false; - }, - - folderDrop = function(e, dir) { - if (e.preventDefault) e.preventDefault(); - if (e.stopPropagation) e.stopPropagation(); - if (!$(dir).data('writable')) { - _.alert(_.label("Cannot write to upload folder.")); - return false; - } - filesCount += e.dataTransfer.files.length; - for (var i = 0; i < e.dataTransfer.files.length; i++) { - var file = e.dataTransfer.files[i]; - file.thisTargetDir = $(dir).data('path'); - uploadQueue.push(file); - } - processUploadQueue(); - return false; - }; - - files.get(0).removeEventListener('dragover', filesDragOver, false); - files.get(0).removeEventListener('dragenter', filesDragEnter, false); - files.get(0).removeEventListener('dragleave', filesDragLeave, false); - files.get(0).removeEventListener('drop', filesDrop, false); - - files.get(0).addEventListener('dragover', filesDragOver, false); - files.get(0).addEventListener('dragenter', filesDragEnter, false); - files.get(0).addEventListener('dragleave', filesDragLeave, false); - files.get(0).addEventListener('drop', filesDrop, false); - - folders.each(function() { - var folder = this, - - dragOver = function(e) { - $(folder).children('span.folder').addClass('context'); - return folderDrag(e); - }, - - dragLeave = function(e) { - $(folder).children('span.folder').removeClass('context'); - return folderDrag(e); - }, - - drop = function(e) { - $(folder).children('span.folder').removeClass('context'); - return folderDrop(e, folder); - }; - - this.removeEventListener('dragover', dragOver, false); - this.removeEventListener('dragenter', folderDrag, false); - this.removeEventListener('dragleave', dragLeave, false); - this.removeEventListener('drop', drop, false); - - this.addEventListener('dragover', dragOver, false); - this.addEventListener('dragenter', folderDrag, false); - this.addEventListener('dragleave', dragLeave, false); - this.addEventListener('drop', drop, false); - }); - - function updateProgress(evt) { - var progress = evt.lengthComputable - ? Math.round((evt.loaded * 100) / evt.total) + '%' - : Math.round(evt.loaded / 1024) + " KB"; - $('#loading').html(_.label("Uploading file {number} of {count}... {progress}", { - number: filesCount - uploadQueue.length, - count: filesCount, - progress: progress - })); - } - - function processUploadQueue() { - if (uploadInProgress) - return false; - - if (uploadQueue && uploadQueue.length) { - var file = uploadQueue.shift(); - currentFile = file; - $('#loading').html(_.label("Uploading file {number} of {count}... {progress}", { - number: filesCount - uploadQueue.length, - count: filesCount, - progress: "" - })).show(); - - var reader = new FileReader(); - reader.thisFileName = file.name; - reader.thisFileType = file.type; - reader.thisFileSize = file.size; - reader.thisTargetDir = file.thisTargetDir; - - reader.onload = function(evt) { - uploadInProgress = true; - - var postbody = '--' + boundary + '\r\nContent-Disposition: form-data; name="upload[]"'; - if (evt.target.thisFileName) - postbody += '; filename="' + $.$.utf8encode(evt.target.thisFileName) + '"'; - postbody += '\r\n'; - if (evt.target.thisFileSize) - postbody += "Content-Length: " + evt.target.thisFileSize + "\r\n"; - postbody += "Content-Type: " + evt.target.thisFileType + "\r\n\r\n" + evt.target.result + "\r\n--" + boundary + '\r\nContent-Disposition: form-data; name="dir"\r\n\r\n' + $.$.utf8encode(evt.target.thisTargetDir) + "\r\n--" + boundary + "\r\n--" + boundary + "--\r\n"; - - var xhr = new XMLHttpRequest(); - xhr.thisFileName = evt.target.thisFileName; - - if (xhr.upload) { - xhr.upload.thisFileName = evt.target.thisFileName; - xhr.upload.addEventListener("progress", updateProgress, false); - } - xhr.open('post', _.getURL('upload'), true); - xhr.setRequestHeader('Content-Type', "multipart/form-data; boundary=" + boundary); - //xhr.setRequestHeader('Content-Length', postbody.length); - - xhr.onload = function(e) { - $('#loading').hide(); - if (_.dir == reader.thisTargetDir) - _.fadeFiles(); - uploadInProgress = false; - processUploadQueue(); - if (xhr.responseText.substr(0, 1) != "/") - errors[errors.length] = xhr.responseText; - }; - - xhr.sendAsBinary(postbody); - }; - - reader.onerror = function(evt) { - $('#loading').hide(); - uploadInProgress = false; - processUploadQueue(); - errors[errors.length] = _.label("Failed to upload {filename}!", { - filename: evt.target.thisFileName - }); - }; - - reader.readAsBinaryString(file); - - } else { - filesCount = 0; - var loop = setInterval(function() { - if (uploadInProgress) return; - boundary = "------multipartdropuploadboundary" + (new Date).getTime(); - uploadQueue = []; - clearInterval(loop); - if (currentFile.thisTargetDir == _.dir) - _.refresh(); - if (errors.length) { - errors = errors.join("\n"); - if (errors.replace(/^\s+/g, "").replace(/\s+$/g, "").length) - _.alert(errors); - errors = []; - } - }, 333); - } - } -}; -/** This file is part of KCFinder project - * - * @desc Miscellaneous functionality - * @package KCFinder - * @version 3.12 - * @author Pavel Tzonkov - * @copyright 2010-2014 KCFinder Project - * @license http://opensource.org/licenses/GPL-3.0 GPLv3 - * @license http://opensource.org/licenses/LGPL-3.0 LGPLv3 - * @link http://kcfinder.sunhater.com - */ - -_.orderFiles = function(callBack, selected) { - var order = $.$.kuki.get('order'), - desc = ($.$.kuki.get('orderDesc') == "on"), - a1, b1, arr; - - if (!_.files || !_.files.sort) - _.files = []; - - _.files = _.files.sort(function(a, b) { - if (!order) order = "name"; - - if (order == "date") { - a1 = a.mtime; - b1 = b.mtime; - } else if (order == "type") { - a1 = $.$.getFileExtension(a.name); - b1 = $.$.getFileExtension(b.name); - } else if (order == "size") { - a1 = a.size; - b1 = b.size; - } else { - a1 = a[order].toLowerCase(); - b1 = b[order].toLowerCase(); - } - - if ((order == "size") || (order == "date")) { - if (a1 < b1) return desc ? 1 : -1; - if (a1 > b1) return desc ? -1 : 1; - } - - if (a1 == b1) { - a1 = a.name.toLowerCase(); - b1 = b.name.toLowerCase(); - arr = [a1, b1]; - arr = arr.sort(); - return (arr[0] == a1) ? -1 : 1; - } - - arr = [a1, b1]; - arr = arr.sort(); - if (arr[0] == a1) return desc ? 1 : -1; - return desc ? -1 : 1; - }); - - _.showFiles(callBack, selected); - _.initFiles(); -}; - -_.humanSize = function(size) { - if (size < 1024) { - size = size.toString() + " B"; - } else if (size < 1048576) { - size /= 1024; - size = parseInt(size).toString() + " KB"; - } else if (size < 1073741824) { - size /= 1048576; - size = parseInt(size).toString() + " MB"; - } else if (size < 1099511627776) { - size /= 1073741824; - size = parseInt(size).toString() + " GB"; - } else { - size /= 1099511627776; - size = parseInt(size).toString() + " TB"; - } - return size; -}; - -_.getURL = function(act) { - var url = "browse.php?type=" + encodeURIComponent(_.type) + "&lng=" + encodeURIComponent(_.lang); - if (_.opener.name) - url += "&opener=" + encodeURIComponent(_.opener.name); - if (act) - url += "&act=" + encodeURIComponent(act); - if (_.cms) - url += "&cms=" + encodeURIComponent(_.cms); - return url; -}; - -_.label = function(index, data) { - var label = _.labels[index] ? _.labels[index] : index; - if (data) - $.each(data, function(key, val) { - label = label.replace("{" + key + "}", val); - }); - return label; -}; - -_.check4errors = function(data) { - if (!data.error) - return false; - var msg = data.error.join - ? data.error.join("\n") - : data.error; - _.alert(msg); - return true; -}; - -_.post = function(url, data) { - var html = '
      '; - $.each(data, function(key, val) { - if ($.isArray(val)) - $.each(val, function(i, aval) { - html += ''; - }); - else - html += ''; - }); - html += ''; - $('#menu').html(html).show(); - $('#postForm').get(0).submit(); -}; - -_.fadeFiles = function() { - $('#files > div').css({ - opacity: "0.4", - filter: "alpha(opacity=40)" - }); -}; diff --git a/kcfinder/cache/theme_dark.css b/kcfinder/cache/theme_dark.css deleted file mode 100644 index 6191df36..00000000 --- a/kcfinder/cache/theme_dark.css +++ /dev/null @@ -1 +0,0 @@ -.ui-helper-hidden{display:none}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.ui-helper-clearfix:before,.ui-helper-clearfix:after{content:"";display:table;border-collapse:collapse}.ui-helper-clearfix:after{clear:both}.ui-helper-clearfix{min-height:0}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:alpha(opacity=0)}.ui-front{z-index:100}.ui-widget .ui-widget,.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button{font-size:1em}.ui-widget-content{border:1px solid #888;background:#000;color:#aaa}.ui-widget-content a{color:#aaa}.ui-widget-header{border:1px solid #4685b3;color:#fff;font-weight:bold;background:#184977;background:-webkit-linear-gradient(top,#184977,#4685b3);background:-moz-linear-gradient(top,#184977,#4685b3);background:-ms-linear-gradient(top,#184977,#4685b3);background:-o-linear-gradient(top,#184977,#4685b3);background:linear-gradient(to bottom,#184977,#4685b3)}.ui-widget-header a{color:#fff}.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default,.ui-widget.ui-state-disabled{transition:.2s;border:1px solid #555;background:#333;background:-webkit-linear-gradient(top,#555,#111);background:-moz-linear-gradient(top,#555,#111);background:-ms-linear-gradient(top,#555,#111);background:-o-linear-gradient(top,#555,#111);background:linear-gradient(to bottom,#555,#111);font-weight:bold;color:#aaa}.ui-state-hover,.ui-widget-content .ui-state-hover,.ui-widget-header .ui-state-hover,.ui-state-focus,.ui-widget-content .ui-state-focus,.ui-widget-header .ui-state-focus{transition:.2s;background:-webkit-linear-gradient(top,#111,#555);background:-moz-linear-gradient(top,#111,#555);background:-ms-linear-gradient(top,#111,#555);background:-o-linear-gradient(top,#111,#555);background:linear-gradient(to bottom,#111,#555)}.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active,.ui-menu .ui-state-focus{transition:.2s;border:1px solid #184977;background:#4685b3;background:-webkit-linear-gradient(top,#184977,#4685b3);background:-moz-linear-gradient(top,#184977,#4685b3);background:-ms-linear-gradient(top,#184977,#4685b3);background:-o-linear-gradient(top,#184977,#4685b3);background:linear-gradient(to bottom,#184977,#4685b3);font-weight:bold;color:#fff}.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited,.ui-state-hover a,.ui-state-hover a:hover,.ui-state-hover a:link,.ui-state-hover a:visited,.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited{transition:.2s;color:#fff;text-decoration:none}.ui-menu .ui-state-active{transition:.2s;border-color:#6b6b6b;background:#6b6b6b;background:-webkit-linear-gradient(top,#6b6b6b,#ababab);background:-moz-linear-gradient(top,#6b6b6b,#ababab);background:-ms-linear-gradient(top,#6b6b6b,#ababab);background:-o-linear-gradient(top,#6b6b6b,#ababab);background:linear-gradient(to bottom,#6b6b6b,#ababab)}.ui-state-highlight,.ui-widget-content .ui-state-highlight,.ui-widget-header .ui-state-highlight{border:1px solid #d5bc2c;box-shadow:inset 0 0 5px #d5bc2c;background:#fff6bf;color:#aaa}.ui-state-error,.ui-widget-content .ui-state-error,.ui-widget-header .ui-state-error{border:1px solid #cf7f7f;box-shadow:inset 0 0 5px #cf7f7f;background:#fac4c4;color:#aaa}.ui-state-error a,.ui-widget-content .ui-state-error a,.ui-widget-header .ui-state-error a,.ui-state-highlight a,.ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a,.ui-state-error-text,.ui-widget-content .ui-state-error-text,.ui-widget-header .ui-state-error-text{color:#aaa}.ui-priority-primary,.ui-widget-content .ui-priority-primary,.ui-widget-header .ui-priority-primary{font-weight:bold}.ui-priority-secondary,.ui-widget-content .ui-priority-secondary,.ui-widget-header .ui-priority-secondary{opacity:.5;filter:alpha(opacity=50);font-weight:normal}.ui-state-disabled,.ui-widget-content .ui-state-disabled,.ui-widget-header .ui-state-disabled{opacity:.50;filter:alpha(opacity=50);background-image:none}.ui-state-disabled .ui-icon{filter:alpha(opacity=50)}.ui-state-disabled{cursor:default !important}.ui-widget-overlay{position:fixed;top:0;left:0;width:100%;height:100%}.ui-resizable{position:relative}.ui-resizable-handle{position:absolute;font-size:.1px;display:block}.ui-resizable-disabled .ui-resizable-handle,.ui-resizable-autohide .ui-resizable-handle{display:none}.ui-resizable-n{cursor:n-resize;height:7px;width:100%;top:-5px;left:0}.ui-resizable-s{cursor:s-resize;height:7px;width:100%;bottom:-5px;left:0}.ui-resizable-e{cursor:e-resize;width:7px;right:-5px;top:0;height:100%}.ui-resizable-w{cursor:w-resize;width:7px;left:-5px;top:0;height:100%}.ui-resizable-se{cursor:se-resize;width:12px;height:12px;right:1px;bottom:1px}.ui-resizable-sw{cursor:sw-resize;width:9px;height:9px;left:-5px;bottom:-5px}.ui-resizable-nw{cursor:nw-resize;width:9px;height:9px;left:-5px;top:-5px}.ui-resizable-ne{cursor:ne-resize;width:9px;height:9px;right:-5px;top:-5px}.ui-selectable-helper{position:absolute;z-index:100;border:1px dotted black}.ui-accordion .ui-accordion-header{display:block;cursor:pointer;position:relative;margin-top:2px;padding:6px;min-height:0}.ui-accordion .ui-accordion-icons,.ui-accordion .ui-accordion-icons .ui-accordion-icons{padding-left:24px}.ui-accordion .ui-accordion-noicons{padding-left:5px}.ui-accordion .ui-accordion-header .ui-accordion-header-icon{position:absolute;left:5px;top:50%;margin-top:-8px}.ui-accordion .ui-accordion-content{padding:1em;border-top:0;overflow:auto}.ui-autocomplete{position:absolute;top:0;left:0;cursor:pointer}.ui-button{display:inline-block;position:relative;padding:0;line-height:normal;cursor:pointer;vertical-align:middle;text-align:center;overflow:visible}.ui-button,.ui-button:link,.ui-button:visited,.ui-button:hover,.ui-button:active{text-decoration:none}.ui-button-icon-only{width:36px}.ui-button-icons-only{width:50px}.ui-button .ui-button-text{display:block;line-height:normal}.ui-button-text-only .ui-button-text{padding:6px 10px}.ui-button-icon-only .ui-button-text,.ui-button-icons-only .ui-button-text{padding:6px;text-indent:-9999999px}.ui-button-text-icon-primary .ui-button-text,.ui-button-text-icons .ui-button-text{padding:6px 10px 6px 28px}.ui-button-text-icon-secondary .ui-button-text,.ui-button-text-icons .ui-button-text{padding:6px 28px 6px 10px}.ui-button-text-icons .ui-button-text{padding-left:28px;padding-right:28px}input.ui-button{padding:6px 10px}.ui-button-icon-only .ui-icon,.ui-button-text-icon-primary .ui-icon,.ui-button-text-icon-secondary .ui-icon,.ui-button-text-icons .ui-icon,.ui-button-icons-only .ui-icon{position:absolute;top:50%;margin-top:-8px}.ui-button-icon-only .ui-icon{left:50%;margin-left:-8px}.ui-button-text-icon-primary .ui-button-icon-primary,.ui-button-text-icons .ui-button-icon-primary,.ui-button-icons-only .ui-button-icon-primary{left:7px}.ui-button-text-icon-secondary .ui-button-icon-secondary,.ui-button-text-icons .ui-button-icon-secondary,.ui-button-icons-only .ui-button-icon-secondary{right:7px}input.ui-button::-moz-focus-inner,button.ui-button::-moz-focus-inner{border:0;padding:0}.ui-buttonset{margin:0;overflow:auto}.ui-buttonset .ui-button{margin:0;float:left}.ui-datepicker{width:19em;display:none;padding:10px}.ui-datepicker .ui-datepicker-header{position:relative;padding:2px 0}.ui-datepicker .ui-datepicker-prev,.ui-datepicker .ui-datepicker-next{position:absolute;top:4px;width:20px;height:20px}.ui-datepicker .ui-datepicker-prev-hover,.ui-datepicker .ui-datepicker-next-hover{top:3px}.ui-datepicker .ui-datepicker-prev{left:4px}.ui-datepicker .ui-datepicker-next{right:4px}.ui-datepicker .ui-datepicker-prev-hover{left:3px}.ui-datepicker .ui-datepicker-next-hover{right:3px}.ui-datepicker .ui-datepicker-prev span,.ui-datepicker .ui-datepicker-next span{display:block;position:absolute;left:50%;margin-left:-8px;top:50%;margin-top:-8px}.ui-datepicker .ui-datepicker-title{margin:0 10px;padding:4px 0;text-align:center}.ui-datepicker .ui-datepicker-title select{font-size:1em;margin:-2px 2px;padding:0;outline:0}.ui-datepicker table{width:100%;border-collapse:collapse;margin:0;font-size:1em}.ui-datepicker th{padding:3px;text-align:center;font-weight:bold;border:0}.ui-datepicker td{border:0;padding:1px}.ui-datepicker td span,.ui-datepicker td a{display:block;padding:2px 3px;text-align:right;text-decoration:none}.ui-datepicker .ui-datepicker-buttonpane{background-image:none;margin:10px -11px -11px -11px;padding:10px;border:1px solid #184977;background:#e4f5ff;overflow:auto}.ui-datepicker .ui-datepicker-buttonpane button{float:right;cursor:pointer;width:auto;overflow:visible;margin:0;padding:6px 10px;font-weight:bold;opacity:1;filter:alpha(opacity=100)}.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current{float:left}.ui-datepicker.ui-datepicker-multi{width:auto;padding:10px}.ui-datepicker-multi .ui-datepicker-group{float:left}.ui-datepicker-multi .ui-datepicker-group .ui-datepicker-header{margin:0}.ui-datepicker-multi .ui-datepicker-group.ui-datepicker-group-last{margin-right:0}.ui-datepicker-multi .ui-datepicker-group table{width:95%;margin:0 auto .4em}.ui-datepicker-multi-2 .ui-datepicker-group{width:50%}.ui-datepicker-multi-3 .ui-datepicker-group{width:33.3%}.ui-datepicker-multi-4 .ui-datepicker-group{width:25%}.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header{border-left-width:0}.ui-datepicker-multi .ui-datepicker-buttonpane{clear:left}.ui-datepicker-row-break{clear:both;font-size:0;width:100px}th.ui-datepicker-week-col{color:#215b82}td.ui-datepicker-week-col{text-align:right;padding-right:7px;color:#215b82}td.ui-datepicker-other-month a.ui-state-default{font-weight:bold}th.ui-datepicker-week-end{color:#f44}.ui-datepicker-rtl{direction:rtl}.ui-datepicker-rtl .ui-datepicker-prev{right:2px;left:auto}.ui-datepicker-rtl .ui-datepicker-next{left:2px;right:auto}.ui-datepicker-rtl .ui-datepicker-prev:hover{right:1px;left:auto}.ui-datepicker-rtl .ui-datepicker-next:hover{left:1px;right:auto}.ui-datepicker-rtl .ui-datepicker-buttonpane{clear:right}.ui-datepicker-rtl .ui-datepicker-buttonpane button{float:left}.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,.ui-datepicker-rtl .ui-datepicker-group{float:right}.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header{border-right-width:0;border-left-width:1px}.ui-dialog{position:absolute;top:0;left:0;padding:4px;outline:0;box-shadow:0 0 10px #000}.ui-dialog .ui-dialog-titlebar{padding:5px 10px;position:relative}.ui-dialog .ui-dialog-title{float:left;margin:0;padding:1px 0;white-space:nowrap;width:90%;overflow:hidden;text-overflow:ellipsis}.ui-dialog .ui-dialog-titlebar-close{position:absolute;right:.3em;top:50%;width:21px;margin:-10px 0 0 0;padding:1px;height:20px}.ui-dialog .ui-dialog-content{position:relative;border:0;padding:1em;margin:0 -4px;background:0;overflow:auto}.ui-dialog .ui-dialog-buttonpane{text-align:left;border-width:1px 0 0 0;background-image:none;padding:10px}.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset{float:right}.ui-dialog .ui-dialog-buttonpane button{margin:0 0 0 5px;cursor:pointer}.ui-dialog .ui-resizable-se{width:12px;height:12px;right:-5px;bottom:-5px;background-position:16px 16px}.ui-draggable .ui-dialog-titlebar{cursor:move}.ui-menu{list-style:none;padding:0;margin:0;display:block;outline:0}.ui-menu .ui-menu{margin-top:-3px;position:absolute}.ui-menu .ui-menu-item{margin:0;padding:0;width:100%;list-style-image:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)}.ui-menu .ui-menu-divider{margin:1px 10px 1px 10px;height:0;font-size:0;line-height:0;border-width:1px 0 0 0;border-color:#777}.ui-menu .ui-menu-item a{text-decoration:none;display:block;padding:5px 10px;line-height:1.5;min-height:0;font-weight:normal;border-radius:0}.ui-menu .ui-menu-item a.ui-state-focus,.ui-menu .ui-menu-item a.ui-state-active{font-weight:normal;margin:-1px;transition:none}.ui-menu .ui-state-disabled{font-weight:normal;line-height:1.5}.ui-menu .ui-state-disabled a{cursor:default}.ui-menu.ui-corner-all.sh-menu{border-radius:4px}.ui-menu.ui-corner-all,.ui-menu.sh-menu.ui-autocomplete.ui-corner-all{border-radius:0}.ui-menu-icons{position:relative}.ui-menu-icons .ui-menu-item a{position:relative;padding-left:2em}.ui-menu .ui-icon{position:absolute;top:.2em;left:.2em}.ui-menu .ui-menu-icon{position:static;float:right}.ui-progressbar{height:2.1em;text-align:left;overflow:hidden}.ui-progressbar .ui-progressbar-value{margin:-1px;height:100%}.ui-progressbar .ui-progressbar-overlay{height:100%;filter:alpha(opacity=25);opacity:.25}.ui-progressbar-indeterminate .ui-progressbar-value{background-image:none}.ui-slider{position:relative;text-align:left;margin:0 13px;border-radius:15px}.ui-slider .ui-slider-handle{position:absolute;z-index:2;width:18px;height:18px;border-radius:9px;cursor:default;box-shadow:0 0 3px #aaa,inset 0 0 7px #fff,inset 0 0 3px #fff}.ui-slider .ui-slider-handle.ui-state-active{box-shadow:0 0 3px #4685b3,inset 0 0 7px #fff,inset 0 0 3px #fff}.ui-slider .ui-slider-range{position:absolute;z-index:1;display:block;border:0;background-position:0 0}.ui-slider.ui-state-disabled .ui-slider-handle,.ui-slider.ui-state-disabled .ui-slider-range{filter:inherit}.ui-slider-horizontal{height:10px}.ui-slider-horizontal .ui-slider-handle{top:-5px;margin-left:-9px}.ui-slider-horizontal .ui-slider-range{top:0;height:100%}.ui-slider-horizontal .ui-slider-range-min{left:0}.ui-slider-horizontal .ui-slider-range-max{right:0}.ui-slider-vertical{width:10px;height:150px}.ui-slider-vertical .ui-slider-handle{left:-5px;margin-left:0;margin-bottom:-9px}.ui-slider-vertical .ui-slider-range{left:-1px;width:100%}.ui-slider-vertical .ui-slider-range-min{bottom:0}.ui-slider-vertical .ui-slider-range-max{top:0}.ui-spinner.ui-widget{position:relative;display:inline-block;overflow:hidden;padding:0;vertical-align:middle;background:#fff;background:-webkit-linear-gradient(top,#f0f0f0,#fff);background:-moz-linear-gradient(top,#f0f0f0,#fff);background:-ms-linear-gradient(top,#f0f0f0,#fff);background:-o-linear-gradient(top,#f0f0f0,#fff);background:linear-gradient(to bottom,#f0f0f0,#fff)}.ui-spinner-input{border:0;color:inherit;padding:0;margin:6px 24px 6px 10px;vertical-align:middle;outline:0;background:transparent}.ui-spinner-input{color:#aaa}.ui-spinner-input:focus{color:#000}.ui-spinner-button{width:16px;height:50%;font-size:.5em;padding:0;margin:0;text-align:center;position:absolute;cursor:default;display:block;overflow:hidden;right:0}.ui-spinner a.ui-spinner-button{border-top:0;border-bottom:0;border-right:0}.ui-spinner .ui-icon{position:absolute;margin-top:-8px;top:50%;left:0}.ui-spinner-up{top:0}.ui-spinner-down{bottom:0}.ui-spinner .ui-icon-triangle-1-s{background-position:-65px -16px}.ui-tabs{position:relative}.ui-tabs .ui-tabs-nav{margin:0;padding:3px 3px 0 3px}.ui-tabs .ui-tabs-nav li{list-style:none;float:left;position:relative;top:0;margin:1px 3px 0 0;border-bottom-width:0;padding:0;white-space:nowrap}.ui-tabs .ui-tabs-nav li a{float:left;padding:6px 10px;text-decoration:none}.ui-tabs .ui-tabs-nav li.ui-tabs-active{margin-bottom:-1px;padding-bottom:1px}.ui-tabs .ui-tabs-nav li.ui-tabs-active a,.ui-tabs .ui-tabs-nav li.ui-state-disabled a,.ui-tabs .ui-tabs-nav li.ui-tabs-loading a{cursor:text}.ui-tabs .ui-tabs-nav li a,.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active a{cursor:pointer}.ui-tabs .ui-tabs-panel{display:block;border-width:0;padding:1em;background:0}body .ui-tooltip{padding:6px 10px;position:absolute;z-index:9999;max-width:300px;color:gray;border-color:#a5a5a5;box-shadow:inset 0 0 4px #a5a5a5,0 0 4px #a5a5a5;background:-webkit-linear-gradient(top,#ddd,#fff);background:-moz-linear-gradient(top,#ddd,#fff);background:-ms-linear-gradient(top,#ddd,#fff);background:-o-linear-gradient(top,#ddd,#fff);background:linear-gradient(to bottom,#ddd,#fff)}.ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat;width:16px;height:16px}.ui-icon,.ui-button.ui-state-active .ui-icon,.ui-dialog .ui-dialog-titlebar-close .ui-icon{background-image:url(img/ui-icons_white.png)}.ui-button .ui-icon{background-image:url(img/ui-icons_grey.png)}.ui-icon-blank{background-position:16px 16px}.ui-icon-carat-1-n{background-position:0 0}.ui-icon-carat-1-ne{background-position:-16px 0}.ui-icon-carat-1-e{background-position:-32px 0}.ui-icon-carat-1-se{background-position:-48px 0}.ui-icon-carat-1-s{background-position:-64px 0}.ui-icon-carat-1-sw{background-position:-80px 0}.ui-icon-carat-1-w{background-position:-96px 0}.ui-icon-carat-1-nw{background-position:-112px 0}.ui-icon-carat-2-n-s{background-position:-128px 0}.ui-icon-carat-2-e-w{background-position:-144px 0}.ui-icon-triangle-1-n{background-position:0 -16px}.ui-icon-triangle-1-ne{background-position:-16px -16px}.ui-icon-triangle-1-e{background-position:-32px -16px}.ui-icon-triangle-1-se{background-position:-48px -16px}.ui-icon-triangle-1-s{background-position:-64px -16px}.ui-icon-triangle-1-sw{background-position:-80px -16px}.ui-icon-triangle-1-w{background-position:-96px -16px}.ui-icon-triangle-1-nw{background-position:-112px -16px}.ui-icon-triangle-2-n-s{background-position:-128px -16px}.ui-icon-triangle-2-e-w{background-position:-144px -16px}.ui-icon-arrow-1-n{background-position:0 -32px}.ui-icon-arrow-1-ne{background-position:-16px -32px}.ui-icon-arrow-1-e{background-position:-32px -32px}.ui-icon-arrow-1-se{background-position:-48px -32px}.ui-icon-arrow-1-s{background-position:-64px -32px}.ui-icon-arrow-1-sw{background-position:-80px -32px}.ui-icon-arrow-1-w{background-position:-96px -32px}.ui-icon-arrow-1-nw{background-position:-112px -32px}.ui-icon-arrow-2-n-s{background-position:-128px -32px}.ui-icon-arrow-2-ne-sw{background-position:-144px -32px}.ui-icon-arrow-2-e-w{background-position:-160px -32px}.ui-icon-arrow-2-se-nw{background-position:-176px -32px}.ui-icon-arrowstop-1-n{background-position:-192px -32px}.ui-icon-arrowstop-1-e{background-position:-208px -32px}.ui-icon-arrowstop-1-s{background-position:-224px -32px}.ui-icon-arrowstop-1-w{background-position:-240px -32px}.ui-icon-arrowthick-1-n{background-position:0 -48px}.ui-icon-arrowthick-1-ne{background-position:-16px -48px}.ui-icon-arrowthick-1-e{background-position:-32px -48px}.ui-icon-arrowthick-1-se{background-position:-48px -48px}.ui-icon-arrowthick-1-s{background-position:-64px -48px}.ui-icon-arrowthick-1-sw{background-position:-80px -48px}.ui-icon-arrowthick-1-w{background-position:-96px -48px}.ui-icon-arrowthick-1-nw{background-position:-112px -48px}.ui-icon-arrowthick-2-n-s{background-position:-128px -48px}.ui-icon-arrowthick-2-ne-sw{background-position:-144px -48px}.ui-icon-arrowthick-2-e-w{background-position:-160px -48px}.ui-icon-arrowthick-2-se-nw{background-position:-176px -48px}.ui-icon-arrowthickstop-1-n{background-position:-192px -48px}.ui-icon-arrowthickstop-1-e{background-position:-208px -48px}.ui-icon-arrowthickstop-1-s{background-position:-224px -48px}.ui-icon-arrowthickstop-1-w{background-position:-240px -48px}.ui-icon-arrowreturnthick-1-w{background-position:0 -64px}.ui-icon-arrowreturnthick-1-n{background-position:-16px -64px}.ui-icon-arrowreturnthick-1-e{background-position:-32px -64px}.ui-icon-arrowreturnthick-1-s{background-position:-48px -64px}.ui-icon-arrowreturn-1-w{background-position:-64px -64px}.ui-icon-arrowreturn-1-n{background-position:-80px -64px}.ui-icon-arrowreturn-1-e{background-position:-96px -64px}.ui-icon-arrowreturn-1-s{background-position:-112px -64px}.ui-icon-arrowrefresh-1-w{background-position:-128px -64px}.ui-icon-arrowrefresh-1-n{background-position:-144px -64px}.ui-icon-arrowrefresh-1-e{background-position:-160px -64px}.ui-icon-arrowrefresh-1-s{background-position:-176px -64px}.ui-icon-arrow-4{background-position:0 -80px}.ui-icon-arrow-4-diag{background-position:-16px -80px}.ui-icon-extlink{background-position:-32px -80px}.ui-icon-newwin{background-position:-48px -80px}.ui-icon-refresh{background-position:-64px -80px}.ui-icon-shuffle{background-position:-80px -80px}.ui-icon-transfer-e-w{background-position:-96px -80px}.ui-icon-transferthick-e-w{background-position:-112px -80px}.ui-icon-folder-collapsed{background-position:0 -96px}.ui-icon-folder-open{background-position:-16px -96px}.ui-icon-document{background-position:-32px -96px}.ui-icon-document-b{background-position:-48px -96px}.ui-icon-note{background-position:-64px -96px}.ui-icon-mail-closed{background-position:-80px -96px}.ui-icon-mail-open{background-position:-96px -96px}.ui-icon-suitcase{background-position:-112px -96px}.ui-icon-comment{background-position:-128px -96px}.ui-icon-person{background-position:-144px -96px}.ui-icon-print{background-position:-160px -96px}.ui-icon-trash{background-position:-176px -96px}.ui-icon-locked{background-position:-192px -96px}.ui-icon-unlocked{background-position:-208px -96px}.ui-icon-bookmark{background-position:-224px -96px}.ui-icon-tag{background-position:-240px -96px}.ui-icon-home{background-position:0 -112px}.ui-icon-flag{background-position:-16px -112px}.ui-icon-calendar{background-position:-32px -112px}.ui-icon-cart{background-position:-48px -112px}.ui-icon-pencil{background-position:-64px -112px}.ui-icon-clock{background-position:-80px -112px}.ui-icon-disk{background-position:-96px -112px}.ui-icon-calculator{background-position:-112px -112px}.ui-icon-zoomin{background-position:-128px -112px}.ui-icon-zoomout{background-position:-144px -112px}.ui-icon-search{background-position:-160px -112px}.ui-icon-wrench{background-position:-176px -112px}.ui-icon-gear{background-position:-192px -112px}.ui-icon-heart{background-position:-208px -112px}.ui-icon-star{background-position:-224px -112px}.ui-icon-link{background-position:-240px -112px}.ui-icon-cancel{background-position:0 -128px}.ui-icon-plus{background-position:-16px -128px}.ui-icon-plusthick{background-position:-32px -128px}.ui-icon-minus{background-position:-48px -128px}.ui-icon-minusthick{background-position:-64px -128px}.ui-icon-close{background-position:-80px -128px}.ui-icon-closethick{background-position:-96px -128px}.ui-icon-key{background-position:-112px -128px}.ui-icon-lightbulb{background-position:-128px -128px}.ui-icon-scissors{background-position:-144px -128px}.ui-icon-clipboard{background-position:-160px -128px}.ui-icon-copy{background-position:-176px -128px}.ui-icon-contact{background-position:-192px -128px}.ui-icon-image{background-position:-208px -128px}.ui-icon-video{background-position:-224px -128px}.ui-icon-script{background-position:-240px -128px}.ui-icon-alert{background-position:0 -144px}.ui-icon-info{background-position:-16px -144px}.ui-icon-notice{background-position:-32px -144px}.ui-icon-help{background-position:-48px -144px}.ui-icon-check{background-position:-64px -144px}.ui-icon-bullet{background-position:-80px -144px}.ui-icon-radio-on{background-position:-96px -144px}.ui-icon-radio-off{background-position:-112px -144px}.ui-icon-pin-w{background-position:-128px -144px}.ui-icon-pin-s{background-position:-144px -144px}.ui-icon-play{background-position:0 -160px}.ui-icon-pause{background-position:-16px -160px}.ui-icon-seek-next{background-position:-32px -160px}.ui-icon-seek-prev{background-position:-48px -160px}.ui-icon-seek-end{background-position:-64px -160px}.ui-icon-seek-start{background-position:-80px -160px}.ui-icon-seek-first{background-position:-80px -160px}.ui-icon-stop{background-position:-96px -160px}.ui-icon-eject{background-position:-112px -160px}.ui-icon-volume-off{background-position:-128px -160px}.ui-icon-volume-on{background-position:-144px -160px}.ui-icon-power{background-position:0 -176px}.ui-icon-signal-diag{background-position:-16px -176px}.ui-icon-signal{background-position:-32px -176px}.ui-icon-battery-0{background-position:-48px -176px}.ui-icon-battery-1{background-position:-64px -176px}.ui-icon-battery-2{background-position:-80px -176px}.ui-icon-battery-3{background-position:-96px -176px}.ui-icon-circle-plus{background-position:0 -192px}.ui-icon-circle-minus{background-position:-16px -192px}.ui-icon-circle-close{background-position:-32px -192px}.ui-icon-circle-triangle-e{background-position:-48px -192px}.ui-icon-circle-triangle-s{background-position:-64px -192px}.ui-icon-circle-triangle-w{background-position:-80px -192px}.ui-icon-circle-triangle-n{background-position:-96px -192px}.ui-icon-circle-arrow-e{background-position:-112px -192px}.ui-icon-circle-arrow-s{background-position:-128px -192px}.ui-icon-circle-arrow-w{background-position:-144px -192px}.ui-icon-circle-arrow-n{background-position:-160px -192px}.ui-icon-circle-zoomin{background-position:-176px -192px}.ui-icon-circle-zoomout{background-position:-192px -192px}.ui-icon-circle-check{background-position:-208px -192px}.ui-icon-circlesmall-plus{background-position:0 -208px}.ui-icon-circlesmall-minus{background-position:-16px -208px}.ui-icon-circlesmall-close{background-position:-32px -208px}.ui-icon-squaresmall-plus{background-position:-48px -208px}.ui-icon-squaresmall-minus{background-position:-64px -208px}.ui-icon-squaresmall-close{background-position:-80px -208px}.ui-icon-grip-dotted-vertical{background-position:0 -224px}.ui-icon-grip-dotted-horizontal{background-position:-16px -224px}.ui-icon-grip-solid-vertical{background-position:-32px -224px}.ui-icon-grip-solid-horizontal{background-position:-48px -224px}.ui-icon-gripsmall-diagonal-se{background-position:-64px -224px}.ui-icon-grip-diagonal-se{background-position:-80px -224px}.ui-corner-all,.ui-corner-top,.ui-corner-left,.ui-corner-tl,.ui-menu .ui-menu-item.ui-menu-item-first a{border-top-left-radius:4px}.ui-corner-all,.ui-corner-top,.ui-corner-right,.ui-corner-tr,.ui-menu .ui-menu-item.ui-menu-item-first a{border-top-right-radius:4px}.ui-corner-all,.ui-corner-bottom,.ui-corner-left,.ui-corner-bl,.ui-menu .ui-menu-item.ui-menu-item-last a,.ui-dialog-buttonpane,.ui-datepicker-multi .ui-datepicker-group-first .ui-datepicker-header,.ui-datepicker .ui-datepicker-buttonpane{border-bottom-left-radius:4px}.ui-corner-all,.ui-corner-bottom,.ui-corner-right,.ui-corner-br,.ui-menu .ui-menu-item.ui-menu-item-last a,.ui-dialog-buttonpane,.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker .ui-datepicker-buttonpane{border-bottom-right-radius:4px}.ui-widget-overlay{background:rgba(255,255,255,.5)}.ui-widget-shadow{margin:-7px 0 0 -7px;padding:7px;background:rgba(0,0,0,.3);border-radius:8px}.ui-accordion-content-active,.ui-tabs,.ui-slider-range,.ui-datepicker,.ui-dialog{border-color:#4d637c}.ui-slider .ui-slider-range{border:1px solid #4685b3;top:-1px}.ui-progressbar{overflow:visible}.ui-progressbar-value{border:1px solid #4685b3;margin-top:-1px}.ui-button{box-shadow:inset 0 0 3px #555,inset 0 0 6px #555,0 0 3px #000,0 0 2px #000}.ui-button.ui-state-active{box-shadow:inset 0 0 3px #88b9da,0 0 3px #000,0 0 2px #000}.ui-widget-header,.ui-menu-item .ui-state-focus{box-shadow:inset 0 0 3px #88b9da}.ui-state-default,.ui-state-focus,.ui-state-active,.ui-widget-header,fieldset.sh-uniform label,fieldset.sh-uniform legend{text-shadow:1px 0 rgba(0,0,0,.2),-1px 0 rgba(0,0,0,.2),0 -1px rgba(0,0,0,.2),0 1px rgba(0,0,0,.2),1px 1px rgba(0,0,0,.2),-1px -1px rgba(0,0,0,.2),1px -1px rgba(0,0,0,.2),-1px 1px rgba(0,0,0,.2)}.ui-tabs .ui-state-active,.ui-datepicker .ui-state-highlight{text-shadow:none}.ui-datepicker .ui-state-highlight{color:#215b82;border-color:#4685b3;box-shadow:inset 0 0 4px #4685b3;background:#fff;background:-webkit-linear-gradient(top,#dfeef8,#fff);background:-moz-linear-gradient(top,#dfeef8,#fff);background:-ms-linear-gradient(top,#dfeef8,#fff);background:-o-linear-gradient(top,#dfeef8,#fff);background:linear-gradient(to bottom,#dfeef8,#fff)}.ui-progressbar,.ui-slider,.ui-menu{box-shadow:inset 0 0 4px #666,0 0 3px #000,0 0 6px #000;background:#000;background:-webkit-linear-gradient(top,#111,#444);background:-moz-linear-gradient(top,#111,#444);background:-ms-linear-gradient(top,#111,#444);background:-o-linear-gradient(top,#111,#444);background:linear-gradient(to bottom,#111,#444)}.ui-slider,.ui-spinner,.ui-progressbar,.ui-menu{border-color:#555}.ui-datepicker-calendar .ui-state-default{border-radius:3px}.ui-tabs .ui-tabs-nav{margin:-1px;border-bottom-right-radius:0;border-bottom-left-radius:0;padding-left:3px}.ui-tabs-active.ui-state-active{background:#fff;background:-webkit-linear-gradient(top,#ccc,#ddd,#eee,#fff,#fff,#fff);background:-moz-linear-gradient(top,#ccc,#ddd,#eee,#fff,#fff,#fff);background:-ms-linear-gradient(top,#ccc,#ddd,#eee,#fff,#fff,#fff);background:-o-linear-gradient(top,#ccc,#ddd,#eee,#fff,#fff,#fff);background:linear-gradient(to bottom,#ccc,#ddd,#eee,#fff,#fff,#fff);box-shadow:inset 0 0 5px #fff,inset 0 0 5px #fff,inset 0 0 5px #fff}.ui-tabs-active.ui-state-active a{color:#215b82}.ui-state-default,.ui-state-default a{outline:0}.ui-datepicker-header,.ui-dialog-titlebar{border-bottom-right-radius:0;border-bottom-left-radius:0;margin:-5px -5px 0 -5px}.ui-datepicker-header{margin:-11px -11px 5px -11px}.ui-datepicker-header a:hover{cursor:pointer}.ui-dialog-titlebar-close.ui-state-default{border-color:transparent;background:0;box-shadow:none}.ui-dialog-titlebar-close.ui-state-default.ui-state-hover{transition:.2s;border:1px solid #555;background:#333;background:-webkit-linear-gradient(top,#555,#111);background:-moz-linear-gradient(top,#555,#111);background:-ms-linear-gradient(top,#555,#111);background:-o-linear-gradient(top,#555,#111);background:linear-gradient(to bottom,#555,#111);box-shadow:inset 0 0 3px #555,inset 0 0 6px #555,0 0 3px #000,0 0 2px #000}.ui-dialog-buttonpane{background:#202d3e;box-shadow:inset 0 0 3px #000,inset 0 0 2px #000;border-top-color:#4d637c;margin:0 -4px -4px -4px;padding:0}div.checker input,input[type="search"],input[type="search"]:active{-moz-appearance:none;-webkit-appearance:none}div.selector,div.selector span,div.checker span,div.radio span,div.uploader,div.uploader span.action,div.button,div.button span{-webkit-font-smoothing:antialiased}div.selector,div.checker,div.button,div.radio,div.uploader{display:-moz-inline-box;display:inline-block;zoom:1;vertical-align:middle}div.checker span,div.checker input,div.radio span,div.radio input,div.button span{display:-moz-inline-box;display:inline-block;zoom:1;text-align:center}div.selector select,div.checker input,div.button button,div.button input,div.button a,div.radio input,div.uploader input,input.uniform-input,select.uniform-multiselect,textarea.uniform{outline:0}div.selector,div.selector *,div.radio,div.radio *,div.checker,div.checker *,div.uploader,div.uploader *,div.button,div.button *{margin:0;padding:0}div.selector{padding:0 1.9em 0 0;position:relative;overflow:hidden;border:1px solid;border-radius:4px}div.selector span{text-overflow:ellipsis;display:block;overflow:hidden;white-space:nowrap;padding:6px 0 6px 10px;cursor:pointer;width:100%;border-right:1px solid;border-top-left-radius:4px;border-bottom-left-radius:4px}div.selector .ui-icon{background:url(img/ui-icons_grey.png) -65px -16px}div.selector select{opacity:0;filter:alpha(opacity=0);border:0;background:0;position:absolute;height:50px;bottom:0;width:100%;cursor:pointer}div.checker{position:relative;border:1px solid;padding:1px;border-radius:4px}div.checker,div.checker span,div.checker input{width:15px;height:15px}div.checker span.checked{background:url(img/ui-icons_grey.png) -64px -145px}div.checker input{opacity:0;filter:alpha(opacity=0);border:0;background:0;cursor:pointer}div.radio{position:relative;border:1px solid;padding:1px;border-radius:9px}div.radio,div.radio span,div.radio input{width:15px;height:15px}div.radio span.checked{background:url(img/ui-icons_grey.png) -80px -145px}div.radio input{opacity:0;border:0;background:0;cursor:pointer}div.uploader{cursor:pointer;position:relative;overflow:hidden;border-radius:4px}div.uploader span.action{text-align:center;float:left;display:inline;overflow:hidden;cursor:pointer;padding:6px 10px;border-top-right-radius:4px;border-bottom-right-radius:4px}div.uploader span.filename{text-overflow:ellipsis;display:block;overflow:hidden;white-space:nowrap;float:left;padding:6px 10px;border-right:1px solid;border-top-left-radius:4px;border-bottom-left-radius:4px}div.uploader input{opacity:0;filter:alpha(opacity=0);border:0;background:0;position:absolute;top:0;right:0;float:right;cursor:pointer;font-size:100px}div.uploader input::-webkit-file-upload-button{cursor:pointer}div.uploader.active span.filename,div.uploader.focus span.filename{border-right:1px solid}div.button{cursor:pointer;position:relative;overflow:hidden;border:1px solid;border-radius:4px}div.button a,div.button button,div.button input{opacity:0;filter:alpha(opacity=0);display:block;left:0;top:0;position:absolute;margin:0;padding:0;font-size:1000px;cursor:pointer}div.button span{padding:0;margin:6px 10px}input.uniform-input,select.uniform-multiselect,textarea.uniform{margin:0;border:1px solid;border-radius:4px}input.uniform-input,textarea.uniform{padding:6px 10px}textarea.uniform{overflow:auto}select.uniform-multiselect{padding:5px}div.uploader{border:1px solid #aaa}div.uploader.active,div.uploader.focus{border-color:#184977}input.uniform-input,select.uniform-multiselect,textarea.uniform,div.uploader span.filename,div.selector span{border-color:#666;box-shadow:inset 0 0 4px #555;background:#000;background:-webkit-linear-gradient(top,#111,#333);background:-moz-linear-gradient(top,#111,#333);background:-ms-linear-gradient(top,#111,#333);background:-o-linear-gradient(top,#111,#333);background:linear-gradient(to bottom,#111,#333);color:#aaa}select.uniform-multiselect option{color:#aaa}select.uniform-multiselect.focus option{color:#000}input.uniform-input.focus,select.uniform-multiselect.focus,textarea.uniform.focus,div.uploader.active span.filename,div.uploader.focus span.filename,div.selector.active span,div.selector.focus span{border-color:#4d637c;box-shadow:inset 0 0 4px #4d637c;color:#fff;background:#202d3e;background:-webkit-linear-gradient(top,#131427,#273446);background:-moz-linear-gradient(top,#131427,#273446);background:-ms-linear-gradient(top,#131427,#273446);background:-o-linear-gradient(top,#131427,#273446);background:linear-gradient(to bottom,#131427,#273446)}input.uniform-input[readonly],textarea.uniform[readonly],input.uniform-input[readonly]:focus,textarea.uniform[readonly]:focus{color:gray;border-color:#a5a5a5;box-shadow:inset 0 0 4px #a5a5a5;background:-webkit-linear-gradient(top,#ddd,#fff);background:-moz-linear-gradient(top,#ddd,#fff);background:-ms-linear-gradient(top,#ddd,#fff);background:-o-linear-gradient(top,#ddd,#fff);background:linear-gradient(to bottom,#ddd,#fff)}div.selector,div.button,div.uploader span.action,div.radio,div.checker{border-color:#555;background:#333;background:-webkit-linear-gradient(top,#555,#111);background:-moz-linear-gradient(top,#555,#111);background:-ms-linear-gradient(top,#555,#111);background:-o-linear-gradient(top,#555,#111);background:linear-gradient(to bottom,#555,#111);box-shadow:inset 0 0 7px #555,inset 0 0 3px #555,0 0 3px #000,0 0 6px #000}div.selector.hover,div.button.hover,div.uploader.hover span.action,div.radio.hover,div.checker.hover{background:#333;background:-webkit-linear-gradient(top,#111,#555);background:-moz-linear-gradient(top,#111,#555);background:-ms-linear-gradient(top,#111,#555);background:-o-linear-gradient(top,#111,#555);background:linear-gradient(to bottom,#111,#555)}div.selector.focus,div.button.focus,div.uploader.focus span.action,div.radio.focus,div.checker.focus{color:#fff;border-color:#4685b3;background:#4685b3;background:-webkit-linear-gradient(top,#4685b3,#184977);background:-moz-linear-gradient(top,#4685b3,#184977);background:-ms-linear-gradient(top,#4685b3,#184977);background:-o-linear-gradient(top,#4685b3,#184977);background:linear-gradient(to bottom,#4685b3,#184977);box-shadow:inset 0 0 7px #4e9ed4,inset 0 0 3px #4e9ed4,0 0 3px #000,0 0 6px #000}div.button.active,div.button.active.hover,div.button.focus.hover,div.uploader.active span.action,div.uploader.active.hover span.action,div.uploader.focus.hover span.action,div.radio.active,div.radio.active.hover,div.radio.focus.hover,div.checker.active,div.checker.active.hover,div.checker.focus.hover,div.selector.active,div.selector.active.hover{color:#fff;border-color:#4685b3;background:#184977;background:-webkit-linear-gradient(top,#184977,#4685b3);background:-moz-linear-gradient(top,#184977,#4685b3);background:-ms-linear-gradient(top,#184977,#4685b3);background:-o-linear-gradient(top,#184977,#4685b3);background:linear-gradient(to bottom,#184977,#4685b3);box-shadow:inset 0 0 7px #4e9ed4,inset 0 0 3px #4e9ed4,0 0 3px #000,0 0 6px #000}div.selector.focus .ui-icon,div.checker.focus span.checked,div.radio.focus span.checked,div.selector.active .ui-icon,div.checker.active span.checked,div.radio.active span.checked{background-image:url(img/ui-icons_white.png)}input.uniform-input[disabled],select.uniform-multiselect[disabled],textarea.uniform[disabled],div.button.disabled,div.uploader.disabled,div.radio.disabled,div.checker.disabled,div.selector.disabled,div.selector.disabled.active{opacity:.5;filter:alpha(opacity=50);cursor:default}div.selector.disabled select,div.uploader.disabled input,div.button.disabled input,div.button.disabled button,div.button.disabled a,div.radio.disabled input,div.checker.disabled input{cursor:default}div.button span,div.uploader span.action{font-weight:bold;color:#aaa;text-shadow:1px 0 rgba(0,0,0,.2),-1px 0 rgba(0,0,0,.2),0 -1px rgba(0,0,0,.2),0 1px rgba(0,0,0,.2),1px 1px rgba(0,0,0,.2),-1px -1px rgba(0,0,0,.2),1px -1px rgba(0,0,0,.2),-1px 1px rgba(0,0,0,.2)}input.uniform-input::-webkit-input-placeholder,textarea.uniform::-webkit-input-placeholder{color:#ababab}input.uniform-input:-moz-placeholder,textarea.uniform::-moz-placeholder{color:#aaa}input.uniform-input::-moz-placeholder,textarea.uniform::-moz-placeholder{color:#aaa}input.uniform-input:-ms-input-placeholder,textarea.uniform:-ms-input-placeholder{color:#ababab}input.uniform-input:focus::-webkit-input-placeholder,textarea.uniform:focus::-webkit-input-placeholder{color:#184977}input.uniform-input:focus:-moz-placeholder,textarea.uniform:focus:-moz-placeholder{color:#184977}input.uniform-input:focus::-moz-placeholder,textarea.uniform:focus::-moz-placeholder{color:#184977}input.uniform-input:focus:-ms-input-placeholder,textarea.uniform:focus:-ms-input-placeholder{color:#184977}fieldset.sh-uniform{color:#aaa;border:1px solid #425064;border-radius:4px;background:#202d3e;box-shadow:inset 0 0 3px #000,inset 0 0 6px #000,0 0 3px #425064,0 0 2px #425064;margin:0 10px 10px 0;padding:10px}fieldset.sh-uniform legend{font-weight:bold;color:#aaa}label.sh-uniform{color:#aaa}.shcs{margin:0}.shcs>div{border:1px solid;border-top:0;padding:5px;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.shcs>input,.shcs>input:focus,.shcs>input:hover{border-bottom-left-radius:0;border-bottom-right-radius:0;margin:0}.shcs label{padding:2px 5px 2px 2px;border:1px solid transparent;border-radius:4px;color:#aaa}.shcs>div,.shcs label:hover{border-color:#aaa;box-shadow:inset 0 0 4px #aaa;background:#fff;background:-webkit-linear-gradient(top,#f0f0f0,#fff);background:-moz-linear-gradient(top,#f0f0f0,#fff);background:-ms-linear-gradient(top,#f0f0f0,#fff);background:-o-linear-gradient(top,#f0f0f0,#fff);background:linear-gradient(to bottom,#f0f0f0,#fff)}.shcs label:hover{color:#aaa;cursor:pointer}.shcs>div.focus,.shcs label.checked{border-color:#184977;box-shadow:inset 0 0 4px #4685b3;color:#000;background:#fff;background:-webkit-linear-gradient(top,#dfeef8,#fff);background:-moz-linear-gradient(top,#dfeef8,#fff);background:-ms-linear-gradient(top,#dfeef8,#fff);background:-o-linear-gradient(top,#dfeef8,#fff);background:linear-gradient(to bottom,#dfeef8,#fff)}.shcs label.checked div.checker{border-color:#4685b3;background:#4685b3;background:-webkit-linear-gradient(top,#4685b3,#184977);background:-moz-linear-gradient(top,#4685b3,#184977);background:-ms-linear-gradient(top,#4685b3,#184977);background:-o-linear-gradient(top,#4685b3,#184977);background:linear-gradient(to bottom,#4685b3,#184977)}.shcs label.checked div.checker.hover{border-color:#4685b3;background:#184977;background:-webkit-linear-gradient(top,#184977,#4685b3);background:-moz-linear-gradient(top,#184977,#4685b3);background:-ms-linear-gradient(top,#184977,#4685b3);background:-o-linear-gradient(top,#184977,#4685b3);background:linear-gradient(to bottom,#184977,#4685b3)}.shcs div.checker.focus{border-color:#aaa;background:#aaa;background:-webkit-linear-gradient(top,#ababab,#aaa);background:-moz-linear-gradient(top,#ababab,#aaa);background:-ms-linear-gradient(top,#ababab,#aaa);background:-o-linear-gradient(top,#ababab,#aaa);background:linear-gradient(to bottom,#ababab,#aaa);box-shadow:inset 0 0 7px #fff,inset 0 0 3px #fff}.shcs div.checker.focus.hover{border-color:#aaa;background:#aaa;background:-webkit-linear-gradient(top,#aaa,#ababab);background:-moz-linear-gradient(top,#aaa,#ababab);background:-ms-linear-gradient(top,#aaa,#ababab);background:-o-linear-gradient(top,#aaa,#ababab);background:linear-gradient(to bottom,#aaa,#ababab)}.shcs label>span{position:relative;margin-left:5px;top:1px}*{font-size:13px}body{background:#000;color:#aaa}fieldset td{white-space:nowrap}#folders{margin:5px 5px 0 5px}#files{margin-right:5px}#toolbar a:hover,#toolbar a.hover,span.current,span.regular:hover,span.context,#clipboard div:hover,div.file:hover,#files div.selected,#files div.selected:hover,tr.selected>td,tr.selected:hover>td,#menu .list div a:hover,#toolbar a.selected{color:#fff;text-shadow:1px 0 rgba(0,0,0,.2),-1px 0 rgba(0,0,0,.2),0 -1px rgba(0,0,0,.2),0 1px rgba(0,0,0,.2),1px 1px rgba(0,0,0,.2),-1px -1px rgba(0,0,0,.2),1px -1px rgba(0,0,0,.2),-1px 1px rgba(0,0,0,.2)}#files div{text-shadow:1px 0 rgba(0,0,0,.2),-1px 0 rgba(0,0,0,.2),0 -1px rgba(0,0,0,.2),0 1px rgba(0,0,0,.2),1px 1px rgba(0,0,0,.2),-1px -1px rgba(0,0,0,.2),1px -1px rgba(0,0,0,.2),-1px 1px rgba(0,0,0,.2)}#files,#folders,#toolbar a.selected{color:#aaa;border:1px solid #425064;border-radius:4px;background:#202d3e;box-shadow:inset 0 0 3px #000,inset 0 0 6px #000,0 0 3px #425064,0 0 2px #425064}#toolbar{padding:5px 0}#toolbar a{color:#949494;margin-right:5px;border:1px solid transparent;outline:0;display:block;float:left;border-radius:4px;transition:.3s;padding:0}#toolbar a>span{padding:6px 10px 6px 26px;diaplay:block;float:left;background:no-repeat 6px center}#toolbar a:hover,#toolbar a.hover{color:#fff;border-color:#184977;background:#4685b3;background:-webkit-linear-gradient(top,#4685b3,#184977);background:-moz-linear-gradient(top,#4685b3,#184977);background:-ms-linear-gradient(top,#4685b3,#184977);background:-o-linear-gradient(top,#4685b3,#184977);background:linear-gradient(to bottom,#4685b3,#184977);box-shadow:inset 0 0 3px #88b9da;transition:.3s}#toolbar a[href="kcact:upload"] span{background-image:url(img/icons/upload.png)}#toolbar a[href="kcact:refresh"] span{background-image:url(img/icons/refresh.png)}#toolbar a[href="kcact:settings"] span{background-image:url(img/icons/settings.png)}#toolbar a[href="kcact:about"] span{background-image:url(img/icons/about.png)}#toolbar a[href="kcact:maximize"] span{background-image:url(img/icons/maximize.png)}#settings label{cursor:pointer}#settings fieldset{margin-right:5px;margin-bottom:6px;margin-top:-5px;padding:6px}div.folder{padding-top:2px;margin-top:5px;white-space:nowrap}div.folder a{text-decoration:none;cursor:default;outline:0;color:#aaa}span.folder{padding:2px 3px 2px 23px;outline:0;background:no-repeat 3px center;cursor:pointer;border-radius:3px;border:1px solid transparent}span.brace{width:16px;height:16px;outline:0}span.current{transition:.3s;background-image:url(img/tree/folder.png);background-color:#306999;border-color:#306999;box-shadow:inset 0 0 7px #8fd6ea,inset 0 0 3px #8fd6ea,0 0 2px #000,0 0 1px #000}span.regular{transition:.3s;background-image:url(img/tree/folder.png);background-color:transparent}span.regular:hover,span.context,#clipboard div:hover{transition:.3s;background-color:#333;border-color:#777;box-shadow:inset 0 0 7px #777,inset 0 0 3px #777,0 0 2px #000,0 0 1px #000}span.opened{background-image:url(img/tree/minus.png)}span.closed{background-image:url(img/tree/plus.png)}span.denied{background-image:url(img/tree/denied.png)}div.file{padding:4px;margin:3px;border:1px solid transparent;border-radius:4px}div.file:hover{box-shadow:inset 0 0 7px #555,inset 0 0 3px #555,0 0 3px #000,0 0 6px #000;background:#000;background:-webkit-linear-gradient(top,#111,#555);background:-moz-linear-gradient(top,#111,#555);background:-ms-linear-gradient(top,#111,#555);background:-o-linear-gradient(top,#111,#555);background:linear-gradient(to bottom,#111,#555);border-color:#555}div.file .name{margin-top:4px;font-weight:bold;height:16px;overflow:hidden;padding-bottom:2px}div.file .time{font-size:10px}div.file .size{font-size:10px}#files div.selected,#files div.selected:hover{border-color:#4685b3;background:#4685b3;background:-webkit-linear-gradient(top,#4685b3,#184977);background:-moz-linear-gradient(top,#4685b3,#184977);background:-ms-linear-gradient(top,#4685b3,#184977);background:-o-linear-gradient(top,#4685b3,#184977);background:linear-gradient(to bottom,#4685b3,#184977);box-shadow:inset 0 0 7px #4e9ed4,inset 0 0 3px #4e9ed4,0 0 3px #000,0 0 6px #000}tr.file>td{padding:3px 4px}tr.file:hover>td{background-color:#000;transition:none}tr.selected>td,tr.selected:hover>td{transition:.3s;background-color:#2d5277}tr.file td.name{background-position:2px center;padding-left:22px}a.denied{color:#666;opacity:.5;filter:alpha(opacity:50);cursor:default}a.denied:hover{background-color:#e4e3e2;border-color:transparent;box-shadow:none}#menu .ui-menu a span{background:left center no-repeat;padding-left:20px;white-space:nowrap}#menu a[href="kcact:refresh"] span{background-image:url(img/icons/refresh.png)}#menu a[href="kcact:mkdir"] span{background-image:url(img/icons/folder-new.png)}#menu a[href="kcact:mvdir"] span,#menu a[href="kcact:mv"] span{background-image:url(img/icons/rename.png)}#menu a[href="kcact:rmdir"] span,#menu a[href="kcact:rm"] span,#menu a[href="kcact:rmcbd"] span{background-image:url(img/icons/delete.png)}#menu a[href="kcact:clpbrdadd"] span{background-image:url(img/icons/clipboard-add.png)}#menu a[href="kcact:pick"] span,#menu a[href="kcact:pick_thumb"] span{background-image:url(img/icons/select.png)}#menu a[href="kcact:download"] span{background-image:url(img/icons/download.png)}#menu a[href="kcact:view"] span{background-image:url(img/icons/view.png)}#menu a[href="kcact:cpcbd"] span{background-image:url(img/icons/copy.png)}#menu a[href="kcact:mvcbd"] span{background-image:url(img/icons/move.png)}#menu a[href="kcact:clrcbd"] span{background-image:url(img/icons/clipboard-clear.png)}#clipboard{margin-left:-3px;padding:2px}#clipboard div{background:url(img/icons/clipboard.png) no-repeat center center;border:1px solid transparent;padding:2px;cursor:pointer;border-radius:4px}#clipboard.selected div,#clipboard.selected div:hover{background-color:#306999;border-color:#306999;box-shadow:inset 0 0 7px #8fd6ea,inset 0 0 3px #8fd6ea}#menu .list a,#menu .list a.ui-state-focus{margin:-1px 0 0 -1px;padding:6px 10px;border:1px solid transparent;background:0;border-radius:0;text-shadow:none;box-shadow:none}#menu .list a.first,#menu .list a.first.ui-state-focus{border-radius:4px 4px 0 0}#menu .list a:hover{border-color:#4685b3;background:#4685b3;background:-webkit-linear-gradient(top,#184977,#4685b3);background:-moz-linear-gradient(top,#184977,#4685b3);background:-ms-linear-gradient(top,#184977,#4685b3);background:-o-linear-gradient(top,#184977,#4685b3);background:linear-gradient(to bottom,#184977,#4685b3);box-shadow:inset 0 0 7px #4e9ed4,inset 0 0 3px #4e9ed4}#menu .list{overflow:hidden;max-height:1px;margin-bottom:-1px;padding-bottom:1px}#menu li.div-files{margin:0 0 1px 0}.about{text-align:center}.about div.head{font-weight:bold;font-size:12px;padding:3px 0 8px 0}.about div.head a{background:url(img/kcf_logo.png) no-repeat left center;padding:0 0 0 27px;font-size:17px;outline:0}.about a{text-decoration:none;color:#3665b4}.about a:hover{text-decoration:underline}#checkver{margin:5px 0 10px 0}#loading,#checkver>span.loading{background:url(img/loading.gif);border:1px solid #425064;box-shadow:inset 0 0 3px #000,inset 0 0 6px #000,0 0 3px #425064,0 0 2px #425064;padding:6px 10px;border-radius:4px;color:#aaa}#checkver a{font-weight:normal;padding:3px 3px 3px 20px;background:url(img/icons/download.png) no-repeat left center}.ui-dialog-content.kcfImageViewer{background:#000;cursor:pointer}.kcfImageViewer .img{background:url(img/bg_transparent.png)}#loading{margin-right:5px}#loadingDirs{padding:5px 0 1px 24px}#files.drag{background:#ddebf8}#resizer{background:#fff}body.msie fieldset,body.trident.rv fieldset{border-radius:0} \ No newline at end of file diff --git a/kcfinder/cache/theme_dark.js b/kcfinder/cache/theme_dark.js deleted file mode 100644 index d6f32ba7..00000000 --- a/kcfinder/cache/theme_dark.js +++ /dev/null @@ -1 +0,0 @@ -new Image().src="themes/dark/img/loading.gif"; \ No newline at end of file diff --git a/kcfinder/cache/theme_default.css b/kcfinder/cache/theme_default.css deleted file mode 100644 index 35b2f738..00000000 --- a/kcfinder/cache/theme_default.css +++ /dev/null @@ -1,2440 +0,0 @@ -/* - -This CSS code is generated from http://ui.sunhater.com -(c)2014 Pavel Tzonkov, sunhater.com. All rights reserved. - -*/ -/*** jQueryUI */ -/** Base */ - -.ui-helper-hidden { - display: none; -} -.ui-helper-hidden-accessible { - border: 0; - clip: rect(0 0 0 0); - height: 1px; - margin: -1px; - overflow: hidden; - padding: 0; - position: absolute; - width: 1px; -} -.ui-helper-reset { - margin: 0; - padding: 0; - border: 0; - outline: 0; - line-height: 1.3; - text-decoration: none; - font-size: 100%; - list-style: none; -} -.ui-helper-clearfix:before, -.ui-helper-clearfix:after { - content: ""; - display: table; - border-collapse: collapse; -} -.ui-helper-clearfix:after { - clear: both; -} -.ui-helper-clearfix { - min-height: 0; /* support: IE7 */ -} -.ui-helper-zfix { - width: 100%; - height: 100%; - top: 0; - left: 0; - position: absolute; - opacity: 0; - filter:alpha(opacity=0); -} - -.ui-front { - z-index: 100; -} - -.ui-widget .ui-widget, -.ui-widget input, -.ui-widget select, -.ui-widget textarea, -.ui-widget button { - font-size: 1em; -} -.ui-widget-content { - border: 1px solid #888; - background: #fff; - color: #6B6B6B; -} -.ui-widget-content a { - color: #6B6B6B; -} -.ui-widget-header { - border: 1px solid #1b79b8; - color: #fff; - font-weight: bold; - background: #1b79b8; - background: -webkit-linear-gradient(top, #1b79b8, #59b5f2); - background: -moz-linear-gradient(top, #1b79b8, #59b5f2); - background: -ms-linear-gradient(top, #1b79b8, #59b5f2); - background: -o-linear-gradient(top, #1b79b8, #59b5f2); - background: linear-gradient(to bottom, #1b79b8, #59b5f2); -} -.ui-widget-header a { - color: #fff; -} - -/* Interaction states -----------------------------------*/ - -.ui-state-default, -.ui-widget-content .ui-state-default, -.ui-widget-header .ui-state-default, -.ui-widget.ui-state-disabled { - transition: .2s; - border: 1px solid #6b6b6b; - background: #6b6b6b; - background: -webkit-linear-gradient(top, #ababab, #6b6b6b); - background: -moz-linear-gradient(top, #ababab, #6b6b6b); - background: -ms-linear-gradient(top, #ababab, #6b6b6b); - background: -o-linear-gradient(top, #ababab, #6b6b6b); - background: linear-gradient(to bottom, #ababab, #6b6b6b); - font-weight: bold; - color: #fff; -} - -.ui-state-hover, -.ui-widget-content .ui-state-hover, -.ui-widget-header .ui-state-hover, -.ui-state-focus, -.ui-widget-content .ui-state-focus, -.ui-widget-header .ui-state-focus { - transition: .2s; - border: 1px solid #6b6b6b; - background: #6b6b6b; - background: -webkit-linear-gradient(top, #6b6b6b, #ababab); - background: -moz-linear-gradient(top, #6b6b6b, #ababab); - background: -ms-linear-gradient(top, #6b6b6b, #ababab); - background: -o-linear-gradient(top, #6b6b6b, #ababab); - background: linear-gradient(to bottom, #6b6b6b, #ababab); - font-weight: bold; - color: #fff; -} - -.ui-state-active, -.ui-widget-content .ui-state-active, -.ui-widget-header .ui-state-active, -.ui-menu .ui-state-focus { - transition: .2s; - border: 1px solid #1b79b8; - background: #1b79b8; - background: -webkit-linear-gradient(top, #1b79b8, #59b5f2); - background: -moz-linear-gradient(top, #1b79b8, #59b5f2); - background: -ms-linear-gradient(top, #1b79b8, #59b5f2); - background: -o-linear-gradient(top, #1b79b8, #59b5f2); - background: linear-gradient(to bottom, #1b79b8, #59b5f2); - font-weight: bold; - color: #fff; -} - -.ui-state-default a, -.ui-state-default a:link, -.ui-state-default a:visited, -.ui-state-hover a, -.ui-state-hover a:hover, -.ui-state-hover a:link, -.ui-state-hover a:visited, -.ui-state-active a, -.ui-state-active a:link, -.ui-state-active a:visited { - transition: .2s; - color: #fff; - text-decoration: none; -} - -.ui-menu .ui-state-active { - transition: .2s; - border-color: #6b6b6b; - background: #6b6b6b; - background: -webkit-linear-gradient(top, #6b6b6b, #ababab); - background: -moz-linear-gradient(top, #6b6b6b, #ababab); - background: -ms-linear-gradient(top, #6b6b6b, #ababab); - background: -o-linear-gradient(top, #6b6b6b, #ababab); - background: linear-gradient(to bottom, #6b6b6b, #ababab); -} - -/* Interaction Cues -----------------------------------*/ - -.ui-state-highlight, -.ui-widget-content .ui-state-highlight, -.ui-widget-header .ui-state-highlight { - border: 1px solid #d5bc2c; - box-shadow: inset 0 0 5px #d5bc2c; - background: #fff6bf; - color: #6b6b6b; -} -.ui-state-error, -.ui-widget-content .ui-state-error, -.ui-widget-header .ui-state-error { - border: 1px solid #cf7f7f; - box-shadow: inset 0 0 5px #cf7f7f; - background: #fac4c4; - color: #6b6b6b; -} -.ui-state-error a, -.ui-widget-content .ui-state-error a, -.ui-widget-header .ui-state-error a, -.ui-state-highlight a, -.ui-widget-content .ui-state-highlight a, -.ui-widget-header .ui-state-highlight a, -.ui-state-error-text, -.ui-widget-content .ui-state-error-text, -.ui-widget-header .ui-state-error-text { - color: #6b6b6b; -} -.ui-priority-primary, -.ui-widget-content .ui-priority-primary, -.ui-widget-header .ui-priority-primary { - font-weight: bold; -} -.ui-priority-secondary, -.ui-widget-content .ui-priority-secondary, -.ui-widget-header .ui-priority-secondary { - opacity: .5; - filter:alpha(opacity=50); - font-weight: normal; -} -.ui-state-disabled, -.ui-widget-content .ui-state-disabled, -.ui-widget-header .ui-state-disabled { - opacity: .50; - filter:alpha(opacity=50); - background-image: none; -} -.ui-state-disabled .ui-icon { - filter:alpha(opacity=50); /* For IE8 - See #6059 */ -} - -/* Interaction Cues -----------------------------------*/ -.ui-state-disabled { - cursor: default !important; -} - -/* Misc visuals -----------------------------------*/ - -/* Overlays */ -.ui-widget-overlay { - position: fixed; - top: 0; - left: 0; - width: 100%; - height: 100%; -} -.ui-resizable { - position: relative; -} -.ui-resizable-handle { - position: absolute; - font-size: 0.1px; - display: block; -} -.ui-resizable-disabled .ui-resizable-handle, -.ui-resizable-autohide .ui-resizable-handle { - display: none; -} -.ui-resizable-n { - cursor: n-resize; - height: 7px; - width: 100%; - top: -5px; - left: 0; -} -.ui-resizable-s { - cursor: s-resize; - height: 7px; - width: 100%; - bottom: -5px; - left: 0; -} -.ui-resizable-e { - cursor: e-resize; - width: 7px; - right: -5px; - top: 0; - height: 100%; -} -.ui-resizable-w { - cursor: w-resize; - width: 7px; - left: -5px; - top: 0; - height: 100%; -} -.ui-resizable-se { - cursor: se-resize; - width: 12px; - height: 12px; - right: 1px; - bottom: 1px; -} -.ui-resizable-sw { - cursor: sw-resize; - width: 9px; - height: 9px; - left: -5px; - bottom: -5px; -} -.ui-resizable-nw { - cursor: nw-resize; - width: 9px; - height: 9px; - left: -5px; - top: -5px; -} -.ui-resizable-ne { - cursor: ne-resize; - width: 9px; - height: 9px; - right: -5px; - top: -5px; -} -.ui-selectable-helper { - position: absolute; - z-index: 100; - border: 1px dotted black; -} - - -/** Accordion */ - -.ui-accordion .ui-accordion-header { - display: block; - cursor: pointer; - position: relative; - margin-top: 2px; - padding: 6px; - min-height: 0; /* support: IE7 */ -} -.ui-accordion .ui-accordion-icons, -.ui-accordion .ui-accordion-icons .ui-accordion-icons { - padding-left: 24px; -} -.ui-accordion .ui-accordion-noicons { - padding-left: 5px; -} - -.ui-accordion .ui-accordion-header .ui-accordion-header-icon { - position: absolute; - left: 5px; - top: 50%; - margin-top: -8px; -} -.ui-accordion .ui-accordion-content { - padding: 1em; - border-top: 0; - overflow: auto; -} - - -/** Autocomplete */ - -.ui-autocomplete { - position: absolute; - top: 0; - left: 0; - cursor: pointer; -} - - -/** Button */ - -.ui-button { - display: inline-block; - position: relative; - padding: 0; - line-height: normal; - cursor: pointer; - vertical-align: middle; - text-align: center; - overflow: visible; /* removes extra width in IE */ -} -.ui-button, -.ui-button:link, -.ui-button:visited, -.ui-button:hover, -.ui-button:active { - text-decoration: none; -} -/* to make room for the icon, a width needs to be set here */ -.ui-button-icon-only { - width: 36px; -} -.ui-button-icons-only { - width: 50px; -} -/* button text element */ -.ui-button .ui-button-text { - display: block; - line-height: normal; -} -.ui-button-text-only .ui-button-text { - padding: 6px 10px; -} -.ui-button-icon-only .ui-button-text, -.ui-button-icons-only .ui-button-text { - padding: 6px; - text-indent: -9999999px; -} -.ui-button-text-icon-primary .ui-button-text, -.ui-button-text-icons .ui-button-text { - padding: 6px 10px 6px 28px; -} -.ui-button-text-icon-secondary .ui-button-text, -.ui-button-text-icons .ui-button-text { - padding: 6px 28px 6px 10px; -} -.ui-button-text-icons .ui-button-text { - padding-left: 28px; - padding-right: 28px; -} -/* no icon support for input elements, provide padding by default */ -input.ui-button { - padding: 6px 10px; -} - -/* button icon element(s) */ -.ui-button-icon-only .ui-icon, -.ui-button-text-icon-primary .ui-icon, -.ui-button-text-icon-secondary .ui-icon, -.ui-button-text-icons .ui-icon, -.ui-button-icons-only .ui-icon { - position: absolute; - top: 50%; - margin-top: -8px; -} -.ui-button-icon-only .ui-icon { - left: 50%; - margin-left: -8px; -} -.ui-button-text-icon-primary .ui-button-icon-primary, -.ui-button-text-icons .ui-button-icon-primary, -.ui-button-icons-only .ui-button-icon-primary { - left: 7px; -} -.ui-button-text-icon-secondary .ui-button-icon-secondary, -.ui-button-text-icons .ui-button-icon-secondary, -.ui-button-icons-only .ui-button-icon-secondary { - right: 7px; -} -/* workarounds */ -/* reset extra padding in Firefox, see h5bp.com/l */ -input.ui-button::-moz-focus-inner, -button.ui-button::-moz-focus-inner { - border: 0; - padding: 0; -} - - -/** Button set */ - -.ui-buttonset { - margin:0; - overflow:auto; -} -.ui-buttonset .ui-button { - margin: 0; - float:left; -} - - -/** Date picker */ - -.ui-datepicker { - width: 19em; - width: 19em; - display: none; - padding: 10px; -} -.ui-datepicker .ui-datepicker-header { - position: relative; - padding: 2px 0; -} -.ui-datepicker .ui-datepicker-prev, -.ui-datepicker .ui-datepicker-next { - position: absolute; - top: 4px; - width: 20px; - height: 20px; -} -.ui-datepicker .ui-datepicker-prev-hover, -.ui-datepicker .ui-datepicker-next-hover { - top: 3px; -} -.ui-datepicker .ui-datepicker-prev { - left: 4px; -} -.ui-datepicker .ui-datepicker-next { - right: 4px; -} -.ui-datepicker .ui-datepicker-prev-hover { - left: 3px; -} -.ui-datepicker .ui-datepicker-next-hover { - right: 3px; -} -.ui-datepicker .ui-datepicker-prev span, -.ui-datepicker .ui-datepicker-next span { - display: block; - position: absolute; - left: 50%; - margin-left: -8px; - top: 50%; - margin-top: -8px; -} -.ui-datepicker .ui-datepicker-title { - margin: 0 10px; - padding: 4px 0; - text-align: center; -} -.ui-datepicker .ui-datepicker-title select { - font-size: 1em; - margin:-2px 2px; - padding:0; - outline:0; -} -.ui-datepicker table { - width: 100%; - border-collapse: collapse; - margin: 0; - font-size: 1em; -} -.ui-datepicker th { - padding: 3px; - text-align: center; - font-weight: bold; - border: 0; -} -.ui-datepicker td { - border: 0; - padding: 1px; -} -.ui-datepicker td span, -.ui-datepicker td a { - display: block; - padding: 2px 3px; - text-align: right; - text-decoration: none; -} -.ui-datepicker .ui-datepicker-buttonpane { - background-image: none; - margin: 10px -11px -11px -11px; - padding: 10px; - border: 1px solid #1b79b8; - background: #e4f5ff; - overflow: auto; -} -.ui-datepicker .ui-datepicker-buttonpane button { - float: right; - cursor: pointer; - width: auto; - overflow: visible; - margin: 0; - padding: 6px 10px; - font-weight: bold; - opacity: 1; - filter: alpha(opacity=100); -} -.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { - float: left; -} - -/* with multiple calendars */ -.ui-datepicker.ui-datepicker-multi { - width: auto; - padding:10px; -} -.ui-datepicker-multi .ui-datepicker-group { - float: left; -} -.ui-datepicker-multi .ui-datepicker-group .ui-datepicker-header { - margin:0; -} -.ui-datepicker-multi .ui-datepicker-group.ui-datepicker-group-last { - margin-right:0; -} - -.ui-datepicker-multi .ui-datepicker-group table { - width: 95%; - margin: 0 auto .4em; -} -.ui-datepicker-multi-2 .ui-datepicker-group { - width: 50%; -} -.ui-datepicker-multi-3 .ui-datepicker-group { - width: 33.3%; -} -.ui-datepicker-multi-4 .ui-datepicker-group { - width: 25%; -} - -.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header, -.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { - border-left-width: 0; -} -.ui-datepicker-multi .ui-datepicker-buttonpane { - clear: left; -} -.ui-datepicker-row-break { - clear: both; - font-size: 0; - width: 100px; -} -th.ui-datepicker-week-col { - color: #215b82; -} -td.ui-datepicker-week-col { - text-align:right; - padding-right:7px; - color: #215b82; -} -td.ui-datepicker-other-month a.ui-state-default { - font-weight: bold; -} -th.ui-datepicker-week-end { - color: #f44; -} - -/* RTL support */ -.ui-datepicker-rtl { - direction: rtl; -} -.ui-datepicker-rtl .ui-datepicker-prev { - right: 2px; - left: auto; -} -.ui-datepicker-rtl .ui-datepicker-next { - left: 2px; - right: auto; -} -.ui-datepicker-rtl .ui-datepicker-prev:hover { - right: 1px; - left: auto; -} -.ui-datepicker-rtl .ui-datepicker-next:hover { - left: 1px; - right: auto; -} -.ui-datepicker-rtl .ui-datepicker-buttonpane { - clear: right; -} -.ui-datepicker-rtl .ui-datepicker-buttonpane button { - float: left; -} -.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current, -.ui-datepicker-rtl .ui-datepicker-group { - float: right; -} -.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header, -.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { - border-right-width: 0; - border-left-width: 1px; -} - - -/** Dialog */ - -.ui-dialog { - position: absolute; - top: 0; - left: 0; - padding: 4px; - outline: 0; - box-shadow: 0 0 10px #000; -} -.ui-dialog .ui-dialog-titlebar { - padding: 5px 10px; - position: relative; -} -.ui-dialog .ui-dialog-title { - float: left; - margin: 0; - padding: 1px 0; - white-space: nowrap; - width: 90%; - overflow: hidden; - text-overflow: ellipsis; -} -.ui-dialog .ui-dialog-titlebar-close { - position: absolute; - right: .3em; - top: 50%; - width: 21px; - margin: -10px 0 0 0; - padding: 1px; - height: 20px; -} -.ui-dialog .ui-dialog-content { - position: relative; - border: 0; - padding: 1em; - margin: 0 -4px; - background: none; - overflow: auto; -} -.ui-dialog .ui-dialog-buttonpane { - text-align: left; - border-width: 1px 0 0 0; - background-image: none; - padding: 10px; -} -.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { - float: right; -} -.ui-dialog .ui-dialog-buttonpane button { - margin: 0 0 0 5px; - cursor: pointer; -} -.ui-dialog .ui-resizable-se { - width: 12px; - height: 12px; - right: -5px; - bottom: -5px; - background-position: 16px 16px; -} -.ui-draggable .ui-dialog-titlebar { - cursor: move; -} - - -/** Menu */ - -.ui-menu { - list-style: none; - padding: 0; - margin: 0; - display: block; - outline: 0; -} -.ui-menu .ui-menu { - margin-top: -3px; - position: absolute; -} -.ui-menu .ui-menu-item { - margin: 0; - padding: 0; - width: 100%; - /* support: IE10, see #8844 */ - list-style-image: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7); -} -.ui-menu .ui-menu-divider { - margin: 1px 10px 1px 10px; - height: 0; - font-size: 0; - line-height: 0; - border-width: 1px 0 0 0; - border-color: #bbb; -} -.ui-menu .ui-menu-item a { - text-decoration: none; - display: block; - padding: 5px 10px; - line-height: 1.5; - min-height: 0; /* support: IE7 */ - font-weight: normal; - border-radius:0; -} -.ui-menu .ui-menu-item a.ui-state-focus, -.ui-menu .ui-menu-item a.ui-state-active { - font-weight: normal; - margin: -1px; - transition: none; -} -.ui-menu .ui-state-disabled { - font-weight: normal; - line-height: 1.5; -} -.ui-menu .ui-state-disabled a { - cursor: default; -} -.ui-menu.ui-corner-all.sh-menu { - border-radius: 4px; -} -.ui-menu.ui-corner-all, .ui-menu.sh-menu.ui-autocomplete.ui-corner-all { - border-radius: 0; -} - -/* icon support */ -.ui-menu-icons { - position: relative; -} -.ui-menu-icons .ui-menu-item a { - position: relative; - padding-left: 2em; -} - -/* left-aligned */ -.ui-menu .ui-icon { - position: absolute; - top: .2em; - left: .2em; -} - -/* right-aligned */ -.ui-menu .ui-menu-icon { - position: static; - float: right; -} - - -/** Progress bar */ - -.ui-progressbar { - height: 2.1em; - text-align: left; - overflow: hidden; -} -.ui-progressbar .ui-progressbar-value { - margin: -1px; - height: 100%; -} -.ui-progressbar .ui-progressbar-overlay { - height: 100%; - filter: alpha(opacity=25); - opacity: 0.25; -} -.ui-progressbar-indeterminate .ui-progressbar-value { - background-image: none; -} - - -/** Slider */ - -.ui-slider { - position: relative; - text-align: left; - margin: 0 13px; - border-radius:15px; -} -.ui-slider .ui-slider-handle { - position: absolute; - z-index: 2; - width: 18px; - height: 18px; - border-radius: 9px; - cursor: default; - box-shadow: 0 0 3px #6b6b6b, inset 0 0 7px #fff, inset 0 0 3px #fff; -} -.ui-slider .ui-slider-handle.ui-state-active { - box-shadow: 0 0 3px #1b79b8, inset 0 0 7px #fff, inset 0 0 3px #fff; -} -.ui-slider .ui-slider-range { - position: absolute; - z-index: 1; - display: block; - border: 0; - background-position: 0 0; -} - -/* For IE8 - See #6727 */ -.ui-slider.ui-state-disabled .ui-slider-handle, -.ui-slider.ui-state-disabled .ui-slider-range { - filter: inherit; -} - -.ui-slider-horizontal { - height: 10px; -} -.ui-slider-horizontal .ui-slider-handle { - top: -5px; - margin-left: -9px; -} -.ui-slider-horizontal .ui-slider-range { - top: 0; - height: 100%; -} -.ui-slider-horizontal .ui-slider-range-min { - left: 0; -} -.ui-slider-horizontal .ui-slider-range-max { - right: 0; -} - -.ui-slider-vertical { - width: 10px; - height: 150px; -} -.ui-slider-vertical .ui-slider-handle { - left: -5px; - margin-left: 0; - margin-bottom: -9px; -} -.ui-slider-vertical .ui-slider-range { - left: -1px; - width: 100%; -} -.ui-slider-vertical .ui-slider-range-min { - bottom: 0; -} -.ui-slider-vertical .ui-slider-range-max { - top: 0; -} - - -/** Spinner */ - -.ui-spinner.ui-widget { - position: relative; - display: inline-block; - overflow: hidden; - padding: 0; - vertical-align: middle; - background: #fff; - background: -webkit-linear-gradient(top, #f0f0f0, #fff); - background: -moz-linear-gradient(top, #f0f0f0, #fff); - background: -ms-linear-gradient(top, #f0f0f0, #fff); - background: -o-linear-gradient(top, #f0f0f0, #fff); - background: linear-gradient(to bottom, #f0f0f0, #fff); -} -.ui-spinner-input { - border: none; - color: inherit; - padding: 0; - margin: 6px 24px 6px 10px; - vertical-align: middle; - outline: 0; - background: transparent; -} -.ui-spinner-input { - color: #6b6b6b} -.ui-spinner-input:focus { - color: #000; -} -.ui-spinner-button { - width: 16px; - height: 50%; - font-size: .5em; - padding: 0; - margin: 0; - text-align: center; - position: absolute; - cursor: default; - display: block; - overflow: hidden; - right: 0; -} -/* more specificity required here to overide default borders */ -.ui-spinner a.ui-spinner-button { - border-top: none; - border-bottom: none; - border-right: none; -} -/* vertical centre icon */ -.ui-spinner .ui-icon { - position: absolute; - margin-top: -8px; - top: 50%; - left: 0; -} -.ui-spinner-up { - top: 0; -} -.ui-spinner-down { - bottom: 0; -} - -/* TR overrides */ -.ui-spinner .ui-icon-triangle-1-s { - /* need to fix icons sprite */ - background-position: -65px -16px; -} - - -/** Tabs */ - -.ui-tabs { - position: relative;/* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */ -} -.ui-tabs .ui-tabs-nav { - margin: 0; - padding: 3px 3px 0 3px; -} -.ui-tabs .ui-tabs-nav li { - list-style: none; - float: left; - position: relative; - top: 0; - margin: 1px 3px 0 0; - border-bottom-width: 0; - padding: 0; - white-space: nowrap; -} -.ui-tabs .ui-tabs-nav li a { - float: left; - padding: 6px 10px; - text-decoration: none; -} -.ui-tabs .ui-tabs-nav li.ui-tabs-active { - margin-bottom: -1px; - padding-bottom: 1px; -} -.ui-tabs .ui-tabs-nav li.ui-tabs-active a, -.ui-tabs .ui-tabs-nav li.ui-state-disabled a, -.ui-tabs .ui-tabs-nav li.ui-tabs-loading a { - cursor: text; -} -.ui-tabs .ui-tabs-nav li a, /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */ -.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active a { - cursor: pointer; -} -.ui-tabs .ui-tabs-panel { - display: block; - border-width: 0; - padding: 1em; - background: none; -} - -/** Tooltip */ - -body .ui-tooltip { - padding: 6px 10px; - position: absolute; - z-index: 9999; - max-width: 300px; - color: #808080; - border-color: #a5a5a5; - box-shadow: inset 0 0 4px #a5a5a5, 0 0 4px #a5a5a5; - background: -webkit-linear-gradient(top, #ddd, #fff); - background: -moz-linear-gradient(top, #ddd, #fff); - background: -ms-linear-gradient(top, #ddd, #fff); - background: -o-linear-gradient(top, #ddd, #fff); - background: linear-gradient(to bottom, #ddd, #fff); -} - -/** Icons */ - -/* states and images */ -.ui-icon { - display: block; - text-indent: -99999px; - overflow: hidden; - background-repeat: no-repeat; - width: 16px; - height: 16px; -} - -.ui-icon, -.ui-widget-content .ui-icon, -.ui-state-highlight .ui-icon, -.ui-state-error .ui-icon, -.ui-state-error-text .ui-icon, -.ui-icon.ui-icon-black { - background-image: url(img/ui-icons_black.png); -} - -.ui-widget-header .ui-icon, -.ui-state-default .ui-icon, -.ui-state-hover .ui-icon, -.ui-state-focus .ui-icon, -.ui-state-active .ui-icon, -.ui-icon.ui-icon-white { - background-image: url(img/ui-icons_white.png); -} - -/* positioning */ -.ui-icon-blank { background-position: 16px 16px; } -.ui-icon-carat-1-n { background-position: 0 0; } -.ui-icon-carat-1-ne { background-position: -16px 0; } -.ui-icon-carat-1-e { background-position: -32px 0; } -.ui-icon-carat-1-se { background-position: -48px 0; } -.ui-icon-carat-1-s { background-position: -64px 0; } -.ui-icon-carat-1-sw { background-position: -80px 0; } -.ui-icon-carat-1-w { background-position: -96px 0; } -.ui-icon-carat-1-nw { background-position: -112px 0; } -.ui-icon-carat-2-n-s { background-position: -128px 0; } -.ui-icon-carat-2-e-w { background-position: -144px 0; } -.ui-icon-triangle-1-n { background-position: 0 -16px; } -.ui-icon-triangle-1-ne { background-position: -16px -16px; } -.ui-icon-triangle-1-e { background-position: -32px -16px; } -.ui-icon-triangle-1-se { background-position: -48px -16px; } -.ui-icon-triangle-1-s { background-position: -64px -16px; } -.ui-icon-triangle-1-sw { background-position: -80px -16px; } -.ui-icon-triangle-1-w { background-position: -96px -16px; } -.ui-icon-triangle-1-nw { background-position: -112px -16px; } -.ui-icon-triangle-2-n-s { background-position: -128px -16px; } -.ui-icon-triangle-2-e-w { background-position: -144px -16px; } -.ui-icon-arrow-1-n { background-position: 0 -32px; } -.ui-icon-arrow-1-ne { background-position: -16px -32px; } -.ui-icon-arrow-1-e { background-position: -32px -32px; } -.ui-icon-arrow-1-se { background-position: -48px -32px; } -.ui-icon-arrow-1-s { background-position: -64px -32px; } -.ui-icon-arrow-1-sw { background-position: -80px -32px; } -.ui-icon-arrow-1-w { background-position: -96px -32px; } -.ui-icon-arrow-1-nw { background-position: -112px -32px; } -.ui-icon-arrow-2-n-s { background-position: -128px -32px; } -.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; } -.ui-icon-arrow-2-e-w { background-position: -160px -32px; } -.ui-icon-arrow-2-se-nw { background-position: -176px -32px; } -.ui-icon-arrowstop-1-n { background-position: -192px -32px; } -.ui-icon-arrowstop-1-e { background-position: -208px -32px; } -.ui-icon-arrowstop-1-s { background-position: -224px -32px; } -.ui-icon-arrowstop-1-w { background-position: -240px -32px; } -.ui-icon-arrowthick-1-n { background-position: 0 -48px; } -.ui-icon-arrowthick-1-ne { background-position: -16px -48px; } -.ui-icon-arrowthick-1-e { background-position: -32px -48px; } -.ui-icon-arrowthick-1-se { background-position: -48px -48px; } -.ui-icon-arrowthick-1-s { background-position: -64px -48px; } -.ui-icon-arrowthick-1-sw { background-position: -80px -48px; } -.ui-icon-arrowthick-1-w { background-position: -96px -48px; } -.ui-icon-arrowthick-1-nw { background-position: -112px -48px; } -.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; } -.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; } -.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; } -.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; } -.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; } -.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; } -.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; } -.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; } -.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; } -.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; } -.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; } -.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; } -.ui-icon-arrowreturn-1-w { background-position: -64px -64px; } -.ui-icon-arrowreturn-1-n { background-position: -80px -64px; } -.ui-icon-arrowreturn-1-e { background-position: -96px -64px; } -.ui-icon-arrowreturn-1-s { background-position: -112px -64px; } -.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; } -.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; } -.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; } -.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; } -.ui-icon-arrow-4 { background-position: 0 -80px; } -.ui-icon-arrow-4-diag { background-position: -16px -80px; } -.ui-icon-extlink { background-position: -32px -80px; } -.ui-icon-newwin { background-position: -48px -80px; } -.ui-icon-refresh { background-position: -64px -80px; } -.ui-icon-shuffle { background-position: -80px -80px; } -.ui-icon-transfer-e-w { background-position: -96px -80px; } -.ui-icon-transferthick-e-w { background-position: -112px -80px; } -.ui-icon-folder-collapsed { background-position: 0 -96px; } -.ui-icon-folder-open { background-position: -16px -96px; } -.ui-icon-document { background-position: -32px -96px; } -.ui-icon-document-b { background-position: -48px -96px; } -.ui-icon-note { background-position: -64px -96px; } -.ui-icon-mail-closed { background-position: -80px -96px; } -.ui-icon-mail-open { background-position: -96px -96px; } -.ui-icon-suitcase { background-position: -112px -96px; } -.ui-icon-comment { background-position: -128px -96px; } -.ui-icon-person { background-position: -144px -96px; } -.ui-icon-print { background-position: -160px -96px; } -.ui-icon-trash { background-position: -176px -96px; } -.ui-icon-locked { background-position: -192px -96px; } -.ui-icon-unlocked { background-position: -208px -96px; } -.ui-icon-bookmark { background-position: -224px -96px; } -.ui-icon-tag { background-position: -240px -96px; } -.ui-icon-home { background-position: 0 -112px; } -.ui-icon-flag { background-position: -16px -112px; } -.ui-icon-calendar { background-position: -32px -112px; } -.ui-icon-cart { background-position: -48px -112px; } -.ui-icon-pencil { background-position: -64px -112px; } -.ui-icon-clock { background-position: -80px -112px; } -.ui-icon-disk { background-position: -96px -112px; } -.ui-icon-calculator { background-position: -112px -112px; } -.ui-icon-zoomin { background-position: -128px -112px; } -.ui-icon-zoomout { background-position: -144px -112px; } -.ui-icon-search { background-position: -160px -112px; } -.ui-icon-wrench { background-position: -176px -112px; } -.ui-icon-gear { background-position: -192px -112px; } -.ui-icon-heart { background-position: -208px -112px; } -.ui-icon-star { background-position: -224px -112px; } -.ui-icon-link { background-position: -240px -112px; } -.ui-icon-cancel { background-position: 0 -128px; } -.ui-icon-plus { background-position: -16px -128px; } -.ui-icon-plusthick { background-position: -32px -128px; } -.ui-icon-minus { background-position: -48px -128px; } -.ui-icon-minusthick { background-position: -64px -128px; } -.ui-icon-close { background-position: -80px -128px; } -.ui-icon-closethick { background-position: -96px -128px; } -.ui-icon-key { background-position: -112px -128px; } -.ui-icon-lightbulb { background-position: -128px -128px; } -.ui-icon-scissors { background-position: -144px -128px; } -.ui-icon-clipboard { background-position: -160px -128px; } -.ui-icon-copy { background-position: -176px -128px; } -.ui-icon-contact { background-position: -192px -128px; } -.ui-icon-image { background-position: -208px -128px; } -.ui-icon-video { background-position: -224px -128px; } -.ui-icon-script { background-position: -240px -128px; } -.ui-icon-alert { background-position: 0 -144px; } -.ui-icon-info { background-position: -16px -144px; } -.ui-icon-notice { background-position: -32px -144px; } -.ui-icon-help { background-position: -48px -144px; } -.ui-icon-check { background-position: -64px -144px; } -.ui-icon-bullet { background-position: -80px -144px; } -.ui-icon-radio-on { background-position: -96px -144px; } -.ui-icon-radio-off { background-position: -112px -144px; } -.ui-icon-pin-w { background-position: -128px -144px; } -.ui-icon-pin-s { background-position: -144px -144px; } -.ui-icon-play { background-position: 0 -160px; } -.ui-icon-pause { background-position: -16px -160px; } -.ui-icon-seek-next { background-position: -32px -160px; } -.ui-icon-seek-prev { background-position: -48px -160px; } -.ui-icon-seek-end { background-position: -64px -160px; } -.ui-icon-seek-start { background-position: -80px -160px; } -/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */ -.ui-icon-seek-first { background-position: -80px -160px; } -.ui-icon-stop { background-position: -96px -160px; } -.ui-icon-eject { background-position: -112px -160px; } -.ui-icon-volume-off { background-position: -128px -160px; } -.ui-icon-volume-on { background-position: -144px -160px; } -.ui-icon-power { background-position: 0 -176px; } -.ui-icon-signal-diag { background-position: -16px -176px; } -.ui-icon-signal { background-position: -32px -176px; } -.ui-icon-battery-0 { background-position: -48px -176px; } -.ui-icon-battery-1 { background-position: -64px -176px; } -.ui-icon-battery-2 { background-position: -80px -176px; } -.ui-icon-battery-3 { background-position: -96px -176px; } -.ui-icon-circle-plus { background-position: 0 -192px; } -.ui-icon-circle-minus { background-position: -16px -192px; } -.ui-icon-circle-close { background-position: -32px -192px; } -.ui-icon-circle-triangle-e { background-position: -48px -192px; } -.ui-icon-circle-triangle-s { background-position: -64px -192px; } -.ui-icon-circle-triangle-w { background-position: -80px -192px; } -.ui-icon-circle-triangle-n { background-position: -96px -192px; } -.ui-icon-circle-arrow-e { background-position: -112px -192px; } -.ui-icon-circle-arrow-s { background-position: -128px -192px; } -.ui-icon-circle-arrow-w { background-position: -144px -192px; } -.ui-icon-circle-arrow-n { background-position: -160px -192px; } -.ui-icon-circle-zoomin { background-position: -176px -192px; } -.ui-icon-circle-zoomout { background-position: -192px -192px; } -.ui-icon-circle-check { background-position: -208px -192px; } -.ui-icon-circlesmall-plus { background-position: 0 -208px; } -.ui-icon-circlesmall-minus { background-position: -16px -208px; } -.ui-icon-circlesmall-close { background-position: -32px -208px; } -.ui-icon-squaresmall-plus { background-position: -48px -208px; } -.ui-icon-squaresmall-minus { background-position: -64px -208px; } -.ui-icon-squaresmall-close { background-position: -80px -208px; } -.ui-icon-grip-dotted-vertical { background-position: 0 -224px; } -.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; } -.ui-icon-grip-solid-vertical { background-position: -32px -224px; } -.ui-icon-grip-solid-horizontal { background-position: -48px -224px; } -.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; } -.ui-icon-grip-diagonal-se { background-position: -80px -224px; } - - -/** Misc */ - -/* Corner radius */ -.ui-corner-all, -.ui-corner-top, -.ui-corner-left, -.ui-corner-tl, -.ui-menu .ui-menu-item.ui-menu-item-first a { - border-top-left-radius: 4px; -} -.ui-corner-all, -.ui-corner-top, -.ui-corner-right, -.ui-corner-tr, -.ui-menu .ui-menu-item.ui-menu-item-first a { - border-top-right-radius:4px; -} -.ui-corner-all, -.ui-corner-bottom, -.ui-corner-left, -.ui-corner-bl, -.ui-menu .ui-menu-item.ui-menu-item-last a, -.ui-dialog-buttonpane, -.ui-datepicker-multi .ui-datepicker-group-first .ui-datepicker-header, -.ui-datepicker .ui-datepicker-buttonpane { - border-bottom-left-radius: 4px; -} -.ui-corner-all, -.ui-corner-bottom, -.ui-corner-right, -.ui-corner-br, -.ui-menu .ui-menu-item.ui-menu-item-last a, -.ui-dialog-buttonpane, -.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header, -.ui-datepicker .ui-datepicker-buttonpane { - border-bottom-right-radius: 4px; -} - -/* Overlays */ -.ui-widget-overlay { - background: rgba(255,255,255,.5); -} -.ui-widget-shadow { - margin: -7px 0 0 -7px; - padding: 7px; - background: rgba(0,0,0,.3); - border-radius: 8px; -} - -/* SunHater Fixes */ - -.ui-accordion-content-active, .ui-tabs, .ui-slider-range, .ui-datepicker, .ui-dialog { - border-color: #1b79b8; -} - -.ui-slider .ui-slider-range { - border: 1px solid #1b79b8; - top: -1px -} - -.ui-progressbar { - overflow:visible; -} -.ui-progressbar-value { - border: 1px solid #1b79b8; - margin-top: -1px -} - -.ui-accordion-header, -.ui-tabs-nav, -.ui-button, -.ui-tabs li, -.ui-slider-handle, -.ui-slider-range, -.ui-datepicker-header, -.ui-datepicker-header a:hover, -.ui-datepicker-calendar .ui-state-default, -.ui-progressbar-value, -.ui-menu .ui-menu-item a.ui-state-focus, -.ui-menu .ui-menu-item a.ui-state-active, -.ui-dialog-titlebar, -.ui-dialog-titlebar-close.ui-state-default.ui-state-hover, -.ui-datepicker .ui-datepicker-buttonpane button { - box-shadow: inset 0 0 7px #fff, inset 0 0 3px #fff; -} - -.ui-spinner, -.ui-menu { - box-shadow: inset 0 0 4px #6b6b6b; -} - -.ui-accordion-content, -.ui-tabs, -.ui-dialog-content, -.ui-dialog-buttonpane, -.ui-datepicker, -.ui-datepicker .ui-datepicker-buttonpane { - box-shadow: inset 0 0 4px #1b79b8; -} - -.ui-state-default, -.ui-state-focus, -.ui-state-active, -.ui-widget-header { - text-shadow: - 1px 0 rgba(0,0,0,.2), - -1px 0 rgba(0,0,0,.2), - 0 -1px rgba(0,0,0,.2), - 0 1px rgba(0,0,0,.2), - 1px 1px rgba(0,0,0,.2), - -1px -1px rgba(0,0,0,.2), - 1px -1px rgba(0,0,0,.2), - -1px 1px rgba(0,0,0,.2); -} - -.ui-tabs .ui-state-active, -.ui-datepicker .ui-state-highlight { - text-shadow: none; -} -.ui-datepicker .ui-state-highlight { - color: #215b82; - border-color: #1b79b8; - box-shadow: inset 0 0 4px #1b79b8; - background: #fff; - background: -webkit-linear-gradient(top, #dfeef8, #fff); - background: -moz-linear-gradient(top, #dfeef8, #fff); - background: -ms-linear-gradient(top, #dfeef8, #fff); - background: -o-linear-gradient(top, #dfeef8, #fff); - background: linear-gradient(to bottom, #dfeef8, #fff); -} - -.ui-progressbar, .ui-slider, .ui-menu { - box-shadow: inset 0 0 4px #6b6b6b; - background: #fff; - background: -webkit-linear-gradient(top, #f0f0f0, #fff); - background: -moz-linear-gradient(top, #f0f0f0, #fff); - background: -ms-linear-gradient(top, #f0f0f0, #fff); - background: -o-linear-gradient(top, #f0f0f0, #fff); - background: linear-gradient(to bottom, #f0f0f0, #fff); -} - -.ui-slider, .ui-spinner, .ui-progressbar, .ui-menu { - border-color: #6b6b6b; -} - -.ui-datepicker-calendar .ui-state-default { - border-radius: 3px; -} - -.ui-tabs .ui-tabs-nav { - margin: -1px; - border-bottom-right-radius: 0; - border-bottom-left-radius: 0; - padding-left:3px; -} - -.ui-tabs-active.ui-state-active { - background: #fff; - background: -webkit-linear-gradient(top, #ccc, #ddd, #eee, #fff, #fff, #fff); - background: -moz-linear-gradient(top, #ccc, #ddd, #eee, #fff, #fff, #fff); - background: -ms-linear-gradient(top, #ccc, #ddd, #eee, #fff, #fff, #fff); - background: -o-linear-gradient(top, #ccc, #ddd, #eee, #fff, #fff, #fff); - background: linear-gradient(to bottom, #ccc, #ddd, #eee, #fff, #fff, #fff); - box-shadow: inset 0 0 5px #fff, inset 0 0 5px #fff, inset 0 0 5px #fff; -} -.ui-tabs-active.ui-state-active a { - color: #215b82; -} -.ui-state-default, .ui-state-default a { - outline: 0; -} -.ui-datepicker-header, -.ui-dialog-titlebar { - border-bottom-right-radius: 0; - border-bottom-left-radius: 0; - margin: -5px -5px 0 -5px; -} -.ui-datepicker-header { - margin: -11px -11px 5px -11px; -} - -.ui-datepicker-header a:hover { - cursor: pointer; -} - -.ui-dialog-titlebar-close.ui-state-default { - border-color: transparent; - background: none; - box-shadow: none; -} - -.ui-dialog-titlebar-close.ui-state-default.ui-state-hover { - border-color: #6b6b6b; - background: #6b6b6b} - -.ui-dialog-buttonpane { - background: #e4f5ff; - border-top-color: #1b79b8; - margin: 0 -4px -4px -4px; - padding: 0; -} - -/*** Uniform */ -/* Remove default webkit and possible mozilla .search styles. - * Keeping this as :active to remove browser styles */ -div.checker input, -input[type="search"], -input[type="search"]:active { - -moz-appearance: none; - -webkit-appearance: none; -} - -div.selector, -div.selector span, -div.checker span, -div.radio span, -div.uploader, -div.uploader -span.action, -div.button, -div.button span { - -webkit-font-smoothing: antialiased; -} - -div.selector, -div.checker, -div.button, -div.radio, -div.uploader { - display: -moz-inline-box; - display: inline-block; - zoom: 1; - vertical-align: middle; -} - -div.checker span, -div.checker input, -div.radio span, -div.radio input, -div.button span { - display: -moz-inline-box; - display: inline-block; - zoom: 1; - text-align: center; -} - -div.selector select, -div.checker input, -div.button button, -div.button input, -div.button a, -div.radio input, -div.uploader input, -input.uniform-input, -select.uniform-multiselect, -textarea.uniform { - outline: 0; -} - -div.selector, -div.selector *, -div.radio, -div.radio *, -div.checker, -div.checker *, -div.uploader, -div.uploader *, -div.button, -div.button * { - margin: 0; - padding: 0; -} - -/* Select */ -div.selector { - padding: 0 1.9em 0 0; - position: relative; - overflow: hidden; - border: 1px solid; - border-radius: 4px; -} -div.selector span { - text-overflow: ellipsis; - display: block; - overflow: hidden; - white-space: nowrap; - padding:6px 0 6px 10px; - cursor: pointer; - width: 100%; - border-right: 1px solid; - border-top-left-radius: 4px; - border-bottom-left-radius: 4px; -} -div.selector .ui-icon { - background: url(img/ui-icons_white.png) -65px -16px; -} -div.selector select { - opacity: 0; - filter: alpha(opacity=0); - border: 0; - background: none; - position: absolute; - height: 50px; - bottom: 0; - width: 100%; - cursor: pointer; -} - -/* Checkbox */ -div.checker { - position: relative; - border: 1px solid; - padding: 1px; - border-radius: 4px; -} -div.checker, -div.checker span, -div.checker input { - width: 15px; - height: 15px; -} -div.checker span.checked { - background: url(img/ui-icons_white.png) -64px -145px; -} -div.checker input { - opacity: 0; - filter: alpha(opacity=0); - border: 0; - background: none; - cursor: pointer; -} - -/* Radio */ -div.radio { - position: relative; - border: 1px solid; - padding: 1px; - border-radius: 9px; -} -div.radio, -div.radio span, -div.radio input { - width: 15px; - height: 15px; -} -div.radio span.checked { - background: url(img/ui-icons_white.png) -80px -145px; -} -div.radio input { - opacity: 0; - border: 0; - background: none; - cursor: pointer; -} - -/* Upload */ -div.uploader { - cursor: pointer; - position: relative; - overflow: hidden; - border-radius: 4px; -} -div.uploader span.action { - text-align: center; - float: left; - display: inline; - overflow: hidden; - cursor: pointer; - padding: 6px 10px; - border-top-right-radius: 4px; - border-bottom-right-radius: 4px; -} -div.uploader span.filename { - text-overflow: ellipsis; - display: block; - overflow: hidden; - white-space: nowrap; - float: left; - padding: 6px 10px; - border-right: 1px solid; - border-top-left-radius: 4px; - border-bottom-left-radius: 4px; -} -div.uploader input { - opacity: 0; - filter: alpha(opacity=0); - border: 0; - background: none; - position: absolute; - top: 0; - right: 0; - float: right; - cursor: pointer; - font-size: 100px; -} -div.uploader input::-webkit-file-upload-button { - cursor: pointer; -} -div.uploader.active span.filename, -div.uploader.focus span.filename { - border-right: 1px solid; -} - -/* Button */ -div.button { - cursor: pointer; - position: relative; - overflow: hidden; - border: 1px solid; - border-radius: 4px; -} -div.button a, -div.button button, -div.button input { - opacity: 0; - filter: alpha(opacity=0); - display: block; - left: 0; - top: 0; - position: absolute; - margin: 0; - padding: 0; - font-size: 1000px; - cursor: pointer; -} -div.button span { - padding: 0; - margin: 6px 10px; -} - -/* Text fields */ -input.uniform-input, -select.uniform-multiselect, -textarea.uniform { - margin: 0; - border: 1px solid; - border-radius: 4px; -} -input.uniform-input, -textarea.uniform { - padding: 6px 10px; -} -textarea.uniform { - overflow: auto; -} -select.uniform-multiselect { - padding: 5px; -} - - -/** Colorize elements */ - -div.uploader { - border: 1px solid #6b6b6b; -} -div.uploader.active, -div.uploader.focus { - border-color: #1b79b8; -} - -/* Default - text fields */ -input.uniform-input, -select.uniform-multiselect, -textarea.uniform, -div.uploader span.filename, -div.selector span { - border-color: #6b6b6b; - box-shadow: inset 0 0 4px #6b6b6b; - background: #fff; - background: -webkit-linear-gradient(top, #f0f0f0, #fff); - background: -moz-linear-gradient(top, #f0f0f0, #fff); - background: -ms-linear-gradient(top, #f0f0f0, #fff); - background: -o-linear-gradient(top, #f0f0f0, #fff); - background: linear-gradient(to bottom, #f0f0f0, #fff); - color: #6b6b6b; -} - -select.uniform-multiselect option { - color: #6b6b6b; -} - -select.uniform-multiselect.focus option { - color: #000; -} - -/* Focus - text fields */ -input.uniform-input.focus, -select.uniform-multiselect.focus, -textarea.uniform.focus, -div.uploader.active span.filename, -div.uploader.focus span.filename, -div.selector.active span, -div.selector.focus span { - border-color: #1b79b8; - box-shadow: inset 0 0 4px #1b79b8; - color: #000; - background: #fff; - background: -webkit-linear-gradient(top, #dfeef8, #fff); - background: -moz-linear-gradient(top, #dfeef8, #fff); - background: -ms-linear-gradient(top, #dfeef8, #fff); - background: -o-linear-gradient(top, #dfeef8, #fff); - background: linear-gradient(to bottom, #dfeef8, #fff); -} - -/* Read-only - text fields */ -input.uniform-input[readonly], -textarea.uniform[readonly], -input.uniform-input[readonly]:focus, -textarea.uniform[readonly]:focus { - color: #808080; - border-color: #a5a5a5; - box-shadow: inset 0 0 4px #a5a5a5; - background: -webkit-linear-gradient(top, #ddd, #fff); - background: -moz-linear-gradient(top, #ddd, #fff); - background: -ms-linear-gradient(top, #ddd, #fff); - background: -o-linear-gradient(top, #ddd, #fff); - background: linear-gradient(to bottom, #ddd, #fff); -} - -/* Default - buttons */ -div.selector, -div.button, -div.uploader span.action, -div.radio, -div.checker { - border-color: #6b6b6b; - background: #6b6b6b; - background: -webkit-linear-gradient(top, #ababab, #6b6b6b); - background: -moz-linear-gradient(top, #ababab, #6b6b6b); - background: -ms-linear-gradient(top, #ababab, #6b6b6b); - background: -o-linear-gradient(top, #ababab, #6b6b6b); - background: linear-gradient(to bottom, #ababab, #6b6b6b); - box-shadow: inset 0 0 7px #fff, inset 0 0 3px #fff; -} - -/* Hover - buttons */ -div.selector.hover, -div.button.hover, -div.uploader.hover span.action, -div.radio.hover, -div.checker.hover { - border-color: #6b6b6b; - background: #6b6b6b; - background: -webkit-linear-gradient(top, #6b6b6b, #ababab); - background: -moz-linear-gradient(top, #6b6b6b, #ababab); - background: -ms-linear-gradient(top, #6b6b6b, #ababab); - background: -o-linear-gradient(top, #6b6b6b, #ababab); - background: linear-gradient(to bottom, #6b6b6b, #ababab); -} - -/* Focus - buttons */ -div.selector.focus, -div.button.focus, -div.uploader.focus span.action, -div.radio.focus, -div.checker.focus { - border-color: #1b79b8; - background: #1b79b8; - background: -webkit-linear-gradient(top, #59b5f2, #1b79b8); - background: -moz-linear-gradient(top, #59b5f2, #1b79b8); - background: -ms-linear-gradient(top, #59b5f2, #1b79b8); - background: -o-linear-gradient(top, #59b5f2, #1b79b8); - background: linear-gradient(to bottom, #59b5f2, #1b79b8); -} - -/* Active - buttons */ -div.button.active, -div.button.active.hover, -div.button.focus.hover, -div.uploader.active span.action, -div.uploader.active.hover span.action, -div.uploader.focus.hover span.action, -div.radio.active, -div.radio.active.hover, -div.radio.focus.hover, -div.checker.active, -div.checker.active.hover, -div.checker.focus.hover, -div.selector.active, -div.selector.active.hover { - border-color: #1b79b8; - background: #1b79b8; - background: -webkit-linear-gradient(top, #1b79b8, #59b5f2); - background: -moz-linear-gradient(top, #1b79b8, #59b5f2); - background: -ms-linear-gradient(top, #1b79b8, #59b5f2); - background: -o-linear-gradient(top, #1b79b8, #59b5f2); - background: linear-gradient(to bottom, #1b79b8, #59b5f2); -} - -/* Disabled */ -input.uniform-input[disabled], -select.uniform-multiselect[disabled], -textarea.uniform[disabled], -div.button.disabled, -div.uploader.disabled, -div.radio.disabled, -div.checker.disabled, -div.selector.disabled, -div.selector.disabled.active{ - opacity: .5; - filter: alpha(opacity=50); - cursor: default; -} - -div.selector.disabled select, -div.uploader.disabled input, -div.button.disabled input, -div.button.disabled button, -div.button.disabled a, -div.radio.disabled input, -div.checker.disabled input { - cursor: default; -} - -/* Buttons text */ -div.button span, -div.uploader span.action { - font-weight: bold; - color: #fff; - text-shadow: - 1px 0 rgba(0,0,0,.2), - -1px 0 rgba(0,0,0,.2), - 0 -1px rgba(0,0,0,.2), - 0 1px rgba(0,0,0,.2), - 1px 1px rgba(0,0,0,.2), - -1px -1px rgba(0,0,0,.2), - 1px -1px rgba(0,0,0,.2), - -1px 1px rgba(0,0,0,.2); -} - -/* Placeholder colors */ -input.uniform-input::-webkit-input-placeholder, -textarea.uniform::-webkit-input-placeholder { - color: #ababab; -} -input.uniform-input:-moz-placeholder, -textarea.uniform::-moz-placeholder { - color: #6b6b6b; -} -input.uniform-input::-moz-placeholder, -textarea.uniform::-moz-placeholder { - color: #6b6b6b; -} -input.uniform-input:-ms-input-placeholder, -textarea.uniform:-ms-input-placeholder{ - color: #ababab; -} -input.uniform-input:focus::-webkit-input-placeholder, -textarea.uniform:focus::-webkit-input-placeholder{ - color: #59b5f2; -} -input.uniform-input:focus:-moz-placeholder, -textarea.uniform:focus:-moz-placeholder { - color: #1b79b8; -} -input.uniform-input:focus::-moz-placeholder, -textarea.uniform:focus::-moz-placeholder { - color: #1b79b8; -} -input.uniform-input:focus:-ms-input-placeholder, -textarea.uniform:focus:-ms-input-placeholder { - color: #59b5f2; -} - -/** sh-uniform elements (a shUniform patch must be applied) */ - -fieldset.sh-uniform { - border: 1px solid #6B6B6B; - box-shadow: inset 0 0 4px #6B6B6B; - border-radius: 4px; - background: #fff; - background: -webkit-linear-gradient(top, #f0f0f0, #fff); - background: -moz-linear-gradient(top, #f0f0f0, #fff); - background: -ms-linear-gradient(top, #f0f0f0, #fff); - background: -o-linear-gradient(top, #f0f0f0, #fff); - background: linear-gradient(to bottom, #f0f0f0, #fff); - margin: 0 10px 10px 0; - padding: 10px; -} -fieldset.sh-uniform legend { - font-weight: bold; - color: #6B6B6B; - text-shadow: - 1px 0 rgba(255,255,255,.5), - -1px 0 rgba(255,255,255,.5), - 0 -1px rgba(255,255,255,.5), - 0 1px rgba(255,255,255,.5), - 1px 1px rgba(255,255,255,.5), - -1px -1px rgba(255,255,255,.5), - 1px -1px rgba(255,255,255,.5), - -1px 1px rgba(255,255,255,.5), - 0 0 5px #fff; -} -label.sh-uniform { - color: #6b6b6b; -} - -/*** shCheckset */ - -.shcs { - margin: 0; -} -.shcs > div { - border: 1px solid; - border-top: 0; - padding: 5px; - border-bottom-left-radius: 4px; - border-bottom-right-radius: 4px; -} -.shcs > input, .shcs > input:focus, .shcs > input:hover { - border-bottom-left-radius: 0; - border-bottom-right-radius: 0; - margin:0; -} -.shcs label { - padding: 2px 5px 2px 2px; - border: 1px solid transparent; - border-radius: 4px; - color: #6b6b6b; -} -.shcs > div, .shcs label:hover { - border-color: #6b6b6b; - box-shadow: inset 0 0 4px #6b6b6b; - background: #fff; - background: -webkit-linear-gradient(top, #f0f0f0, #fff); - background: -moz-linear-gradient(top, #f0f0f0, #fff); - background: -ms-linear-gradient(top, #f0f0f0, #fff); - background: -o-linear-gradient(top, #f0f0f0, #fff); - background: linear-gradient(to bottom, #f0f0f0, #fff); -} -.shcs label:hover { - color: #6b6b6b; - cursor: pointer; -} -.shcs > div.focus, .shcs label.checked { - border-color: #1b79b8; - box-shadow: inset 0 0 4px #1b79b8; - color: #000; - background: #fff; - background: -webkit-linear-gradient(top, #dfeef8, #fff); - background: -moz-linear-gradient(top, #dfeef8, #fff); - background: -ms-linear-gradient(top, #dfeef8, #fff); - background: -o-linear-gradient(top, #dfeef8, #fff); - background: linear-gradient(to bottom, #dfeef8, #fff); -} -.shcs label.checked div.checker { - border-color: #1b79b8; - background: #1b79b8; - background: -webkit-linear-gradient(top, #59b5f2, #1b79b8); - background: -moz-linear-gradient(top, #59b5f2, #1b79b8); - background: -ms-linear-gradient(top, #59b5f2, #1b79b8); - background: -o-linear-gradient(top, #59b5f2, #1b79b8); - background: linear-gradient(to bottom, #59b5f2, #1b79b8); -} -.shcs label.checked div.checker.hover { - border-color: #1b79b8; - background: #1b79b8; - background: -webkit-linear-gradient(top, #1b79b8, #59b5f2); - background: -moz-linear-gradient(top, #1b79b8, #59b5f2); - background: -ms-linear-gradient(top, #1b79b8, #59b5f2); - background: -o-linear-gradient(top, #1b79b8, #59b5f2); - background: linear-gradient(to bottom, #1b79b8, #59b5f2); -} - -.shcs div.checker.focus { - border-color: #6b6b6b; - background: #6b6b6b; - background: -webkit-linear-gradient(top, #ababab, #6b6b6b); - background: -moz-linear-gradient(top, #ababab, #6b6b6b); - background: -ms-linear-gradient(top, #ababab, #6b6b6b); - background: -o-linear-gradient(top, #ababab, #6b6b6b); - background: linear-gradient(to bottom, #ababab, #6b6b6b); - box-shadow: inset 0 0 7px #fff, inset 0 0 3px #fff; -} - -.shcs div.checker.focus.hover { - border-color: #6b6b6b; - background: #6b6b6b; - background: -webkit-linear-gradient(top, #6b6b6b, #ababab); - background: -moz-linear-gradient(top, #6b6b6b, #ababab); - background: -ms-linear-gradient(top, #6b6b6b, #ababab); - background: -o-linear-gradient(top, #6b6b6b, #ababab); - background: linear-gradient(to bottom, #6b6b6b, #ababab); -} - -.shcs label > span { - position:relative; - margin-left:5px; - top:1px; -}* { - font-size: 13px; -} -body { - background: #e0e0e0; - color: #6B6B6B; -} -fieldset td { - white-space: nowrap; -} -#folders { - margin: 5px 5px 0 5px; -} -#files { - margin-right: 5px; -} - - -/* SHARED DECLARATIONS */ - -#toolbar a:hover, -#toolbar a.hover, -span.current, -span.regular:hover, -span.context, -#clipboard div:hover, -div.file:hover, -#files div.selected, -#files div.selected:hover, -tr.selected > td, -tr.selected:hover > td, -#menu .list div a:hover { - color: #fff; - text-shadow: - 1px 0 rgba(0,0,0,.2), - -1px 0 rgba(0,0,0,.2), - 0 -1px rgba(0,0,0,.2), - 0 1px rgba(0,0,0,.2), - 1px 1px rgba(0,0,0,.2), - -1px -1px rgba(0,0,0,.2), - 1px -1px rgba(0,0,0,.2), - -1px 1px rgba(0,0,0,.2); -} - -#files, -#folders, -#toolbar a.selected { - border: 1px solid #6B6B6B; - box-shadow: inset 0 0 4px #6B6B6B; - border-radius: 4px; - background: #fff; - background: -webkit-linear-gradient(top, #f0f0f0, #fff); - background: -moz-linear-gradient(top, #f0f0f0, #fff); - background: -ms-linear-gradient(top, #f0f0f0, #fff); - background: -o-linear-gradient(top, #f0f0f0, #fff); - background: linear-gradient(to bottom, #f0f0f0, #fff); -} - -/* TOOLBAR */ - -#toolbar { - padding: 5px 0; -} -#toolbar a { - color: #6b6b6b; - margin-right: 5px; - border: 1px solid transparent; - outline: none; - display: block; - float: left; - border-radius: 4px; - transition: .3s; - padding:0; - background: #E0E0E0; -} -#toolbar a > span { - padding: 6px 10px 6px 26px; - diaplay: block; - float:left; - background: no-repeat 6px center; -} -#toolbar a:hover, -#toolbar a.hover { - border-color: #1b79b8; - background: #1b79b8; - background: -webkit-linear-gradient(top, #59b5f2, #1b79b8); - background: -moz-linear-gradient(top, #59b5f2, #1b79b8); - background: -ms-linear-gradient(top, #59b5f2, #1b79b8); - background: -o-linear-gradient(top, #59b5f2, #1b79b8); - background: linear-gradient(to bottom, #59b5f2, #1b79b8); - box-shadow: inset 0 0 7px #fff, inset 0 0 3px #fff; -} -#toolbar a:hover, -#toolbar a.hover { - transition: .3s; -} -#toolbar a[href="kcact:upload"] span { - background-image: url(img/icons/upload.png); -} -#toolbar a[href="kcact:refresh"] span { - background-image: url(img/icons/refresh.png); -} -#toolbar a[href="kcact:settings"] span { - background-image: url(img/icons/settings.png); -} -#toolbar a[href="kcact:about"] span { - background-image: url(img/icons/about.png); -} -#toolbar a[href="kcact:maximize"] span { - background-image: url(img/icons/maximize.png); -} - - -/* SETTINGS BAR */ - -#settings label { - cursor: pointer; -} -#settings fieldset { - margin-right:5px; - margin-bottom: 6px; - margin-top:-5px; - padding:6px; -} -#settings fieldset:hover { - border-color: #1b79b8; - box-shadow: inset 0 0 4px #1b79b8; - background: #dfeef8; - background: -webkit-linear-gradient(top, #dfeef8, #fff); - background: -moz-linear-gradient(top, #dfeef8, #fff); - background: -ms-linear-gradient(top, #dfeef8, #fff); - background: -o-linear-gradient(top, #dfeef8, #fff); - background: linear-gradient(to bottom, #dfeef8, #fff); -} -#settings fieldset:hover legend, -#settings fieldset:hover label { - color: #215b82; -} - - -/* FOLDERS */ - -div.folder { - padding-top: 2px; - margin-top: 4px; - white-space: nowrap; -} -div.folder a { - text-decoration: none; - cursor: default; - outline: none; - color: #6b6b6b; -} -span.folder { - padding: 2px 3px 2px 23px; - outline: none; - background: no-repeat 3px center; - cursor: pointer; - border-radius: 3px; - border: 1px solid transparent; -} -span.brace { - width: 16px; - height: 16px; - outline: none; -} -span.current { - transition: .3s; - background-image: url(img/tree/folder.png); - background-color: #3b98d6; - border-color: #3b98d6; - box-shadow: inset 0 0 7px #fff, inset 0 0 3px #fff; -} -span.regular { - transition: .3s; - background-image: url(img/tree/folder.png); - background-color: transparent; -} -span.regular:hover, span.context, #clipboard div:hover { - transition: .3s; - background-color: #c6c6c6; - border-color: #c6c6c6; - box-shadow: inset 0 0 7px #fff, inset 0 0 3px #fff; -} -span.opened { - background-image: url(img/tree/minus.png); -} -span.closed { - background-image: url(img/tree/plus.png); -} -span.denied { - background-image: url(img/tree/denied.png); -} - - -/* FILES */ - -div.file { - padding: 4px; - margin: 3px; - border: 1px solid transparent; - border-radius: 4px; -} -div.file:hover { - border-color: #aaa; - box-shadow: inset 0 0 7px #fff, inset 0 0 3px #fff; - background: #c6c6c6; - background: -webkit-linear-gradient(top, #e7e7e7, #c6c6c6); - background: -moz-linear-gradient(top, #e7e7e7, #c6c6c6); - background: -ms-linear-gradient(top, #e7e7e7, #c6c6c6); - background: -o-linear-gradient(top, #e7e7e7, #c6c6c6); - background: linear-gradient(to bottom, #e7e7e7, #c6c6c6); -} -div.file .name { - margin-top: 4px; - font-weight: bold; - height: 16px; - overflow: hidden; - padding-bottom: 2px; -} -div.file .time { - font-size: 10px; -} -div.file .size { - font-size: 10px; -} -#files div.selected, -#files div.selected:hover { - border-color: #3b98d6; - background: #3b98d6; - background: -webkit-linear-gradient(top, #7dc2f2, #3b98d6); - background: -moz-linear-gradient(top, #7dc2f2, #3b98d6); - background: -ms-linear-gradient(top, #7dc2f2, #3b98d6); - background: -o-linear-gradient(top, #7dc2f2, #3b98d6); - background: linear-gradient(to bottom, #7dc2f2, #3b98d6); - box-shadow: inset 0 0 7px #fff, inset 0 0 3px #fff; -} -tr.file > td { - padding: 3px 4px; -} -tr.file:hover > td { - background-color: #ddebf8; - transition: none; -} -tr.selected > td, -tr.selected:hover > td { - transition: .3s; - background-color: #5b9bda; -} -tr.file td.name { - background-position: 2px center; - padding-left: 22px; -} -a.denied { - color: #666; - opacity: 0.5; - filter: alpha(opacity:50); - cursor: default; -} -a.denied:hover { - background-color: #e4e3e2; - border-color: transparent; - box-shadow: none; -} - -/* FILE MENU */ - -#menu .ui-menu a span { - background: left center no-repeat; - padding-left: 20px; - white-space: nowrap; -} -#menu a[href="kcact:refresh"] span { - background-image: url(img/icons/refresh.png); -} -#menu a[href="kcact:mkdir"] span { - background-image: url(img/icons/folder-new.png); -} -#menu a[href="kcact:mvdir"] span, #menu a[href="kcact:mv"] span { - background-image: url(img/icons/rename.png); -} -#menu a[href="kcact:rmdir"] span, #menu a[href="kcact:rm"] span, #menu a[href="kcact:rmcbd"] span { - background-image: url(img/icons/delete.png); -} -#menu a[href="kcact:clpbrdadd"] span { - background-image: url(img/icons/clipboard-add.png); -} -#menu a[href="kcact:pick"] span, #menu a[href="kcact:pick_thumb"] span { - background-image: url(img/icons/select.png); -} -#menu a[href="kcact:download"] span { - background-image: url(img/icons/download.png); -} -#menu a[href="kcact:view"] span { - background-image: url(img/icons/view.png); -} -#menu a[href="kcact:cpcbd"] span { - background-image: url(img/icons/copy.png); -} -#menu a[href="kcact:mvcbd"] span { - background-image: url(img/icons/move.png); -} -#menu a[href="kcact:clrcbd"] span { - background-image: url(img/icons/clipboard-clear.png); -} - -/* CLIPBOARD */ - -#clipboard { - margin-left:-3px; - padding: 2px; -} -#clipboard div { - background: url(img/icons/clipboard.png) no-repeat center center; - border: 1px solid transparent; - padding: 2px; - cursor: pointer; - border-radius: 4px; -} -#clipboard.selected div, #clipboard.selected div:hover { - background-color: #3b98d6; - border-color: #3b98d6; - box-shadow: inset 0 0 7px #fff, inset 0 0 3px #fff; -} -#menu .list a, #menu .list a.ui-state-focus { - margin: -1px 0 0 -1px; - padding: 6px 10px; - border: 1px solid transparent; - background: none; - border-radius: 0; - text-shadow: none; - box-shadow: none; - color: #6b6b6b; -} -#menu .list a.first, #menu .list a.first.ui-state-focus { - border-radius: 4px 4px 0 0; -} -#menu .list a:hover { - border-color: #1b79b8; - background: #1b79b8; - background: -webkit-linear-gradient(top, #1b79b8, #59b5f2); - background: -moz-linear-gradient(top, #1b79b8, #59b5f2); - background: -ms-linear-gradient(top, #1b79b8, #59b5f2); - background: -o-linear-gradient(top, #1b79b8, #59b5f2); - background: linear-gradient(to bottom, #1b79b8, #59b5f2); - box-shadow: inset 0 0 7px #fff, inset 0 0 3px #fff; -} -#menu .list { - overflow:hidden; - max-height: 1px; - margin-bottom: -1px; - padding-bottom:1px; -} -#menu li.div-files { - margin: 0 0 1px 0; -} - -/* ABOUT DIALOG */ - -.about { - text-align: center; -} -.about div.head { - font-weight: bold; - font-size: 12px; - padding: 3px 0 8px 0; -} -.about div.head a { - background: url(img/kcf_logo.png) no-repeat left center; - padding: 0 0 0 27px; - font-size: 17px; - outline: none; -} - -.about a { - text-decoration: none; - color: #0055ff; -} - -.about a:hover { - text-decoration: underline; -} -#checkver { - margin: 5px 0 10px 0; -} -#loading, #checkver > span.loading { - background: url(img/loading.gif); - border: 1px solid #3687e2; - box-shadow: 0 0 3px #3687e2, inset 0 0 4px #fff, inset 0 0 5px #fff; - padding: 6px 10px; - border-radius: 4px; -} -#checkver a { - font-weight: normal; - padding: 3px 3px 3px 20px; - background: url(img/icons/download.png) no-repeat left center; -} - -/* IMAGE VIEWER */ - -.ui-dialog-content.kcfImageViewer { - background: #000; - cursor: pointer; -} -.kcfImageViewer .img { - background: url(img/bg_transparent.png); -} - -/* MISC */ - -#loading { - margin-right: 5px; -} -#loadingDirs { - padding: 5px 0 1px 24px; -} -#files.drag { - background: #ddebf8; -} - -/* FIX FIELDSET BORDER RADIUS BUG ON IE */ -body.msie fieldset, -body.trident.rv fieldset { - border-radius: 0; -} \ No newline at end of file diff --git a/kcfinder/cache/theme_default.js b/kcfinder/cache/theme_default.js deleted file mode 100644 index 518f8541..00000000 --- a/kcfinder/cache/theme_default.js +++ /dev/null @@ -1 +0,0 @@ -new Image().src = 'themes/default/img/loading.gif'; // preload animated gif diff --git a/wysiwyg/ckfinder/userfiles/it b/wysiwyg/ckfinder/userfiles/it deleted file mode 120000 index eb929509..00000000 --- a/wysiwyg/ckfinder/userfiles/it +++ /dev/null @@ -1 +0,0 @@ -C:/VHD/Dropbox/wwwroot/viaggio-in-cina.it/kcfinder/upload/it \ No newline at end of file diff --git a/wysiwyg/ckfinder/userfiles/it b/wysiwyg/ckfinder/userfiles/it new file mode 100644 index 00000000..eb929509 --- /dev/null +++ b/wysiwyg/ckfinder/userfiles/it @@ -0,0 +1 @@ +C:/VHD/Dropbox/wwwroot/viaggio-in-cina.it/kcfinder/upload/it \ No newline at end of file diff --git a/wysiwyg/ckfinder/userfiles/jp b/wysiwyg/ckfinder/userfiles/jp deleted file mode 120000 index 6a83b2af..00000000 --- a/wysiwyg/ckfinder/userfiles/jp +++ /dev/null @@ -1 +0,0 @@ -C:/VHD/Dropbox/wwwroot/arachina.com/kcfinder/upload/jp \ No newline at end of file diff --git a/wysiwyg/ckfinder/userfiles/jp b/wysiwyg/ckfinder/userfiles/jp new file mode 100644 index 00000000..6a83b2af --- /dev/null +++ b/wysiwyg/ckfinder/userfiles/jp @@ -0,0 +1 @@ +C:/VHD/Dropbox/wwwroot/arachina.com/kcfinder/upload/jp \ No newline at end of file diff --git a/wysiwyg/ckfinder/userfiles/ru b/wysiwyg/ckfinder/userfiles/ru deleted file mode 120000 index 19df5826..00000000 --- a/wysiwyg/ckfinder/userfiles/ru +++ /dev/null @@ -1 +0,0 @@ -C:/VHD/Dropbox/wwwroot/chinahighlights.ru/kcfinder/upload/ru \ No newline at end of file diff --git a/wysiwyg/ckfinder/userfiles/ru b/wysiwyg/ckfinder/userfiles/ru new file mode 100644 index 00000000..19df5826 --- /dev/null +++ b/wysiwyg/ckfinder/userfiles/ru @@ -0,0 +1 @@ +C:/VHD/Dropbox/wwwroot/chinahighlights.ru/kcfinder/upload/ru \ No newline at end of file diff --git a/wysiwyg/ckfinder/userfiles/vac b/wysiwyg/ckfinder/userfiles/vac deleted file mode 120000 index 5460430b..00000000 --- a/wysiwyg/ckfinder/userfiles/vac +++ /dev/null @@ -1 +0,0 @@ -C:/VHD/Dropbox/wwwroot/viaje-a-china.com/kcfinder/upload/vac \ No newline at end of file diff --git a/wysiwyg/ckfinder/userfiles/vac b/wysiwyg/ckfinder/userfiles/vac new file mode 100644 index 00000000..5460430b --- /dev/null +++ b/wysiwyg/ckfinder/userfiles/vac @@ -0,0 +1 @@ +C:/VHD/Dropbox/wwwroot/viaje-a-china.com/kcfinder/upload/vac \ No newline at end of file diff --git a/wysiwyg/ckfinder/userfiles/vc b/wysiwyg/ckfinder/userfiles/vc deleted file mode 120000 index dcf8875c..00000000 --- a/wysiwyg/ckfinder/userfiles/vc +++ /dev/null @@ -1 +0,0 @@ -C:/VHD/Dropbox/wwwroot/voyageschine.com/kcfinder/upload/vc \ No newline at end of file diff --git a/wysiwyg/ckfinder/userfiles/vc b/wysiwyg/ckfinder/userfiles/vc new file mode 100644 index 00000000..dcf8875c --- /dev/null +++ b/wysiwyg/ckfinder/userfiles/vc @@ -0,0 +1 @@ +C:/VHD/Dropbox/wwwroot/voyageschine.com/kcfinder/upload/vc \ No newline at end of file
    diff --git a/application/views/mobile_first/ah-h1.php b/application/views/mobile_first/ah-h1.php index e2761da5..24fbaab3 100644 --- a/application/views/mobile_first/ah-h1.php +++ b/application/views/mobile_first/ah-h1.php @@ -13,7 +13,7 @@
    -Asia Highlights TrustPilot rating +Asia Highlights TrustPilot rating
    diff --git a/application/views/mobile_first/ah-lantern-festival-gp-form.php b/application/views/mobile_first/ah-lantern-festival-gp-form.php index 62a262d7..5bdaf468 100644 --- a/application/views/mobile_first/ah-lantern-festival-gp-form.php +++ b/application/views/mobile_first/ah-lantern-festival-gp-form.php @@ -1,9 +1,9 @@
    -

    Book this trip now. Your 1:1 travel consultant will reply within 1 working day.

    -
    +

    The premium tickets and hotel bookings are filling up quickly. Secure your seats on the tour right now!

    + -
    +

    Traveler numbers for your group:

    @@ -12,7 +12,7 @@

    - +
    @@ -29,7 +29,7 @@
    - + @@ -300,8 +300,8 @@
    Please enter your phone number.

    Video appointment

    - - +

    A USD 200 deposit is required for each adult/child over 8. Please let us know if you need a single room or if you're traveling with children under 8. Any additional costs will be added to your balance.

    + + @@ -377,6 +383,16 @@ const minusAdultBtn = el('minusAdult'); const plusKidBtn = el('plusKid'); const minusKidBtn = el('minusKid'); + const totalPriceHidden = el("totalPriceHidden"); + + function calcTotalPrice(ticketPrice, adultNumber) { + var totalPrice = ticketPrice * adultNumber; + if (adultNumber >= 10) { + totalPrice = totalPrice * 0.95; + } + + return totalPrice.toFixed(2); + } plusAdultBtn.on('click', () => { adultNumberValue++; @@ -441,7 +457,10 @@ const gp_form = el('gp_form'); submitFormBtn.on('click', () => { if (validateGPForm()) { - + var ticketPrice = 200; + var totalPrice = calcTotalPrice(ticketPrice, adultNumberValue); + totalPriceHidden.value = totalPrice; + if (typeof(grecaptcha) === "undefined") { console.warn('grecaptcha is disabled.'); gp_form.submit(); @@ -462,4 +481,4 @@ }); })(document); - \ No newline at end of file + diff --git a/application/views/mobile_first/ah-lantern-form-info-page.php b/application/views/mobile_first/ah-lantern-form-info-page.php index f0457851..d48f5e3d 100644 --- a/application/views/mobile_first/ah-lantern-form-info-page.php +++ b/application/views/mobile_first/ah-lantern-form-info-page.php @@ -1,8 +1,7 @@
    -

    Get Your 2023 Chiang Mai CAD Lantern Mass Release - Tickets Here!

    +

    Chiang Mai CAD Yi Peng Festival 2023 - Secure Your Exclusive Tickets Before They're Gone!

    Select Date

    @@ -22,27 +21,27 @@

    Select Ticket Type

    - -
    - -
    - -