Browse Source

Pull request #2221: 无JIRA任务 优化样式

Merge in VISUAL/fineui from ~GUY/fineui:master to master

* commit 'e26ac5e560b57db477e63fbf0b404e0813c2d4b9':
  优化样式
es6
guy 3 years ago
parent
commit
79dd0b8a4e
  1. 7
      src/less/base/single/button/button.half.less
  2. 7
      src/less/base/single/input/checkbox.less
  3. 2
      src/less/base/tree/ztree.less

7
src/less/base/single/button/button.half.less

@ -2,13 +2,14 @@
.bi-half-button {
.border-radius(2px);
box-sizing: border-box;
&:after {
position: absolute;
left: 3px;
top: 3px;
left: 2px;
top: 2px;
width: 8px;
height: 8px;
background-color: @color-bi-background-highlight;
content: '';
}
}
}

7
src/less/base/single/input/checkbox.less

@ -4,6 +4,7 @@
& .checkbox-content, &.checkbox-content {
.border-radius(2px);
border: 1px solid @color-bi-border-dark-line;
box-sizing: border-box;
&:after {
position: absolute;
display: table;
@ -12,8 +13,8 @@
border: 2px solid transparent;
border-top: 0;
border-left: 0;
width: 4px;
height: 8px;
width: 6px;
height: 9px;
.transform(rotate(45deg) scale(1) translate(-50%, -50%));
content: '';
}
@ -74,4 +75,4 @@
}
}
}
}
}

2
src/less/base/tree/ztree.less

@ -108,6 +108,7 @@
.ztree li span.button.chk {
&.bi-checkbox {
border: 1px solid @color-bi-border-dark-line;
box-sizing: border-box;
&.active {
background-color: @color-bi-background-highlight;
border-color: @color-bi-border-highlight;;
@ -115,6 +116,7 @@
}
&.bi-half-button {
border: 1px solid @color-bi-border-highlight;
box-sizing: border-box;
}
}

Loading…
Cancel
Save