feat(templates): enrichUI with Tailwind styling and messaging component improvements
- Add custom border, background, and spacing utilities to base template - Enhance message notification styling and layout - Update delete modal button appearance and behavior - Refine comment card component with Tailwind classes and responsive behavior - Adjust sidebar responsiveness for mobile view
This commit is contained in:
50 files changed
+839
-861
No files matched your search
+38
-3
@@ -14,11 +14,46 @@
|
||||
<script src="https://cdn.jsdelivr.net/npm/quill@2.0.2/dist/quill.min.js"></script>
|
||||
{% load static tailwind_cli %}
|
||||
{% tailwind_css %}
|
||||
<style>[x-cloak] { display: none !important; }</style>
|
||||
<style>
|
||||
[x-cloak] { display: none !important; }
|
||||
|
||||
.border-subtle { border-color: rgba(0,0,0,0.06); }
|
||||
.border-soft { border-color: rgba(0,0,0,0.10); }
|
||||
.border-emphasis { border-color: rgba(0,0,0,0.18); }
|
||||
|
||||
.bg-canvas { background-color: #f6f8fa; }
|
||||
.bg-elevated { background-color: #ffffff; }
|
||||
.bg-hover { background-color: rgba(0,0,0,0.03); }
|
||||
|
||||
.stat-card {
|
||||
background: #fff;
|
||||
border: 1px solid rgba(0,0,0,0.06);
|
||||
border-radius: 12px;
|
||||
padding: 20px;
|
||||
transition: border-color 0.15s;
|
||||
}
|
||||
.stat-card:hover { border-color: rgba(59,130,246,0.25); }
|
||||
|
||||
.card-surface {
|
||||
background: #fff;
|
||||
border: 1px solid rgba(0,0,0,0.06);
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
.text-primary { color: #0b1c33; }
|
||||
.text-secondary { color: #3c4a5c; }
|
||||
.text-tertiary { color: #6b7a8e; }
|
||||
.text-muted { color: #9ca3af; }
|
||||
|
||||
@media (max-width: 1023px) {
|
||||
.sidebar-mobile { transform: translateX(-100%); }
|
||||
.sidebar-mobile.mobile-open { transform: translateX(0); }
|
||||
}
|
||||
</style>
|
||||
{% block extra_head %}{% endblock %}
|
||||
</head>
|
||||
<body class="min-h-screen bg-gray-50" x-data="{ sidebarOpen: false }">
|
||||
<body class="min-h-screen bg-canvas antialiased" x-data="{ sidebarOpen: false }">
|
||||
{% block content %}{% endblock %}
|
||||
{% block extra_scripts %}{% endblock %}
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
Reference in new issue
Block a user