Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,6 @@ pathsim==0.7.0
matplotlib==3.7.0
numpy==1.24.0
plotly~=6.0
pytest
pytest
sphinx>=4.0.0
docutils>=0.17.0
192 changes: 190 additions & 2 deletions src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@

/* This is the code for customizing the controls icons */
.react-flow__controls {
background-color: #1e1e2f !important;
padding: 6px;
min-height: 150px;
display: flex;
}

Expand Down Expand Up @@ -92,3 +90,193 @@
font-size: 12px;
color: #666;
}

/* Documentation HTML rendering styles for dark theme */
.documentation-content {
color: #e8e8e8;
}

.documentation-content p {
margin: 0.5em 0;
line-height: 1.4;
}

.documentation-content h1,
.documentation-content h2,
.documentation-content h3,
.documentation-content h4,
.documentation-content h5,
.documentation-content h6 {
color: #ffffff;
margin: 1em 0 0.5em 0;
font-weight: bold;
}

.documentation-content h2 {
font-size: 1.1em;
border-bottom: 1px solid #555;
padding-bottom: 0.2em;
}

.documentation-content h3 {
font-size: 1.05em;
}

.documentation-content pre {
background-color: #1a1a2e;
border: 1px solid #444;
border-radius: 3px;
padding: 0.8em;
overflow-x: auto;
font-family: 'Courier New', Consolas, monospace;
font-size: 0.9em;
margin: 0.5em 0;
}

.documentation-content code {
background-color: #1a1a2e;
padding: 0.1em 0.3em;
border-radius: 2px;
font-family: 'Courier New', Consolas, monospace;
font-size: 0.9em;
color: #ffd700;
}

.documentation-content pre code {
background-color: transparent;
padding: 0;
color: #e8e8e8;
}

.documentation-content ul,
.documentation-content ol {
margin: 0.5em 0;
padding-left: 1.5em;
}

.documentation-content li {
margin: 0.2em 0;
}

.documentation-content blockquote {
border-left: 3px solid #555;
padding-left: 1em;
margin: 0.5em 0;
font-style: italic;
color: #ccc;
}

.documentation-content table {
border-collapse: collapse;
width: 100%;
margin: 0.5em 0;
}

.documentation-content th,
.documentation-content td {
border: 1px solid #555;
padding: 0.4em;
text-align: left;
}

.documentation-content th {
background-color: #333;
font-weight: bold;
}

.documentation-content em {
font-style: italic;
color: #ddd;
}

.documentation-content strong {
font-weight: bold;
color: #ffffff;
}

.documentation-content a {
color: #78A083;
text-decoration: underline;
}

.documentation-content a:hover {
color: #9bc49f;
}

/* Docutils-specific classes */
.documentation-content .field-list {
margin: 0.5em 0;
}

.documentation-content .field-name {
font-weight: bold;
color: #ffffff;
}

.documentation-content .field-body {
margin-left: 1em;
}

.documentation-content .literal {
background-color: #1a1a2e;
padding: 0.1em 0.3em;
border-radius: 2px;
font-family: 'Courier New', Consolas, monospace;
color: #ffd700;
}

.documentation-content .note,
.documentation-content .warning,
.documentation-content .tip {
background-color: #2a2a3e;
border-left: 4px solid #78A083;
padding: 0.8em;
margin: 0.5em 0;
border-radius: 0 3px 3px 0;
}

.documentation-content .warning {
border-left-color: #e74c3c;
}

.documentation-content .note .first,
.documentation-content .warning .first,
.documentation-content .tip .first {
margin-top: 0;
}

.documentation-content .note .last,
.documentation-content .warning .last,
.documentation-content .tip .last {
margin-bottom: 0;
}

/* Custom scrollbar styles for sidebar */
.sidebar-scrollable {
scrollbar-width: thin;
scrollbar-color: #555 #1e1e2f;
}

.sidebar-scrollable::-webkit-scrollbar {
width: 8px;
}

.sidebar-scrollable::-webkit-scrollbar-track {
background: #1e1e2f;
border-radius: 4px;
}

.sidebar-scrollable::-webkit-scrollbar-thumb {
background: #555;
border-radius: 4px;
border: 1px solid #1e1e2f;
}

.sidebar-scrollable::-webkit-scrollbar-thumb:hover {
background: #666;
}

/* Smooth scrolling for the sidebar */
.sidebar-scrollable {
scroll-behavior: smooth;
}
Loading
Loading