add documents for style mockups

This commit is contained in:
2025-08-19 08:50:40 -05:00
parent 58090e0600
commit 8e8f31fc5b
2 changed files with 168 additions and 0 deletions
+55
View File
@@ -0,0 +1,55 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Plant Manager</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="app">
<aside class="sidebar">
<div class="sidebar-header">
<h1>🌿Plant Manager</h1>
</div>
<nav class="sidebar-nav">
<a href="#">🏠 Home</a>
<a href="#">📖 Plant Compendium</a>
<a href="#">🪴 My Plants</a>
<a href="#">🌱 Grow Media</a>
<a href="#">🛠️ Maintenance</a>
</nav>
<div class="sidebar-footer">
sidebar footer content
</div>
</aside>
<div class="main">
<header class="header">
<h2>Dashboard</h2>
</header>
<main class="content">
<section class="card">
<h3>Welcome</h3>
<p>This is plant manager dashboard.</p>
</section>
<section class="card">
<h3>Status Badges</h3>
<div class="badges">
<span class="badge badge-success">Active</span>
<span class="badge badge-warning">Pending</span>
<span class="badge badge-error">Error</span>
</div>
</section>
</main>
</div>
</div>
</body>
</html>
+113
View File
@@ -0,0 +1,113 @@
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body,
html {
height: 100%;
font-family: 'Univers LT Pro',-apple-system,system-ui,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',sans-serif;
color: #111827;
}
.app {
display: flex;
height: 100%;
}
.sidebar {
width: 240px;
background: #fff;
border-right: 1px solid #e5e7eb;
display: flex;
flex-direction: column;
}
.sidebar-header {
height: 60px;
display: flex;
align-items: center;
justify-content: center;
border-bottom: 1px solid #e5e7eb;
font-weight: 600;
}
.sidebar-nav {
flex: 1;
padding: 1rem;
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.sidebar-nav a {
text-decoration: none;
font-size: 14px;
color: #374151;
padding: 8px 12px;
border-radius: 6px;
}
.sidebar-nav a:hover {
background: #f3f4f6;
}
.sidebar-footer {
padding: 1rem;
border-top: 1px solid #e5e7eb;
}
.main {
flex: 1;
display: flex;
flex-direction: column;
}
.header {
height: 60px;
background: #fff;
border-bottom: 1px solid #e5e7eb;
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 1rem;
}
.content {
display: flex;
flex: 1;
overflow-y: auto;
flex-direction: column;
}
.card {
background: #fff;
padding: 1rem;
}
.card h3 {
margin-bottom: 0.5rem;
font-weight: 600;
}
.badge {
display: inline-block;
padding: 4px 10px;
font-size: 12px;
font-weight: 500;
border-radius: 9999px;
color: #fff;
}
.badge-success {
background: #16a34a;
}
.badge-warning {
background: #f59e0b;
}
.badge-error {
background: #dc2626;
}