live-forum/server/admin/browser-extension/live-forum-cookie/options/options.css
2026-03-24 11:27:37 +08:00

207 lines
2.8 KiB
CSS

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
font-size: 14px;
color: #333;
background: #f5f5f5;
line-height: 1.5;
}
.container {
max-width: 600px;
margin: 0 auto;
padding: 24px;
}
.header {
text-align: center;
margin-bottom: 32px;
}
.header h1 {
font-size: 24px;
font-weight: 600;
color: #1a73e8;
margin-bottom: 8px;
}
.header .subtitle {
font-size: 14px;
color: #666;
}
.form {
background: #fff;
border-radius: 8px;
padding: 24px;
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
margin-bottom: 24px;
}
.form-section {
margin-bottom: 24px;
}
.form-section:last-of-type {
margin-bottom: 0;
}
.form-section h2 {
font-size: 16px;
font-weight: 600;
color: #333;
margin-bottom: 16px;
padding-bottom: 8px;
border-bottom: 1px solid #e0e0e0;
}
.form-group {
margin-bottom: 16px;
}
.form-group:last-child {
margin-bottom: 0;
}
.form-group label {
display: block;
font-weight: 500;
margin-bottom: 6px;
color: #333;
}
.form-group input,
.form-group select {
width: 100%;
padding: 10px 12px;
border: 1px solid #ddd;
border-radius: 4px;
font-size: 14px;
transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus {
outline: none;
border-color: #1a73e8;
}
.input-group {
display: flex;
gap: 8px;
}
.input-group input {
flex: 1;
}
.btn-icon {
padding: 10px 16px;
background: #e0e0e0;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 13px;
white-space: nowrap;
}
.btn-icon:hover {
background: #d0d0d0;
}
.help-text {
font-size: 12px;
color: #666;
margin-top: 4px;
}
.form-actions {
display: flex;
gap: 12px;
margin-top: 24px;
padding-top: 24px;
border-top: 1px solid #e0e0e0;
}
.btn {
padding: 12px 24px;
border: none;
border-radius: 4px;
font-size: 14px;
font-weight: 500;
cursor: pointer;
transition: background 0.2s;
}
.btn-primary {
background: #1a73e8;
color: #fff;
}
.btn-primary:hover {
background: #1557b0;
}
.btn-primary:disabled {
background: #ccc;
cursor: not-allowed;
}
.btn-secondary {
background: #e0e0e0;
color: #333;
}
.btn-secondary:hover {
background: #d0d0d0;
}
.message {
margin-top: 16px;
padding: 12px;
border-radius: 4px;
font-size: 13px;
}
.message.success {
background: #e8f5e9;
color: #2e7d32;
}
.message.error {
background: #ffebee;
color: #c62828;
}
.info-section {
background: #fff;
border-radius: 8px;
padding: 24px;
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.info-section h2 {
font-size: 16px;
font-weight: 600;
color: #333;
margin-bottom: 16px;
}
.info-section ol {
padding-left: 20px;
}
.info-section li {
margin-bottom: 8px;
color: #666;
}
.info-section li:last-child {
margin-bottom: 0;
}