mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-19 17:36:25 +00:00
- Add @super-productivity/plugin-api package with TypeScript definitions - Define core plugin interfaces, types, and manifest structure - Add plugin hooks system for event-driven architecture - Create plugin API type definitions and constants - Add documentation and development guidelines
174 lines
3.1 KiB
CSS
174 lines
3.1 KiB
CSS
* {
|
|
box-sizing: border-box;
|
|
}
|
|
body {
|
|
margin: 0;
|
|
padding: 16px;
|
|
font-family:
|
|
-apple-system,
|
|
BlinkMacSystemFont,
|
|
Segoe UI,
|
|
Roboto,
|
|
Oxygen,
|
|
Ubuntu,
|
|
Cantarell,
|
|
sans-serif;
|
|
font-size: 14px;
|
|
color: var(--text-color, #333);
|
|
background-color: transparent;
|
|
}
|
|
.sync-md-app {
|
|
max-width: 600px;
|
|
margin: 0 auto;
|
|
}
|
|
h2 {
|
|
margin-top: 0;
|
|
margin-bottom: 16px;
|
|
font-size: 18px;
|
|
font-weight: 500;
|
|
}
|
|
h3 {
|
|
font-size: 16px;
|
|
margin-bottom: 12px;
|
|
}
|
|
.field-group {
|
|
margin-bottom: 16px;
|
|
}
|
|
label {
|
|
display: block;
|
|
margin-bottom: 4px;
|
|
font-weight: 500;
|
|
font-size: 13px;
|
|
color: var(--text-secondary, #666);
|
|
}
|
|
input,
|
|
select,
|
|
textarea {
|
|
width: 100%;
|
|
padding: 8px 12px;
|
|
border: 1px solid var(--border-color, #ccc);
|
|
border-radius: 4px;
|
|
font-size: 14px;
|
|
background-color: var(--input-bg, #fff);
|
|
color: var(--text-color, #333);
|
|
}
|
|
input:focus,
|
|
select:focus,
|
|
textarea:focus {
|
|
outline: none;
|
|
border-color: var(--primary-color, #2196f3);
|
|
box-shadow: 0 0 0 2px #2196f333;
|
|
}
|
|
input:disabled,
|
|
select:disabled {
|
|
opacity: 0.6;
|
|
cursor: not-allowed;
|
|
}
|
|
button {
|
|
padding: 8px 16px;
|
|
border: none;
|
|
border-radius: 4px;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
}
|
|
button:disabled {
|
|
opacity: 0.6;
|
|
cursor: not-allowed;
|
|
}
|
|
.btn-primary {
|
|
background-color: var(--primary-color, #2196f3);
|
|
color: #fff;
|
|
}
|
|
.btn-primary:hover:not(:disabled) {
|
|
background-color: var(--primary-dark, #1976d2);
|
|
}
|
|
.btn-secondary {
|
|
background-color: transparent;
|
|
color: var(--primary-color, #2196f3);
|
|
border: 1px solid var(--primary-color, #2196f3);
|
|
}
|
|
.btn-secondary:hover:not(:disabled) {
|
|
background-color: #2196f314;
|
|
}
|
|
.button-group {
|
|
display: flex;
|
|
gap: 8px;
|
|
margin-top: 16px;
|
|
}
|
|
.status {
|
|
padding: 8px;
|
|
border-radius: 4px;
|
|
margin-top: 16px;
|
|
font-size: 13px;
|
|
}
|
|
.status.success {
|
|
background-color: #4caf501a;
|
|
color: #4caf50;
|
|
border: 1px solid #4caf50;
|
|
}
|
|
.status.error {
|
|
background-color: #f443361a;
|
|
color: #f44336;
|
|
border: 1px solid #f44336;
|
|
}
|
|
.status.info {
|
|
background-color: #2196f31a;
|
|
color: #2196f3;
|
|
border: 1px solid #2196f3;
|
|
}
|
|
.sync-info {
|
|
margin-top: 24px;
|
|
padding-top: 16px;
|
|
border-top: 1px solid var(--border-color, #ccc);
|
|
}
|
|
.sync-item {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 8px 0;
|
|
font-size: 13px;
|
|
}
|
|
.sync-item-label {
|
|
color: var(--text-secondary, #666);
|
|
}
|
|
.sync-item-value {
|
|
font-weight: 500;
|
|
}
|
|
.preview-container {
|
|
margin-top: 16px;
|
|
padding: 12px;
|
|
background-color: var(--bg-secondary, #f5f5f5);
|
|
border-radius: 4px;
|
|
max-height: 200px;
|
|
overflow-y: auto;
|
|
}
|
|
.preview-container pre {
|
|
margin: 0;
|
|
font-family:
|
|
Consolas,
|
|
Monaco,
|
|
Courier New,
|
|
monospace;
|
|
font-size: 12px;
|
|
white-space: pre-wrap;
|
|
word-wrap: break-word;
|
|
}
|
|
.help-text {
|
|
font-size: 12px;
|
|
color: var(--text-secondary, #666);
|
|
margin-top: 4px;
|
|
}
|
|
@media (prefers-color-scheme: dark) {
|
|
body {
|
|
--text-color: #e0e0e0;
|
|
--text-secondary: #999;
|
|
--background-color: #1e1e1e;
|
|
--border-color: #444;
|
|
--input-bg: #2a2a2a;
|
|
--bg-secondary: #2a2a2a;
|
|
--primary-color: #42a5f5;
|
|
--primary-dark: #1e88e5;
|
|
}
|
|
}
|