UNPKG

whistle.mock-plugins

Version:

Whistle 插件,用于快速创建 API 模拟数据

224 lines (175 loc) 2.48 kB
/* 全局样式 */ * { margin: 0; padding: 0; box-sizing: border-box; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'; } html, body, #root { height: 100%; width: 100%; } body { background-color: #f5f7fa; color: rgba(0, 0, 0, 0.85); font-size: 14px; line-height: 1.5715; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } h1, h2, h3, h4, h5, h6 { margin-top: 0; margin-bottom: 0.5em; color: rgba(0, 0, 0, 0.85); font-weight: 500; } p { margin-top: 0; margin-bottom: 1em; } button, input { font-size: 14px; } a { color: #1890ff; text-decoration: none; transition: all 0.3s; } a:hover { color: #40a9ff; } /* 辅助类 */ .text-center { text-align: center; } .text-right { text-align: right; } .text-left { text-align: left; } .mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: 4px; } .mb-2 { margin-bottom: 8px; } .mb-3 { margin-bottom: 16px; } .mb-4 { margin-bottom: 24px; } .mt-0 { margin-top: 0; } .mt-1 { margin-top: 4px; } .mt-2 { margin-top: 8px; } .mt-3 { margin-top: 16px; } .mt-4 { margin-top: 24px; } .ml-1 { margin-left: 4px; } .ml-2 { margin-left: 8px; } .ml-3 { margin-left: 16px; } .mr-1 { margin-right: 4px; } .mr-2 { margin-right: 8px; } .mr-3 { margin-right: 16px; } .p-0 { padding: 0; } .p-1 { padding: 4px; } .p-2 { padding: 8px; } .p-3 { padding: 16px; } .p-4 { padding: 24px; } /* 弹性布局 */ .d-flex { display: flex; } .align-center { align-items: center; } .justify-between { justify-content: space-between; } .justify-center { justify-content: center; } .flex-column { flex-direction: column; } .flex-wrap { flex-wrap: wrap; } .flex-1 { flex: 1; } /* 颜色 */ .text-primary { color: #1890ff; } .text-success { color: #52c41a; } .text-warning { color: #faad14; } .text-danger { color: #ff4d4f; } .text-secondary { color: rgba(0, 0, 0, 0.45); } .bg-white { background-color: #fff; } .bg-light { background-color: #f5f7fa; } /* 滚动条样式 */ ::-webkit-scrollbar { width: 6px; height: 6px; } ::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 3px; } ::-webkit-scrollbar-thumb { background: #c1c1c1; border-radius: 3px; } ::-webkit-scrollbar-thumb:hover { background: #a8a8a8; }