Files
lemma/frontend/src/App.scss

106 lines
1.4 KiB
SCSS

// Variables
$padding: 20px;
$navbar-height: 64px;
.custom-navbar {
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 $padding;
height: $navbar-height;
}
.sidebar {
overflow-y: auto;
padding: $padding;
}
.main-content {
display: flex;
flex-direction: column;
overflow: hidden;
}
.content-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: $padding;
.breadcrumbs-container {
flex-grow: 1;
display: flex;
align-items: center;
.unsaved-indicator {
margin-left: 8px;
}
}
.tabs {
flex-shrink: 0;
}
}
.disabled {
opacity: 0.6;
cursor: not-allowed;
}
.setting-group {
margin-bottom: 1rem;
}
.setting-item {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 0.5rem;
}
.content-body {
flex-grow: 1;
overflow: hidden;
display: flex;
flex-direction: column;
}
.editor-container, .markdown-preview {
flex-grow: 1;
overflow-y: auto;
padding: $padding;
}
.editor-container {
height: 100%;
.cm-editor {
height: 100%;
}
.cm-scroller {
overflow: auto;
}
}
// Geist UI Tree component customization
:global {
.file-tree {
.label {
display: flex;
align-items: center;
}
.icon {
margin-right: 8px;
}
.name {
font-size: 14px;
}
.selected {
color: #0070f3;
font-weight: bold;
}
}
}