Browse Source

Pull request #2306: 无JIAR任务 整理一下样式

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

* commit 'eb947ff5450f4f30ccec0771d4ea8ff6a96e1ab7':
  优化代码
  整理一下样式
es6
guy 3 years ago
parent
commit
8b52945ad9
  1. 3
      examples/dev.html
  2. 3
      src/case/calendar/calendar.year.js
  3. 6
      src/less/base/calendar/calendar.year.less
  4. 1
      src/less/base/colorchooser/colorpicker/editor.colorpicker.less
  5. 16
      src/less/base/editor/editor.search.small.less
  6. 10
      src/less/base/segment/button.segment.less
  7. 5
      src/less/base/single/icon.less
  8. 1
      src/less/base/single/tip/tip.less
  9. 2
      src/less/widget/multiselect/multiselect.combo.less

3
examples/dev.html

@ -19,7 +19,8 @@
return {
type: "bi.vertical",
items: [{
type: "bi.horizontal",
type: "bi.center_adapt",
verticalAlign: "top",
height: 300,
columnSize: [300, "fill"],
items: [{

3
src/case/calendar/calendar.year.js

@ -62,8 +62,9 @@ BI.YearCalendar = BI.inherit(BI.Widget, {
});
BI.createWidget(BI.extend({
element: this
}, BI.LogicFactory.createLogic("vertical", BI.extend({}, o.logic, {
scrolly: true,
vgap: 5,
items: BI.LogicFactory.createLogicItemsByDirection("top", this.years)
}))));
},

6
src/less/base/calendar/calendar.year.less

@ -1,6 +0,0 @@
@import "../../index";
.bi-year-calendar {
padding-top: 5px;
padding-bottom: 5px;
}

1
src/less/base/colorchooser/colorpicker/editor.colorpicker.less

@ -1,5 +1,4 @@
@import "../../../index";
@import "../../../resource/background";
.bi-color-picker-editor {
& .color-picker-editor-display {

16
src/less/base/editor/editor.search.small.less

@ -1,19 +1,23 @@
@import "../../index";
/*************BI.SearchEditor******************/
.bi-small-search-editor {
& .bi-editor {
font-size: @font-size-12;
& .bi-input{
& .bi-input {
font-size: @font-size-12;
}
& .bi-label{
& .bi-label {
font-size: @font-size-12;
}
}
& .close-font{
& .close-font {
font-size: @font-size-16;
}
& .search-font{
}
& .search-font {
font-size: @font-size-16;
}
}

10
src/less/base/segment/button.segment.less

@ -2,14 +2,4 @@
.bi-segment-button {
color: @color-bi-text-highlight;
//&.active {
// &:active {
// color: @color-bi-text;
// background-color: @color-bi-background-highlight;
// }
//}
//&:active {
// color: @color-bi-text-highlight;
// .background-color(@color-bi-background-highlight, 10%);
//}
}

5
src/less/base/single/icon.less

@ -1,5 +0,0 @@
.x-icon.b-font {
// todo 删掉文件
//margin: auto;
//width: 100%;
}

1
src/less/base/single/tip/tip.less

@ -1,6 +1,5 @@
@import "../../../index";
.bi-tip{
position: fixed !important;
}

2
src/less/widget/multiselect/multiselect.combo.less

@ -2,7 +2,7 @@
@val: transform .3s ease;
.bi-multi-select-combo{
& .multi-select-trigger-icon-button{
font-size: 16px;
font-size: @font-size-16;
}
// 此combo的trigger_button是absolute上去的,与bi-combo在同一层级,独立写一下
& .bi-combo.bi-combo-popup + .bi-trigger-icon-button {

Loading…
Cancel
Save