mindflow-workspace / style.css
vs7091's picture
MASTER PROMPT — BUILD FROM SCRATCH
58d09df verified
Raw
History Blame Contribute Delete
3.01 kB
:root {
--primary: #8bd8bd;
--primary-light: #c0f0e2;
--primary-dark: #5aa58b;
--text: #2d3748;
--text-light: #4a5568;
--bg: #f8fafc;
--sidebar-bg: #ffffff;
--border: #e2e8f0;
--shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Inter', sans-serif;
}
body {
background-color: var(--bg);
color: var(--text);
height: 100vh;
overflow: hidden;
}
.app-container {
display: flex;
height: 100%;
}
.sidebar {
width: 280px;
background-color: var(--sidebar-bg);
border-right: 1px solid var(--border);
padding: 1.5rem;
display: flex;
flex-direction: column;
height: 100%;
}
.sidebar-header {
margin-bottom: 2rem;
}
.logo {
font-size: 1.5rem;
font-weight: 600;
color: var(--primary-dark);
margin-bottom: 1rem;
}
.new-note-btn {
width: 100%;
padding: 0.75rem;
background-color: var(--primary);
color: white;
border: none;
border-radius: 8px;
font-weight: 500;
cursor: pointer;
transition: all 0.2s;
}
.new-note-btn:hover {
background-color: var(--primary-dark);
}
.sidebar-nav ul {
list-style: none;
}
.sidebar-nav li {
margin-bottom: 0.5rem;
}
.sidebar-nav a {
display: flex;
align-items: center;
padding: 0.75rem;
border-radius: 8px;
color: var(--text-light);
text-decoration: none;
transition: all 0.2s;
}
.sidebar-nav a:hover {
background-color: var(--primary-light);
color: var(--primary-dark);
}
.sidebar-nav .active a {
background-color: var(--primary-light);
color: var(--primary-dark);
font-weight: 500;
}
.icon {
margin-right: 0.75rem;
font-size: 1.1rem;
}
.workspace {
flex: 1;
display: flex;
flex-direction: column;
overflow: hidden;
}
.workspace-header {
padding: 1.5rem;
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 1px solid var(--border);
}
.breadcrumbs {
font-weight: 500;
}
.search-bar input {
padding: 0.5rem 1rem;
border: 1px solid var(--border);
border-radius: 8px;
width: 300px;
outline: none;
transition: all 0.2s;
}
.search-bar input:focus {
border-color: var(--primary);
box-shadow: 0 0 0 2px var(--primary-light);
}
.note-editor {
flex: 1;
padding: 2rem;
overflow-y: auto;
}
.note-toolbar {
display: flex;
gap: 0.5rem;
margin-bottom: 1rem;
padding-bottom: 1rem;
border-bottom: 1px solid var(--border);
}
.tool-btn {
background: none;
border: none;
padding: 0.5rem;
border-radius: 4px;
cursor: pointer;
transition: all 0.2s;
}
.tool-btn:hover {
background-color: var(--primary-light);
}
.note-content {
min-height: 100%;
outline: none;
}
.note-content h1 {
font-size: 2rem;
margin-bottom: 1.5rem;
color: var(--primary-dark);
}
.note-content p {
line-height: 1.6;
margin-bottom: 1rem;
}