|
21 | 21 |
|
22 | 22 | /* This is the code for customizing the controls icons */ |
23 | 23 | .react-flow__controls { |
24 | | - background-color: #1e1e2f !important; |
25 | 24 | padding: 6px; |
26 | | - min-height: 150px; |
27 | 25 | display: flex; |
28 | 26 | } |
29 | 27 |
|
|
92 | 90 | font-size: 12px; |
93 | 91 | color: #666; |
94 | 92 | } |
| 93 | + |
| 94 | +/* Documentation HTML rendering styles for dark theme */ |
| 95 | +.documentation-content { |
| 96 | + color: #e8e8e8; |
| 97 | +} |
| 98 | + |
| 99 | +.documentation-content p { |
| 100 | + margin: 0.5em 0; |
| 101 | + line-height: 1.4; |
| 102 | +} |
| 103 | + |
| 104 | +.documentation-content h1, |
| 105 | +.documentation-content h2, |
| 106 | +.documentation-content h3, |
| 107 | +.documentation-content h4, |
| 108 | +.documentation-content h5, |
| 109 | +.documentation-content h6 { |
| 110 | + color: #ffffff; |
| 111 | + margin: 1em 0 0.5em 0; |
| 112 | + font-weight: bold; |
| 113 | +} |
| 114 | + |
| 115 | +.documentation-content h2 { |
| 116 | + font-size: 1.1em; |
| 117 | + border-bottom: 1px solid #555; |
| 118 | + padding-bottom: 0.2em; |
| 119 | +} |
| 120 | + |
| 121 | +.documentation-content h3 { |
| 122 | + font-size: 1.05em; |
| 123 | +} |
| 124 | + |
| 125 | +.documentation-content pre { |
| 126 | + background-color: #1a1a2e; |
| 127 | + border: 1px solid #444; |
| 128 | + border-radius: 3px; |
| 129 | + padding: 0.8em; |
| 130 | + overflow-x: auto; |
| 131 | + font-family: 'Courier New', Consolas, monospace; |
| 132 | + font-size: 0.9em; |
| 133 | + margin: 0.5em 0; |
| 134 | +} |
| 135 | + |
| 136 | +.documentation-content code { |
| 137 | + background-color: #1a1a2e; |
| 138 | + padding: 0.1em 0.3em; |
| 139 | + border-radius: 2px; |
| 140 | + font-family: 'Courier New', Consolas, monospace; |
| 141 | + font-size: 0.9em; |
| 142 | + color: #ffd700; |
| 143 | +} |
| 144 | + |
| 145 | +.documentation-content pre code { |
| 146 | + background-color: transparent; |
| 147 | + padding: 0; |
| 148 | + color: #e8e8e8; |
| 149 | +} |
| 150 | + |
| 151 | +.documentation-content ul, |
| 152 | +.documentation-content ol { |
| 153 | + margin: 0.5em 0; |
| 154 | + padding-left: 1.5em; |
| 155 | +} |
| 156 | + |
| 157 | +.documentation-content li { |
| 158 | + margin: 0.2em 0; |
| 159 | +} |
| 160 | + |
| 161 | +.documentation-content blockquote { |
| 162 | + border-left: 3px solid #555; |
| 163 | + padding-left: 1em; |
| 164 | + margin: 0.5em 0; |
| 165 | + font-style: italic; |
| 166 | + color: #ccc; |
| 167 | +} |
| 168 | + |
| 169 | +.documentation-content table { |
| 170 | + border-collapse: collapse; |
| 171 | + width: 100%; |
| 172 | + margin: 0.5em 0; |
| 173 | +} |
| 174 | + |
| 175 | +.documentation-content th, |
| 176 | +.documentation-content td { |
| 177 | + border: 1px solid #555; |
| 178 | + padding: 0.4em; |
| 179 | + text-align: left; |
| 180 | +} |
| 181 | + |
| 182 | +.documentation-content th { |
| 183 | + background-color: #333; |
| 184 | + font-weight: bold; |
| 185 | +} |
| 186 | + |
| 187 | +.documentation-content em { |
| 188 | + font-style: italic; |
| 189 | + color: #ddd; |
| 190 | +} |
| 191 | + |
| 192 | +.documentation-content strong { |
| 193 | + font-weight: bold; |
| 194 | + color: #ffffff; |
| 195 | +} |
| 196 | + |
| 197 | +.documentation-content a { |
| 198 | + color: #78A083; |
| 199 | + text-decoration: underline; |
| 200 | +} |
| 201 | + |
| 202 | +.documentation-content a:hover { |
| 203 | + color: #9bc49f; |
| 204 | +} |
| 205 | + |
| 206 | +/* Docutils-specific classes */ |
| 207 | +.documentation-content .field-list { |
| 208 | + margin: 0.5em 0; |
| 209 | +} |
| 210 | + |
| 211 | +.documentation-content .field-name { |
| 212 | + font-weight: bold; |
| 213 | + color: #ffffff; |
| 214 | +} |
| 215 | + |
| 216 | +.documentation-content .field-body { |
| 217 | + margin-left: 1em; |
| 218 | +} |
| 219 | + |
| 220 | +.documentation-content .literal { |
| 221 | + background-color: #1a1a2e; |
| 222 | + padding: 0.1em 0.3em; |
| 223 | + border-radius: 2px; |
| 224 | + font-family: 'Courier New', Consolas, monospace; |
| 225 | + color: #ffd700; |
| 226 | +} |
| 227 | + |
| 228 | +.documentation-content .note, |
| 229 | +.documentation-content .warning, |
| 230 | +.documentation-content .tip { |
| 231 | + background-color: #2a2a3e; |
| 232 | + border-left: 4px solid #78A083; |
| 233 | + padding: 0.8em; |
| 234 | + margin: 0.5em 0; |
| 235 | + border-radius: 0 3px 3px 0; |
| 236 | +} |
| 237 | + |
| 238 | +.documentation-content .warning { |
| 239 | + border-left-color: #e74c3c; |
| 240 | +} |
| 241 | + |
| 242 | +.documentation-content .note .first, |
| 243 | +.documentation-content .warning .first, |
| 244 | +.documentation-content .tip .first { |
| 245 | + margin-top: 0; |
| 246 | +} |
| 247 | + |
| 248 | +.documentation-content .note .last, |
| 249 | +.documentation-content .warning .last, |
| 250 | +.documentation-content .tip .last { |
| 251 | + margin-bottom: 0; |
| 252 | +} |
| 253 | + |
| 254 | +/* Custom scrollbar styles for sidebar */ |
| 255 | +.sidebar-scrollable { |
| 256 | + scrollbar-width: thin; |
| 257 | + scrollbar-color: #555 #1e1e2f; |
| 258 | +} |
| 259 | + |
| 260 | +.sidebar-scrollable::-webkit-scrollbar { |
| 261 | + width: 8px; |
| 262 | +} |
| 263 | + |
| 264 | +.sidebar-scrollable::-webkit-scrollbar-track { |
| 265 | + background: #1e1e2f; |
| 266 | + border-radius: 4px; |
| 267 | +} |
| 268 | + |
| 269 | +.sidebar-scrollable::-webkit-scrollbar-thumb { |
| 270 | + background: #555; |
| 271 | + border-radius: 4px; |
| 272 | + border: 1px solid #1e1e2f; |
| 273 | +} |
| 274 | + |
| 275 | +.sidebar-scrollable::-webkit-scrollbar-thumb:hover { |
| 276 | + background: #666; |
| 277 | +} |
| 278 | + |
| 279 | +/* Smooth scrolling for the sidebar */ |
| 280 | +.sidebar-scrollable { |
| 281 | + scroll-behavior: smooth; |
| 282 | +} |
0 commit comments