bri-components 1.1.5 → 1.2.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 (124) 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 -1
  9. package/lib/bri-components.min.js +6 -6
  10. package/lib/styles/bri-components.css +1 -1
  11. package/package.json +1 -1
  12. package/src/abolish/DshFileShow.less +61 -0
  13. package/src/{components/small → abolish}/DshFileShow.vue +30 -105
  14. package/src/components/controls/base/BriUpload/{index.vue → BriUpload.vue} +3 -3
  15. package/src/components/controls/base/BriUpload/{upload-list.vue → uploadList.vue} +17 -13
  16. package/src/components/controls/base/BriUpload/uploadMixin.js +1 -5
  17. package/src/components/controls/base/DshCascader/DshCascader.vue +91 -90
  18. package/src/components/controls/base/DshCheckbox.vue +3 -3
  19. package/src/components/controls/base/DshCoordinates.vue +2 -2
  20. package/src/components/controls/base/DshDate.vue +21 -10
  21. package/src/components/controls/base/DshEditor.vue +33 -48
  22. package/src/components/controls/base/DshInput.vue +21 -19
  23. package/src/components/controls/base/DshNumber/DshNumber.vue +23 -22
  24. package/src/components/controls/base/DshSelect.vue +10 -8
  25. package/src/components/controls/base/DshSwitch.vue +45 -87
  26. package/src/components/controls/controlMap.js +1 -1
  27. package/src/components/controls/controlMixin.js +5 -8
  28. package/src/components/controls/senior/BriLabels.vue +72 -54
  29. package/src/components/controls/special/DshUndeveloped.vue +0 -6
  30. package/src/components/form/DshDefaultSearch.vue +1 -1
  31. package/src/components/form/DshForm.vue +4 -13
  32. package/src/components/list/BriTable.vue +1 -1
  33. package/src/components/list/{ZTree.vue → BriTree.vue} +9 -8
  34. package/src/components/list/DshBox/DshCard.vue +4 -4
  35. package/src/components/list/DshBox/DshCrossTable.vue +4 -4
  36. package/src/components/list/DshBox/DshList.vue +2 -2
  37. package/src/components/list/DshBox/DshPanel.vue +5 -5
  38. package/src/components/list/DshBox/DshTable.vue +21 -80
  39. package/src/components/list/DshCascaderTable.vue +2 -2
  40. package/src/components/other/{ZCode.vue → BriCode.vue} +2 -9
  41. package/src/components/other/{ZCollapseTree.vue → BriCollapseTree.vue} +37 -16
  42. package/src/components/other/{ZIframe.vue → BriIframe.vue} +7 -23
  43. package/src/components/other/{ZLoading.vue → BriLoading.vue} +25 -11
  44. package/src/components/other/BriSvg.vue +2 -2
  45. package/src/components/other/DshAvatar.vue +21 -69
  46. package/src/components/other/DshColorPanel.vue +0 -43
  47. package/src/components/small/BriButton.vue +2 -2
  48. package/src/components/small/{Ctooltip.vue → BriTooltip.vue} +2 -2
  49. package/src/components/small/DshButtons.vue +28 -2
  50. package/src/components/small/DshCrumbs.vue +1 -0
  51. package/src/components/small/DshCrumbsItem.vue +5 -3
  52. package/src/components/small/DshIcons.vue +1 -15
  53. package/src/components/small/DshTags.vue +7 -2
  54. package/src/components/unit/DshFormItem.vue +6 -6
  55. package/src/components/unit/DshUnit.vue +0 -8
  56. package/src/index.js +93 -104
  57. package/src/styles/common/control.less +62 -53
  58. package/src/styles/components/controls/base/BriUpload/BriUpload.less +159 -0
  59. package/src/styles/components/controls/base/BriUpload/BriUploadImage.less +81 -0
  60. package/src/styles/components/controls/base/BriUpload/index.less +3 -0
  61. package/src/styles/components/controls/base/BriUpload/uploadList.less +164 -0
  62. package/src/styles/components/controls/base/DshCascader/DshCascader.less +124 -0
  63. package/src/styles/components/controls/base/DshCascader/index.less +2 -0
  64. package/src/styles/components/controls/{DshCheckbox.less → base/DshCheckbox.less} +3 -2
  65. package/src/styles/components/controls/base/DshDate.less +15 -0
  66. package/src/styles/components/controls/{DshEditor.less → base/DshEditor.less} +25 -47
  67. package/src/styles/components/controls/{DshInput.less → base/DshInput.less} +9 -1
  68. package/src/styles/components/controls/base/DshNumber.less +68 -0
  69. package/src/styles/components/controls/{DshSelect.less → base/DshSelect.less} +11 -0
  70. package/src/styles/components/controls/base/DshSwitch.less +37 -0
  71. package/src/styles/components/controls/{BriLabels.less → senior/BriLabels.less} +29 -12
  72. package/src/styles/components/controls/{DshDate.less → special/DshBack.less} +1 -1
  73. package/src/styles/components/controls/special/DshUndeveloped.less +3 -0
  74. package/src/styles/components/form/DshAdvSearchForm.less +0 -1
  75. package/src/styles/components/form/DshDefaultSearch.less +41 -9
  76. package/src/styles/components/form/DshForm.less +13 -0
  77. package/src/styles/components/index.less +51 -43
  78. package/src/styles/components/list/BriTable.less +9 -9
  79. package/src/styles/components/list/{ZTree.less → BriTree.less} +11 -7
  80. package/src/styles/components/list/DshBox/DshTable.less +11 -0
  81. package/src/styles/components/other/BriCode.less +5 -0
  82. package/src/styles/components/other/{ZCollapseTree.less → BriCollapseTree.less} +2 -2
  83. package/src/styles/components/other/BriIframe.less +16 -0
  84. package/src/styles/components/other/{ZLoading.less → BriLoading.less} +3 -3
  85. package/src/styles/components/other/DshAvatar.less +64 -0
  86. package/src/styles/components/other/DshBtnModal.less +3 -0
  87. package/src/styles/components/other/DshColorPanel.less +40 -0
  88. package/src/styles/components/other/DshEditPanel.less +2 -2
  89. package/src/styles/components/small/BriButton.less +35 -2
  90. package/src/styles/components/small/{Ctooltip.less → BriTooltip.less} +2 -1
  91. package/src/styles/components/small/DshCrumbs.less +0 -0
  92. package/src/styles/components/small/DshDropdown.less +5 -3
  93. package/src/styles/components/small/DshIcons.less +7 -0
  94. package/src/styles/components/small/DshTags.less +17 -0
  95. package/src/styles/components/unit/DshFormItem.less +5 -6
  96. package/src/styles/components/unit/DshUnit.less +5 -0
  97. package/src/utils/table.js +8 -0
  98. package/src/components/controls/controlShow.vue +0 -44
  99. package/src/components/other/YNoPermission.vue +0 -45
  100. package/src/components/small/BriTree.vue +0 -42
  101. package/src/styles/components/controls/BriUpload.less +0 -436
  102. package/src/styles/components/controls/DshCascader.less +0 -95
  103. package/src/styles/components/controls/DshNumber.less +0 -51
  104. package/src/styles/components/controls/controlShow.less +0 -12
  105. package/src/styles/components/other/ZCode.less +0 -1
  106. /package/src/{styles/components/other → abolish}/BriTransfer.less +0 -0
  107. /package/src/{components/other → abolish}/BriTransfer.vue +0 -0
  108. /package/src/{styles/components/small → abolish}/BriTree.less +0 -0
  109. /package/src/components/{small → list}/DshPage.vue +0 -0
  110. /package/src/components/other/{ZGantt.vue → BriGantt.vue} +0 -0
  111. /package/src/components/other/{menu/DshMenu.vue → DshMenu.vue} +0 -0
  112. /package/src/components/other/{menu/DshMenuNav.vue → DshMenuNav.vue} +0 -0
  113. /package/src/styles/components/controls/{BriInputs.less → base/BriInputs.less} +0 -0
  114. /package/src/styles/components/controls/{InfoCascader.less → base/DshCascader/InfoCascader.less} +0 -0
  115. /package/src/styles/components/controls/{DshCoordinates.less → base/DshCoordinates.less} +0 -0
  116. /package/src/styles/components/controls/{DshDaterange.less → base/DshDaterange.less} +0 -0
  117. /package/src/styles/components/controls/{DshDivider.less → base/DshDivider.less} +0 -0
  118. /package/src/styles/components/controls/{DshNumberange.less → base/DshNumberange.less} +0 -0
  119. /package/src/styles/components/controls/{DshPackage.less → senior/DshPackage.less} +0 -0
  120. /package/src/styles/components/controls/{cascaderTable.less → senior/cascaderTable.less} +0 -0
  121. /package/src/styles/components/controls/{flatTable.less → senior/flatTable.less} +0 -0
  122. /package/src/styles/components/{small → list}/DshPage.less +0 -0
  123. /package/src/styles/components/other/{ZGantt.less → BriGantt.less} +0 -0
  124. /package/src/{components/controls/base/BriUpload/upload-listItem.vue → styles/components/small/DshCrumbItem.less} +0 -0
@@ -1,5 +1,6 @@
1
1
  .DshDefaultSearch {
2
2
  position: relative;
3
+ background: #fff;
3
4
 
4
5
  &-item {
5
6
  padding: 0 !important;
@@ -21,17 +22,9 @@
21
22
  width: 100%;
22
23
  text-align: center;
23
24
  position: absolute;
24
- bottom: -20px;
25
+ bottom: -24px;
25
26
  left: 0px;
26
27
 
27
- &-zhanwei {
28
- width: 100%;
29
- height: 15px;
30
- background: #fff;
31
- position: relative;
32
- z-index: 1;
33
- }
34
-
35
28
  &-icon {
36
29
  width: 48px;
37
30
  height: 20px;
@@ -48,4 +41,43 @@
48
41
  }
49
42
  }
50
43
  }
44
+
45
+ // 输入框/下拉框
46
+ input,
47
+ .ivu-select-selection,
48
+ .ivu-cascader-size-default,
49
+ .DshCascader-multiple-input,
50
+ .DshDaterange-item {
51
+ border-radius: 0;
52
+
53
+ .ivu-select-input{
54
+ top: 0px!important;
55
+ }
56
+ }
57
+
58
+ .DshCascader-multiple-input {
59
+ height: 32px;
60
+ padding: 1px 6px;
61
+ overflow: hidden!important;
62
+ }
63
+
64
+ .DshFormItem-label {
65
+ width: 80px;
66
+ text-align: right;
67
+ margin-right: 16px;
68
+
69
+ .DshFormItem-label-left {
70
+ .DshFormItem-label-name {
71
+ font-family: "Microsoft YaHei";
72
+ }
73
+ }
74
+
75
+ .DshFormItem-label-right {
76
+ text-align: left;
77
+ }
78
+ }
79
+ .control-edit {
80
+ border-radius: 0px;
81
+ }
82
+
51
83
  }
@@ -0,0 +1,13 @@
1
+ .DshForm {
2
+ &-item-FormItem {
3
+ margin-bottom: 0px!important;
4
+ }
5
+
6
+ .ivu-form-item-content {
7
+ line-height: normal;
8
+ }
9
+ .ivu-form-item-error-tip {
10
+ top: 90%;
11
+ left: 15px;
12
+ }
13
+ }
@@ -1,30 +1,3 @@
1
- // controls
2
- @import "./controls/DshInput.less";
3
- @import "./controls/BriInputs.less";
4
- @import "./controls/DshNumber.less";
5
- @import "./controls/DshNumberange.less";
6
- @import "./controls/DshCheckbox.less";
7
- @import "./controls/DshSelect.less";
8
- @import "./controls/DshDate.less";
9
- @import "./controls/DshDaterange.less";
10
- @import "./controls/DshCascader.less";
11
- @import "./controls/InfoCascader.less";
12
- @import "./controls/DshCoordinates.less";
13
- @import "./controls/DshEditor.less";
14
- @import "./controls/DshDivider.less";
15
-
16
- @import "./controls/BriUpload.less";
17
- @import "./controls/flatTable.less";
18
- @import "./controls/cascaderTable.less";
19
- @import "./controls/BriLabels.less";
20
- @import "./controls/DshPackage.less";
21
-
22
- @import "./controls/controlShow.less";
23
-
24
- // form
25
- @import "./form/DshAdvSearchForm.less";
26
- @import "./form/DshDefaultSearch.less";
27
-
28
1
  // list
29
2
  @import "./list/DshBox/DshBox.less";
30
3
  @import "./list/DshBox/DshTable.less";
@@ -33,33 +6,68 @@
33
6
  @import "./list/DshBox/DshPanel.less";
34
7
  @import "./list/DshBox/DshSingleData.less";
35
8
  @import "./list/DshBox/DshList.less";
36
-
9
+ @import "./list/DshPage.less";
37
10
  @import "./list/BriTable.less";
38
11
  @import "./list/BriFlatTable.less";
39
12
  @import "./list/DshCascaderTable.less";
40
- @import "./list/ZTree.less";
13
+ @import "./list/BriTree.less";
14
+
15
+ // form
16
+ @import "./form/DshForm.less";
17
+ @import "./form/DshAdvSearchForm.less";
18
+ @import "./form/DshDefaultSearch.less";
19
+ // unit
20
+ @import "./unit/DshFormItem.less";
21
+ @import "./unit/DshUnit.less";
22
+
23
+ // controls
24
+ @import "./controls/base/DshInput.less";
25
+ @import "./controls/base/BriInputs.less";
26
+ @import "./controls/base/DshNumber.less";
27
+ @import "./controls/base/DshNumberange.less";
28
+ @import "./controls/base/DshSwitch.less";
29
+ @import "./controls/base/DshSelect.less";
30
+ @import "./controls/base/DshCheckbox.less";
31
+ @import "./controls/base/DshDate.less";
32
+ @import "./controls/base/DshDaterange.less";
33
+ @import "./controls/base/DshCascader/index.less";
34
+ @import "./controls/base/BriUpload/index.less";
35
+ @import "./controls/base/DshCoordinates.less";
36
+ @import "./controls/base/DshEditor.less";
37
+ @import "./controls/base/DshDivider.less";
38
+
39
+ @import "./controls/senior/flatTable.less";
40
+ @import "./controls/senior/cascaderTable.less";
41
+ @import "./controls/senior/BriLabels.less";
42
+ @import "./controls/senior/DshPackage.less";
43
+
44
+ @import "./controls/special/DshBack.less";
45
+ @import "./controls/special/DshUndeveloped.less";
41
46
 
42
47
  // other
48
+ @import "./other/BriCode.less";
49
+ @import "./other/BriCollapseTree.less";
50
+ @import "./other/BriGantt.less";
51
+ @import "./other/BriIframe.less";
52
+ @import "./other/BriLoading.less";
53
+ @import "./other/DshAvatar.less";
54
+ @import "./other/DshBtnModal.less";
55
+ @import "./other/DshColorPanel.less";
43
56
  @import "./other/DshEditPanel.less";
44
57
  @import "./other/DshMenu.less";
45
58
  @import "./other/DshMenuNav.less";
46
- @import "./other/ZCode.less";
47
- @import "./other/ZCollapseTree.less";
48
- @import "./other/ZGantt.less";
49
- @import "./other/ZLoading.less";
50
- @import "./other/BriTransfer.less";
51
59
 
52
60
  // small
61
+ @import "./small/BriButton.less";
62
+ @import "./small/BriDrawer.less";
63
+ @import "./small/BriTooltip.less";
53
64
  @import "./small/DshButtons.less";
54
- @import "./small/Ctooltip.less";
65
+ @import "./small/DshCrumbs.less";
66
+ @import "./small/DshCrumbItem.less";
55
67
  @import "./small/DshDropdown.less";
56
- @import "./small/DshPage.less";
68
+ @import "./small/DshIcons.less";
69
+ @import "./small/DshModal.less";
70
+ @import "./small/DshSteps.less";
57
71
  @import "./small/DshTabs.less";
72
+ @import "./small/DshTags.less";
58
73
  @import "./small/DshTitle.less";
59
- @import "./small/DshSteps.less";
60
- @import "./small/BriButton.less";
61
- @import "./small/BriDrawer.less";
62
- @import "./small/DshModal.less";
63
-
64
- // unit
65
- @import "./unit/DshFormItem.less";
@@ -48,9 +48,9 @@
48
48
  .dsh-flex-row-center-center();
49
49
  }
50
50
 
51
- &-loading {
52
- color: @themeColor;
53
- }
51
+ &-ellipsis {
52
+ max-width: calc(100% - 20px);
53
+ }
54
54
 
55
55
  td {
56
56
  white-space: normal !important;
@@ -75,7 +75,6 @@
75
75
  td.ve-table-last-left-fixed-column {
76
76
  box-shadow: 4px 0 7px -2px rgba(0, 0, 0, 0.1);
77
77
  }
78
-
79
78
  }
80
79
 
81
80
  .ve-table .ve-table-container.ve-table-container-left-scrolling .ve-table-last-left-fixed-column {
@@ -90,8 +89,9 @@
90
89
 
91
90
  // 排序
92
91
  .ve-table-sort {
93
- float: right;
94
- margin-top: -4px;
92
+ position: absolute!important;
93
+ top: 7px;
94
+ right: 20px;
95
95
 
96
96
  .icon-vet-sort-top-arrow:before {
97
97
  content: "\e6347";
@@ -104,9 +104,9 @@
104
104
 
105
105
  // 筛选
106
106
  .ve-dropdown {
107
- float: right;
108
- margin-right: 24px;
109
- margin-top: -4px;
107
+ position: absolute;
108
+ top: 9px;
109
+ right: 42px;
110
110
  }
111
111
 
112
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 {
@@ -1,4 +1,4 @@
1
- .ZTree {
1
+ .BriTree {
2
2
  max-width: 1200px;
3
3
  min-width: 720px;
4
4
  height: 100%;
@@ -40,13 +40,17 @@
40
40
  margin-top: 5px;
41
41
  }
42
42
  }
43
- &-dropdown-menu.DshColorPanel-list {
44
- width: 242px!important;
45
- }
46
43
 
47
- &-create-content {
48
- .textRight {
49
- text-align: right;
44
+ &-modal {
45
+ &-content {
46
+ &-btns {
47
+ .dsh-padding20();
48
+ text-align: right;
49
+ }
50
50
  }
51
51
  }
52
+
53
+ &-dropdown-menu.DshColorPanel-list {
54
+ width: 242px!important;
55
+ }
52
56
  }
@@ -1,4 +1,15 @@
1
1
  .DshTable {
2
2
  width: 100%;
3
3
  height: 100%;
4
+ .table-operation-btn {
5
+ margin-left: 16px;
6
+ padding: 0px;
7
+ &:first-of-type {
8
+ margin: 0px;
9
+ }
10
+ }
11
+ .DshButtons-dropdown-more {
12
+ padding: 0px;
13
+ margin-left: 16px;
14
+ }
4
15
  }
@@ -0,0 +1,5 @@
1
+
2
+ .BriCode {
3
+ width: 100%;
4
+ height: 100%;
5
+ }
@@ -1,4 +1,4 @@
1
- .ZCollapseTree {
1
+ .BriCollapseTree {
2
2
  &-listItem {
3
3
  display: flex;
4
4
  justify-content: space-between;
@@ -29,7 +29,7 @@
29
29
  }
30
30
  }
31
31
 
32
- .ZCollapseTree {
32
+ .BriCollapseTree {
33
33
  &-collapse {
34
34
  border: none;
35
35
  .ivu-collapse-item>.ivu-collapse-header {
@@ -0,0 +1,16 @@
1
+ .BriIframe {
2
+ display: flex;
3
+ width: 100%;
4
+ height: 100%;
5
+ position: relative;
6
+
7
+ &-iframe {
8
+ flex: 1;
9
+ overflow: auto;
10
+ }
11
+
12
+ &-nodata {
13
+ width: 100%;
14
+ height: 100%;
15
+ }
16
+ }
@@ -1,4 +1,4 @@
1
- .ZLoading {
1
+ .BriLoading {
2
2
  &-fix {
3
3
  position: absolute;
4
4
  top: 0;
@@ -7,7 +7,7 @@
7
7
  width: 100%;
8
8
  height: 100%;
9
9
 
10
- .ZLoading-main {
10
+ .BriLoading-main {
11
11
  position: absolute;
12
12
  top: 50%;
13
13
  left: 50%;
@@ -24,7 +24,7 @@
24
24
  to { transform: rotate(360deg); }
25
25
  }
26
26
 
27
- .ZLoading-main {
27
+ .BriLoading-main {
28
28
  width: 100%;
29
29
  height: 100%;
30
30
  .dsh-flex-col();
@@ -0,0 +1,64 @@
1
+ .DshAvatar {
2
+ position: relative;
3
+
4
+ span {
5
+ display: inline-block;
6
+ margin-left: 20px;
7
+ line-height: 22px;
8
+ }
9
+
10
+ &-img {
11
+ width: 22px;
12
+ height: 22px;
13
+ padding: 1px;
14
+ display: inline-block;
15
+ line-height: 20px;
16
+ background: #fff;
17
+ border-radius: 50%;
18
+ img {
19
+ width: 20px;
20
+ height: 20px;
21
+ display: inline-block;
22
+ border-radius: 50%;
23
+ }
24
+ &:nth-child(1) {
25
+ position: absolute;
26
+ left: 0px;
27
+ top: 50%;
28
+ margin-top: -10px;
29
+ }
30
+ &:nth-child(2) {
31
+ position: absolute;
32
+ left: 12px;
33
+ top: 50%;
34
+ margin-top: -10px;
35
+ }
36
+ &:nth-child(3) {
37
+ position: absolute;
38
+ left: 24px;
39
+ top: 50%;
40
+ margin-top: -10px;
41
+ }
42
+ &:nth-child(4) {
43
+ position: absolute;
44
+ left: 36px;
45
+ top: 50%;
46
+ margin-top: -10px;
47
+ }
48
+ }
49
+
50
+ &-round {
51
+ display: inline-block;
52
+ margin-right: 8px;
53
+ }
54
+
55
+ &-box {
56
+ position: relative;
57
+ img {
58
+ width: 20px;
59
+ height: 20px;
60
+ display: inline-block;
61
+ border-radius: 50%;
62
+ }
63
+ }
64
+ }
@@ -0,0 +1,3 @@
1
+ .DshBtnModal {
2
+
3
+ }
@@ -0,0 +1,40 @@
1
+ .DshColorPanel {
2
+ &-rel {
3
+ cursor: pointer;
4
+ }
5
+
6
+ &-list {
7
+ font-size: 15px;
8
+ display: flex;
9
+ width: 293px;
10
+ height: 72px;
11
+ flex-wrap: wrap;
12
+ justify-content: space-around;
13
+ align-items: center;
14
+
15
+ &-item {
16
+ padding: 6px;
17
+
18
+ &-big {
19
+ width: 15px;
20
+ height: 15px;
21
+ display: inline-block;
22
+ border-radius: 50%;
23
+ }
24
+
25
+ &-small {
26
+ width: 12px;
27
+ height: 12px;
28
+ position: absolute;
29
+ display: inline-block;
30
+ transform: translate(1.5px,1.5px);
31
+ border-radius: 50%;
32
+
33
+ &:hover + span {
34
+ border-width: 1px;
35
+ border-style: solid;
36
+ }
37
+ }
38
+ }
39
+ }
40
+ }
@@ -2,6 +2,7 @@
2
2
  width: 220px;
3
3
  height: 240px;
4
4
  text-align: left;
5
+
5
6
  &-name {}
6
7
  &-colors {
7
8
  padding: 40px 0 0 0;
@@ -30,6 +31,7 @@
30
31
  }
31
32
  }
32
33
  }
34
+
33
35
  &-icons {
34
36
  padding: 40px 0px 0px 0;
35
37
  &-item {
@@ -59,9 +61,7 @@
59
61
  }
60
62
  }
61
63
  }
62
- }
63
64
 
64
- .DshEditPanel {
65
65
  &-form {
66
66
  .ivu-form-item {
67
67
  margin-bottom: 15px;
@@ -100,16 +100,21 @@
100
100
  }
101
101
  .ivu-btn-linkText {
102
102
  color: @themeColor;
103
+ border: none;
103
104
  &:hover {
104
105
  background-color: transparent;
106
+ color: @theme-hover;
105
107
  }
106
108
  &:active {
107
109
  background-color: transparent;
110
+ color: @theme-active;
108
111
  }
109
112
  &[disabled] {
110
113
  color: @theme-disabled;
114
+ background-color: transparent;
111
115
  &:hover, &:active {
112
116
  color: @theme-disabled;
117
+ background-color: transparent;
113
118
  }
114
119
  }
115
120
  }
@@ -152,6 +157,7 @@
152
157
  }
153
158
  }
154
159
  }
160
+
155
161
  .ivu-btn-default, .ivu-btn-dashed {
156
162
  color: @textColor;
157
163
  border-color: @btnCancelBg;
@@ -176,6 +182,33 @@
176
182
  }
177
183
  }
178
184
  }
185
+
186
+ .ivu-btn-primaryLine {
187
+ color: @themeColor;
188
+ border-color: @themeColor;
189
+ background-color: #fff;
190
+ &:hover {
191
+ background-color: #fff;
192
+ border-color: @btnBgclick;
193
+ color: @btnBgHover;
194
+ }
195
+ &:active {
196
+ background-color: #fff;
197
+ border-color: @btnBgclick;
198
+ color: @btnBgclick;
199
+ }
200
+ &[disabled] {
201
+ background-color: #fff;
202
+ border-color: @btnBgDisabled;
203
+ color: @btnBgDisabled;
204
+ &:hover, &:active {
205
+ background-color: #fff;
206
+ border-color: @btnBgDisabled;
207
+ color: @btnBgDisabled;
208
+ }
209
+ }
210
+ }
211
+
179
212
  .ivu-btn-errorLine {
180
213
  color: @btnWarningBg;
181
214
  border-color: @btnWarningBg;
@@ -190,11 +223,11 @@
190
223
  color: @btnWarningBgClick;
191
224
  }
192
225
  &[disabled] {
193
- background-color: @btnCancelBg;
226
+ background-color: #fff;
194
227
  border-color: @btnWarningBgDisabled;
195
228
  color: @btnWarningBgDisabled;
196
229
  &:hover, &:active {
197
- background-color: @btnCancelBg;
230
+ background-color: #fff;
198
231
  border-color: @btnWarningBgDisabled;
199
232
  color: @btnWarningBgDisabled;
200
233
  }
@@ -1,5 +1,6 @@
1
- .Ctooltip {
1
+ .BriTooltip {
2
2
  display: flex;
3
+
3
4
  .ivu-tooltip-arrow {
4
5
  border-bottom-color: rgba(0, 0, 0, 0.9) !important;
5
6
  }
File without changes
@@ -24,6 +24,8 @@
24
24
  align-items: center;
25
25
  border-radius: @borderRadius;
26
26
  padding: 9px 8px;
27
+ margin: 0 8px;
28
+ line-height: 22px;
27
29
  &:hover {
28
30
  background-color: @theme-focus;
29
31
  color: @themeColor;
@@ -51,9 +53,9 @@
51
53
  }
52
54
  }
53
55
  }
56
+
54
57
  .ivu-select-dropdown {
55
58
  border: 0.5px solid #e5e5e5;
56
59
  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);
57
- padding: 8px;
58
- max-height: 500px
59
- }
60
+ max-height: 500px;
61
+ }
@@ -0,0 +1,7 @@
1
+ .DshIcons {
2
+ display: inline-block;
3
+
4
+ &-item {
5
+ cursor: pointer;
6
+ }
7
+ }
@@ -0,0 +1,17 @@
1
+ .DshTags {
2
+ .ivu-tag {
3
+ &-default {
4
+ border: none;
5
+ background-color: @borderColor;
6
+ color: @text-color;
7
+ }
8
+ &-size-medium {
9
+ height: 24px;
10
+ line-height: 26px;
11
+ padding: 0 8px;
12
+ }
13
+ &[disabled] {
14
+ background-color: @border-disabled;
15
+ }
16
+ }
17
+ }
@@ -20,22 +20,21 @@
20
20
  }
21
21
 
22
22
  &-label {
23
- padding: 5px 0px 5px;
24
23
  min-width: 0px;
24
+ padding: 5px 0px 5px;
25
25
  line-height: 20px;
26
26
  font-size: @smallSize;
27
- margin-bottom: 3px;
28
27
  display: flex;
29
28
  align-items: center;
30
29
 
31
30
  &-left {
32
- flex: 3;
31
+ flex: 2;
33
32
  min-width: 150px;
34
33
  position: relative;
35
34
  }
36
35
 
37
36
  &-right {
38
- flex: 2;
37
+ flex: 1;
39
38
  min-width: 0px;
40
39
  text-align: right;
41
40
  }
@@ -92,9 +91,9 @@
92
91
 
93
92
  &-right {
94
93
  flex: none;
94
+ max-width: 50%;
95
95
  min-width: 0px;
96
96
  text-align: right;
97
- max-width: 50%;
98
97
  }
99
98
  }
100
99
 
@@ -113,7 +112,7 @@
113
112
  &>div {
114
113
  width: 100%;
115
114
  height: 100%;
116
- .dsh-flex-row-start-center;
115
+ .dsh-flex-row-start-center();
117
116
  flex-wrap: wrap;
118
117
  }
119
118
  }
@@ -0,0 +1,5 @@
1
+ .DshUnit {
2
+ .ivu-input {
3
+ font-size: 12px;
4
+ }
5
+ }