卡厄思
梦
境
菜单
首页
回到首页
WIKI工具
全站样式
全站JS
修改导航栏
测试
沙盒
可视化管理器
战斗员管理器
卡牌管理器
伙伴管理器
装备管理器
词典管理器
图鉴
战斗员
伙伴
装备
怪物卡牌
中立卡牌
词典
小工具
配队模拟器
节奏榜生成器
搜索
链入页面
相关更改
特殊页面
页面信息
最近更改
登录
MediaWiki
查看“︁Equipment.css”︁的源代码
←
MediaWiki:Equipment.css
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:
用户
此页面为本wiki上的软件提供界面文本,并受到保护以防止滥用。 如欲修改所有wiki的翻译,请访问
translatewiki.net
上的MediaWiki本地化项目。
您无权编辑此CSS页面,因为编辑此页面可能会影响所有访问者。
您可以查看和复制此页面的源代码。
/* 主容器 */ .equipment-manager { max-width: 1200px; margin: 20px auto; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; } /* 头部 */ .eq-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding: 15px 20px; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); border-radius: 8px; box-shadow: 0 4px 6px rgba(0,0,0,0.1); } .eq-title { font-size: 24px; font-weight: bold; color: white; } /* 按钮 */ .eq-btn { padding: 10px 20px; border-radius: 6px; cursor: pointer; font-weight: 500; transition: all 0.3s ease; user-select: none; } .eq-btn-primary { background: #4CAF50; color: white; } .eq-btn-primary:hover { background: #45a049; transform: translateY(-2px); box-shadow: 0 4px 8px rgba(76, 175, 80, 0.3); } .eq-btn-secondary { background: #6c757d; color: white; } .eq-btn-secondary:hover { background: #5a6268; } .eq-btn-small { display: inline-block; padding: 5px 12px; margin: 0 3px; border-radius: 4px; cursor: pointer; font-size: 13px; transition: all 0.2s ease; } .eq-btn-edit { background: #2196F3; color: white; } .eq-btn-edit:hover { background: #0b7dda; } .eq-btn-delete { background: #f44336; color: white; } .eq-btn-delete:hover { background: #da190b; } /* 表格 */ .eq-table { background: white; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 4px rgba(0,0,0,0.1); } .eq-table-header { display: flex; background: #f8f9fa; border-bottom: 2px solid #dee2e6; font-weight: bold; padding: 12px 10px; } .eq-th { flex: 1; padding: 0 10px; text-align: left; } .eq-th-image { flex: 0 0 80px; } .eq-th-name { flex: 0 0 150px; } .eq-th-actions { flex: 0 0 140px; text-align: center; } .eq-table-body { max-height: 600px; overflow-y: auto; } .eq-table-row { display: flex; padding: 12px 10px; border-bottom: 1px solid #e9ecef; transition: background 0.2s; align-items: center; } .eq-table-row:hover { background: #f8f9fa; } .eq-td { flex: 1; padding: 0 10px; word-wrap: break-word; } .eq-td-image { flex: 0 0 80px; } .eq-td-name { flex: 0 0 150px; font-weight: 500; } .eq-td-actions { flex: 0 0 140px; text-align: center; } .eq-thumbnail { width: 60px; height: 60px; object-fit: cover; border-radius: 6px; border: 2px solid #dee2e6; } /* 稀有度标签 */ .eq-rarity { padding: 3px 10px; border-radius: 12px; font-size: 12px; font-weight: bold; } .eq-rarity-蓝 { background: #e3f2fd; color: #1976d2; } .eq-rarity-紫 { background: #f3e5f5; color: #7b1fa2; } .eq-rarity-金{ background: #fff3e0; color: #f57c00; } /* 模态框 */ .eq-modal-backdrop { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 9998; } .eq-modal { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 9999; max-width: 700px; width: 90%; max-height: 90vh; overflow-y: auto; } .eq-modal-content { background: white; border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,0.3); } .eq-modal-header { display: flex; justify-content: space-between; align-items: center; padding: 20px 25px; border-bottom: 1px solid #e9ecef; } .eq-modal-title { font-size: 20px; font-weight: bold; } .eq-modal-close { font-size: 28px; cursor: pointer; color: #6c757d; line-height: 1; width: 30px; height: 30px; text-align: center; } .eq-modal-close:hover { color: #000; } .eq-modal-body { padding: 25px; max-height: calc(90vh - 160px); overflow-y: auto; } .eq-modal-footer { display: flex; justify-content: flex-end; gap: 10px; padding: 15px 25px; border-top: 1px solid #e9ecef; } /* 表单 */ .eq-form { display: flex; flex-direction: column; gap: 18px; } .eq-form-group { display: flex; flex-direction: column; gap: 8px; } .eq-label { font-weight: 500; color: #495057; font-size: 14px; } .eq-label-small { font-weight: 500; color: #495057; font-size: 13px; margin-bottom: 5px; } /* 可编辑输入框 */ .eq-input, .eq-input-small { border: 1px solid #ced4da; border-radius: 6px; padding: 10px 12px; background: white; transition: border-color 0.2s, box-shadow 0.2s; min-height: 20px; outline: none; } .eq-input:focus, .eq-input-small:focus { border-color: #80bdff; box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1); } .eq-input:empty:before, .eq-input-small:empty:before { content: attr(data-placeholder); color: #999; } .eq-input-small { padding: 8px 10px; font-size: 13px; } /* 自定义下拉框 */ .eq-select { position: relative; } .eq-select-display { border: 1px solid #ced4da; border-radius: 6px; padding: 10px 30px 10px 12px; background: white; cursor: pointer; transition: border-color 0.2s, box-shadow 0.2s; position: relative; } .eq-select-display:after { content: '▼'; position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 10px; color: #6c757d; } .eq-select-display:hover { border-color: #80bdff; } .eq-select-dropdown { display: none; position: absolute; top: 100%; left: 0; right: 0; margin-top: 4px; background: white; border: 1px solid #ced4da; border-radius: 6px; box-shadow: 0 4px 8px rgba(0,0,0,0.1); z-index: 1000; max-height: 200px; overflow-y: auto; } .eq-select-option { padding: 10px 12px; cursor: pointer; transition: background 0.2s; } .eq-select-option:hover { background: #f8f9fa; } .eq-select-option:first-child { border-radius: 6px 6px 0 0; } .eq-select-option:last-child { border-radius: 0 0 6px 6px; } /* 表单分组 */ .eq-form-section { margin-top: 20px; padding: 20px; background: #f8f9fa; border-radius: 8px; } .eq-section-title { font-size: 16px; font-weight: bold; margin-bottom: 15px; color: #495057; border-bottom: 2px solid #dee2e6; padding-bottom: 8px; } .eq-level-group { margin-bottom: 15px; padding: 15px; background: white; border-radius: 6px; border-left: 4px solid #667eea; } .eq-level-title { font-weight: bold; color: #667eea; margin-bottom: 10px; font-size: 15px; } .eq-form-row { display: flex; gap: 15px; } .eq-form-col { flex: 1; display: flex; flex-direction: column; } /* 滚动条样式 */ .eq-modal-body::-webkit-scrollbar, .eq-table-body::-webkit-scrollbar, .eq-select-dropdown::-webkit-scrollbar { width: 8px; } .eq-modal-body::-webkit-scrollbar-track, .eq-table-body::-webkit-scrollbar-track, .eq-select-dropdown::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 4px; } .eq-modal-body::-webkit-scrollbar-thumb, .eq-table-body::-webkit-scrollbar-thumb, .eq-select-dropdown::-webkit-scrollbar-thumb { background: #888; border-radius: 4px; } .eq-modal-body::-webkit-scrollbar-thumb:hover, .eq-table-body::-webkit-scrollbar-thumb:hover, .eq-select-dropdown::-webkit-scrollbar-thumb:hover { background: #555; } /* 响应式设计 */ @media (max-width: 768px) { .eq-header { flex-direction: column; gap: 10px; align-items: stretch; } .eq-table-header { display: none; } .eq-table-row { flex-direction: column; padding: 15px; gap: 10px; } .eq-td { width: 100%; } .eq-td:before { content: attr(data-label); font-weight: bold; margin-right: 10px; } .eq-modal { width: 95%; } .eq-form-row { flex-direction: column; } } /* 加载动画 */ @keyframes spin { to { transform: rotate(360deg); } } .eq-loading { display: inline-block; width: 20px; height: 20px; border: 3px solid rgba(255,255,255,.3); border-radius: 50%; border-top-color: white; animation: spin 1s linear infinite; } /* 空状态 */ .eq-empty { text-align: center; padding: 60px 20px; color: #6c757d; } .eq-empty-icon { font-size: 48px; margin-bottom: 15px; opacity: 0.5; } .eq-empty-text { font-size: 16px; }
返回
MediaWiki:Equipment.css
。