Update.
This commit is contained in:
		
							parent
							
								
									87e19e3d02
								
							
						
					
					
						commit
						2deb8a2069
					
				| @ -6,7 +6,6 @@ import uuid | ||||
| import signal | ||||
| from datetime import datetime | ||||
| from contextlib import asynccontextmanager | ||||
| import aiohttp_debugtoolbar | ||||
| 
 | ||||
| from snek import snode | ||||
| from snek.view.threads import ThreadsView | ||||
| @ -497,7 +496,6 @@ class Application(BaseApplication): | ||||
|             raise raised_exception | ||||
| 
 | ||||
| app = Application(db_path="sqlite:///snek.db") | ||||
| #aiohttp_debugtoolbar.setup(app) | ||||
| 
 | ||||
| 
 | ||||
| async def main(): | ||||
|  | ||||
| @ -407,34 +407,48 @@ a { | ||||
|   width: 250px; | ||||
|   padding-left: 20px; | ||||
|   padding-right: 20px; | ||||
|   padding-top: 10px; | ||||
|   padding-top: 20px; | ||||
|   overflow-y: auto; | ||||
|   grid-area: sidebar; | ||||
| } | ||||
| 
 | ||||
| .sidebar h2 { | ||||
|   color: #f05a28; | ||||
|   font-size: 1.2em; | ||||
|   margin-bottom: 20px; | ||||
|   font-size: 0.75em; | ||||
|   font-weight: 600; | ||||
|   text-transform: uppercase; | ||||
|   letter-spacing: 0.5px; | ||||
|   margin-bottom: 10px; | ||||
|   margin-top: 20px; | ||||
| } | ||||
| 
 | ||||
| .sidebar h2:first-child { | ||||
|   margin-top: 0; | ||||
| } | ||||
| 
 | ||||
| .sidebar ul { | ||||
|   list-style: none; | ||||
|   margin-bottom: 15px; | ||||
| } | ||||
| 
 | ||||
| .sidebar ul li { | ||||
|   margin-bottom: 15px; | ||||
|   margin-bottom: 4px; | ||||
| } | ||||
| 
 | ||||
| .sidebar ul li a { | ||||
|   color: #ccc; | ||||
|   text-decoration: none; | ||||
|   font-size: 1em; | ||||
|   font-size: 0.9em; | ||||
|   transition: color 0.3s; | ||||
|   display: block; | ||||
|   padding: 4px 8px; | ||||
|   border-radius: 4px; | ||||
|   transition: background-color 0.2s, color 0.2s; | ||||
| } | ||||
| 
 | ||||
| .sidebar ul li a:hover { | ||||
|   color: #fff; | ||||
|   background-color: rgba(255, 255, 255, 0.05); | ||||
| } | ||||
| 
 | ||||
| @keyframes glow { | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user