Browse Source

Improve loading screen

James Allen 12 years ago
parent
commit
7fb8154c6e

+ 1 - 1
services/web/public/coffee/ide/connection/ConnectionManager.coffee

@@ -25,7 +25,7 @@ define [], () ->
 				@$scope.$apply () =>
 					@$scope.connection.reconnecting = false
 					if @$scope.state.loading
-						@$scope.state.load_progress = 80
+						@$scope.state.load_progress = 70
 
 				setTimeout(() =>
 					@joinProject()

+ 12 - 0
services/web/public/stylesheets/app/editor.less

@@ -45,6 +45,18 @@
 	.full-size;
 }
 
+.loading-screen {
+	.full-size;
+	.container {
+		text-align: center;
+		position: absolute;
+		top: 30%;
+		left: 50%;
+		width: 400px;
+		margin-left: -200px;
+	}
+}
+
 .loading-panel {
 	.full-size;
 	padding-top: 10rem;