Showing
1 changed file
with
62 additions
and
0 deletions
src/style/reset.less
0 → 100644
| 1 | +.qx-common__modal { | ||
| 2 | + .ant-modal-content { | ||
| 3 | + padding: 0; | ||
| 4 | + } | ||
| 5 | + | ||
| 6 | + .ant-modal-header .ant-modal-title { | ||
| 7 | + padding: 24px 24px 0 24px; | ||
| 8 | + color: @N9; | ||
| 9 | + font-weight: 600; | ||
| 10 | + font-size: 16px; | ||
| 11 | + line-height: 24px; | ||
| 12 | + } | ||
| 13 | + | ||
| 14 | + .ant-modal-close { | ||
| 15 | + top: 24px; | ||
| 16 | + right: 24px; | ||
| 17 | + width: 20px; | ||
| 18 | + height: 24px; | ||
| 19 | + | ||
| 20 | + &:hover { | ||
| 21 | + background-color: #fff; | ||
| 22 | + } | ||
| 23 | + | ||
| 24 | + > .ant-modal-close-x { | ||
| 25 | + display: flex; | ||
| 26 | + align-items: center; | ||
| 27 | + justify-content: center; | ||
| 28 | + width: 20px; | ||
| 29 | + height: 24px; | ||
| 30 | + padding: 0; | ||
| 31 | + | ||
| 32 | + .qx-data-flow__modal__close { | ||
| 33 | + display: flex; | ||
| 34 | + align-items: center; | ||
| 35 | + justify-content: center; | ||
| 36 | + width: 20px; | ||
| 37 | + height: 24px; | ||
| 38 | + color: @N7; | ||
| 39 | + font-size: 12px !important; | ||
| 40 | + | ||
| 41 | + &:hover { | ||
| 42 | + color: @N9; | ||
| 43 | + } | ||
| 44 | + } | ||
| 45 | + } | ||
| 46 | + } | ||
| 47 | + | ||
| 48 | + .ant-modal-footer { | ||
| 49 | + padding: 8px 24px; | ||
| 50 | + } | ||
| 51 | + | ||
| 52 | + .ant-modal-body { | ||
| 53 | + max-height: 464px; | ||
| 54 | + padding: 16px 18px 8px 24px; | ||
| 55 | + overflow-y: hidden; | ||
| 56 | + scrollbar-gutter: stable; | ||
| 57 | + | ||
| 58 | + &:hover { | ||
| 59 | + overflow-y: auto; | ||
| 60 | + } | ||
| 61 | + } | ||
| 62 | +} |