|
|
@@ -0,0 +1,197 @@
|
|
|
+// Ant Design Vue 样式覆盖
|
|
|
+
|
|
|
+// 上传组件样式
|
|
|
+.ant-upload {
|
|
|
+ input[type="file"] {
|
|
|
+ display: none !important;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+.cell {
|
|
|
+ .ant-tag {
|
|
|
+ margin-right: 0px;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+.small-padding {
|
|
|
+ .cell {
|
|
|
+ padding-left: 5px;
|
|
|
+ padding-right: 5px;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+.fixed-width {
|
|
|
+ .ant-btn-sm {
|
|
|
+ padding: 4px 15px;
|
|
|
+ width: 60px;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+.status-col {
|
|
|
+ .cell {
|
|
|
+ padding: 0 10px;
|
|
|
+ text-align: center;
|
|
|
+
|
|
|
+ .ant-tag {
|
|
|
+ margin-right: 0px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+// Modal 样式 - 玻璃质感
|
|
|
+.ant-modal {
|
|
|
+ .ant-modal-content {
|
|
|
+ border-radius: 16px !important;
|
|
|
+ background: rgba(255, 255, 255, 0.7) !important;
|
|
|
+ backdrop-filter: blur(20px) saturate(180%) !important;
|
|
|
+ -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
|
|
|
+ box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
|
|
|
+ border: 1px solid rgba(255, 255, 255, 0.5) !important;
|
|
|
+ overflow: hidden;
|
|
|
+ }
|
|
|
+
|
|
|
+ .ant-modal-header {
|
|
|
+ background: transparent !important;
|
|
|
+ border-bottom: 1px solid rgba(0, 0, 0, 0.05);
|
|
|
+ padding: 20px 24px !important;
|
|
|
+
|
|
|
+ .ant-modal-title {
|
|
|
+ font-weight: 600;
|
|
|
+ color: #1e293b;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .ant-modal-close {
|
|
|
+ top: 24px;
|
|
|
+ right: 24px;
|
|
|
+ color: #94a3b8;
|
|
|
+ transition: all 0.3s;
|
|
|
+
|
|
|
+ &:hover {
|
|
|
+ color: #ef4444;
|
|
|
+ transform: rotate(90deg);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .ant-modal-body {
|
|
|
+ background: transparent !important;
|
|
|
+ padding: 24px !important;
|
|
|
+ color: #334155;
|
|
|
+ }
|
|
|
+
|
|
|
+ .ant-modal-footer {
|
|
|
+ padding: 16px 24px 24px !important;
|
|
|
+ border-top: 1px solid rgba(0, 0, 0, 0.05);
|
|
|
+ background: transparent !important;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+// Drawer 样式 - 玻璃质感
|
|
|
+.ant-drawer {
|
|
|
+ .ant-drawer-content {
|
|
|
+ background: rgba(255, 255, 255, 0.7) !important;
|
|
|
+ backdrop-filter: blur(20px) saturate(180%) !important;
|
|
|
+ -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
|
|
|
+ box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15) !important;
|
|
|
+ border-left: 1px solid rgba(255, 255, 255, 0.5) !important;
|
|
|
+ }
|
|
|
+
|
|
|
+ .ant-drawer-header {
|
|
|
+ background: transparent !important;
|
|
|
+ margin-bottom: 0 !important;
|
|
|
+ padding: 20px 24px !important;
|
|
|
+ border-bottom: 1px solid rgba(0, 0, 0, 0.05);
|
|
|
+
|
|
|
+ .ant-drawer-title {
|
|
|
+ font-weight: 600;
|
|
|
+ color: #1e293b;
|
|
|
+ font-size: 18px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .ant-drawer-close {
|
|
|
+ transition: all 0.3s;
|
|
|
+ &:hover {
|
|
|
+ color: #ef4444;
|
|
|
+ transform: rotate(90deg);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .ant-drawer-body {
|
|
|
+ background: transparent !important;
|
|
|
+ padding: 24px !important;
|
|
|
+ color: #334155;
|
|
|
+ }
|
|
|
+
|
|
|
+ .ant-drawer-footer {
|
|
|
+ padding: 16px 24px 24px !important;
|
|
|
+ border-top: 1px solid rgba(0, 0, 0, 0.05);
|
|
|
+ background: transparent !important;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+// 上传容器
|
|
|
+.upload-container {
|
|
|
+ .ant-upload {
|
|
|
+ width: 100%;
|
|
|
+
|
|
|
+ .ant-upload-dragger {
|
|
|
+ width: 100%;
|
|
|
+ height: 200px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+// 日期选择器样式修复
|
|
|
+.ant-picker-range {
|
|
|
+ display: inline-flex !important;
|
|
|
+}
|
|
|
+
|
|
|
+// 菜单样式
|
|
|
+.ant-menu {
|
|
|
+ border: none;
|
|
|
+
|
|
|
+ &.ant-menu-inline-collapsed {
|
|
|
+ .ant-menu-submenu-title {
|
|
|
+ .ant-menu-submenu-arrow {
|
|
|
+ display: none;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+// 下拉菜单样式
|
|
|
+.ant-dropdown-menu {
|
|
|
+ a {
|
|
|
+ display: block;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+// Message 样式
|
|
|
+.ant-message {
|
|
|
+ .ant-message-notice {
|
|
|
+ .ant-message-notice-content {
|
|
|
+ border-radius: 12px !important;
|
|
|
+ box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
|
|
|
+ border: 1px solid rgba(255, 255, 255, 0.6) !important;
|
|
|
+ padding: 12px 20px !important;
|
|
|
+ min-width: 300px !important;
|
|
|
+ backdrop-filter: blur(12px) !important;
|
|
|
+ -webkit-backdrop-filter: blur(12px) !important;
|
|
|
+ background: rgba(255, 255, 255, 0.95) !important;
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+// Notification 样式
|
|
|
+.ant-notification {
|
|
|
+ .ant-notification-notice {
|
|
|
+ border-radius: 16px !important;
|
|
|
+ border: 1px solid rgba(255, 255, 255, 0.6) !important;
|
|
|
+ box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1) !important;
|
|
|
+ padding: 16px 24px !important;
|
|
|
+ backdrop-filter: blur(16px) !important;
|
|
|
+ -webkit-backdrop-filter: blur(16px) !important;
|
|
|
+ background: rgba(255, 255, 255, 0.95) !important;
|
|
|
+ }
|
|
|
+}
|