Skip to main content
Glama

Office MCP Server

by walkingzzzy
ChangesList.css5.39 kB
/* 修改建议列表样式 */ .changes-list { display: flex; flex-direction: column; height: 100%; background: #ffffff; border-radius: 8px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); overflow: hidden; } /* 头部区域 */ .changes-list-header { padding: 16px; background: #f8f9fa; border-bottom: 1px solid #e9ecef; } .header-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; } .header-title h3 { margin: 0; font-size: 18px; font-weight: 600; color: #212529; } .changes-count { font-size: 14px; color: #6c757d; background: #e9ecef; padding: 4px 8px; border-radius: 12px; } .header-stats { display: flex; gap: 16px; flex-wrap: wrap; } .stat-item { font-size: 12px; padding: 4px 8px; border-radius: 4px; font-weight: 500; } .stat-pending { background: #fff3cd; color: #856404; } .stat-accepted { background: #d1edff; color: #0c5460; } .stat-rejected { background: #f8d7da; color: #721c24; } /* 控制区域 */ .changes-list-controls { padding: 16px; background: #ffffff; border-bottom: 1px solid #e9ecef; } .controls-row { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; flex-wrap: wrap; } .search-box { position: relative; flex: 1; min-width: 200px; } .search-input { width: 100%; padding: 8px 32px 8px 12px; border: 1px solid #ced4da; border-radius: 4px; font-size: 14px; outline: none; transition: border-color 0.15s ease-in-out; } .search-input:focus { border-color: #0d6efd; box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.25); } .search-icon { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); color: #6c757d; pointer-events: none; } .filter-controls { display: flex; gap: 8px; align-items: center; } .filter-select, .sort-select { padding: 6px 8px; border: 1px solid #ced4da; border-radius: 4px; font-size: 14px; background: white; outline: none; cursor: pointer; } .filter-select:focus, .sort-select:focus { border-color: #0d6efd; } .sort-order-button { padding: 6px 10px; border: 1px solid #ced4da; border-radius: 4px; background: white; cursor: pointer; font-size: 16px; font-weight: bold; transition: all 0.15s ease-in-out; } .sort-order-button:hover { background: #f8f9fa; } .sort-order-button.asc { color: #28a745; } .sort-order-button.desc { color: #dc3545; } /* 批量操作 */ .batch-actions { display: flex; gap: 8px; justify-content: flex-end; } .batch-button { padding: 8px 16px; border: none; border-radius: 4px; font-size: 14px; font-weight: 500; cursor: pointer; transition: all 0.15s ease-in-out; } .batch-button:disabled { opacity: 0.6; cursor: not-allowed; } .batch-accept { background: #28a745; color: white; } .batch-accept:hover:not(:disabled) { background: #218838; } .batch-reject { background: #dc3545; color: white; } .batch-reject:hover:not(:disabled) { background: #c82333; } /* 内容区域 */ .changes-list-content { flex: 1; overflow-y: auto; padding: 8px; } .changes-items { display: flex; flex-direction: column; gap: 8px; } /* 空状态 */ .empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 20px; text-align: center; color: #6c757d; } .empty-state p { margin: 0 0 16px 0; font-size: 16px; } .clear-search-button, .show-all-button { padding: 8px 16px; border: 1px solid #0d6efd; border-radius: 4px; background: white; color: #0d6efd; cursor: pointer; font-size: 14px; transition: all 0.15s ease-in-out; } .clear-search-button:hover, .show-all-button:hover { background: #0d6efd; color: white; } /* 底部区域 */ .changes-list-footer { padding: 12px 16px; background: #f8f9fa; border-top: 1px solid #e9ecef; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; } .footer-info { font-size: 12px; color: #6c757d; } .footer-actions { display: flex; align-items: center; gap: 8px; } .pending-reminder { font-size: 12px; color: #856404; background: #fff3cd; padding: 4px 8px; border-radius: 4px; font-weight: 500; } /* 响应式设计 */ @media (max-width: 768px) { .controls-row { flex-direction: column; align-items: stretch; } .search-box { min-width: auto; } .filter-controls { justify-content: space-between; } .batch-actions { justify-content: stretch; } .batch-button { flex: 1; } .changes-list-footer { flex-direction: column; align-items: stretch; text-align: center; } } /* 滚动条样式 */ .changes-list-content::-webkit-scrollbar { width: 6px; } .changes-list-content::-webkit-scrollbar-track { background: #f1f1f1; } .changes-list-content::-webkit-scrollbar-thumb { background: #c1c1c1; border-radius: 3px; } .changes-list-content::-webkit-scrollbar-thumb:hover { background: #a8a8a8; } /* 动画效果 */ .changes-items { animation: fadeIn 0.3s ease-in-out; } @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } } /* 加载状态 */ .changes-list.loading { pointer-events: none; } .changes-list.loading .changes-list-content { opacity: 0.7; }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/walkingzzzy/office-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server