getting some structure
Things like reflowing works, as well as switching between "applications". Things seem to be coming along nicely. Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
		
							
								
								
									
										97
									
								
								static/css/desktop.css
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										97
									
								
								static/css/desktop.css
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,97 @@ | ||||
| body { | ||||
| 	padding: 0; | ||||
| 	margin: 0; | ||||
| } | ||||
|  | ||||
| main { | ||||
| 	padding: 0rem; | ||||
| 	/* SIDEBAR WIDTH  */ | ||||
| 	margin-left: 10rem; | ||||
| 	height: 100vh; | ||||
| 	transition: margin-left 500ms ease; | ||||
|  | ||||
| } | ||||
|  | ||||
| .main-sidebar-rail { | ||||
| 	margin-left: 4rem; | ||||
| 	transition: margin-left 500ms ease; | ||||
| } | ||||
|  | ||||
| .main-content { | ||||
| 	display: none; | ||||
| } | ||||
|  | ||||
| .main-content-active { | ||||
| 	display: block; | ||||
| } | ||||
|  | ||||
| .sidenav { | ||||
| 	position: fixed; | ||||
| 	/* SIDEBAR WIDTH  */ | ||||
| 	width: 10rem; | ||||
| 	left: 0; | ||||
| 	background-color: white; | ||||
| 	height: 100vh; | ||||
| 	transition: width 500ms ease; | ||||
| 	overflow: overlay; | ||||
| } | ||||
|  | ||||
| .sidenav-rail { | ||||
| 	width: 4rem; | ||||
| 	transition: width 500ms ease; | ||||
| } | ||||
|  | ||||
| .sidenav-nav { | ||||
| 	list-style: none; | ||||
| 	padding: 0; | ||||
| 	margin: 0; | ||||
| 	display: flex; | ||||
| 	flex-direction: column; | ||||
| 	height: 100vh; | ||||
| } | ||||
|  | ||||
| .sidenav-item { | ||||
| 	width: 100%; | ||||
| 	cursor: pointer; | ||||
| } | ||||
|  | ||||
| .sidenav-item-active { | ||||
| 	width: 100%; | ||||
| 	background-color: #eee; | ||||
| } | ||||
|  | ||||
| .sidenav-link { | ||||
| 	display: flex; | ||||
| 	align-items: center; | ||||
| 	height: 4rem; | ||||
| 	text-decoration: none; | ||||
| } | ||||
|  | ||||
| .link-text { | ||||
| 	margin-left: 0.5rem; | ||||
| 	overflow: hidden; | ||||
| 	white-space: nowrap; | ||||
| 	cursor: pointer; | ||||
| } | ||||
|  | ||||
| .icon { | ||||
| 	margin: 0 0.5rem; | ||||
| } | ||||
|  | ||||
| .sidenav-item-filler { | ||||
| 	height: 100%; | ||||
| } | ||||
|  | ||||
| .terminal { | ||||
| 	height: 100%; | ||||
| 	width: 100%; | ||||
| } | ||||
| /* .sidenav-item-toggle { | ||||
| 	position: absolute; | ||||
| 	bottom: 0; | ||||
| } */ | ||||
|  | ||||
| /* .sidenav-item-toggle { | ||||
| 	content: ''; | ||||
| 	flex-grow: 1; | ||||
| } */ | ||||
							
								
								
									
										6582
									
								
								static/css/line-awesome.css
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6582
									
								
								static/css/line-awesome.css
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										1
									
								
								static/css/line-awesome.min.css
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								static/css/line-awesome.min.css
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										47
									
								
								static/css/mobile.css
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										47
									
								
								static/css/mobile.css
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,47 @@ | ||||
| /* Small screen  */ | ||||
| @media only screen and (max-width: 600px) { | ||||
|     main { | ||||
|         /* BOTTOM BAR HEIGHT */ | ||||
|         height: calc(100vh - 5rem); | ||||
|         margin: 0; | ||||
|         padding: 0; | ||||
|     } | ||||
|  | ||||
|     .main-sidebar-rail { | ||||
|         margin-left: 0; | ||||
|     } | ||||
|  | ||||
|     .sidenav { | ||||
|         bottom: 0; | ||||
|         width: 100vw; | ||||
|         /* BOTTOM BAR HEIGHT */ | ||||
|         height: 5rem; | ||||
|         align-items: flex-start; | ||||
|         padding-top: 0.4rem; | ||||
| 	    transition: none; | ||||
|     } | ||||
|  | ||||
|     .sidenav-rail { | ||||
|         width: 100vw; | ||||
| 	    transition: none; | ||||
|     } | ||||
|  | ||||
|     .sidenav-nav { | ||||
|         height: 5rem; | ||||
|         flex-direction: row; | ||||
|         margin-top: 0; | ||||
|         align-items: flex-start; | ||||
|     } | ||||
|  | ||||
|     .sidenav-link { | ||||
|         justify-content: center; | ||||
|     } | ||||
|  | ||||
|     .link-text { | ||||
|         display: none; | ||||
|     } | ||||
|  | ||||
|     #rail-toggle-button { | ||||
|         display: none; | ||||
|     } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user