// Custom Theming for NG-ZORRO // For more information: https://ng.ant.design/docs/customize-theme/en @import "../../../node_modules/ng-zorro-antd/ng-zorro-antd.less"; // Override less variables to here // View all variables: https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/components/style/themes/default.less // @primary-color: #1890ff; /* You can add global styles to this file, and also import other style files */ @tailwind utilities; html, body { height: 100vh; } ul, li { list-style: none; margin: 0; padding: 0; } .upload-btn { position: relative; input { display: block; height: 100%; background-color: red; position: absolute; inset: 0; opacity: 0; font-size: 0; cursor: pointer; } } .dropUpload { position: relative; padding: 36px 0; text-align: center; font-size: 24px; color: rgba(0, 0, 0, 0.35); border: 1px dashed #e8e8e8; border-radius: 4px; background-color: #fafafa; cursor: pointer; } .upload-area { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 160px; border: 1px dashed #e8e8e8; border-radius: 10px; input { width: 100%; position: absolute; top: 0; left: 0; right: 0; bottom: 0; opacity: 0; z-index: 2; cursor: pointer; } } .fixed-footter { box-shadow: 0 0 10px -2px rgba(0, 0, 0, .25) } .scroll-card-body { height: 100%; &>.ant-card-body { overflow: auto; height: calc(100% - 60px); padding: 0 } &>.ant-card-head { position: relative; z-index: 10; } } ::-webkit-scrollbar { width: 10px; height: 10px; background-color: rgba(240, 240, 240, 1); } /*定义滚动条轨道 内阴影+圆角*/ ::-webkit-scrollbar-track { box-shadow: inset 0 0 0px rgba(240, 240, 240, 0.5); border-radius: 10px; background-color: rgba(240, 240, 240, 0.5); } /*定义滑块 内阴影+圆角*/ ::-webkit-scrollbar-thumb { border-radius: 10px; box-shadow: inset 0 0 0px rgba(240, 240, 240, 0.5); background-color: rgba(0, 0, 0, 0.171); } @media print { #root { display: none; } @page { size: auto; width: 100vw; margin: 5mm auto !important; } body { background-color: transparent !important; } * { color: #000 !important; } } .print-table { width: 100%; margin-bottom: 12px; border-collapse: collapse; border-spacing: 0; border: 1px solid #e8e8e8; td, th { padding: 6px 12px; border: 1px solid #000; font-weight: normal; } } .analysis-drawer { .ant-drawer-header-title { position: absolute; right: 0; top: 24px; } .ant-drawer-body { padding-top: 0; } }