UNPKG

browser-plugin-creator

Version:

A modern scaffolding tool for creating browser extensions with ease

185 lines (157 loc) 2.77 kB
/* 弹出窗口样式 */ body { width: 350px; min-height: 500px; margin: 0; padding: 0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: #f8f9fa; color: #333; } .header { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; padding: 20px; text-align: center; } .header h1 { margin: 0; font-size: 20px; font-weight: 600; } .version { font-size: 12px; opacity: 0.8; margin-top: 5px; } .tabs { display: flex; background: white; border-bottom: 1px solid #e1e5e9; } .tab-btn { flex: 1; padding: 12px 8px; border: none; background: none; cursor: pointer; font-size: 13px; color: #666; border-bottom: 2px solid transparent; transition: all 0.3s ease; } .tab-btn.active { color: #667eea; border-bottom-color: #667eea; } .tab-btn:hover { background: #f8f9fa; } .tab-content { display: none; padding: 20px; } .tab-content.active { display: block; } .feature-section { margin-bottom: 25px; } .feature-section h3 { margin: 0 0 15px 0; font-size: 16px; color: #2c3e50; } .btn { padding: 10px 16px; border: none; border-radius: 6px; cursor: pointer; font-size: 14px; transition: all 0.3s ease; margin-right: 8px; margin-bottom: 8px; } .btn.primary { background: #667eea; color: white; } .btn.primary:hover { background: #5a6fd8; } .btn:disabled { background: #e9ecef; color: #6c757d; cursor: not-allowed; } .btn.link { background: none; color: #667eea; text-decoration: underline; padding: 5px 10px; } .stats { margin-top: 15px; background: white; border-radius: 8px; padding: 15px; box-shadow: 0 1px 3px rgba(0,0,0,0.1); } .stat-item { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #f1f3f4; } .stat-item:last-child { border-bottom: none; } .label { font-weight: 500; color: #555; } .setting-group { margin-bottom: 15px; } .setting-group label { display: flex; align-items: center; font-size: 14px; cursor: pointer; } .setting-group input[type="checkbox"] { margin-right: 10px; } .setting-group select { margin-left: auto; padding: 5px 10px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px; } .tool-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .tool-btn { padding: 20px 10px; border: 1px solid #e1e5e9; border-radius: 8px; background: white; cursor: pointer; font-size: 14px; text-align: center; transition: all 0.3s ease; } .tool-btn:hover { background: #f8f9fa; border-color: #667eea; transform: translateY(-1px); } .footer { padding: 15px 20px; background: white; border-top: 1px solid #e1e5e9; text-align: center; }