@dt-frames/ui 1.0.50 → 1.0.52

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.
@@ -1,10 +0,0 @@
1
- @import './reset.less';
2
-
3
- @import '../../theme/theme.less';
4
-
5
- @import '../../components/container/index.less';
6
- @import '../../components/modal/src/index.less';
7
- @import '../../components/forms/src/index.less';
8
- @import '../../components/table/src/index.less';
9
- @import '../../components/icons/src/index.less';
10
- @import '../../components/iframe/src/index.less';
@@ -1,17 +0,0 @@
1
- // 这里是需要覆盖的css样式
2
- .ant-btn{
3
- display: flex;
4
- padding: 0 10px;
5
- align-items: center;
6
- justify-content: center;
7
- svg{
8
- display: block;
9
- }
10
- .dt-icon{
11
- margin: 0 5px;
12
- }
13
- }
14
-
15
- .ant-picker{
16
- width: 100%;
17
- }
@@ -1,85 +0,0 @@
1
- .scroll-container {
2
- width: 100%;
3
- height: 100%;
4
-
5
- .scrollbar__wrap {
6
- overflow-x: hidden;
7
- }
8
-
9
- .scrollbar__view {
10
- box-sizing: border-box;
11
- }
12
- }
13
-
14
- .scrollbar {
15
- position: relative;
16
- height: 100%;
17
- overflow: hidden;
18
-
19
- &__wrap {
20
- height: 100%;
21
- overflow: auto;
22
-
23
- &--hidden-default {
24
- scrollbar-width: none;
25
-
26
- &::-webkit-scrollbar {
27
- display: none;
28
- width: 0;
29
- height: 0;
30
- opacity: 0;
31
- }
32
- }
33
- }
34
-
35
- &__thumb {
36
- position: relative;
37
- display: block;
38
- width: 0;
39
- height: 0;
40
- cursor: pointer;
41
- background-color: rgba(144, 147, 153, 0.3);
42
- border-radius: inherit;
43
- transition: 0.3s background-color;
44
-
45
- &:hover {
46
- background-color: rgba(144, 147, 153, 0.5);
47
- }
48
- }
49
-
50
- &__bar {
51
- position: absolute;
52
- right: 2px;
53
- bottom: 2px;
54
- z-index: 1;
55
- border-radius: 4px;
56
- opacity: 0;
57
- -webkit-transition: opacity 80ms ease;
58
- transition: opacity 80ms ease;
59
-
60
- &.is-vertical {
61
- top: 2px;
62
- width: 6px;
63
-
64
- & > div {
65
- width: 100%;
66
- }
67
- }
68
-
69
- &.is-horizontal {
70
- left: 2px;
71
- height: 6px;
72
-
73
- & > div {
74
- height: 100%;
75
- }
76
- }
77
- }
78
- }
79
-
80
- .scrollbar:active > .scrollbar__bar,
81
- .scrollbar:focus > .scrollbar__bar,
82
- .scrollbar:hover > .scrollbar__bar {
83
- opacity: 1;
84
- transition: opacity 340ms ease-out;
85
- }
@@ -1,107 +0,0 @@
1
- @import '../modal/index.less';
2
-
3
- .text-secondary{
4
- color: #666;
5
- }
6
-
7
- .suffix-item .suffix {
8
- display: inline-flex;
9
- padding-left: 6px;
10
- margin-top: 1px;
11
- line-height: 1;
12
- align-items: center;
13
- }
14
-
15
- .form-btns{
16
- button{
17
- margin-left: 12px;
18
- }
19
-
20
- .advanced{
21
- margin-left: 8px;
22
- .text{
23
- margin-right: 5px;
24
- }
25
- .basic-arrow{
26
- margin-left: -8px;
27
- }
28
- }
29
- }
30
-
31
- .basic-arrow{
32
- display: inline-block;
33
- cursor: pointer;
34
- transform: rotate(0deg);
35
- transition: all 0.3s ease 0.1s;
36
- transform-origin: center center;
37
-
38
-
39
- .dt-icon{
40
- vertical-align: middle;
41
- color: @primary-color !important;
42
- }
43
-
44
- &--active{
45
- transform: rotate(180deg);
46
- }
47
- }
48
-
49
- .form-btns{
50
- .ant-form-item-control-input-content{
51
- display: flex;
52
- .ant-btn{
53
- display: flex;
54
- align-items: center;
55
- }
56
- .ant-btn .dt-icon{
57
- font-size: 20px;
58
- height: 100%;
59
-
60
- svg{
61
- display: block;
62
- height: 100%;
63
- text-align: center;
64
- }
65
-
66
- .preIcon{
67
- padding-right: 2px;
68
- }
69
- }
70
-
71
- .ant-btn-primary .dt-icon svg{
72
- color: #fff;
73
- }
74
- }
75
- }
76
-
77
- .basic-form--compact{
78
- .ant-form-item {
79
- margin-bottom: 14px !important;
80
- }
81
- }
82
-
83
- .input-with-dialog{
84
- position: relative;
85
- span{
86
- background: none;
87
- cursor: pointer;
88
- }
89
-
90
- i{
91
- position: absolute;
92
- right: 15px;
93
- top: 0;
94
- bottom: 0;
95
- margin: auto;
96
- line-height: 32px;
97
- opacity: 0.3;
98
- cursor: pointer;
99
- }
100
-
101
- .ant-input{
102
- color: #333;
103
- cursor: pointer;
104
- }
105
- }
106
-
107
-
@@ -1,108 +0,0 @@
1
- @primary-color: #269ac1;
2
- @icon-pick-hover-color: #269ac1;
3
-
4
- .svg-icon {
5
- fill: currentColor;
6
- vertical-align: middle;
7
- }
8
-
9
- .dt-icon{
10
- display: inline-block;
11
- text-align: center;
12
- vertical-align: middle;
13
- & > svg{
14
- vertical-align: middle;
15
- }
16
- }
17
-
18
- .dt-pick-icon {
19
- display: flex;
20
- flex-direction: row;
21
- height: 500px;
22
-
23
- &__menus{
24
- height: 100%;
25
- overflow-y: auto;
26
- width: 140px;
27
- border-right: 1px solid #e7e7e7;
28
- border-top: 1px solid #e7e7e7;
29
- background: #fff;
30
- .menu{
31
- border-bottom: 1px solid #e7e7e7;
32
- padding: 8px;
33
- text-align: center;
34
- cursor: pointer;
35
- transform: all 0.25s;
36
- p{
37
- font-size: 14px;
38
- line-height: 24px;
39
- margin: 0;
40
- span{
41
- opacity: 0.7;
42
- font-size: 12px;
43
- padding-left: 6px;
44
- }
45
- }
46
- &.active, &:hover{
47
- background: @primary-color;
48
- color: #fff;
49
- }
50
- }
51
- }
52
-
53
- &__content{
54
- height: 100%;
55
- overflow-y: auto;
56
- flex: 1;
57
- background: #fff;
58
-
59
- .ant-input-search{
60
- width: 50%;
61
- margin: 0 25% 40px 25%;
62
- }
63
-
64
- &_item{
65
- display: flex;
66
- flex-direction: row;
67
- flex-wrap: wrap;
68
- padding: 20px;
69
- a {
70
- margin: 6px;
71
- line-height: 22px;
72
- height: 30px;
73
- width: 30px;
74
- text-align: center;
75
- cursor: pointer;
76
- padding: 4px;
77
- transform: all 0.2s;
78
- border: 1px solid #fff;
79
- &:hover, &.active-icon{
80
- border: 1px solid @primary-color;
81
- border-radius: 4px;
82
- color: @primary-color;
83
- }
84
- }
85
-
86
- .ant-input-group-wrapper-sm{
87
- input, .ant-btn-sm{
88
- height: 28px;
89
- }
90
- }
91
- }
92
-
93
- i{
94
- font-size: 22px;
95
- }
96
- }
97
- }
98
-
99
- .dt-pick-icon-item{
100
- .ant-tooltip-inner, .ant-tooltip-arrow-content {
101
- background: #fff !important;
102
- color: @icon-pick-hover-color ;
103
- }
104
- }
105
-
106
- .dt-icon-dialog > div{
107
- top: 0 !important;
108
- }
@@ -1,3 +0,0 @@
1
- .iframe-page{
2
- height: 100%;
3
- }
@@ -1,3 +0,0 @@
1
- .iframe-page{
2
- height: 100%;
3
- }
@@ -1,60 +0,0 @@
1
- .fullscreen-modal {
2
- overflow: hidden;
3
-
4
- .ant-modal {
5
- top: 0 !important;
6
- right: 0 !important;
7
- bottom: 0 !important;
8
- left: 0 !important;
9
- width: 100% !important;
10
- height: 100%;
11
- padding: 0;
12
-
13
- &-content {
14
- height: 100%;
15
- }
16
- }
17
- }
18
-
19
- .dt-basic-modal-close {
20
- display: flex;
21
- height: 95%;
22
- align-items: center;
23
- justify-content: space-around;
24
-
25
- > span {
26
- margin-left: 48px;
27
- font-size: 16px;
28
- }
29
-
30
- &--can-full {
31
- margin-right: 15px;
32
- > i {
33
- padding-right: 15px;
34
- width: 40px;
35
- }
36
- }
37
-
38
- &:not(&--can-full) {
39
- > i:nth-child(1) {
40
- &:hover {
41
- font-weight: 700;
42
- }
43
- }
44
-
45
- &>i:nth-child(1) {
46
- display: inline-block;
47
- padding: 10px;
48
-
49
- &:hover {
50
- color: @primary-color;
51
- }
52
- }
53
-
54
- &>i:last-child {
55
- &:hover {
56
- color: @error-color;
57
- }
58
- }
59
- }
60
- }
@@ -1,217 +0,0 @@
1
- .table-striped td {
2
- background-color: #fafafa;
3
- }
4
-
5
- .dt-table-header{
6
- .dt-table-header-actions{
7
- display: flex;
8
- flex-direction: row;
9
- justify-content: space-between;
10
- }
11
-
12
- .dt-table-header-actions__right{
13
- display: flex;
14
- .dt-icon{
15
- margin: 0 5px;
16
- cursor: pointer;
17
- }
18
- }
19
- }
20
-
21
- .column-setting{
22
- &__check-item{
23
- display: flex;
24
- align-items: center;
25
- min-width: 100%;
26
- padding: 4px 16px 8px 0;
27
- }
28
- &__popover-title {
29
- display: flex;
30
- }
31
- }
32
-
33
- .column-setting__cloumn-list {
34
- .ant-popover-inner-content{
35
- padding: 12px 0 0 0;
36
- }
37
- .ant-checkbox-group {
38
- width: 100%;
39
- min-width: 260px;
40
- }
41
-
42
- .drag-icon{
43
- margin: 0 5px;
44
- cursor: move;
45
- }
46
-
47
- .ant-checkbox-wrapper{
48
- flex: 1;
49
- }
50
-
51
- .dt-icon{
52
- cursor: pointer;
53
- display: flex;
54
- }
55
-
56
- .disabled{
57
- .dt-icon{
58
- cursor: not-allowed;
59
- opacity: 0.5;
60
- }
61
- }
62
-
63
- .active{
64
- .dt-icon{
65
- color: @primary-color !important;
66
- }
67
- }
68
-
69
- .ant-popover-inner-content {
70
- max-height: 400px;
71
- overflow-y: auto;
72
- }
73
- }
74
-
75
- .dt-table-action-btn{
76
- width: 24px;
77
- display: inline-block;
78
- vertical-align: middle;
79
- cursor: pointer;
80
- i{
81
- color: @primary-color;
82
- }
83
- }
84
-
85
- .dt-table-action-dropdown{
86
- vertical-align: middle;
87
- cursor: pointer;
88
- }
89
-
90
- .ant-table-fixed-left table, .ant-table-fixed-right table{
91
- width: min-content;
92
- }
93
-
94
- .ant-table-cell {
95
- height: 44px !important;
96
- line-height: 24px !important;
97
- font-size: 14px !important;
98
- padding: 4px 8px !important;
99
- }
100
-
101
- .ant-table-small{
102
- .ant-table-cell {
103
- height: 32px !important;
104
- line-height: 16px !important;
105
- font-size: 12px !important;
106
- padding: 2px 8px !important;
107
- }
108
- }
109
-
110
- .ant-table-middle{
111
- .ant-table-cell {
112
- height: 38px !important;
113
- line-height: 20px !important;
114
- font-size: 13px !important;
115
- padding: 4px 8px !important;
116
- }
117
- }
118
-
119
- .dt-action-select{
120
- .ant-dropdown-menu-title-content{
121
- display: flex;
122
- align-items: center;
123
- font-size: 13px;
124
- svg{
125
- display: block;
126
- }
127
-
128
- .dt-icon{
129
- padding-right: 8px;
130
- }
131
- }
132
- }
133
-
134
-
135
- .dt-table{
136
- .ant-table-pagination{
137
- margin: 0 !important;
138
- padding: 10px 0;
139
- border: 1px solid #f0f0f0;
140
- }
141
-
142
- .ant-table-title{
143
- padding: 8px 0 !important;
144
- border: none !important;
145
- }
146
-
147
- .ant-table-resize-handle{
148
- right: -7px;
149
- .ant-table-resize-handle-line{
150
- width: 2px;
151
- }
152
- }
153
-
154
- .ant-table-body {
155
- position: relative;
156
- table{
157
- position: absolute;
158
- top: 0;
159
- left: 0;
160
- }
161
- }
162
-
163
- .form-btns{
164
- button:first-of-type {
165
- margin-left: 0;
166
- }
167
- }
168
-
169
- .ant-table-thead > tr > th{
170
- font-weight: bolder;
171
- color: #333;
172
- }
173
-
174
- .ant-input-number-sm, .ant-input-sm{
175
- height: 26px;
176
- font-size: 12px;
177
- line-height: 26px;
178
- }
179
- }
180
-
181
- .dt-table-no-pagation .ant-table-container {
182
- border-bottom: 1px solid #f0f0f0;
183
- }
184
-
185
- .edit-cell-rule-popover .ant-popover-inner-content{
186
- padding: 4px 8px;
187
- color: #ed6f6f;
188
- border-radius: 2px;
189
- }
190
-
191
- .ant-table-empty{
192
- border-bottom: 1px solid #f0f0f0;
193
- .ant-table-tbody{
194
- .ant-table-cell{
195
- border-bottom: none;
196
- img{
197
- width: 280px;
198
- }
199
- }
200
- }
201
- }
202
-
203
- .column-select{
204
- padding: 20px;
205
-
206
- .ant-row{
207
- width: 100%;
208
- line-height: 32px;
209
- }
210
- .ant-divider-horizontal{
211
- margin: 16px 0;
212
- }
213
- }
214
-
215
- .ant-table-row-expand-icon{
216
- margin: 0 8px;
217
- }
@@ -1,53 +0,0 @@
1
- .dt-tree{
2
- display: flex;
3
- flex-direction: column;
4
- height: 100%;
5
-
6
- .dt-tree-header{
7
- .headerTitle{
8
- text-align: center;
9
- line-height: 32px;
10
- font-weight: bolder;
11
- }
12
-
13
- .dt-tree-search{
14
- display: flex;
15
- padding: 0 0 10px 10px;
16
- border-bottom: 1px solid #e7e7e7;
17
- &>i{
18
- width: 24px;
19
- display: block;
20
- text-align: center;
21
- cursor: pointer;
22
- }
23
- .dt-tree-search-input{
24
- flex: 1;
25
- input{
26
- font-size: 12px;
27
- }
28
- }
29
- }
30
- }
31
-
32
- .ant-spin-nested-loading{
33
- flex: 1;
34
- overflow-y: auto;
35
- padding: 10px 0;
36
-
37
- .tree-title{
38
- font-size: 12px;
39
- }
40
- }
41
- }
42
-
43
- .dt-tree.middle .ant-spin-nested-loading{
44
- .tree-title{
45
- font-size: 13px;
46
- }
47
- }
48
-
49
- .dt-tree.large .ant-spin-nested-loading{
50
- .tree-title{
51
- font-size: 14px;
52
- }
53
- }
@@ -1,16 +0,0 @@
1
- .dt-theme-footer{
2
- text-align: center;
3
- padding: 0;
4
- width: 100%;
5
- display: block;
6
- position: absolute;
7
- right: 0;
8
- bottom: 0;
9
- z-index: 1;
10
- background: #ebeff5;
11
- color: #b5b5b5;
12
- border-top: 1px solid #e7e7e7;
13
- span:first-of-type{
14
- padding-right: 10px;
15
- }
16
- }