d2coreui 23.0.54 → 23.0.56

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.
package/style/index.less CHANGED
@@ -1,241 +1,241 @@
1
- // @tree-node-padding: 2px;
2
- @import 'antd/dist/reset.css';
3
-
4
- body {
5
- font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
6
- 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
7
- 'Noto Color Emoji';
8
- }
9
-
10
- .stronger-divider-with-text.ant-divider-horizontal.ant-divider-with-text-center::before,
11
- .stronger-divider-with-text.ant-divider-horizontal.ant-divider-with-text-center::after {
12
- border-top: 1px solid #bbb;
13
- }
14
-
15
- .stronger-divider.ant-divider-horizontal {
16
- border-top: 1px solid #bbb;
17
- }
18
-
19
- .dictionary-autocomplete > textarea {
20
- width: calc(100% - 2rem);
21
- }
22
-
23
- .ant-tabs-content-left, .ant-tabs-tabpane-active {
24
- height: 100% !important;
25
- }
26
-
27
-
28
- // fixing input group button selection
29
- .ant-input-group > .ant-btn:hover {
30
- z-index: 2;
31
- }
32
-
33
- // special tooltips
34
- .control-panel-popover .ant-popover-arrow {
35
- border-top-color: #fafafa !important;
36
- border-left-color: #fafafa !important;
37
- }
38
-
39
- .control-panel-popover .ant-popover-inner {
40
- background-color: #fafafa;
41
- }
42
-
43
- // table
44
- .react-resizable {
45
- position: relative;
46
- background-clip: padding-box;
47
- }
48
-
49
- .react-resizable-handle {
50
- position: absolute;
51
- width: 10px;
52
- height: 100%;
53
- bottom: 0;
54
- right: -5px;
55
- cursor: col-resize;
56
- z-index: 1;
57
- }
58
-
59
- .ant-table th {
60
- white-space: nowrap;
61
- }
62
-
63
- .ant-table-body {
64
- overflow-x: auto !important;
65
- }
66
-
67
- .ant-transfer-list-header {
68
- text-align: right;
69
- }
70
-
71
- .ant-transfer-list-header-title {
72
- left: 12px;
73
- right: unset !important;
74
- }
75
-
76
- .ant-descriptions-view {
77
- overflow: auto;
78
- }
79
-
80
- .selected:focus {
81
- outline: none;
82
- }
83
-
84
- .search-string-not-found .ant-tooltip-inner {
85
- color: #ff4d4f;
86
- }
87
-
88
- .disabled .ant-input-disabled {
89
- color: rgba(0, 0, 0, 0.65);
90
- }
91
-
92
- .disabled .ant-input-number-input, .disabled .d2-input-number-input {
93
- color: rgba(0, 0, 0, 0.65);
94
- }
95
-
96
- .ant-descriptions-item-label {
97
- white-space: nowrap;
98
- }
99
-
100
- .select-with-one-item .ant-select-selector {
101
- height: 28px;
102
- overflow: auto;
103
- }
104
-
105
- .ant-select-selection-item {
106
- max-width: calc(100% - 16px);
107
- }
108
-
109
- .invalid input {
110
- color: red;
111
- }
112
-
113
- .custom-date-time-picker .ant-input-affix-wrapper {
114
- padding-right: 26px;
115
- }
116
-
117
- .custom-date-time-picker .ant-input-affix-wrapper {
118
- padding-right: 26px;
119
- }
120
-
121
- .ReactCollapse--collapse {
122
- transition: height 500ms;
123
- }
124
-
125
- .ant-drawer-close {
126
- box-shadow: none;
127
- background: transparent;
128
- border: 0;
129
- color: rgba(0,0,0,.45);
130
- cursor: pointer;
131
- display: block;
132
- font-size: 16px;
133
- font-style: normal;
134
- font-weight: 700;
135
- line-height: 1;
136
- outline: 0;
137
- padding: 20px;
138
- position: absolute;
139
- right: 0;
140
- text-align: center;
141
- text-decoration: none;
142
- text-rendering: auto;
143
- text-transform: none;
144
- top: 0;
145
- transition: color .3s;
146
- z-index: 10;
147
- }
148
-
149
- // oprava pozicie title textu vo filter paneloch
150
- .d2-drawer-header {
151
- position: relative;
152
- padding: 16px 24px;
153
- color: rgba(0, 0, 0, 0.85);
154
- background: #fff;
155
- border-bottom: 1px solid #f0f0f0;
156
- border-radius: 2px 2px 0 0;
157
- }
158
-
159
- .d2-drawer-title {
160
- margin: 0;
161
- color: rgba(0, 0, 0, 0.85);
162
- font-weight: 500;
163
- font-size: 16px;
164
- line-height: 22px;
165
- }
166
-
167
- // oprava nevyraznej farby srafovania dividera
168
- .ant-divider-with-text.ant-divider-dashed:before, .ant-divider-with-text.ant-divider-dashed:after {
169
- border-block-start-color: rgba(0, 0, 0, 0.85);
170
- }
171
-
172
- // oprava page heading
173
- .d2-page-header-heading-left {
174
- display: flex;
175
- align-items: center;
176
- margin: 4px 0;
177
- overflow: hidden;
178
- }
179
-
180
- .d2-page-header-compact .d2-page-header-heading {
181
- flex-wrap: wrap;
182
- }
183
-
184
- .d2-page-header-heading {
185
- display: flex;
186
- justify-content: space-between;
187
- }
188
-
189
- .d2-page-header {
190
- box-sizing: border-box;
191
- margin: 0;
192
- padding: 0;
193
- color: rgba(0, 0, 0, 0.85);
194
- font-size: 14px;
195
- font-variant: tabular-nums;
196
- line-height: 1.5715;
197
- list-style: none;
198
- font-feature-settings: 'tnum';
199
- position: relative;
200
- padding: 16px 12px;
201
- background-color: #fff;
202
- }
203
-
204
- .d2-page-header-back {
205
- margin-right: 16px;
206
- font-size: 16px;
207
- line-height: 1;
208
- }
209
-
210
- .d2-page-header-heading-title {
211
- margin-right: 12px;
212
- margin-bottom: 0;
213
- color: rgba(0, 0, 0, 0.85);
214
- font-weight: 600;
215
- font-size: 20px;
216
- line-height: 32px;
217
- overflow: hidden;
218
- white-space: nowrap;
219
- text-overflow: ellipsis;
220
- }
221
-
222
- .d2-page-header-heading-left .ant-input-borderless {
223
- font-size: 18px !important;
224
- }
225
-
226
- .d2-page-header-heading-extra {
227
- margin: 4px 0;
228
- white-space: nowrap;
229
- }
230
-
231
- .d2-page-header-heading-extra > * {
232
- margin-left: 12px;
233
- white-space: unset;
234
- }
235
-
236
- // ag-grid with no header
237
- .ag-grid-no-header .ag-theme-balham .ag-header {
238
- height: 0 !important;
239
- min-height: 0 !important;
240
- border-bottom: 0 !important;
1
+ // @tree-node-padding: 2px;
2
+ @import 'antd/dist/reset.css';
3
+
4
+ body {
5
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
6
+ 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
7
+ 'Noto Color Emoji';
8
+ }
9
+
10
+ .stronger-divider-with-text.ant-divider-horizontal.ant-divider-with-text-center::before,
11
+ .stronger-divider-with-text.ant-divider-horizontal.ant-divider-with-text-center::after {
12
+ border-top: 1px solid #bbb;
13
+ }
14
+
15
+ .stronger-divider.ant-divider-horizontal {
16
+ border-top: 1px solid #bbb;
17
+ }
18
+
19
+ .dictionary-autocomplete > textarea {
20
+ width: calc(100% - 2rem);
21
+ }
22
+
23
+ .ant-tabs-content-left, .ant-tabs-tabpane-active {
24
+ height: 100% !important;
25
+ }
26
+
27
+
28
+ // fixing input group button selection
29
+ .ant-input-group > .ant-btn:hover {
30
+ z-index: 2;
31
+ }
32
+
33
+ // special tooltips
34
+ .control-panel-popover .ant-popover-arrow {
35
+ border-top-color: #fafafa !important;
36
+ border-left-color: #fafafa !important;
37
+ }
38
+
39
+ .control-panel-popover .ant-popover-inner {
40
+ background-color: #fafafa;
41
+ }
42
+
43
+ // table
44
+ .react-resizable {
45
+ position: relative;
46
+ background-clip: padding-box;
47
+ }
48
+
49
+ .react-resizable-handle {
50
+ position: absolute;
51
+ width: 10px;
52
+ height: 100%;
53
+ bottom: 0;
54
+ right: -5px;
55
+ cursor: col-resize;
56
+ z-index: 1;
57
+ }
58
+
59
+ .ant-table th {
60
+ white-space: nowrap;
61
+ }
62
+
63
+ .ant-table-body {
64
+ overflow-x: auto !important;
65
+ }
66
+
67
+ .ant-transfer-list-header {
68
+ text-align: right;
69
+ }
70
+
71
+ .ant-transfer-list-header-title {
72
+ left: 12px;
73
+ right: unset !important;
74
+ }
75
+
76
+ .ant-descriptions-view {
77
+ overflow: auto;
78
+ }
79
+
80
+ .selected:focus {
81
+ outline: none;
82
+ }
83
+
84
+ .search-string-not-found .ant-tooltip-inner {
85
+ color: #ff4d4f;
86
+ }
87
+
88
+ .disabled .ant-input-disabled {
89
+ color: rgba(0, 0, 0, 0.65);
90
+ }
91
+
92
+ .disabled .ant-input-number-input, .disabled .d2-input-number-input {
93
+ color: rgba(0, 0, 0, 0.65);
94
+ }
95
+
96
+ .ant-descriptions-item-label {
97
+ white-space: nowrap;
98
+ }
99
+
100
+ .select-with-one-item .ant-select-selector {
101
+ height: 28px;
102
+ overflow: auto;
103
+ }
104
+
105
+ .ant-select-selection-item {
106
+ max-width: calc(100% - 16px);
107
+ }
108
+
109
+ .invalid input {
110
+ color: red;
111
+ }
112
+
113
+ .custom-date-time-picker .ant-input-affix-wrapper {
114
+ padding-right: 26px;
115
+ }
116
+
117
+ .custom-date-time-picker .ant-input-affix-wrapper {
118
+ padding-right: 26px;
119
+ }
120
+
121
+ .ReactCollapse--collapse {
122
+ transition: height 500ms;
123
+ }
124
+
125
+ .ant-drawer-close {
126
+ box-shadow: none;
127
+ background: transparent;
128
+ border: 0;
129
+ color: rgba(0,0,0,.45);
130
+ cursor: pointer;
131
+ display: block;
132
+ font-size: 16px;
133
+ font-style: normal;
134
+ font-weight: 700;
135
+ line-height: 1;
136
+ outline: 0;
137
+ padding: 20px;
138
+ position: absolute;
139
+ right: 0;
140
+ text-align: center;
141
+ text-decoration: none;
142
+ text-rendering: auto;
143
+ text-transform: none;
144
+ top: 0;
145
+ transition: color .3s;
146
+ z-index: 10;
147
+ }
148
+
149
+ // oprava pozicie title textu vo filter paneloch
150
+ .d2-drawer-header {
151
+ position: relative;
152
+ padding: 16px 24px;
153
+ color: rgba(0, 0, 0, 0.85);
154
+ background: #fff;
155
+ border-bottom: 1px solid #f0f0f0;
156
+ border-radius: 2px 2px 0 0;
157
+ }
158
+
159
+ .d2-drawer-title {
160
+ margin: 0;
161
+ color: rgba(0, 0, 0, 0.85);
162
+ font-weight: 500;
163
+ font-size: 16px;
164
+ line-height: 22px;
165
+ }
166
+
167
+ // oprava nevyraznej farby srafovania dividera
168
+ .ant-divider-with-text.ant-divider-dashed:before, .ant-divider-with-text.ant-divider-dashed:after {
169
+ border-block-start-color: rgba(0, 0, 0, 0.85);
170
+ }
171
+
172
+ // oprava page heading
173
+ .d2-page-header-heading-left {
174
+ display: flex;
175
+ align-items: center;
176
+ margin: 4px 0;
177
+ overflow: hidden;
178
+ }
179
+
180
+ .d2-page-header-compact .d2-page-header-heading {
181
+ flex-wrap: wrap;
182
+ }
183
+
184
+ .d2-page-header-heading {
185
+ display: flex;
186
+ justify-content: space-between;
187
+ }
188
+
189
+ .d2-page-header {
190
+ box-sizing: border-box;
191
+ margin: 0;
192
+ padding: 0;
193
+ color: rgba(0, 0, 0, 0.85);
194
+ font-size: 14px;
195
+ font-variant: tabular-nums;
196
+ line-height: 1.5715;
197
+ list-style: none;
198
+ font-feature-settings: 'tnum';
199
+ position: relative;
200
+ padding: 16px 12px;
201
+ background-color: #fff;
202
+ }
203
+
204
+ .d2-page-header-back {
205
+ margin-right: 16px;
206
+ font-size: 16px;
207
+ line-height: 1;
208
+ }
209
+
210
+ .d2-page-header-heading-title {
211
+ margin-right: 12px;
212
+ margin-bottom: 0;
213
+ color: rgba(0, 0, 0, 0.85);
214
+ font-weight: 600;
215
+ font-size: 20px;
216
+ line-height: 32px;
217
+ overflow: hidden;
218
+ white-space: nowrap;
219
+ text-overflow: ellipsis;
220
+ }
221
+
222
+ .d2-page-header-heading-left .ant-input-borderless {
223
+ font-size: 18px !important;
224
+ }
225
+
226
+ .d2-page-header-heading-extra {
227
+ margin: 4px 0;
228
+ white-space: nowrap;
229
+ }
230
+
231
+ .d2-page-header-heading-extra > * {
232
+ margin-left: 12px;
233
+ white-space: unset;
234
+ }
235
+
236
+ // ag-grid with no header
237
+ .ag-grid-no-header .ag-theme-balham .ag-header {
238
+ height: 0 !important;
239
+ min-height: 0 !important;
240
+ border-bottom: 0 !important;
241
241
  }