bri-components 1.0.3 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (99) hide show
  1. package/lib/0.bri-components.min.js +1 -1
  2. package/lib/1.bri-components.min.js +1 -1
  3. package/lib/2.bri-components.min.js +1 -1
  4. package/lib/3.bri-components.min.js +1 -1
  5. package/lib/4.bri-components.min.js +1 -1
  6. package/lib/5.bri-components.min.js +1 -1
  7. package/lib/6.bri-components.min.js +1 -1
  8. package/lib/7.bri-components.min.js +1 -0
  9. package/lib/8.bri-components.min.js +1 -0
  10. package/lib/9.bri-components.min.js +1 -0
  11. package/lib/bri-components.min.js +16 -6
  12. package/lib/styles/bundle.css +0 -2
  13. package/package.json +121 -120
  14. package/src/components/controls/base/BriLabels.vue +117 -0
  15. package/src/components/controls/base/DshCascader.vue +23 -38
  16. package/src/components/controls/base/DshCascaderMultiple.vue +1 -1
  17. package/src/components/controls/base/DshCheckbox.vue +14 -4
  18. package/src/components/controls/base/DshCoordinates.vue +5 -9
  19. package/src/components/controls/base/DshDate.vue +10 -34
  20. package/src/components/controls/base/DshDivider.vue +1 -1
  21. package/src/components/controls/base/DshEditor.vue +52 -44
  22. package/src/components/controls/base/DshInput.vue +18 -45
  23. package/src/components/controls/base/DshLabels.vue +8 -4
  24. package/src/components/controls/base/DshNumber/DshNumber.vue +6 -20
  25. package/src/components/controls/base/DshNumberange.vue +1 -1
  26. package/src/components/controls/base/DshPackage.vue +7 -1
  27. package/src/components/controls/base/DshSelect.vue +15 -5
  28. package/src/components/controls/base/DshSwitch.vue +2 -6
  29. package/src/components/controls/base/YSerialNumber.vue +0 -1
  30. package/src/components/controls/base/ZUpload/index.vue +16 -10
  31. package/src/components/controls/base/ZUpload/upload-list.vue +17 -12
  32. package/src/components/controls/base/ZUpload/uploadMixin.js +1 -5
  33. package/src/components/controls/base/controlShow.vue +52 -0
  34. package/src/components/controls/base/textMultiple/DshTextMultiple.vue +1 -1
  35. package/src/components/controls/controlMap.js +4 -0
  36. package/src/components/controls/controlMixin.js +21 -20
  37. package/src/components/controls/senior/cascaderTable.vue +188 -0
  38. package/src/components/controls/senior/flatTable.vue +131 -0
  39. package/src/components/form/DshForm.vue +0 -5
  40. package/src/components/list/BriFlatTable.vue +430 -0
  41. package/src/components/list/BriTable.vue +184 -0
  42. package/src/components/list/DshBox/DshPanel.vue +63 -79
  43. package/src/components/list/DshBox/DshTable.vue +29 -39
  44. package/src/components/list/DshCascaderTable.vue +6 -11
  45. package/src/components/list/DshFlatTable.vue +9 -17
  46. package/src/components/other/BriTransfer.vue +71 -0
  47. package/src/components/small/BriButton.vue +65 -0
  48. package/src/components/small/BriTree.vue +42 -0
  49. package/src/components/small/Ctooltip.vue +1 -1
  50. package/src/components/small/DshButtons.vue +12 -42
  51. package/src/components/unit/DshFormItem.vue +11 -6
  52. package/src/components/unit/DshUnit.vue +1 -3
  53. package/src/components/unit/unitMixin.js +4 -1
  54. package/src/index.js +24 -4
  55. package/src/styles/bundle.css +0 -2
  56. package/src/styles/common/common.less +2 -2
  57. package/src/styles/common/control.less +53 -0
  58. package/src/styles/common/index.less +1 -0
  59. package/src/styles/components/controls/BriLabels.less +23 -0
  60. package/src/styles/components/controls/DshCascader.less +3 -3
  61. package/src/styles/components/controls/DshCheckbox.less +1 -1
  62. package/src/styles/components/controls/DshCoordinates.less +3 -3
  63. package/src/styles/components/controls/DshDate.less +54 -0
  64. package/src/styles/components/controls/DshDaterange.less +1 -1
  65. package/src/styles/components/controls/DshEditor.less +27 -9
  66. package/src/styles/components/controls/DshInput.less +5 -5
  67. package/src/styles/components/controls/DshLabels.less +1 -1
  68. package/src/styles/components/controls/DshSelect.less +46 -30
  69. package/src/styles/components/controls/ZUpload.less +82 -91
  70. package/src/styles/components/controls/cascaderTable.less +33 -0
  71. package/src/styles/components/controls/controlShow.less +12 -0
  72. package/src/styles/components/controls/flatTable.less +33 -0
  73. package/src/styles/components/form/DshAdvSearchForm.less +6 -6
  74. package/src/styles/components/index.less +10 -0
  75. package/src/styles/components/list/BriFlatTable.less +8 -0
  76. package/src/styles/components/list/BriTable.less +155 -0
  77. package/src/styles/components/list/DshFlatTable.less +3 -8
  78. package/src/styles/components/list/evTable.less +1 -1
  79. package/src/styles/components/other/BriTransfer.less +65 -0
  80. package/src/styles/components/other/DshEditPanel.less +2 -2
  81. package/src/styles/components/other/DshMenuNav.less +5 -5
  82. package/src/styles/components/other/ZGantt.less +5 -5
  83. package/src/styles/components/small/BriButton.less +259 -0
  84. package/src/styles/components/small/BriTree.less +57 -0
  85. package/src/styles/components/small/Ctooltip.less +14 -0
  86. package/src/styles/components/small/DshButtons.less +1 -1
  87. package/src/styles/components/small/DshControlDefine.less +2 -2
  88. package/src/styles/components/small/DshDropdown.less +1 -1
  89. package/src/styles/components/small/DshPage.less +1 -1
  90. package/src/styles/components/small/DshTabs.less +2 -2
  91. package/src/styles/components/unit/DshFormItem.less +5 -6
  92. package/src/styles/index.less +1 -5
  93. package/src/styles/plugin/easytable.less +22 -0
  94. package/src/styles/plugin/index.less +2 -0
  95. package/src/styles/plugin/iview.less +33 -0
  96. package/src/styles/variables.less +71 -88
  97. package/src/utils/table.js +72 -978
  98. package/src/styles/define.less +0 -374
  99. package/src/styles/view_reset.less +0 -452
@@ -0,0 +1,155 @@
1
+ // 表格颜色定制
2
+ @tableTitleColor: @contentColor;
3
+ @tableHover: #edf8fa;
4
+ @tableSeatchColor: @placeholderColor;
5
+
6
+ .bri-table {
7
+ .dsh-flex-col-between-start();
8
+ width: 100%;
9
+ height: 100%;
10
+ overflow: auto;
11
+ word-break: break-word;
12
+
13
+ &-content {
14
+ width: 100%;
15
+ max-height: 100%;
16
+
17
+ .ve-table {
18
+ height: 100%;
19
+
20
+ &-container {
21
+ height: 100% !important;
22
+ }
23
+
24
+ &.ve-table-border-around {
25
+ border-radius: @borderRadius;
26
+ }
27
+ }
28
+ }
29
+
30
+ &-onlyhead {
31
+ .ve-table.ve-table-border-around {
32
+ border-bottom: none;
33
+ border-bottom-left-radius: 0;
34
+ border-bottom-right-radius: 0;
35
+ }
36
+ }
37
+
38
+ &-empty {
39
+ width: 100%;
40
+ height: 100%;
41
+ color: @textColor;
42
+ text-align: center;
43
+ border: 1px solid @borderColor;
44
+ border-top: none;
45
+ padding: 9px 20px;
46
+ border-bottom-left-radius: @borderRadius;
47
+ border-bottom-right-radius: @borderRadius;
48
+ .dsh-flex-row-center-center();
49
+ }
50
+
51
+ &-loading {
52
+ color: @themeColor;
53
+ }
54
+
55
+ td {
56
+ white-space: normal !important;
57
+ }
58
+
59
+ &-th {
60
+ border-bottom: none !important;
61
+ }
62
+
63
+ th.ve-table-fixed-right {
64
+ box-shadow: -4px 0 6px -2px rgba(0, 0, 0, 0.1);
65
+ }
66
+
67
+ td.ve-table-fixed-right {
68
+ box-shadow: -4px 0 6px -2px rgba(0, 0, 0, 0.1);
69
+ }
70
+
71
+ th.ve-table-last-left-fixed-column {
72
+ box-shadow: 4px 0 7px -2px rgba(0, 0, 0, 0.1);
73
+ }
74
+
75
+ td.ve-table-last-left-fixed-column {
76
+ box-shadow: 4px 0 7px -2px rgba(0, 0, 0, 0.1);
77
+ }
78
+
79
+ }
80
+
81
+ .ve-table .ve-table-container.ve-table-container-left-scrolling .ve-table-last-left-fixed-column {
82
+ // border-color: transparent;
83
+ // box-shadow: -5px 0 10px 0 rgba(0,0,0,0.1), -1px 0 4px 0 rgba(0,0,0,0.2), -2px 0 8px 0 rgba(0,0,0,0.2);
84
+ }
85
+
86
+ .ve-table .ve-table-container.ve-table-container-right-scrolling .ve-table-first-right-fixed-column {
87
+ // border-color: transparent;
88
+ // box-shadow: -5px 0 10px 0 rgba(0,0,0,0.1), -1px 0 4px 0 rgba(0,0,0,0.2), -2px 0 8px 0 rgba(0,0,0,0.2);
89
+ }
90
+
91
+ // 排序
92
+ .ve-table-sort {
93
+ float: right;
94
+ margin-top: -4px;
95
+
96
+ .icon-vet-sort-top-arrow:before {
97
+ content: "\e6347";
98
+ }
99
+
100
+ .icon-vet-sort-bottom-arrow:before {
101
+ content: "\e6349";
102
+ }
103
+ }
104
+
105
+ // 筛选
106
+ .ve-dropdown {
107
+ float: right;
108
+ margin-right: 24px;
109
+ margin-top: -4px;
110
+ }
111
+
112
+ .ve-table .ve-table-container .ve-table-content-wrapper table.ve-table-content thead.ve-table-header .ve-table-header-tr .ve-table-header-th .ve-table-filter .ve-table-filter-icon {
113
+ &:hover {
114
+ color: @themeColor;
115
+ }
116
+ }
117
+
118
+ .ve-dropdown-popper {
119
+ .ve-dropdown-dd .ve-dropdown-items {
120
+ border-radius: @borderRadius;
121
+ border: none;
122
+ box-shadow: 0 3px 14px 2px rgba(0, 0, 0, 0.05), 0 8px 10px 1px rgba(0, 0, 0, 0.06), 0 5px 5px -3px rgba(0, 0, 0, 0.1);
123
+ }
124
+
125
+ // 重置
126
+ .ve-dropdown-operation .ve-dropdown-operation-item:first-of-type {
127
+ background-color: @borderColor;
128
+ color: @textColor !important;
129
+ margin-right: 8px;
130
+ }
131
+
132
+ // 筛选
133
+ .ve-dropdown-operation .ve-dropdown-operation-item {
134
+ width: 40px;
135
+ height: 24px;
136
+ opacity: 1;
137
+ color: @white !important;
138
+ font-weight: 500;
139
+ font-family: "PingFang SC";
140
+ text-align: center;
141
+ line-height: 24px;
142
+ background-color: @themeColor;
143
+ border-radius: 4px;
144
+ font-size: @smallSize;
145
+ }
146
+
147
+ .ve-dropdown-operation {
148
+ border-top-color: #e7e7e7;
149
+ justify-content: center;
150
+ }
151
+
152
+ .ve-dropdown-dd .ve-dropdown-items .ve-dropdown-items-warpper .ve-dropdown-items-multiple {
153
+ padding: 3px 16px;
154
+ }
155
+ }
@@ -18,7 +18,7 @@
18
18
  color: #666;
19
19
 
20
20
  &-description {
21
- color: @shadowColor
21
+ color: #828499;
22
22
  }
23
23
  }
24
24
 
@@ -37,11 +37,6 @@
37
37
  .td-inner {
38
38
  &-compare {
39
39
  width: 100%;
40
- &-unit {
41
- .control-rimless-readonly {
42
- background-color: rgb(250, 234, 241);
43
- }
44
- }
45
40
  }
46
41
  }
47
42
 
@@ -86,8 +81,8 @@
86
81
  margin: 5px 0px;
87
82
 
88
83
  button {
89
- border-color: @formFocusBorderColor;
90
- color: @formFocusBorderColor;
84
+ border-color: @theme-focus;
85
+ color: @theme-focus;
91
86
  background-color: @bgColor;
92
87
 
93
88
  &:hover {
@@ -64,7 +64,7 @@
64
64
  .ivu-select-selected-value{
65
65
  height: 22px;
66
66
  line-height: 22px;
67
- font-size: @tipTextSize;
67
+ font-size: @smallSize;
68
68
  }
69
69
  }
70
70
  }
@@ -0,0 +1,65 @@
1
+ .BriTransfer {
2
+ .ivu-transfer {
3
+ &-list {
4
+ width: 200px;
5
+ height: 346px;
6
+
7
+ &-header {
8
+ background-color: #fff;
9
+ border-radius: 4px 4px 0 0;
10
+ }
11
+
12
+ &-body {
13
+ border-radius: 0 0 4px 4px;
14
+ }
15
+
16
+ &-content-not-found {
17
+ margin-top: 138px;
18
+ }
19
+
20
+ &-content-item {
21
+ display: flex;
22
+ margin: 4px 8px;
23
+ padding: 5px 12px;
24
+ border-radius: 4px;
25
+
26
+ &:hover {
27
+ background-color: #E8F3FD;
28
+ }
29
+
30
+ &:has(.ivu-checkbox-wrapper-checked) {
31
+ background-color: @theme-focus ;
32
+ }
33
+
34
+ >span {
35
+ word-break: normal;
36
+ display: block;
37
+ white-space: pre-wrap;
38
+ word-wrap: break-word;
39
+ overflow: hidden;
40
+ }
41
+ }
42
+ }
43
+
44
+ &-operation {
45
+ .ivu-btn-primary {
46
+ width: 24px;
47
+ height: 24px;
48
+ border-radius: 4px;
49
+ display: flex;
50
+ justify-content: center;
51
+ align-items: center;
52
+
53
+ .ivu-icon {
54
+ font-size: 16px;
55
+ }
56
+ }
57
+
58
+ .ivu-btn-primary[disabled] {
59
+ border: 1px solid #CCCCCC;
60
+ background: @borderColor;
61
+ color: @textColor-disabled;
62
+ }
63
+ }
64
+ }
65
+ }
@@ -26,7 +26,7 @@
26
26
  position: absolute;
27
27
  top: -6px;
28
28
  right: -4px;
29
- color: @tabTextActiveColor;
29
+ color: @themeColor;
30
30
  }
31
31
  }
32
32
  }
@@ -55,7 +55,7 @@
55
55
  }
56
56
  }
57
57
  &:hover {
58
- color: @tabTextActiveColor;
58
+ color: @themeColor;
59
59
  }
60
60
  }
61
61
  }
@@ -13,7 +13,7 @@
13
13
  display: flex;
14
14
  flex-direction: column;
15
15
  position: relative;
16
- box-shadow: @boxShadowRight;
16
+ box-shadow: 5px 0px 9px rgba(0, 0, 0, 0.1);
17
17
  &-left {
18
18
  }
19
19
  &-right {
@@ -39,11 +39,11 @@
39
39
  font-size: @smallTitleSize;
40
40
  cursor: pointer;
41
41
  &:hover {
42
- color: @tabTextActiveColor;
42
+ color: @themeColor;
43
43
  }
44
44
  &-active {
45
- color: @tabTextActiveColor;
46
- background-color: @tabBgActiveColor;
45
+ color: @themeColor;
46
+ background-color: #F7FCFC;
47
47
  }
48
48
 
49
49
  &-bottom {
@@ -62,7 +62,7 @@
62
62
  background: #fff;
63
63
  }
64
64
  &-iconClass {
65
- color: @tabTextActiveColor;
65
+ color: @themeColor;
66
66
  padding-right: 5px;
67
67
  font-size: 18px;
68
68
  }
@@ -2,7 +2,7 @@
2
2
  width: 100%;
3
3
  height: 100%;
4
4
  color: #656565;
5
- font-size: @tipTextSize;
5
+ font-size: @smallSize;
6
6
  line-height: 28px;
7
7
  position: relative;
8
8
  display: flex;
@@ -67,7 +67,7 @@
67
67
  background: rgba(244,246,249,0.5119);
68
68
  }
69
69
  &-th {
70
- // background: @ghostBg;
70
+ background: #F4F8FF;
71
71
  font-weight:400;
72
72
  color:rgba(101,101,101,1);
73
73
  }
@@ -142,7 +142,7 @@
142
142
  transform: translateY(15px);
143
143
  text-align: left;
144
144
  height: 29px;
145
- font-size: @tipTextSize;
145
+ font-size: @smallSize;
146
146
  white-space: nowrap;
147
147
  text-overflow: ellipsis;
148
148
  overflow: hidden;
@@ -203,14 +203,14 @@
203
203
  }
204
204
  &-bg {
205
205
  position: absolute;
206
- background: @ghostBg;
206
+ background: #F4F8FF;
207
207
  left: 0px;
208
208
  right: 0px;
209
209
  height: 28px;
210
210
  border-radius: 28px;
211
211
  }
212
212
  &-icon {
213
- background: @ghostBg;
213
+ background: #F4F8FF;
214
214
  color: #fff;
215
215
  width: 28px;
216
216
  height: 28px;
@@ -0,0 +1,259 @@
1
+ // 需要和公共统一,待公共完善后统一属性
2
+ @btnCancelBg: @borderColor;
3
+ @btnCancelBgHover: @border-disabled;
4
+ @btnCancelBgClick: @grey3;
5
+ @btnCancelBgDisabled: @btn-hover ;
6
+ @btnWarningBg: #E83636;
7
+ @btnWarningBgHover: #F07F7F;
8
+ @btnWarningBgClick: #B71515;
9
+ @btnWarningBgDisabled: #F9C8C8;
10
+ @btnBgHover: @theme-hover;
11
+ @btnBgclick: @theme-active;
12
+ @btnBgDisabled: @theme-disabled;
13
+
14
+ //type
15
+ .ivu-btn {
16
+ &:focus {
17
+ box-shadow: none;
18
+ }
19
+ }
20
+ .ivu-btn-primary {
21
+ border-color: @btnBg;
22
+ &:hover {
23
+ background-color: @btnBgHover;
24
+ border-color: @btnBgHover;
25
+ }
26
+ &:active {
27
+ background-color: @btnBgclick;
28
+ border-color: @btnBgclick;
29
+ }
30
+ &[disabled] {
31
+ background-color: @btnBgDisabled;
32
+ border-color: @btnBgDisabled;
33
+ color: @textWhColor;
34
+ &:hover, &:active {
35
+ background-color: @btnBgDisabled;
36
+ border-color: @btnBgDisabled;
37
+ color: @textWhColor;
38
+ }
39
+ }
40
+ }
41
+ .ivu-btn-cancel {
42
+ color: @textColor;
43
+ background-color: @btnCancelBg;
44
+ border-color: @btnCancelBg;
45
+ &:hover {
46
+ background-color: @btnCancelBgHover;
47
+ border-color: @btnCancelBgHover;
48
+ color: @textColor;
49
+ }
50
+ &:active {
51
+ background-color: @btnCancelBgClick;
52
+ border-color: @btnCancelBgClick;
53
+ color: @textColor;
54
+ }
55
+ &[disabled] {
56
+ background-color: @btnCancelBgDisabled;
57
+ border-color: @btnCancelBgDisabled;
58
+ color: @textColor-disabled;
59
+ &:hover, &:active {
60
+ background-color: @btnCancelBgDisabled;
61
+ border-color: @btnCancelBgDisabled;
62
+ color: @textColor-disabled;
63
+ }
64
+ }
65
+ }
66
+ .ivu-btn-text {
67
+ color: @textColor;
68
+ &:hover {
69
+ background-color: @btnCancelBgDisabled;
70
+ color: @textColor;
71
+ }
72
+ &:active {
73
+ background-color: @btnCancelBg;
74
+ color: @textColor;
75
+ }
76
+ &[disabled] {
77
+ color: @textColor-disabled;
78
+ &:hover, &:active {
79
+ color: @textColor-disabled;
80
+ }
81
+ }
82
+ }
83
+ .ivu-btn-primaryText {
84
+ color: @themeColor;
85
+ border: none;
86
+ &:hover {
87
+ color: @themeColor;
88
+ }
89
+ &:active {
90
+ color: @themeColor;
91
+ }
92
+ &[disabled] {
93
+ border: none;
94
+ color: @textColor-disabled;
95
+ background-color: transparent;
96
+ &:hover, &:active {
97
+ color: @textColor-disabled;
98
+ }
99
+ }
100
+ }
101
+ .ivu-btn-linkText {
102
+ color: @themeColor;
103
+ &:hover {
104
+ background-color: transparent;
105
+ }
106
+ &:active {
107
+ background-color: transparent;
108
+ }
109
+ &[disabled] {
110
+ color: @theme-disabled;
111
+ &:hover, &:active {
112
+ color: @theme-disabled;
113
+ }
114
+ }
115
+ }
116
+ .ivu-btn-errorText {
117
+ color: @error-color;
118
+ &:hover {
119
+ color: @error-color;
120
+ }
121
+ &:active {
122
+ color: @error-color;
123
+ }
124
+ &[disabled] {
125
+ color: @textColor-disabled;
126
+ &:hover, &:active {
127
+ color: @textColor-disabled;
128
+ }
129
+ }
130
+ }
131
+
132
+ .ivu-btn-error {
133
+ color: @textWhColor;
134
+ background-color: @btnWarningBg;
135
+ border-color: @btnWarningBg;
136
+ &:hover {
137
+ background-color: @btnWarningBgHover;
138
+ border-color: @btnWarningBgHover;
139
+ }
140
+ &:active {
141
+ background-color: @btnWarningBgClick;
142
+ border-color: @btnWarningBgClick;
143
+ }
144
+ &[disabled] {
145
+ background-color: @btnWarningBgDisabled;
146
+ border-color: @btnWarningBgDisabled;
147
+ color: @textWhColor;
148
+ &:hover, &:active {
149
+ background-color: @btnWarningBgDisabled;
150
+ border-color: @btnWarningBgDisabled;
151
+ color: @textWhColor;
152
+ }
153
+ }
154
+ }
155
+ .ivu-btn-default, .ivu-btn-dashed {
156
+ color: @textColor;
157
+ border-color: @btnCancelBg;
158
+ background-color: #fff;
159
+ &:hover {
160
+ color: @btnBgHover;
161
+ border-color: @btnBgHover;
162
+ }
163
+ &:active {
164
+ background-color: @btnCancelBg;
165
+ color: @btnBgclick;
166
+ border-color: @btnBgclick;
167
+ }
168
+ &[disabled] {
169
+ background-color: @btnCancelBg;
170
+ border-color: @btnCancelBgHover;
171
+ color: @textColor-disabled;
172
+ &:hover, &:active {
173
+ background-color: @btnCancelBg;
174
+ border-color: @btnCancelBgHover;
175
+ color: @textColor-disabled;
176
+ }
177
+ }
178
+ }
179
+ .ivu-btn-errorLine {
180
+ color: @btnWarningBg;
181
+ border-color: @btnWarningBg;
182
+ background-color: #fff;
183
+ &:hover {
184
+ border-color: @btnWarningBgHover;
185
+ color: @btnWarningBgHover;
186
+ }
187
+ &:active {
188
+ background-color: @btnCancelBg;
189
+ border-color: @btnWarningBgClick;
190
+ color: @btnWarningBgClick;
191
+ }
192
+ &[disabled] {
193
+ background-color: @btnCancelBg;
194
+ border-color: @btnWarningBgDisabled;
195
+ color: @btnWarningBgDisabled;
196
+ &:hover, &:active {
197
+ background-color: @btnCancelBg;
198
+ border-color: @btnWarningBgDisabled;
199
+ color: @btnWarningBgDisabled;
200
+ }
201
+ }
202
+ }
203
+
204
+ .ivu-btn-ghost {
205
+ background: 0 0;
206
+ }
207
+
208
+ .ivu-btn-large {
209
+ padding: 0 23px;
210
+ }
211
+
212
+ .ivu-btn-ghost.ivu-btn-primary {
213
+ border-color: @themeColor;
214
+ &:hover {
215
+ color: @theme-hover;
216
+ border-color: @theme-hover;
217
+ background-color: transparent;
218
+ }
219
+ &:active {
220
+ color: @theme-active;
221
+ border-color: @theme-active;
222
+ background-color: transparent;
223
+ }
224
+ &[disabled] {
225
+ border-color: @contentColor;
226
+ color: @textColor-disabled;
227
+ &:hover, &:active {
228
+ border-color: @contentColor;
229
+ color: @textColor-disabled;
230
+ }
231
+ }
232
+ }
233
+ .ivu-btn-ghost.ivu-btn-cancel {
234
+ color: @textWhColor;
235
+ border-color: @fontWh2;
236
+ &:hover {
237
+ color: @themeColor;
238
+ border-color: @themeColor;
239
+ background-color: transparent;
240
+ }
241
+ &:active {
242
+ color: @theme-active;
243
+ border-color: @theme-active;
244
+ background-color: transparent;
245
+ }
246
+ &[disabled] {
247
+ border-color: @contentColor;
248
+ color: @textColor-disabled;
249
+ background-color: transparent;
250
+ &:hover, &:active {
251
+ border-color: @contentColor;
252
+ color: @textColor-disabled;
253
+ background-color: transparent;
254
+ }
255
+ }
256
+ }
257
+ .ivu-btn-ghost.ivu-btn-error {
258
+ color: @btnWarningBg;
259
+ }
@@ -0,0 +1,57 @@
1
+
2
+ .BriTree {
3
+ border: 1px solid @btnCancelBg;
4
+ border-radius: @borderRadius;
5
+ width: 336px;
6
+ overflow: auto;
7
+ padding: 8px;
8
+ user-select: none;
9
+ max-width: 100%;
10
+
11
+ }
12
+ .ivu-tree {
13
+ .ivu-icon-ios-arrow-forward {
14
+ display: inline-block;
15
+ width: 16px;
16
+ height: 16px;
17
+ border-radius: @borderRadius;
18
+ &:before {
19
+ content: "\F341";
20
+ width: 100%;
21
+ height: 100%;
22
+ .dsh-flex-row-center-center();
23
+ }
24
+ &:hover {
25
+ background-color: @btnCancelBgDisabled;
26
+ }
27
+ }
28
+ &-arrow {
29
+ width: auto;
30
+ color: @placeholderColor;
31
+ margin-top: 4px;
32
+ &-open {
33
+ color: @themeColor;
34
+ }
35
+ }
36
+ &-title {
37
+ color: @textColor;
38
+ padding: 3px 8px 4px;
39
+ border-radius: @borderRadius;
40
+ display: inline-flex;
41
+ width: calc(100% - 20px);
42
+ &:hover {
43
+ background-color: @bgColor;
44
+ }
45
+ &-selected {
46
+ color: @themeColor;
47
+ background-color: @theme-focus;
48
+ }
49
+ }
50
+ .ivu-checkbox-wrapper+.ivu-tree-title {
51
+ margin-left: -30px;
52
+ padding-left: 30px;
53
+ }
54
+ .ivu-load-loop {
55
+ color: @themeColor;
56
+ }
57
+ }
@@ -1,4 +1,18 @@
1
1
  .Ctooltip {
2
+ display: flex;
3
+ .ivu-tooltip-arrow {
4
+ border-bottom-color: rgba(0, 0, 0, 0.9) !important;
5
+ }
6
+
7
+ .ivu-tooltip-inner {
8
+ border-radius: 4px;
9
+ background: rgba(0, 0, 0, 0.9);
10
+ color: rgba(255, 255, 255, 0.9);
11
+ font-size: 14px;
12
+ font-weight: 400;
13
+ padding: 5px 8px;
14
+ }
15
+
2
16
  .ivu-tooltip-rel {
3
17
  width: 100%;
4
18
  }
@@ -35,6 +35,6 @@
35
35
 
36
36
  .ivu-btn-text {
37
37
  background-color: transparent;
38
- color: @formFocusBorderColor;
38
+ color: @themeColor;
39
39
  }
40
40
  }