body { font-family: Arial, sans-serif; padding: 10px; width: 400px; min-height: 400px; box-sizing: border-box; transition: background-color 0.3s, color 0.3s; } h2 { margin-top: 0; } textarea { width: 100%; height: 150px; box-sizing: border-box; resize: none; transition: background-color 0.3s, color 0.3s, border-color 0.3s; } button { margin-top: 5px; display: inline-block; margin-right: 5px; transition: background-color 0.3s; } label { display: block; margin-bottom: 4px; } input[type="checkbox"] { margin-right: 5px; } select { margin-left: 5px; padding: 2px; width: 150px; transition: background-color 0.3s, color 0.3s, border-color 0.3s; } select[multiple] { width: 150px; height: 60px; } .field { display: block; } .field[style*="none"] { display: none; } .field.project { margin-bottom: 8px; } #platformDisplay { font-family: Arial, sans-serif; font-size: 14px; margin-bottom: 10px; color: #333; transition: color 0.3s; } #platformName { font-weight: bold; color: #0056d2; } .header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; } .tags-editor-section { display: flex; align-items: center; gap: 8px; } .tags-editor-btn { background: #007bff; color: white; border: none; border-radius: 4px; padding: 6px 12px; font-size: 12px; cursor: pointer; margin: 0; } .tags-editor-btn:hover { background: #0056b3; } .tags-editor-btn strong { font-weight: bold; } .back-button { background: #6c757d; color: white; border: none; border-radius: 4px; padding: 5px 10px; cursor: pointer; margin: 0; } .back-button:hover { background: #545b62; } .delete-button { background: #dc3545; color: white; border: none; border-radius: 4px; padding: 5px 10px; cursor: pointer; } .delete-button:hover { background: #c82333; } #templateEditorView { width: 100%; height: 100%; } #editorPasswordSection { background: #f8f9fa; padding: 15px; border-radius: 5px; margin-bottom: 15px; transition: background-color 0.3s, border-color 0.3s; } #editorContent { background: #ffffff; padding: 15px; border: 1px solid #dee2e6; border-radius: 5px; transition: background-color 0.3s, border-color 0.3s; } #addProjectSection { background: #e9ecef; padding: 10px; border-radius: 4px; margin-bottom: 15px; transition: background-color 0.3s; } #manageProjectsSection { background: #f8f9fa; padding: 10px; border-radius: 4px; transition: background-color 0.3s; } #projectTagsEditor { background: #ffffff; padding: 10px; border: 1px solid #dee2e6; border-radius: 4px; margin-top: 10px; transition: background-color 0.3s, border-color 0.3s; } #currentTags { background: #f1f3f4; padding: 8px; border-radius: 4px; margin: 10px 0; min-height: 40px; transition: background-color 0.3s; display: flex; flex-wrap: wrap; gap: 4px; } .tag-item { display: flex; align-items: center; background: #007bff; color: white; padding: 4px 8px; border-radius: 12px; font-size: 12px; transition: background-color 0.3s; cursor: grab; user-select: none; } .tag-item.dragging { opacity: 0.5; background: #0056b3; } .tag-order { background: rgba(255, 255, 255, 0.2); border-radius: 50%; width: 16px; height: 16px; display: flex; align-items: center; justify-content: center; margin-right: 4px; font-size: 10px; } .tag-name { margin-right: 4px; } .tag-remove { background: #dc3545; color: white; border: none; border-radius: 50%; width: 16px; height: 16px; font-size: 10px; cursor: pointer; transition: background-color 0.3s; display: flex; align-items: center; justify-content: center; padding: 0; margin-left: 4px; } .tag-remove:hover { background: #c82333; } /* Dark Mode Styles */ body.dark-mode { background-color: #1e1e1e; color: #e0e0e0; } .dark-mode #mainView, .dark-mode #templateEditorView { background-color: #1e1e1e; color: #e0e0e0; } .dark-mode textarea, .dark-mode input, .dark-mode select { background-color: #2d2d2d; color: #e0e0e0; border-color: #444; } .dark-mode .tags-editor-btn, .dark-mode .back-button, .dark-mode .delete-button { color: white; } .dark-mode #editorPasswordSection, .dark-mode #editorContent, .dark-mode #addProjectSection, .dark-mode #manageProjectsSection, .dark-mode #projectTagsEditor { background-color: #2d2d2d; border-color: #444; } .dark-mode #currentTags { background-color: #1e1e1e; } .dark-mode .tag-item { background-color: #0056b3; } .dark-mode-btn { background: #333; color: white; border: none; border-radius: 4px; padding: 6px 12px; font-size: 12px; cursor: pointer; margin-right: 8px; } .dark-mode-btn:hover { background: #555; } #project option { cursor: move; padding: 2px 5px; } #project option.dragging { background: #f8f9fa; opacity: 0.5; } .dark-mode #project option.dragging { background: #3d3d3d; }