158 lines
2.5 KiB
CSS
158 lines
2.5 KiB
CSS
body {
|
|
background-color: #0d1117;
|
|
color: #e6edf3;
|
|
font-family:
|
|
-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial,
|
|
sans-serif;
|
|
margin: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
#hero {
|
|
display: flex;
|
|
height: 100vh;
|
|
}
|
|
|
|
#sidebar {
|
|
width: 260px;
|
|
background-color: #161b22;
|
|
border-right: 1px solid #30363d;
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 16px;
|
|
}
|
|
|
|
.project-list {
|
|
flex-grow: 1;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.project-row {
|
|
display: flex;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.project-item {
|
|
flex-grow: 1;
|
|
background: transparent;
|
|
border: none;
|
|
color: #c9d1d9;
|
|
text-align: left;
|
|
padding: 8px 12px;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.project-item:hover {
|
|
background-color: #21262d;
|
|
}
|
|
.project-item.active {
|
|
background-color: #238636;
|
|
color: white;
|
|
}
|
|
|
|
.delete-btn {
|
|
background: transparent;
|
|
border: none;
|
|
color: #8b949e;
|
|
cursor: pointer;
|
|
padding: 0 10px;
|
|
font-size: 18px;
|
|
}
|
|
|
|
.delete-btn:hover {
|
|
color: #f85149;
|
|
}
|
|
|
|
#add-project {
|
|
background-color: #21262d;
|
|
border: 1px solid #30363d;
|
|
color: #58a6ff;
|
|
padding: 10px;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
#open-project {
|
|
flex-grow: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 40px;
|
|
}
|
|
|
|
.title-input {
|
|
background: transparent;
|
|
border: none;
|
|
font-size: 32px;
|
|
font-weight: bold;
|
|
color: white;
|
|
outline: none;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.content-editor {
|
|
background: transparent;
|
|
border: none;
|
|
color: #c9d1d9;
|
|
font-size: 18px;
|
|
line-height: 1.6;
|
|
flex-grow: 1;
|
|
resize: none;
|
|
outline: none;
|
|
}
|
|
|
|
.empty-state {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
height: 100%;
|
|
color: #8b949e;
|
|
}
|
|
|
|
/* Modal */
|
|
.modal-overlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: rgba(0, 0, 0, 0.7);
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.modal-box {
|
|
background: #161b22;
|
|
padding: 24px;
|
|
border-radius: 12px;
|
|
border: 1px solid #30363d;
|
|
width: 300px;
|
|
text-align: center;
|
|
}
|
|
|
|
.modal-buttons {
|
|
display: flex;
|
|
gap: 10px;
|
|
justify-content: center;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.btn-confirm {
|
|
background: #da3633;
|
|
color: white;
|
|
border: none;
|
|
padding: 8px 16px;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
}
|
|
.btn-cancel {
|
|
background: #30363d;
|
|
color: white;
|
|
border: none;
|
|
padding: 8px 16px;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
}
|