add documents for style mockups
This commit is contained in:
@@ -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>
|
||||
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user