@import './pagination.less'; @import './input.less'; @import './btn.less'; // @import './table.less'; .ant-image-preview-root { img { display: unset; } } // span.anticon:not(.jeesite-icon) { // vertical-align: 0.125em !important; // } .ant-back-top { right: 20px; bottom: 20px; } .collapse-container__body { > .ant-descriptions { margin-left: 6px; } } .ant-image-preview-operations { background-color: rgb(0 0 0 / 30%); } .ant-popover { &-content { box-shadow: 0 2px 12px 0 rgb(0 0 0 / 10%); } } .ant-modal > div[aria-hidden='true'] { display: none !important; } .ant-modal:not(.jeesite-basic-modal):not(.ant-modal-confirm) { .ant-modal-content { padding: 0; border-radius: 8px; overflow: hidden; } .ant-modal-header { padding: 12px 16px; margin-bottom: 0; border-bottom: 1px solid #e5e7eb; background: @modal-header-bg-color; } .ant-modal-title { font-size: 16px; font-weight: 600; line-height: 24px; color: #111827; } .ant-modal-body { padding: 16px; } .ant-modal-footer { padding: 8px 16px 10px; margin-top: 0; border-top: 1px solid #e5e7eb; background: #fff; text-align: right; } } .ant-modal:not(.ant-modal-confirm) { .ant-modal-footer > .ant-btn, .ant-modal-footer > .basic-modal-footer-actions, .ant-modal-footer > .template-create-footer, .ant-modal-footer > .govern-config-footer, .ant-modal-footer > .analysis-condition-modal__footer { .ant-btn { min-width: 72px; height: 36px; padding: 0 18px; border-radius: 18px; border-width: 1px; font-size: 14px; font-weight: 500; box-shadow: none; } .ant-btn-default { border-color: #d1d5db; color: #374151; background: #fff; &:hover, &:focus, &:not(:disabled):hover, &:not(:disabled):focus { border-color: #cbd5e1; color: #1f2937; background: #f8fafc; } } .ant-btn-primary { border-color: #3150e6; background: #3150e6; color: #fff; box-shadow: 0 6px 16px rgba(49, 80, 230, 0.18); &:hover, &:focus, &:not(:disabled):hover, &:not(:disabled):focus { border-color: #3f5de6; background: #3f5de6; color: #fff; box-shadow: 0 8px 18px rgba(63, 93, 230, 0.22); } } } .ant-modal-footer > .ant-btn { margin-left: 0; & + .ant-btn { margin-left: 12px; } } .ant-modal-footer > .basic-modal-footer-actions, .ant-modal-footer > .template-create-footer, .ant-modal-footer > .govern-config-footer, .ant-modal-footer > .analysis-condition-modal__footer { display: flex; align-items: center; justify-content: flex-end; gap: 12px; .ant-btn + .ant-btn { margin-left: 0; } } } // ================================= // ========= modal message ========= // ================================= .modal-icon-warning { color: @warning-color !important; } .modal-icon-success { color: @success-color !important; } .modal-icon-error { color: @error-color !important; } .modal-icon-info { color: @primary-color !important; } .modal-posfull-content { max-height: 300px; overflow-y: auto; } // ================================= // ======= common components ======= // ================================= .ant-checkbox-checked .ant-checkbox-inner::after, .ant-tree-checkbox-checked .ant-tree-checkbox-inner::after { border-top: 0 !important; border-left: 0 !important; } .ant-tree, .ant-select-tree { // &-list-holder { // overflow-x: hidden !important; // } &-list-scrollbar-show { display: block !important; width: 6px !important; } &-list-scrollbar-thumb { background: rgb(0 0 0 / 20%) !important; } } .ant-tag { font-size: 14px !important; } html[data-theme='dark'] { h1, h2, h3, h4, h5, h6 { color: rgb(255 255 255 / 65%); } .ant-tree, .ant-select-tree { &-list-scrollbar-thumb { background: rgb(255 255 255 / 20%) !important; } } } // fix unocss for login.vue @media (max-width: @screen-md) { .md\:hidden { display: none; } }