Przeglądaj źródła

First pass at autocompile onboarding popover

Alasdair Smith 9 lat temu
rodzic
commit
8d2a451b44

+ 10 - 1
services/web/app/views/project/editor/editor.pug

@@ -94,4 +94,13 @@ div.full-size(
 	ng-show="ui.view == 'pdf'"
 )
 	include ./pdf
-	
+
+.onboarding__autocompile.popover.right
+	.arrow
+	.popover-inner
+		h3.popover-title Auto Compile
+		.popover-content
+			p Try out the new auto compile setting!
+			img(src="/img/onboarding/autocompile/setting-dropdown.png" width="100%")
+			p When enabled, your project will be compiled after you finish your sentence.
+			button.btn.btn-default.btn-block Got it

BIN
services/web/public/img/onboarding/autocompile/setting-dropdown.png


+ 16 - 1
services/web/public/stylesheets/app/editor/feature-onboarding.less

@@ -98,4 +98,19 @@ a.feat-onboard-dismiss {
 		color: #FFF;
 		opacity: 1;
 	}
-}
+}
+
+.onboarding__autocompile {
+	display: block;
+	top: 10px;
+	left: 694px;
+
+	.arrow {
+		top: 17px !important;
+		left: -10px !important;
+
+		&:after {
+			border-right-color: #f7f7f7 !important;
+		}
+	}
+}