forked from fanruan/fineui
Browse Source
* commit 'baf92636fd79464e733eb3a880ca98b3369fd5a9': (24 commits) 全局样式 add 整理 add add formula combo 日期国际化Key bug css 字体兼容ie8 add searcher 样式 add add 全局样式 add add 国际化 add ...es6
guy
8 years ago
72 changed files with 1927 additions and 8723 deletions
@ -0,0 +1,58 @@
|
||||
Demo.Func = BI.inherit(BI.Widget, { |
||||
props: { |
||||
baseCls: "demo-func" |
||||
}, |
||||
render: function () { |
||||
var items = [{ |
||||
type: "bi.label", |
||||
value: "张三" |
||||
}, { |
||||
type: "bi.label", |
||||
value: "李四" |
||||
}]; |
||||
var popup = BI.createWidget({ |
||||
type: "bi.button_group", |
||||
cls: "bi-border", |
||||
items: items, |
||||
layouts: [{ |
||||
type: "bi.vertical" |
||||
}] |
||||
}); |
||||
return { |
||||
type: "bi.absolute", |
||||
items: [{ |
||||
el: { |
||||
type: "bi.searcher", |
||||
listeners: [{ |
||||
eventName: BI.Searcher.EVENT_STOP, |
||||
action: function () { |
||||
popup.populate(items) |
||||
} |
||||
}, { |
||||
eventName: BI.Searcher.EVENT_PAUSE, |
||||
action: function () { |
||||
popup.populate(items) |
||||
} |
||||
}], |
||||
adapter: { |
||||
getItems: function () { |
||||
return items |
||||
} |
||||
}, |
||||
popup: popup, |
||||
masker: false |
||||
}, |
||||
left: 0, |
||||
right: 0, |
||||
top: 0 |
||||
}, { |
||||
el: popup, |
||||
left: 0, |
||||
right: 0, |
||||
top: 50, |
||||
bottom: 0 |
||||
}] |
||||
} |
||||
} |
||||
}); |
||||
BI.shortcut("demo.searcher", Demo.Func); |
@ -1,29 +0,0 @@
|
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-display-tree .ztree * { |
||||
color: #808080; |
||||
} |
||||
.bi-display-tree .ztree li span.button.switch.center_open { |
||||
background-image: url("/icon/tree-vertical-line-3.png"); |
||||
} |
||||
.bi-display-tree .ztree li span.button.switch.roots_open { |
||||
background-image: url("/icon/tree-vertical-line-2.png"); |
||||
} |
||||
.bi-display-tree .ztree li span.button.switch.bottom_open { |
||||
background-image: url("/icon/tree-vertical-line-4.png"); |
||||
} |
||||
.bi-display-tree .ztree li a, |
||||
.bi-display-tree .ztree li span { |
||||
cursor: default !important; |
||||
} |
||||
.bi-display-tree .ztree li a:hover { |
||||
text-decoration: none; |
||||
} |
||||
.bi-display-tree .ztree li a.curSelectedNode { |
||||
padding-top: 1px; |
||||
border: none; |
||||
background-color: inherit; |
||||
opacity: 1; |
||||
filter: alpha(opacity=100); |
||||
} |
@ -1,7 +1,2 @@
|
||||
@import "../bibase"; |
||||
@import "../lib/colors"; |
||||
/************hing light*****************/ |
||||
.bi-z-index-mask{ |
||||
background-color: @color-bi-background-black; |
||||
.opacity(0.5); |
||||
} |
@ -1,183 +1,183 @@
|
||||
//字体库 |
||||
|
||||
@font-cross: "\e600"; |
||||
@font-arrow-left: "\e601"; |
||||
@font-arrow-right: "\e602"; |
||||
@font-arrow-down: "\e603"; |
||||
@font-search: "\e604"; |
||||
|
||||
@font-delete: "\e605"; |
||||
@font-dot: "\e606"; |
||||
@font-right-triangle: "\e607"; |
||||
@font-down-triangle: "\e608"; |
||||
@font-left-triangle: "\e6ae"; |
||||
@font-top-triangle: "\e6ad"; |
||||
|
||||
@font-summary: "\e60e"; |
||||
@font-axis: "\e626"; |
||||
@font-bar: "\e620"; |
||||
@font-accumulate-bar: "\e60a"; |
||||
@font-pie: "\e618"; |
||||
@font-map: "\e62c"; |
||||
@font-dashboard: "\e623"; |
||||
@font-doughnut: "\e624"; |
||||
@font-detail: "\e615"; |
||||
@font-more-cn: "\e60d"; |
||||
@font-bubble: "\e62a"; |
||||
@font-scatter: "\e61d"; |
||||
@font-radar: "\e614"; |
||||
@font-content: "\e621"; |
||||
@font-image: "\e68d"; |
||||
@font-web: "\e68c"; |
||||
|
||||
@font-text: "\e622"; |
||||
@font-number: "\e61f"; |
||||
@font-tree: "\e61e"; |
||||
@font-date: "\e61b"; |
||||
@font-year: "\e628"; |
||||
@font-year-month: "\e627"; |
||||
@font-quarter: "\e629"; |
||||
@font-YMD: "\e61c"; |
||||
@font-date-range: "\e616"; |
||||
|
||||
@font-and-or: "\e62b"; |
||||
@font-query-cn: "\e609"; |
||||
@font-reset-cn: "\e61a"; |
||||
@font-text-area: "\e622"; |
||||
@font-reuse: "\e60b"; |
||||
|
||||
@font-save: "\e617"; |
||||
@font-undo: "\e619"; |
||||
@font-redo: "\e625"; |
||||
|
||||
@font-style-set: "\e60c"; |
||||
@font-filter: "\e60f"; |
||||
@font-copy: "\e610"; |
||||
@font-check-mark: "\e611"; |
||||
@font-dimension-from: "\e612"; |
||||
@font-chart-type: "\e613"; |
||||
|
||||
@font-share: "\e632"; |
||||
@font-edit: "\e631"; |
||||
@font-up: "\e630"; |
||||
@font-right: "\e62f"; |
||||
@font-down: "\e62d"; |
||||
@font-left: "\e62e"; |
||||
|
||||
@font-less: "\e633"; |
||||
@font-less-equal: "\e636"; |
||||
@font-less-arrow: "\e637"; |
||||
@font-less-equal-arrow: "\e638"; |
||||
|
||||
@font-asc: "\e63f"; |
||||
@font-des: "\e63a"; |
||||
|
||||
@font-add: "\e649"; |
||||
|
||||
@font-field-calc: "\e6a3"; |
||||
@font-field-string: "\e642"; |
||||
@font-field-number: "\e641"; |
||||
@font-field-date: "\e640"; |
||||
|
||||
@font-preview: "\e65f"; |
||||
|
||||
@font-setting: "\e678"; |
||||
@font-warning: "\e64e"; |
||||
@font-linkage: "\e63c"; |
||||
@font-detail-set: "\e634"; |
||||
@font-export-excel: "\e635"; |
||||
|
||||
@font-change: "\e660"; |
||||
|
||||
@font-sortable: "\e63b"; |
||||
@font-clear: "\e63d"; |
||||
|
||||
@font-bold: "\e64d"; |
||||
@font-color: "\e69c"; |
||||
@font-italic: "\e656"; |
||||
@font-underline: "\e650"; |
||||
@font-background: "\e696"; |
||||
@font-color-underline: "\e69d"; |
||||
@font-align-left: "\e654"; |
||||
@font-align-center: "\e64f"; |
||||
@font-align-right: "\e651"; |
||||
|
||||
@font-move: "\e65e"; |
||||
@font-share: "\e65a"; |
||||
@font-new-folder: "\e65d"; |
||||
@font-letter: "\e659"; |
||||
@font-time: "\e658"; |
||||
@font-file: "\e65b"; |
||||
@font-folder: "\e65c"; |
||||
@font-rename: "\e687"; |
||||
@font-rename-edit: "\e670"; |
||||
|
||||
@font-source-table: "\e67b"; |
||||
@font-excel-table: "\e682"; |
||||
@font-etl-table: "\e680"; |
||||
@font-sql-table: "\e681"; |
||||
@font-key: "\e67d;"; |
||||
@font-refresh: "\e683"; |
||||
|
||||
@font-tile-view: "\e685"; |
||||
@font-relation-view: "\e684"; |
||||
@font-test-link: "\e686"; |
||||
|
||||
@font-upload: "\e6ba"; |
||||
@font-image-size: "\e68b"; |
||||
@font-href: "\e688"; |
||||
@font-shutdown: "\e689"; |
||||
|
||||
@font-doubt: "\e69a"; |
||||
@font-new: "\e692"; |
||||
@font-database: "\e693"; |
||||
|
||||
@font-series: "\e695"; |
||||
@font-classify: "\e694"; |
||||
|
||||
@font-solid-left: "\e6be"; |
||||
@font-solid-right: "\e6bd"; |
||||
@font-solid-top: "\e6bc"; |
||||
@font-solid-bottom: "\e6bb"; |
||||
|
||||
@font-no-sort-no-filter: "\e66a"; |
||||
@font-no-sort-filter: "\e66b"; |
||||
@font-descending-filter: "\e667"; |
||||
@font-ascending-filter: "\e669"; |
||||
@font-descending-no-filter: "\e666"; |
||||
@font-ascending-no-filter: "\e668"; |
||||
@font-no-sort: "\e66c"; |
||||
|
||||
@font-table-col-open: "\e672"; |
||||
@font-table-row-open: "\e671"; |
||||
|
||||
@font-tip: "\e69e"; |
||||
|
||||
@font-mark-dot: "\e6a2"; |
||||
@font-mark-up-arrow: "\e6a0"; |
||||
@font-mark-down-arrow: "\e6a1"; |
||||
@font-mark-equal: "\e69f"; |
||||
|
||||
@font-pull-down: "\e6ab"; |
||||
@font-check: "\e64c"; |
||||
|
||||
@font-hellip: "\e6ac"; |
||||
@font-cross: "e600"; |
||||
@font-arrow-left: "e601"; |
||||
@font-arrow-right: "e602"; |
||||
@font-arrow-down: "e603"; |
||||
@font-search: "e604"; |
||||
|
||||
@font-delete: "e605"; |
||||
@font-dot: "e606"; |
||||
@font-right-triangle: "e607"; |
||||
@font-down-triangle: "e608"; |
||||
@font-left-triangle: "e6ae"; |
||||
@font-top-triangle: "e6ad"; |
||||
|
||||
@font-summary: "e60e"; |
||||
@font-axis: "e626"; |
||||
@font-bar: "e620"; |
||||
@font-accumulate-bar: "e60a"; |
||||
@font-pie: "e618"; |
||||
@font-map: "e62c"; |
||||
@font-dashboard: "e623"; |
||||
@font-doughnut: "e624"; |
||||
@font-detail: "e615"; |
||||
@font-more-cn: "e60d"; |
||||
@font-bubble: "e62a"; |
||||
@font-scatter: "e61d"; |
||||
@font-radar: "e614"; |
||||
@font-content: "e621"; |
||||
@font-image: "e68d"; |
||||
@font-web: "e68c"; |
||||
|
||||
@font-text: "e622"; |
||||
@font-number: "e61f"; |
||||
@font-tree: "e61e"; |
||||
@font-date: "e61b"; |
||||
@font-year: "e628"; |
||||
@font-year-month: "e627"; |
||||
@font-quarter: "e629"; |
||||
@font-YMD: "e61c"; |
||||
@font-date-range: "e616"; |
||||
|
||||
@font-and-or: "e62b"; |
||||
@font-query-cn: "e609"; |
||||
@font-reset-cn: "e61a"; |
||||
@font-text-area: "e622"; |
||||
@font-reuse: "e60b"; |
||||
|
||||
@font-save: "e617"; |
||||
@font-undo: "e619"; |
||||
@font-redo: "e625"; |
||||
|
||||
@font-style-set: "e60c"; |
||||
@font-filter: "e60f"; |
||||
@font-copy: "e610"; |
||||
@font-check-mark: "e611"; |
||||
@font-dimension-from: "e612"; |
||||
@font-chart-type: "e613"; |
||||
|
||||
@font-share: "e632"; |
||||
@font-edit: "e631"; |
||||
@font-up: "e630"; |
||||
@font-right: "e62f"; |
||||
@font-down: "e62d"; |
||||
@font-left: "e62e"; |
||||
|
||||
@font-less: "e633"; |
||||
@font-less-equal: "e636"; |
||||
@font-less-arrow: "e637"; |
||||
@font-less-equal-arrow: "e638"; |
||||
|
||||
@font-asc: "e63f"; |
||||
@font-des: "e63a"; |
||||
|
||||
@font-add: "e649"; |
||||
|
||||
@font-field-calc: "e6a3"; |
||||
@font-field-string: "e642"; |
||||
@font-field-number: "e641"; |
||||
@font-field-date: "e640"; |
||||
|
||||
@font-preview: "e65f"; |
||||
|
||||
@font-setting: "e678"; |
||||
@font-warning: "e64e"; |
||||
@font-linkage: "e63c"; |
||||
@font-detail-set: "e634"; |
||||
@font-export-excel: "e635"; |
||||
|
||||
@font-change: "e660"; |
||||
|
||||
@font-sortable: "e63b"; |
||||
@font-clear: "e63d"; |
||||
|
||||
@font-bold: "e64d"; |
||||
@font-color: "e69c"; |
||||
@font-italic: "e656"; |
||||
@font-underline: "e650"; |
||||
@font-background: "e696"; |
||||
@font-color-underline: "e69d"; |
||||
@font-align-left: "e654"; |
||||
@font-align-center: "e64f"; |
||||
@font-align-right: "e651"; |
||||
|
||||
@font-move: "e65e"; |
||||
@font-share: "e65a"; |
||||
@font-new-folder: "e65d"; |
||||
@font-letter: "e659"; |
||||
@font-time: "e658"; |
||||
@font-file: "e65b"; |
||||
@font-folder: "e65c"; |
||||
@font-rename: "e687"; |
||||
@font-rename-edit: "e670"; |
||||
|
||||
@font-source-table: "e67b"; |
||||
@font-excel-table: "e682"; |
||||
@font-etl-table: "e680"; |
||||
@font-sql-table: "e681"; |
||||
@font-key: "e67d;"; |
||||
@font-refresh: "e683"; |
||||
|
||||
@font-tile-view: "e685"; |
||||
@font-relation-view: "e684"; |
||||
@font-test-link: "e686"; |
||||
|
||||
@font-upload: "e6ba"; |
||||
@font-image-size: "e68b"; |
||||
@font-href: "e688"; |
||||
@font-shutdown: "e689"; |
||||
|
||||
@font-doubt: "e69a"; |
||||
@font-new: "e692"; |
||||
@font-database: "e693"; |
||||
|
||||
@font-series: "e695"; |
||||
@font-classify: "e694"; |
||||
|
||||
@font-solid-left: "e6be"; |
||||
@font-solid-right: "e6bd"; |
||||
@font-solid-top: "e6bc"; |
||||
@font-solid-bottom: "e6bb"; |
||||
|
||||
@font-no-sort-no-filter: "e66a"; |
||||
@font-no-sort-filter: "e66b"; |
||||
@font-descending-filter: "e667"; |
||||
@font-ascending-filter: "e669"; |
||||
@font-descending-no-filter: "e666"; |
||||
@font-ascending-no-filter: "e668"; |
||||
@font-no-sort: "e66c"; |
||||
|
||||
@font-table-col-open: "e672"; |
||||
@font-table-row-open: "e671"; |
||||
|
||||
@font-tip: "e69e"; |
||||
|
||||
@font-mark-dot: "e6a2"; |
||||
@font-mark-up-arrow: "e6a0"; |
||||
@font-mark-down-arrow: "e6a1"; |
||||
@font-mark-equal: "e69f"; |
||||
|
||||
@font-pull-down: "e6ab"; |
||||
@font-check: "e64c"; |
||||
|
||||
@font-hellip: "e6ac"; |
||||
|
||||
@font-report-filter-open: "\e648"; |
||||
@font-report-filter-close: "\e645"; |
||||
|
||||
@font-apply-hangout: "\e66d"; |
||||
@font-hangout: "\e64b"; |
||||
@font-report-filter-open: "e648"; |
||||
@font-report-filter-close: "e645"; |
||||
|
||||
@font-apply-hangout: "e66d"; |
||||
@font-hangout: "e64b"; |
||||
|
||||
@font-real-time: "\e6af"; |
||||
@font-real-time: "e6af"; |
||||
|
||||
@font-info: "\e66e"; |
||||
|
||||
@font-cancel-share: "\e6b5"; |
||||
@font-check-box-selected: "\e6b3"; |
||||
@font-check-box-not-selected: "\e6b2"; |
||||
|
||||
@font-recover-chart: "\e6b4"; |
||||
@font-check-box-not-selected: "\e6b2"; |
||||
|
||||
@font-solid-setting: "\e697"; |
||||
@font-info: "e66e"; |
||||
|
||||
@font-cancel-share: "e6b5"; |
||||
@font-check-box-selected: "e6b3"; |
||||
@font-check-box-not-selected: "e6b2"; |
||||
|
||||
@font-recover-chart: "e6b4"; |
||||
@font-check-box-not-selected: "e6b2"; |
||||
|
||||
@font-solid-setting: "e697"; |
||||
|
Loading…
Reference in new issue