Showing
3 changed files
with
21 additions
and
6 deletions
... | ... | @@ -19,12 +19,9 @@ |
19 | 19 | height: 14px; |
20 | 20 | font-size: 14px; |
21 | 21 | line-height: 14px; |
22 | - // color: @N7; | |
23 | 22 | margin-right: 4px; |
24 | - display: inline-block; | |
25 | 23 | border-radius: 50%; |
26 | 24 | overflow: hidden; |
27 | - // border: 1px solid @N6; | |
28 | 25 | display: flex; |
29 | 26 | align-items: center; |
30 | 27 | justify-content: center; |
... | ... | @@ -74,7 +71,7 @@ |
74 | 71 | } |
75 | 72 | |
76 | 73 | &__group { |
77 | - padding: 0 0 0px 32px !important; | |
74 | + padding: 0 0 0 32px !important; | |
78 | 75 | |
79 | 76 | &:hover { |
80 | 77 | background-color: transparent; |
... | ... | @@ -111,6 +108,13 @@ |
111 | 108 | &.disabled { |
112 | 109 | pointer-events: none; |
113 | 110 | cursor: not-allowed; |
111 | + color: @N5; | |
112 | + background-color: @N2; | |
113 | + box-shadow: none; | |
114 | + | |
115 | + .qx-node-select-input__content { | |
116 | + color: @N6; | |
117 | + } | |
114 | 118 | } |
115 | 119 | |
116 | 120 | &:hover { | ... | ... |
... | ... | @@ -22,11 +22,11 @@ export default () => { |
22 | 22 | return ( |
23 | 23 | <Form |
24 | 24 | initialValues={{ |
25 | - field: '' | |
25 | + field: '${40e5975ebf6b4afb9a9fe162d7f7227f|1bb1b69f3e3249048c77509eb8dc2d53}' | |
26 | 26 | }} |
27 | 27 | > |
28 | 28 | <Form.Item name="field"> |
29 | - <QxFlowNodeFieldSelector limitTypes={['FORM']} node={node} nodes={nodes} subset={false}/> | |
29 | + <QxFlowNodeFieldSelector disabled limitTypes={['FORM']} node={node} nodes={nodes} subset={false}/> | |
30 | 30 | </Form.Item> |
31 | 31 | </Form> |
32 | 32 | ); | ... | ... |
... | ... | @@ -40,6 +40,17 @@ |
40 | 40 | } |
41 | 41 | } |
42 | 42 | |
43 | + .ant-select-disabled { | |
44 | + .ant-select-selector .ant-select-selection-item, | |
45 | + .ant-select-dropdown .ant-select-item-option-content { | |
46 | + color: @N5; | |
47 | + | |
48 | + .anticon { | |
49 | + color: @N5; | |
50 | + } | |
51 | + } | |
52 | + } | |
53 | + | |
43 | 54 | |
44 | 55 | .ant-select-dropdown .ant-select-item-option-selected:not(.ant-select-item-option-disabled) { |
45 | 56 | font-weight: 400; | ... | ... |