diff --git a/dist/bundle.css b/dist/bundle.css index b69d50cba..3044494a1 100644 --- a/dist/bundle.css +++ b/dist/bundle.css @@ -3754,9 +3754,15 @@ ul.ztree.zTreeDragUL { .bi-down-list-popup .bi-down-list-item .list-item-text { max-width: 203px; } +.bi-dynamic-date-popup .toolbar-button { + line-height: 23px; +} .bi-dynamic-date-combo .date-font { font-size: 16px; } +.bi-dynamic-date-time-popup .toolbar-button { + line-height: 23px; +} .bi-excel-table-header-cell { font-weight: bold; @@ -4181,6 +4187,9 @@ ul.ztree.zTreeDragUL { .bi-year-popup .year-popup-navigation > .first-element { border-left: none; } +.bi-year-popup .toolbar-button { + line-height: 23px; +} .bi-theme-dark .bi-year-popup .year-popup-navigation > .center-element { border-left: 1px solid #525466; } @@ -4192,12 +4201,18 @@ ul.ztree.zTreeDragUL { -moz-border-radius: 2px; border-radius: 2px; } +.bi-year-month-popup .toolbar-button { + line-height: 23px; +} .bi-year-month-interval.time-error .bi-input { color: #ff4949; } .bi-year-month-interval.time-error .sign-editor-text { color: #ff4949; } +.bi-year-month-popup .toolbar-button { + line-height: 23px; +} html { height: 100%; overflow: hidden; diff --git a/dist/bundle.js b/dist/bundle.js index b97e2cfd1..53335d38f 100644 --- a/dist/bundle.js +++ b/dist/bundle.js @@ -81380,7 +81380,7 @@ BI.shortcut("bi.panel", BI.Panel);BI.LinearSegmentButton = BI.inherit(BI.BasicBu el: { type: "bi.layout", cls: "line-segment-button-line", - height: 3, + height: 2, ref: function () { self.line = this; } @@ -91272,7 +91272,7 @@ BI.DynamicDatePopup = BI.inherit(BI.Widget, { items: [[{ type: "bi.text_button", forceCenter: true, - cls: "bi-high-light bi-border-top", + cls: "bi-high-light bi-border-top toolbar-button", shadow: true, text: BI.i18nText("BI-Basic_Clear"), listeners: [{ @@ -91284,7 +91284,7 @@ BI.DynamicDatePopup = BI.inherit(BI.Widget, { }, { type: "bi.text_button", forceCenter: true, - cls: "bi-border-left bi-border-right bi-high-light bi-border-top", + cls: "bi-border-left bi-border-right bi-high-light bi-border-top toolbar-button", shadow: true, text: BI.i18nText("BI-Multi_Date_Today"), ref: function () { @@ -91299,7 +91299,7 @@ BI.DynamicDatePopup = BI.inherit(BI.Widget, { }, { type: "bi.text_button", forceCenter: true, - cls: "bi-high-light bi-border-top", + cls: "bi-high-light bi-border-top toolbar-button", shadow: true, text: BI.i18nText("BI-Basic_OK"), listeners: [{ @@ -92038,7 +92038,7 @@ BI.extend(BI.DynamicDateTimeCombo, { items: [[{ type: "bi.text_button", forceCenter: true, - cls: "bi-high-light bi-border-top", + cls: "bi-high-light bi-border-top toolbar-button", shadow: true, text: BI.i18nText("BI-Basic_Clear"), listeners: [{ @@ -92050,7 +92050,7 @@ BI.extend(BI.DynamicDateTimeCombo, { }, { type: "bi.text_button", forceCenter: true, - cls: "bi-border-left bi-border-right bi-high-light bi-border-top", + cls: "bi-border-left bi-border-right bi-high-light bi-border-top toolbar-button", shadow: true, text: BI.i18nText("BI-Multi_Date_Today"), ref: function () { @@ -92065,7 +92065,7 @@ BI.extend(BI.DynamicDateTimeCombo, { }, { type: "bi.text_button", forceCenter: true, - cls: "bi-high-light bi-border-top", + cls: "bi-high-light bi-border-top toolbar-button", shadow: true, text: BI.i18nText("BI-Basic_OK"), listeners: [{ @@ -109818,7 +109818,7 @@ BI.DynamicYearPopup = BI.inherit(BI.Widget, { items: [[{ type: "bi.text_button", forceCenter: true, - cls: "bi-border-top bi-high-light", + cls: "bi-border-top bi-high-light toolbar-button", shadow: true, text: BI.i18nText("BI-Basic_Clear"), listeners: [{ @@ -109830,7 +109830,7 @@ BI.DynamicYearPopup = BI.inherit(BI.Widget, { }, { type: "bi.text_button", forceCenter: true, - cls: "bi-border-left bi-border-right bi-high-light bi-border-top", + cls: "bi-border-left bi-border-right bi-high-light bi-border-top toolbar-button", shadow: true, text: BI.i18nText("BI-Basic_Current_Year"), ref: function () { @@ -109845,7 +109845,7 @@ BI.DynamicYearPopup = BI.inherit(BI.Widget, { }, { type: "bi.text_button", forceCenter: true, - cls: "bi-border-top bi-high-light", + cls: "bi-border-top bi-high-light toolbar-button", shadow: true, text: BI.i18nText("BI-Basic_OK"), listeners: [{ @@ -110569,7 +110569,7 @@ BI.DynamicYearMonthPopup = BI.inherit(BI.Widget, { items: [[{ type: "bi.text_button", forceCenter: true, - cls: "bi-border-top bi-high-light", + cls: "bi-border-top bi-high-light toolbar-button", shadow: true, text: BI.i18nText("BI-Basic_Clear"), listeners: [{ @@ -110581,7 +110581,7 @@ BI.DynamicYearMonthPopup = BI.inherit(BI.Widget, { }, { type: "bi.text_button", forceCenter: true, - cls: "bi-border-left bi-border-right bi-high-light bi-border-top", + cls: "bi-border-left bi-border-right bi-high-light bi-border-top toolbar-button", shadow: true, text: BI.i18nText("BI-Basic_Current_Month"), ref: function () { @@ -110596,7 +110596,7 @@ BI.DynamicYearMonthPopup = BI.inherit(BI.Widget, { }, { type: "bi.text_button", forceCenter: true, - cls: "bi-border-top bi-high-light", + cls: "bi-border-top bi-high-light toolbar-button", shadow: true, text: BI.i18nText("BI-Basic_OK"), listeners: [{ @@ -111547,7 +111547,7 @@ BI.extend(BI.DynamicYearQuarterCombo, { items: [[{ type: "bi.text_button", forceCenter: true, - cls: "bi-border-top bi-high-light", + cls: "bi-border-top bi-high-light toolbar-button", shadow: true, text: BI.i18nText("BI-Basic_Clear"), listeners: [{ @@ -111559,7 +111559,7 @@ BI.extend(BI.DynamicYearQuarterCombo, { }, { type: "bi.text_button", forceCenter: true, - cls: "bi-border-left bi-border-right bi-high-light bi-border-top", + cls: "bi-border-left bi-border-right bi-high-light bi-border-top toolbar-button", shadow: true, text: BI.i18nText("BI-Basic_Current_Quarter"), ref: function () { @@ -111574,7 +111574,7 @@ BI.extend(BI.DynamicYearQuarterCombo, { }, { type: "bi.text_button", forceCenter: true, - cls: "bi-border-top bi-high-light", + cls: "bi-border-top bi-high-light toolbar-button", shadow: true, text: BI.i18nText("BI-Basic_OK"), listeners: [{ diff --git a/dist/case.js b/dist/case.js index ae535fb2f..09259b305 100644 --- a/dist/case.js +++ b/dist/case.js @@ -8881,7 +8881,7 @@ BI.shortcut("bi.panel", BI.Panel);BI.LinearSegmentButton = BI.inherit(BI.BasicBu el: { type: "bi.layout", cls: "line-segment-button-line", - height: 3, + height: 2, ref: function () { self.line = this; } diff --git a/dist/fineui.css b/dist/fineui.css index a93f4b56c..786535020 100644 --- a/dist/fineui.css +++ b/dist/fineui.css @@ -3754,9 +3754,15 @@ ul.ztree.zTreeDragUL { .bi-down-list-popup .bi-down-list-item .list-item-text { max-width: 203px; } +.bi-dynamic-date-popup .toolbar-button { + line-height: 23px; +} .bi-dynamic-date-combo .date-font { font-size: 16px; } +.bi-dynamic-date-time-popup .toolbar-button { + line-height: 23px; +} .bi-excel-table-header-cell { font-weight: bold; @@ -4181,6 +4187,9 @@ ul.ztree.zTreeDragUL { .bi-year-popup .year-popup-navigation > .first-element { border-left: none; } +.bi-year-popup .toolbar-button { + line-height: 23px; +} .bi-theme-dark .bi-year-popup .year-popup-navigation > .center-element { border-left: 1px solid #525466; } @@ -4192,12 +4201,18 @@ ul.ztree.zTreeDragUL { -moz-border-radius: 2px; border-radius: 2px; } +.bi-year-month-popup .toolbar-button { + line-height: 23px; +} .bi-year-month-interval.time-error .bi-input { color: #ff4949; } .bi-year-month-interval.time-error .sign-editor-text { color: #ff4949; } +.bi-year-month-popup .toolbar-button { + line-height: 23px; +} html { height: 100%; overflow: hidden; diff --git a/dist/fineui.js b/dist/fineui.js index fd99c3418..f96786d68 100644 --- a/dist/fineui.js +++ b/dist/fineui.js @@ -81629,7 +81629,7 @@ BI.shortcut("bi.panel", BI.Panel);BI.LinearSegmentButton = BI.inherit(BI.BasicBu el: { type: "bi.layout", cls: "line-segment-button-line", - height: 3, + height: 2, ref: function () { self.line = this; } @@ -91521,7 +91521,7 @@ BI.DynamicDatePopup = BI.inherit(BI.Widget, { items: [[{ type: "bi.text_button", forceCenter: true, - cls: "bi-high-light bi-border-top", + cls: "bi-high-light bi-border-top toolbar-button", shadow: true, text: BI.i18nText("BI-Basic_Clear"), listeners: [{ @@ -91533,7 +91533,7 @@ BI.DynamicDatePopup = BI.inherit(BI.Widget, { }, { type: "bi.text_button", forceCenter: true, - cls: "bi-border-left bi-border-right bi-high-light bi-border-top", + cls: "bi-border-left bi-border-right bi-high-light bi-border-top toolbar-button", shadow: true, text: BI.i18nText("BI-Multi_Date_Today"), ref: function () { @@ -91548,7 +91548,7 @@ BI.DynamicDatePopup = BI.inherit(BI.Widget, { }, { type: "bi.text_button", forceCenter: true, - cls: "bi-high-light bi-border-top", + cls: "bi-high-light bi-border-top toolbar-button", shadow: true, text: BI.i18nText("BI-Basic_OK"), listeners: [{ @@ -92287,7 +92287,7 @@ BI.extend(BI.DynamicDateTimeCombo, { items: [[{ type: "bi.text_button", forceCenter: true, - cls: "bi-high-light bi-border-top", + cls: "bi-high-light bi-border-top toolbar-button", shadow: true, text: BI.i18nText("BI-Basic_Clear"), listeners: [{ @@ -92299,7 +92299,7 @@ BI.extend(BI.DynamicDateTimeCombo, { }, { type: "bi.text_button", forceCenter: true, - cls: "bi-border-left bi-border-right bi-high-light bi-border-top", + cls: "bi-border-left bi-border-right bi-high-light bi-border-top toolbar-button", shadow: true, text: BI.i18nText("BI-Multi_Date_Today"), ref: function () { @@ -92314,7 +92314,7 @@ BI.extend(BI.DynamicDateTimeCombo, { }, { type: "bi.text_button", forceCenter: true, - cls: "bi-high-light bi-border-top", + cls: "bi-high-light bi-border-top toolbar-button", shadow: true, text: BI.i18nText("BI-Basic_OK"), listeners: [{ @@ -110067,7 +110067,7 @@ BI.DynamicYearPopup = BI.inherit(BI.Widget, { items: [[{ type: "bi.text_button", forceCenter: true, - cls: "bi-border-top bi-high-light", + cls: "bi-border-top bi-high-light toolbar-button", shadow: true, text: BI.i18nText("BI-Basic_Clear"), listeners: [{ @@ -110079,7 +110079,7 @@ BI.DynamicYearPopup = BI.inherit(BI.Widget, { }, { type: "bi.text_button", forceCenter: true, - cls: "bi-border-left bi-border-right bi-high-light bi-border-top", + cls: "bi-border-left bi-border-right bi-high-light bi-border-top toolbar-button", shadow: true, text: BI.i18nText("BI-Basic_Current_Year"), ref: function () { @@ -110094,7 +110094,7 @@ BI.DynamicYearPopup = BI.inherit(BI.Widget, { }, { type: "bi.text_button", forceCenter: true, - cls: "bi-border-top bi-high-light", + cls: "bi-border-top bi-high-light toolbar-button", shadow: true, text: BI.i18nText("BI-Basic_OK"), listeners: [{ @@ -110818,7 +110818,7 @@ BI.DynamicYearMonthPopup = BI.inherit(BI.Widget, { items: [[{ type: "bi.text_button", forceCenter: true, - cls: "bi-border-top bi-high-light", + cls: "bi-border-top bi-high-light toolbar-button", shadow: true, text: BI.i18nText("BI-Basic_Clear"), listeners: [{ @@ -110830,7 +110830,7 @@ BI.DynamicYearMonthPopup = BI.inherit(BI.Widget, { }, { type: "bi.text_button", forceCenter: true, - cls: "bi-border-left bi-border-right bi-high-light bi-border-top", + cls: "bi-border-left bi-border-right bi-high-light bi-border-top toolbar-button", shadow: true, text: BI.i18nText("BI-Basic_Current_Month"), ref: function () { @@ -110845,7 +110845,7 @@ BI.DynamicYearMonthPopup = BI.inherit(BI.Widget, { }, { type: "bi.text_button", forceCenter: true, - cls: "bi-border-top bi-high-light", + cls: "bi-border-top bi-high-light toolbar-button", shadow: true, text: BI.i18nText("BI-Basic_OK"), listeners: [{ @@ -111796,7 +111796,7 @@ BI.extend(BI.DynamicYearQuarterCombo, { items: [[{ type: "bi.text_button", forceCenter: true, - cls: "bi-border-top bi-high-light", + cls: "bi-border-top bi-high-light toolbar-button", shadow: true, text: BI.i18nText("BI-Basic_Clear"), listeners: [{ @@ -111808,7 +111808,7 @@ BI.extend(BI.DynamicYearQuarterCombo, { }, { type: "bi.text_button", forceCenter: true, - cls: "bi-border-left bi-border-right bi-high-light bi-border-top", + cls: "bi-border-left bi-border-right bi-high-light bi-border-top toolbar-button", shadow: true, text: BI.i18nText("BI-Basic_Current_Quarter"), ref: function () { @@ -111823,7 +111823,7 @@ BI.extend(BI.DynamicYearQuarterCombo, { }, { type: "bi.text_button", forceCenter: true, - cls: "bi-border-top bi-high-light", + cls: "bi-border-top bi-high-light toolbar-button", shadow: true, text: BI.i18nText("BI-Basic_OK"), listeners: [{ diff --git a/dist/widget.css b/dist/widget.css index aef8e72ff..6a1543911 100644 --- a/dist/widget.css +++ b/dist/widget.css @@ -9,9 +9,15 @@ .bi-down-list-popup .bi-down-list-item .list-item-text { max-width: 203px; } +.bi-dynamic-date-popup .toolbar-button { + line-height: 23px; +} .bi-dynamic-date-combo .date-font { font-size: 16px; } +.bi-dynamic-date-time-popup .toolbar-button { + line-height: 23px; +} .bi-excel-table-header-cell { font-weight: bold; @@ -436,6 +442,9 @@ .bi-year-popup .year-popup-navigation > .first-element { border-left: none; } +.bi-year-popup .toolbar-button { + line-height: 23px; +} .bi-theme-dark .bi-year-popup .year-popup-navigation > .center-element { border-left: 1px solid #525466; } @@ -447,9 +456,15 @@ -moz-border-radius: 2px; border-radius: 2px; } +.bi-year-month-popup .toolbar-button { + line-height: 23px; +} .bi-year-month-interval.time-error .bi-input { color: #ff4949; } .bi-year-month-interval.time-error .sign-editor-text { color: #ff4949; } +.bi-year-month-popup .toolbar-button { + line-height: 23px; +} diff --git a/dist/widget.js b/dist/widget.js index 86d554cbd..a7ab7d20c 100644 --- a/dist/widget.js +++ b/dist/widget.js @@ -3585,7 +3585,7 @@ BI.DynamicDatePopup = BI.inherit(BI.Widget, { items: [[{ type: "bi.text_button", forceCenter: true, - cls: "bi-high-light bi-border-top", + cls: "bi-high-light bi-border-top toolbar-button", shadow: true, text: BI.i18nText("BI-Basic_Clear"), listeners: [{ @@ -3597,7 +3597,7 @@ BI.DynamicDatePopup = BI.inherit(BI.Widget, { }, { type: "bi.text_button", forceCenter: true, - cls: "bi-border-left bi-border-right bi-high-light bi-border-top", + cls: "bi-border-left bi-border-right bi-high-light bi-border-top toolbar-button", shadow: true, text: BI.i18nText("BI-Multi_Date_Today"), ref: function () { @@ -3612,7 +3612,7 @@ BI.DynamicDatePopup = BI.inherit(BI.Widget, { }, { type: "bi.text_button", forceCenter: true, - cls: "bi-high-light bi-border-top", + cls: "bi-high-light bi-border-top toolbar-button", shadow: true, text: BI.i18nText("BI-Basic_OK"), listeners: [{ @@ -4351,7 +4351,7 @@ BI.extend(BI.DynamicDateTimeCombo, { items: [[{ type: "bi.text_button", forceCenter: true, - cls: "bi-high-light bi-border-top", + cls: "bi-high-light bi-border-top toolbar-button", shadow: true, text: BI.i18nText("BI-Basic_Clear"), listeners: [{ @@ -4363,7 +4363,7 @@ BI.extend(BI.DynamicDateTimeCombo, { }, { type: "bi.text_button", forceCenter: true, - cls: "bi-border-left bi-border-right bi-high-light bi-border-top", + cls: "bi-border-left bi-border-right bi-high-light bi-border-top toolbar-button", shadow: true, text: BI.i18nText("BI-Multi_Date_Today"), ref: function () { @@ -4378,7 +4378,7 @@ BI.extend(BI.DynamicDateTimeCombo, { }, { type: "bi.text_button", forceCenter: true, - cls: "bi-high-light bi-border-top", + cls: "bi-high-light bi-border-top toolbar-button", shadow: true, text: BI.i18nText("BI-Basic_OK"), listeners: [{ @@ -22131,7 +22131,7 @@ BI.DynamicYearPopup = BI.inherit(BI.Widget, { items: [[{ type: "bi.text_button", forceCenter: true, - cls: "bi-border-top bi-high-light", + cls: "bi-border-top bi-high-light toolbar-button", shadow: true, text: BI.i18nText("BI-Basic_Clear"), listeners: [{ @@ -22143,7 +22143,7 @@ BI.DynamicYearPopup = BI.inherit(BI.Widget, { }, { type: "bi.text_button", forceCenter: true, - cls: "bi-border-left bi-border-right bi-high-light bi-border-top", + cls: "bi-border-left bi-border-right bi-high-light bi-border-top toolbar-button", shadow: true, text: BI.i18nText("BI-Basic_Current_Year"), ref: function () { @@ -22158,7 +22158,7 @@ BI.DynamicYearPopup = BI.inherit(BI.Widget, { }, { type: "bi.text_button", forceCenter: true, - cls: "bi-border-top bi-high-light", + cls: "bi-border-top bi-high-light toolbar-button", shadow: true, text: BI.i18nText("BI-Basic_OK"), listeners: [{ @@ -22882,7 +22882,7 @@ BI.DynamicYearMonthPopup = BI.inherit(BI.Widget, { items: [[{ type: "bi.text_button", forceCenter: true, - cls: "bi-border-top bi-high-light", + cls: "bi-border-top bi-high-light toolbar-button", shadow: true, text: BI.i18nText("BI-Basic_Clear"), listeners: [{ @@ -22894,7 +22894,7 @@ BI.DynamicYearMonthPopup = BI.inherit(BI.Widget, { }, { type: "bi.text_button", forceCenter: true, - cls: "bi-border-left bi-border-right bi-high-light bi-border-top", + cls: "bi-border-left bi-border-right bi-high-light bi-border-top toolbar-button", shadow: true, text: BI.i18nText("BI-Basic_Current_Month"), ref: function () { @@ -22909,7 +22909,7 @@ BI.DynamicYearMonthPopup = BI.inherit(BI.Widget, { }, { type: "bi.text_button", forceCenter: true, - cls: "bi-border-top bi-high-light", + cls: "bi-border-top bi-high-light toolbar-button", shadow: true, text: BI.i18nText("BI-Basic_OK"), listeners: [{ @@ -23860,7 +23860,7 @@ BI.extend(BI.DynamicYearQuarterCombo, { items: [[{ type: "bi.text_button", forceCenter: true, - cls: "bi-border-top bi-high-light", + cls: "bi-border-top bi-high-light toolbar-button", shadow: true, text: BI.i18nText("BI-Basic_Clear"), listeners: [{ @@ -23872,7 +23872,7 @@ BI.extend(BI.DynamicYearQuarterCombo, { }, { type: "bi.text_button", forceCenter: true, - cls: "bi-border-left bi-border-right bi-high-light bi-border-top", + cls: "bi-border-left bi-border-right bi-high-light bi-border-top toolbar-button", shadow: true, text: BI.i18nText("BI-Basic_Current_Quarter"), ref: function () { @@ -23887,7 +23887,7 @@ BI.extend(BI.DynamicYearQuarterCombo, { }, { type: "bi.text_button", forceCenter: true, - cls: "bi-border-top bi-high-light", + cls: "bi-border-top bi-high-light toolbar-button", shadow: true, text: BI.i18nText("BI-Basic_OK"), listeners: [{ diff --git a/src/case/linearsegment/button.linear.segment.js b/src/case/linearsegment/button.linear.segment.js index 90ecb579a..be8403844 100644 --- a/src/case/linearsegment/button.linear.segment.js +++ b/src/case/linearsegment/button.linear.segment.js @@ -26,7 +26,7 @@ BI.LinearSegmentButton = BI.inherit(BI.BasicButton, { el: { type: "bi.layout", cls: "line-segment-button-line", - height: 3, + height: 2, ref: function () { self.line = this; } diff --git a/src/css/widget/dynamicdatecombo/dynamicdatepopup.css b/src/css/widget/dynamicdatecombo/dynamicdatepopup.css new file mode 100644 index 000000000..880ad05ba --- /dev/null +++ b/src/css/widget/dynamicdatecombo/dynamicdatepopup.css @@ -0,0 +1,3 @@ +.bi-dynamic-date-popup .toolbar-button { + line-height: 23px; +} diff --git a/src/css/widget/dynamicdatecombo/dynamicdatetimepopup.css b/src/css/widget/dynamicdatecombo/dynamicdatetimepopup.css new file mode 100644 index 000000000..ed58f2220 --- /dev/null +++ b/src/css/widget/dynamicdatecombo/dynamicdatetimepopup.css @@ -0,0 +1,3 @@ +.bi-dynamic-date-time-popup .toolbar-button { + line-height: 23px; +} diff --git a/src/css/widget/year/popup.css b/src/css/widget/year/popup.css index 149e601c2..2a3ee0a67 100644 --- a/src/css/widget/year/popup.css +++ b/src/css/widget/year/popup.css @@ -7,6 +7,9 @@ .bi-year-popup .year-popup-navigation > .first-element { border-left: none; } +.bi-year-popup .toolbar-button { + line-height: 23px; +} .bi-theme-dark .bi-year-popup .year-popup-navigation > .center-element { border-left: 1px solid #525466; } diff --git a/src/css/widget/yearmonth/popup.css b/src/css/widget/yearmonth/popup.css new file mode 100644 index 000000000..95b214b68 --- /dev/null +++ b/src/css/widget/yearmonth/popup.css @@ -0,0 +1,3 @@ +.bi-year-month-popup .toolbar-button { + line-height: 23px; +} diff --git a/src/css/widget/yearquarter/popup.css b/src/css/widget/yearquarter/popup.css new file mode 100644 index 000000000..95b214b68 --- /dev/null +++ b/src/css/widget/yearquarter/popup.css @@ -0,0 +1,3 @@ +.bi-year-month-popup .toolbar-button { + line-height: 23px; +} diff --git a/src/less/widget/dynamicdatecombo/dynamicdatepopup.less b/src/less/widget/dynamicdatecombo/dynamicdatepopup.less new file mode 100644 index 000000000..dfb20a022 --- /dev/null +++ b/src/less/widget/dynamicdatecombo/dynamicdatepopup.less @@ -0,0 +1,7 @@ +@import "../../index"; + +.bi-dynamic-date-popup{ + & .toolbar-button { + line-height: 23px; + } +} \ No newline at end of file diff --git a/src/less/widget/dynamicdatecombo/dynamicdatetimepopup.less b/src/less/widget/dynamicdatecombo/dynamicdatetimepopup.less new file mode 100644 index 000000000..a8db4ad87 --- /dev/null +++ b/src/less/widget/dynamicdatecombo/dynamicdatetimepopup.less @@ -0,0 +1,7 @@ +@import "../../index"; + +.bi-dynamic-date-time-popup{ + & .toolbar-button { + line-height: 23px; + } +} \ No newline at end of file diff --git a/src/less/widget/multidate/multidate.combo.less b/src/less/widget/multidate/multidate.combo.less deleted file mode 100644 index 75e047478..000000000 --- a/src/less/widget/multidate/multidate.combo.less +++ /dev/null @@ -1,5 +0,0 @@ -@import "../../index"; - -.bi-multidate-combo { - .border-radius(2px); -} \ No newline at end of file diff --git a/src/less/widget/multidate/multidate.day.less b/src/less/widget/multidate/multidate.day.less deleted file mode 100644 index f40710c5c..000000000 --- a/src/less/widget/multidate/multidate.day.less +++ /dev/null @@ -1,6 +0,0 @@ -@import "../../index"; - -.bi-multidate-daycard{ - & .bi-multidate-inner-label{ - } -} \ No newline at end of file diff --git a/src/less/widget/multidate/multidate.month.less b/src/less/widget/multidate/multidate.month.less deleted file mode 100644 index 717f6c559..000000000 --- a/src/less/widget/multidate/multidate.month.less +++ /dev/null @@ -1,6 +0,0 @@ -@import "../../index"; - -.bi-multidate-monthcard{ - & .bi-multidate-inner-label{ - } -} \ No newline at end of file diff --git a/src/less/widget/multidate/multidate.popup.less b/src/less/widget/multidate/multidate.popup.less deleted file mode 100644 index 9042a3d1c..000000000 --- a/src/less/widget/multidate/multidate.popup.less +++ /dev/null @@ -1,23 +0,0 @@ -@import "../../index"; - -.bi-multidate-popup{ - - & .multidate-popup-label { - color:@color-bi-text-highlight; - font-size:@font-size-14; - } - & .multidate-popup-tab { - } - & .multidate-popup-item{ - &:active,&.active{ - background-color: @color-bi-text-highlight; - color: @color-bi-background-default; - .border-corner-radius(@radius-2,@radius-2,0,0); - } - } - - & .multidate-popup-button{ - color:@color-bi-text-highlight; - font-size:@font-size-14; - } -} \ No newline at end of file diff --git a/src/less/widget/multidate/multidate.quarter.less b/src/less/widget/multidate/multidate.quarter.less deleted file mode 100644 index 813bb316d..000000000 --- a/src/less/widget/multidate/multidate.quarter.less +++ /dev/null @@ -1,6 +0,0 @@ -@import "../../index"; - -.bi-multidate-quartercard{ - & .bi-multidate-inner-label{ - } -} \ No newline at end of file diff --git a/src/less/widget/multidate/multidate.segment.less b/src/less/widget/multidate/multidate.segment.less deleted file mode 100644 index 006fd4372..000000000 --- a/src/less/widget/multidate/multidate.segment.less +++ /dev/null @@ -1,9 +0,0 @@ -@import "../../index"; - -.bi-multidate-segment{ - & .bi-multidate-normal-label{ - } - & .bi-multidate-editor{ - font-size: @font-size-14; - } -} \ No newline at end of file diff --git a/src/less/widget/multidate/multidate.week.less b/src/less/widget/multidate/multidate.week.less deleted file mode 100644 index 0cf4ada17..000000000 --- a/src/less/widget/multidate/multidate.week.less +++ /dev/null @@ -1,6 +0,0 @@ -@import "../../index"; - -.bi-multidate-weekcard{ - & .bi-multidate-inner-label{ - } -} \ No newline at end of file diff --git a/src/less/widget/multidate/multidate.year.less b/src/less/widget/multidate/multidate.year.less deleted file mode 100644 index 3c6579138..000000000 --- a/src/less/widget/multidate/multidate.year.less +++ /dev/null @@ -1,6 +0,0 @@ -@import "../../index"; - -.bi-multidate-yearcard{ - & .bi-multidate-inner-label{ - } -} \ No newline at end of file diff --git a/src/less/widget/year/popup.year.less b/src/less/widget/year/popup.year.less index 26bdd4451..800f0e1b1 100644 --- a/src/less/widget/year/popup.year.less +++ b/src/less/widget/year/popup.year.less @@ -10,6 +10,9 @@ border-left: none; } } + & .toolbar-button { + line-height: 23px; + } } .bi-theme-dark { diff --git a/src/less/widget/yearmonth/popup.yearmonth.less b/src/less/widget/yearmonth/popup.yearmonth.less new file mode 100644 index 000000000..6cfc30769 --- /dev/null +++ b/src/less/widget/yearmonth/popup.yearmonth.less @@ -0,0 +1,7 @@ +@import "../../index"; + +.bi-year-month-popup{ + & .toolbar-button { + line-height: 23px; + } +} \ No newline at end of file diff --git a/src/less/widget/yearquarter/popup.yearquarter.less b/src/less/widget/yearquarter/popup.yearquarter.less new file mode 100644 index 000000000..6cfc30769 --- /dev/null +++ b/src/less/widget/yearquarter/popup.yearquarter.less @@ -0,0 +1,7 @@ +@import "../../index"; + +.bi-year-month-popup{ + & .toolbar-button { + line-height: 23px; + } +} \ No newline at end of file diff --git a/src/widget/dynamicdate/dynamicdate.popup.js b/src/widget/dynamicdate/dynamicdate.popup.js index 9e987ecff..f877699bb 100644 --- a/src/widget/dynamicdate/dynamicdate.popup.js +++ b/src/widget/dynamicdate/dynamicdate.popup.js @@ -24,7 +24,7 @@ BI.DynamicDatePopup = BI.inherit(BI.Widget, { items: [[{ type: "bi.text_button", forceCenter: true, - cls: "bi-high-light bi-border-top", + cls: "bi-high-light bi-border-top toolbar-button", shadow: true, text: BI.i18nText("BI-Basic_Clear"), listeners: [{ @@ -36,7 +36,7 @@ BI.DynamicDatePopup = BI.inherit(BI.Widget, { }, { type: "bi.text_button", forceCenter: true, - cls: "bi-border-left bi-border-right bi-high-light bi-border-top", + cls: "bi-border-left bi-border-right bi-high-light bi-border-top toolbar-button", shadow: true, text: BI.i18nText("BI-Multi_Date_Today"), ref: function () { @@ -51,7 +51,7 @@ BI.DynamicDatePopup = BI.inherit(BI.Widget, { }, { type: "bi.text_button", forceCenter: true, - cls: "bi-high-light bi-border-top", + cls: "bi-high-light bi-border-top toolbar-button", shadow: true, text: BI.i18nText("BI-Basic_OK"), listeners: [{ diff --git a/src/widget/dynamicdatetime/dynamicdatetime.popup.js b/src/widget/dynamicdatetime/dynamicdatetime.popup.js index a92fdc07d..34c863cba 100644 --- a/src/widget/dynamicdatetime/dynamicdatetime.popup.js +++ b/src/widget/dynamicdatetime/dynamicdatetime.popup.js @@ -24,7 +24,7 @@ BI.DynamicDateTimePopup = BI.inherit(BI.Widget, { items: [[{ type: "bi.text_button", forceCenter: true, - cls: "bi-high-light bi-border-top", + cls: "bi-high-light bi-border-top toolbar-button", shadow: true, text: BI.i18nText("BI-Basic_Clear"), listeners: [{ @@ -36,7 +36,7 @@ BI.DynamicDateTimePopup = BI.inherit(BI.Widget, { }, { type: "bi.text_button", forceCenter: true, - cls: "bi-border-left bi-border-right bi-high-light bi-border-top", + cls: "bi-border-left bi-border-right bi-high-light bi-border-top toolbar-button", shadow: true, text: BI.i18nText("BI-Multi_Date_Today"), ref: function () { @@ -51,7 +51,7 @@ BI.DynamicDateTimePopup = BI.inherit(BI.Widget, { }, { type: "bi.text_button", forceCenter: true, - cls: "bi-high-light bi-border-top", + cls: "bi-high-light bi-border-top toolbar-button", shadow: true, text: BI.i18nText("BI-Basic_OK"), listeners: [{ diff --git a/src/widget/year/popup.year.js b/src/widget/year/popup.year.js index b5481e571..42f1a25d1 100644 --- a/src/widget/year/popup.year.js +++ b/src/widget/year/popup.year.js @@ -32,7 +32,7 @@ BI.DynamicYearPopup = BI.inherit(BI.Widget, { items: [[{ type: "bi.text_button", forceCenter: true, - cls: "bi-border-top bi-high-light", + cls: "bi-border-top bi-high-light toolbar-button", shadow: true, text: BI.i18nText("BI-Basic_Clear"), listeners: [{ @@ -44,7 +44,7 @@ BI.DynamicYearPopup = BI.inherit(BI.Widget, { }, { type: "bi.text_button", forceCenter: true, - cls: "bi-border-left bi-border-right bi-high-light bi-border-top", + cls: "bi-border-left bi-border-right bi-high-light bi-border-top toolbar-button", shadow: true, text: BI.i18nText("BI-Basic_Current_Year"), ref: function () { @@ -59,7 +59,7 @@ BI.DynamicYearPopup = BI.inherit(BI.Widget, { }, { type: "bi.text_button", forceCenter: true, - cls: "bi-border-top bi-high-light", + cls: "bi-border-top bi-high-light toolbar-button", shadow: true, text: BI.i18nText("BI-Basic_OK"), listeners: [{ diff --git a/src/widget/yearmonth/popup.yearmonth.js b/src/widget/yearmonth/popup.yearmonth.js index 950da4218..7266dc5db 100644 --- a/src/widget/yearmonth/popup.yearmonth.js +++ b/src/widget/yearmonth/popup.yearmonth.js @@ -32,7 +32,7 @@ BI.DynamicYearMonthPopup = BI.inherit(BI.Widget, { items: [[{ type: "bi.text_button", forceCenter: true, - cls: "bi-border-top bi-high-light", + cls: "bi-border-top bi-high-light toolbar-button", shadow: true, text: BI.i18nText("BI-Basic_Clear"), listeners: [{ @@ -44,7 +44,7 @@ BI.DynamicYearMonthPopup = BI.inherit(BI.Widget, { }, { type: "bi.text_button", forceCenter: true, - cls: "bi-border-left bi-border-right bi-high-light bi-border-top", + cls: "bi-border-left bi-border-right bi-high-light bi-border-top toolbar-button", shadow: true, text: BI.i18nText("BI-Basic_Current_Month"), ref: function () { @@ -59,7 +59,7 @@ BI.DynamicYearMonthPopup = BI.inherit(BI.Widget, { }, { type: "bi.text_button", forceCenter: true, - cls: "bi-border-top bi-high-light", + cls: "bi-border-top bi-high-light toolbar-button", shadow: true, text: BI.i18nText("BI-Basic_OK"), listeners: [{ diff --git a/src/widget/yearquarter/popup.yearquarter.js b/src/widget/yearquarter/popup.yearquarter.js index 43dff5215..39b725994 100644 --- a/src/widget/yearquarter/popup.yearquarter.js +++ b/src/widget/yearquarter/popup.yearquarter.js @@ -25,7 +25,7 @@ BI.DynamicYearQuarterPopup = BI.inherit(BI.Widget, { items: [[{ type: "bi.text_button", forceCenter: true, - cls: "bi-border-top bi-high-light", + cls: "bi-border-top bi-high-light toolbar-button", shadow: true, text: BI.i18nText("BI-Basic_Clear"), listeners: [{ @@ -37,7 +37,7 @@ BI.DynamicYearQuarterPopup = BI.inherit(BI.Widget, { }, { type: "bi.text_button", forceCenter: true, - cls: "bi-border-left bi-border-right bi-high-light bi-border-top", + cls: "bi-border-left bi-border-right bi-high-light bi-border-top toolbar-button", shadow: true, text: BI.i18nText("BI-Basic_Current_Quarter"), ref: function () { @@ -52,7 +52,7 @@ BI.DynamicYearQuarterPopup = BI.inherit(BI.Widget, { }, { type: "bi.text_button", forceCenter: true, - cls: "bi-border-top bi-high-light", + cls: "bi-border-top bi-high-light toolbar-button", shadow: true, text: BI.i18nText("BI-Basic_OK"), listeners: [{