Commit 26ada3ab authored by techird's avatar techird

ui optimize

parent 9e0d0b69
window.KITYMINDER_CONFIG = { window.KITYMINDER_CONFIG = {
//定义工具栏 //定义工具栏
toolbars: [ toolbars: [
'hand | undo redo | bold italic | forecolor | layoutstyle | fontfamily fontsize | saveto' 'hand | undo redo | layoutstyle | bold italic | fontfamily fontsize forecolor | saveto'
] ]
//设置主题 //设置主题
......
...@@ -25,8 +25,8 @@ ...@@ -25,8 +25,8 @@
.kmui-btn-toolbar .kmui-btn.kmui-hover, .kmui-btn-toolbar .kmui-btn.kmui-hover,
.kmui-btn-toolbar .kmui-btn.kmui-active{ .kmui-btn-toolbar .kmui-btn.kmui-active{
background-color: #d5e1f2; background-color: #d5e1f2;
padding: 0;
border: 1px solid #a3bde3; border: 1px solid #a3bde3;
padding: 0;
_z-index: 1; _z-index: 1;
} }
.kmui-btn-toolbar .kmui-btn.kmui-disabled{ .kmui-btn-toolbar .kmui-btn.kmui-disabled{
......
.kmui-btn-toolbar .kmui-combobox{ .kmui-btn-toolbar .kmui-combobox{
border: 1px solid #CCC; border: 1px solid transparent;
padding:0; padding:0;
margin:0 2px; margin:0 2px;
line-height: 20px; line-height: 20px;
font-family: Arial, Microsoft Yahei;
} }
.kmui-combobox .kmui-button-label{ .kmui-combobox .kmui-button-label{
position: relative; position: relative;
...@@ -10,10 +11,9 @@ ...@@ -10,10 +11,9 @@
vertical-align: middle; vertical-align: middle;
*display: inline ; *display: inline ;
*zoom:1; *zoom:1;
width:60px;
height:20px; height:20px;
line-height: 20px; line-height: 20px;
padding: 2px; padding: 2px 5px;
margin: 0; margin: 0;
font-size: 12px; font-size: 12px;
text-align: center; text-align: center;
...@@ -27,7 +27,8 @@ ...@@ -27,7 +27,8 @@
*zoom:1; *zoom:1;
height:20px; height:20px;
margin: 0; margin: 0;
padding:0 3px; /*padding:0 3px;*/
padding: 0;
} }
.kmui-combobox .kmui-caret{ .kmui-combobox .kmui-caret{
position: relative; position: relative;
...@@ -39,8 +40,13 @@ ...@@ -39,8 +40,13 @@
width: 12px; width: 12px;
margin: 0; margin: 0;
padding: 0; padding: 0;
background: url(../images/icons.png) -741px 0; background: url(../images/icons.png) -740px 2px no-repeat;
_background: url(../images/icons.gif) -741px 0; _background: url(../images/icons.gif) -740px 2px no-repeat;
padding: 2px 0;
border-left: 1px solid transparent;
}
.kmui-combobox:hover .kmui-caret {
border-left-color: #a3bde3;
} }
.kmui-btn-toolbar .kmui-combobox.kmui-disabled{ .kmui-btn-toolbar .kmui-combobox.kmui-disabled{
opacity: 0.2; opacity: 0.2;
......
...@@ -21,14 +21,24 @@ ...@@ -21,14 +21,24 @@
_background: url(../images/icons.gif) -741px 0; _background: url(../images/icons.gif) -741px 0;
} }
.kmui-btn-toolbar .kmui-splitbutton, .kmui-btn-toolbar .kmui-splitbutton {
.kmui-btn-toolbar .kmui-splitbutton{ border: 1px solid transparent;
_border: none; }
.kmui-btn-toolbar .kmui-splitbutton .kmui-dropdown-toggle {
padding: 1px 2px;
margin-left: -1px;
border-left: 1px solid transparent;
}
.kmui-btn-toolbar .kmui-splitbutton .kmui-dropdown-toggle:hover {
border-left-color: #a3bde3;
background-color: #dbe7f8;
} }
/*状态反射*/ /*状态反射*/
.kmui-btn-toolbar .kmui-splitbutton.kmui-hover .kmui-btn{ .kmui-btn-toolbar .kmui-splitbutton.kmui-hover {
background-color: #d5e1f2; background-color: #d5e1f2;
border: 1px solid #a3bde3;
} }
.kmui-btn-toolbar .kmui-splitbutton.kmui-disabled{ .kmui-btn-toolbar .kmui-splitbutton.kmui-disabled{
......
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