diff --git a/templates/note_editor.html b/templates/note_editor.html index 8d00bdd..6573cef 100644 --- a/templates/note_editor.html +++ b/templates/note_editor.html @@ -277,6 +277,97 @@ margin: 0 auto; } +/* Page Header - Time Tracking style */ +.page-header { + background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); + border-radius: 16px; + padding: 2rem; + color: white; + box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); + margin-bottom: 2rem; +} + +.header-content { + display: flex; + justify-content: space-between; + align-items: center; + flex-wrap: wrap; + gap: 2rem; +} + +.page-title { + font-size: 2rem; + font-weight: 700; + margin: 0; + display: flex; + align-items: center; + gap: 0.75rem; +} + +.page-icon { + font-size: 2.5rem; + display: inline-block; + animation: float 3s ease-in-out infinite; +} + +@keyframes float { + 0%, 100% { transform: translateY(0); } + 50% { transform: translateY(-10px); } +} + +.page-subtitle { + font-size: 1.1rem; + opacity: 0.9; + margin: 0.5rem 0 0 0; +} + +.header-actions { + display: flex; + gap: 1rem; + flex-wrap: wrap; +} + +/* Button styles */ +.btn { + padding: 0.75rem 1.5rem; + border-radius: 8px; + font-weight: 600; + transition: all 0.3s ease; + border: 2px solid transparent; + display: inline-flex; + align-items: center; + gap: 0.5rem; + text-decoration: none; + cursor: pointer; +} + +.btn-primary { + background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); + color: white; + border: none; +} + +.btn-primary:hover { + transform: translateY(-2px); + box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3); +} + +.btn-secondary { + background: white; + color: #667eea; + border-color: #e5e7eb; +} + +.btn-secondary:hover { + transform: translateY(-2px); + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); + border-color: #667eea; +} + +.btn .icon { + font-size: 1.1em; +} + /* Settings Panel */ .settings-panel { margin-bottom: 2rem; @@ -285,10 +376,10 @@ .settings-card { background: white; - border: 1px solid #dee2e6; - border-radius: 8px; + border: 1px solid #e5e7eb; + border-radius: 16px; padding: 2rem; - box-shadow: 0 2px 4px rgba(0,0,0,0.1); + box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06); } .settings-grid { @@ -353,7 +444,7 @@ } .toggle-switch input:checked + .toggle-slider { - background-color: var(--primary-color); + background-color: #667eea; } .toggle-switch input:checked + .toggle-slider:before { @@ -375,10 +466,10 @@ /* Editor Panel */ .editor-card { background: white; - border: 1px solid #dee2e6; - border-radius: 8px; + border: 1px solid #e5e7eb; + border-radius: 16px; overflow: hidden; - box-shadow: 0 2px 4px rgba(0,0,0,0.1); + box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06); display: flex; flex-direction: column; height: 100%; @@ -474,10 +565,10 @@ /* Preview Panel */ .preview-card { background: white; - border: 1px solid #dee2e6; - border-radius: 8px; + border: 1px solid #e5e7eb; + border-radius: 16px; overflow: hidden; - box-shadow: 0 2px 4px rgba(0,0,0,0.1); + box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06); display: flex; flex-direction: column; height: 100%; diff --git a/templates/note_mindmap.html b/templates/note_mindmap.html index b8a2863..371c1ac 100644 --- a/templates/note_mindmap.html +++ b/templates/note_mindmap.html @@ -1,57 +1,148 @@ {% extends "layout.html" %} {% block content %} -
-
-

{{ note.title }} - Mind Map View

-
- - - - Back to Note - +
+ +
+
{% endblock %} \ No newline at end of file diff --git a/templates/note_mindmap_backup.html b/templates/note_mindmap_backup.html new file mode 100644 index 0000000..9edb10c --- /dev/null +++ b/templates/note_mindmap_backup.html @@ -0,0 +1 @@ +{% extends "layout.html" %}{% block content %}
Test
{% endblock %} \ No newline at end of file diff --git a/templates/note_mindmap_test.html b/templates/note_mindmap_test.html new file mode 100644 index 0000000..fbd468d --- /dev/null +++ b/templates/note_mindmap_test.html @@ -0,0 +1,8 @@ +{% extends "layout.html" %} + +{% block content %} +
+

Mind Map Test - {{ note.title }}

+

If you see this, the template is working.

+
+{% endblock %} \ No newline at end of file diff --git a/templates/note_mindmap_test_backup.html b/templates/note_mindmap_test_backup.html new file mode 100644 index 0000000..fbd468d --- /dev/null +++ b/templates/note_mindmap_test_backup.html @@ -0,0 +1,8 @@ +{% extends "layout.html" %} + +{% block content %} +
+

Mind Map Test - {{ note.title }}

+

If you see this, the template is working.

+
+{% endblock %} \ No newline at end of file diff --git a/templates/note_view.html b/templates/note_view.html index 4409c76..9f6d2b1 100644 --- a/templates/note_view.html +++ b/templates/note_view.html @@ -290,6 +290,98 @@ margin: 0 auto; } +/* Page Header - Time Tracking style */ +.page-header { + background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); + border-radius: 16px; + padding: 2rem; + color: white; + box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); + margin-bottom: 2rem; +} + +.header-content { + display: flex; + justify-content: space-between; + align-items: flex-start; + flex-wrap: wrap; + gap: 2rem; +} + +.page-title { + font-size: 2rem; + font-weight: 700; + margin: 0; + color: white; +} + +.header-actions { + display: flex; + gap: 1rem; + flex-wrap: wrap; +} + +/* Button styles */ +.btn { + padding: 0.75rem 1.5rem; + border-radius: 8px; + font-weight: 600; + transition: all 0.3s ease; + border: 2px solid transparent; + display: inline-flex; + align-items: center; + gap: 0.5rem; + text-decoration: none; + cursor: pointer; +} + +.btn-primary { + background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); + color: white; + border: none; +} + +.btn-primary:hover { + transform: translateY(-2px); + box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3); +} + +.btn-secondary { + background: white; + color: #667eea; + border-color: #e5e7eb; +} + +.btn-secondary:hover { + transform: translateY(-2px); + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); + border-color: #667eea; +} + +.btn-danger { + background: #ef4444; + color: white; +} + +.btn-danger:hover { + transform: translateY(-2px); + box-shadow: 0 8px 20px rgba(239, 68, 68, 0.3); +} + +.btn-success { + background: #10b981; + color: white; +} + +.btn-success:hover { + transform: translateY(-2px); + box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3); +} + +.btn .icon { + font-size: 1.1em; +} + /* Page Meta */ .page-meta { display: flex; @@ -297,12 +389,12 @@ gap: 0.75rem; flex-wrap: wrap; font-size: 0.875rem; - color: #6c757d; + color: rgba(255, 255, 255, 0.9); margin-top: 0.5rem; } .meta-divider { - color: #dee2e6; + color: rgba(255, 255, 255, 0.5); } .pin-badge { @@ -310,20 +402,28 @@ align-items: center; gap: 0.25rem; padding: 0.25rem 0.75rem; - background: #fff3cd; - color: #856404; + background: rgba(255, 255, 255, 0.2); + color: white; + border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 12px; font-weight: 500; } +/* Visibility badges for header */ +.page-header .visibility-badge { + background: rgba(255, 255, 255, 0.2); + color: white; + border: 1px solid rgba(255, 255, 255, 0.3); +} + /* Metadata Card */ .metadata-card { background: white; - border: 1px solid #dee2e6; - border-radius: 8px; + border: 1px solid #e5e7eb; + border-radius: 16px; padding: 1.5rem; margin-bottom: 2rem; - box-shadow: 0 2px 4px rgba(0,0,0,0.1); + box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06); } .metadata-grid { @@ -391,11 +491,11 @@ /* Content Card */ .content-card { background: white; - border: 1px solid #dee2e6; - border-radius: 8px; + border: 1px solid #e5e7eb; + border-radius: 16px; padding: 2.5rem; margin-bottom: 2rem; - box-shadow: 0 2px 4px rgba(0,0,0,0.1); + box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06); min-height: 400px; } diff --git a/templates/notes_folders.html b/templates/notes_folders.html index fdb379e..d09911c 100644 --- a/templates/notes_folders.html +++ b/templates/notes_folders.html @@ -1,14 +1,27 @@ {% extends "layout.html" %} {% block content %} -
-
-

Note Folders

-
- - Back to Notes +
+ + @@ -69,10 +82,100 @@