* updated themes.

* added new theme 'blackberry'.
 * ajusted style of user/login.
 * added colorbox method in my.js to compatible with older extensions.
This commit is contained in:
Catouse
2014-06-24 10:21:26 +08:00
parent e4ce0bfd72
commit df38ee6e38
12 changed files with 1512 additions and 23 deletions
+6 -5
View File
@@ -126,11 +126,12 @@ $lang->exportTypeList['selected'] = 'Only checked';
$lang->lang = 'Language';
/* Themes. */
$lang->theme = 'Theme';
$lang->themes['default'] = 'Default';
$lang->themes['green'] = 'Green';
$lang->themes['red'] = 'Red';
$lang->themes['lightblue'] = 'Light Blue';
$lang->theme = 'Theme';
$lang->themes['default'] = 'Default';
$lang->themes['green'] = 'Green';
$lang->themes['red'] = 'Red';
$lang->themes['lightblue'] = 'Light Blue';
$lang->themes['blackberry'] = 'Blackberry';
/* Index mododule menu. */
$lang->index = new stdclass();
+6 -5
View File
@@ -126,11 +126,12 @@ $lang->exportTypeList['selected'] = '选中记录';
$lang->lang = 'Language';
/* 风格列表。*/
$lang->theme = '主题';
$lang->themes['default'] = '默认';
$lang->themes['green'] = '绿色';
$lang->themes['red'] = '红色';
$lang->themes['lightblue'] = '亮蓝';
$lang->theme = '主题';
$lang->themes['default'] = '默认';
$lang->themes['green'] = '绿色';
$lang->themes['red'] = '红色';
$lang->themes['lightblue'] = '亮蓝';
$lang->themes['blackberry'] = '黑莓';
/* 首页菜单设置。*/
$lang->index = new stdclass();
+6 -5
View File
@@ -127,11 +127,12 @@ $lang->exportTypeList['selected'] = '選中記錄';
$lang->lang = 'Language';
/* 風格列表。*/
$lang->theme = '主題';
$lang->themes['default'] = '預設';
$lang->themes['green'] = '綠色';
$lang->themes['red'] = '紅色';
$lang->themes['lightblue'] = '亮藍';
$lang->theme = '主題';
$lang->themes['default'] = '預設';
$lang->themes['green'] = '綠色';
$lang->themes['red'] = '紅色';
$lang->themes['lightblue'] = '亮藍';
$lang->themes['blackberry'] = '黑莓';
/* 首頁菜單設置。*/
$lang->index = new stdclass();
-2
View File
@@ -1,5 +1,3 @@
// if($('a.iframe').size()) $("a.iframe").colorbox({width:800, height:400, iframe:true, transition:'none', scrolling:true});
// if($('a.manual').size()) $("a.manual").colorbox({width:1024, height:600, iframe:true, transition:'none', scrolling:false});
$(function()
{
$("a.extension, a.manual").modalTrigger({width:1024, height:600, type:'iframe'});
+1 -1
View File
@@ -1,4 +1,4 @@
html,body{background-color: #036}
body{background-color: #036}
#container{margin: 10% auto 0 auto}
#login-panel{margin: 0 auto;width: 540px;min-height: 280px;background-color: #fff;border: 1px solid #dfdfdf;-moz-border-radius:3px; -webkit-border-radius:3px; border-radius:3px;-moz-box-shadow:0px 0px 30px rgba(0,0,0,0.75); -webkit-box-shadow:0px 0px 30px rgba(0,0,0,0.75); box-shadow:0px 0px 30px rgba(0,0,0,0.75)}
#login-panel .panel-head{min-height: 70px;background-color: #edf3fe;border-bottom: 1px solid #dfdfdf;position: relative}
+10
View File
@@ -1058,6 +1058,14 @@ function setModal()
$.extend({modalTrigger: showIframeModal});
$('[data-toggle=modal], a.iframe').modalTrigger();
jQuery.fn.colorbox = function(setting)
{
if((typeof setting == 'object') && setting.iframe)
{
$(this).modalTrigger({type: 'iframe', width: setting['width'], afterHide: setting['onCleanup'], url: setting['href']});
}
}
}
/**
@@ -1128,6 +1136,8 @@ needPing = true;
/* When body's ready, execute these. */
$(document).ready(function()
{
$('body').addClass('m-{currentModule}-{currentMethod}'.format(config));
setModal();
setTableBehavior();
setForm();
+2 -1
View File
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -389,7 +389,7 @@ body {font-size: 13px; color:#141414;padding-bottom: 40px;}
#wrap .outer {position: relative; text-align:left; background:#fff;border:1px solid #cfcfcf; -webkit-box-shadow: 0 0px 6px rgba(0, 0, 0, 0.10);box-shadow: 0 0px 6px rgba(0, 0, 0, 0.10); padding: 20px}
/* Footer. */
#footer {position: relative; width:100%;position:fixed; bottom:0; left:0; margin:0; border-top: 1px solid #e1e1e1; background:#eef4fe;height:40px; line-height:40px;-webkit-box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);}
#footer {position: relative; width:100%;position:fixed; bottom:0; left:0; margin:0; border-top: 1px solid #e1e1e1; background:#eef4fe;height:40px; line-height:40px;-webkit-box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1); z-index: 10}
#crumbs a i.icon-home{display: none;}
#crumbs {float: left;margin-left: 20px;}
#crumbs .icon-angle-right{margin-right: 6px;}
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+483 -1
View File
File diff suppressed because one or more lines are too long