diff --git a/static/sass/_pattern_stream.scss b/static/sass/_pattern_stream.scss new file mode 100644 index 0000000..691b6cf --- /dev/null +++ b/static/sass/_pattern_stream.scss @@ -0,0 +1,20 @@ +@mixin anbox-p-stream { + .p-stream__button { + display: block; + position: relative; + } + + .p-stream__status-indicator { + height: 100px; + position: absolute; + right: calc(50% - 50px); + top: calc(50% - 50px); + width: 100px; + } + + .p-stream__error { + left: $sph-inner; + position: absolute; + top: $spv-inner--medium; + } +} diff --git a/static/sass/styles.scss b/static/sass/styles.scss index 770b9ea..19bd9ee 100644 --- a/static/sass/styles.scss +++ b/static/sass/styles.scss @@ -16,10 +16,12 @@ @import "pattern_matrix"; @import "pattern_navigation"; @import "pattern_strip"; +@import "pattern_stream"; @include anbox-p-matrix; @include anbox-p-navigation; @include anbox-p-strip; +@include anbox-p-stream; .p-pull-quote .p-pull-quote__quote:last-of-type::after { bottom: auto; diff --git a/templates/_anbox-embed.html b/templates/_anbox-embed.html index 3c964b0..580def9 100644 --- a/templates/_anbox-embed.html +++ b/templates/_anbox-embed.html @@ -1,6 +1,13 @@ -
-
-

See Anbox Cloud in action

- -
-
+
+ + Stream app + Loading + +
+

+ Error: +

+
+
+
+
diff --git a/templates/demo.html b/templates/demo.html index 04f8272..d2c4d36 100644 --- a/templates/demo.html +++ b/templates/demo.html @@ -7,51 +7,86 @@ {% block content %} -
-
-
-

Anbox Cloud demo

+
+
+
+

Anbox Cloud: Try it yourself

-
-
-
- + {% with app="buggy-racing" %} + {% include "_anbox-embed.html" %} + {% endwith %}
+
+
+

I agree that my use of the services are subject to my adherence to, and acceptance of, the Terms of Service, Privacy Notice and Privacy Policy.

+
+

More information about Anbox Cloud can be found on the homepage