Commit e5a15f7a by 周添尉

修改样式

parent 3ae689df
......@@ -1182,10 +1182,13 @@ body{
}
.datagrid-toolbar {
height: auto;
padding: 16px 20px;
padding: 0px 20px 16px;
border-width: 0 0 1px 0;
border-style: solid;
}
.datagrid-toolbar>a,.datagrid-toolbar>form{
margin-top:16px;
}
.datagrid-btn-separator {
float: left;
height: 24px;
......@@ -2512,7 +2515,7 @@ body{
text-decoration: none;
}
.tooltip-content a:hover{
text-decoration:underline;
text-decoration:underline !important;
}
.tooltip-arrow-outer,
.tooltip-arrow {
......
......@@ -1865,6 +1865,13 @@ function openViewIframRow(opendiv,editUrl,is_row,is_title,is_max,is_width,is_hei
* @returns {Boolean}
*/
function openViewIframGroup(opendiv,editUrl,is_row,is_title,is_max,is_width,is_height,is_left,is_top){
//如果是自定义皮肤时,显示居中
if(custom_theme==true){
is_left = (ls_width - ls_width * is_width)/2;
is_top = (ls_height - ls_height * is_height)/2;
}
$('#'+opendiv).dialog( {
title : is_title,
iconCls : $.getJwWindowPic(),
......@@ -2324,6 +2331,8 @@ function disabledRightMenu(){
var custom_theme;
$(function(){
//如果地址为换皮肤时
if(location.href.indexOf('theme=ztw')>=0){
//修改皮肤
var linkSpace='jquery-easyui-1.4.1/themes/';
......@@ -2336,4 +2345,15 @@ $(function(){
}
})
}
else{
//如果直接link一个新的皮肤时
$('link').each(function(index,element){
var index = $(element).attr('href').indexOf('ztw');
if(index!=-1){
custom_theme = true;
return false;
}
})
}
})
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment