Skip to content

Commit

Permalink
changed color of navigation arrows
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Car committed Apr 6, 2016
1 parent 166e97b commit 96ada37
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ AFRAME.registerComponent('isvr-photosphere-menu-navigation', {
var children = this.el.childNodes;
for (var i = 0; i < children.length; i++) {
if (children[i].tagName == 'A-PLANE') {
children[i].setAttribute('color', '#5b00f4');
children[i].setAttribute('color', '#0080e5');
}
}
}).bind(this));
Expand Down
10 changes: 5 additions & 5 deletions themes/photosphere_viewer/templates/scene.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
id="cursor"
position="0 0 -3.4"
geometry="primitive: ring; radiusOuter: 0.10; radiusInner: 0.05;"
material="color: red; shader: flat;"
material="color: #0080e5; shader: flat;"
visible="false">
</a-entity>
</a-entity>
Expand All @@ -28,8 +28,8 @@
<a-entity data-current-page="1" isvr-photosphere-menu id="photosphere-menu" visible="false">
@if (count($content['images_upload']['data']) > 3)
<a-entity isvr-photosphere-menu-navigation id="menu-arrow-up" position="0 1.5 0" visible="false">
<a-plane position="-0.07 0 0" rotation="0 0 -45" width="0.10" height="0.3" color="#5b00f4"></a-plane>
<a-plane position="0.07 0 0" rotation="0 0 45" width="0.10" height="0.3" color="#5b00f4"></a-plane>
<a-plane position="-0.07 0 0" rotation="0 0 -45" width="0.10" height="0.3" color="#0080e5"></a-plane>
<a-plane position="0.07 0 0" rotation="0 0 45" width="0.10" height="0.3" color="#0080e5"></a-plane>
</a-entity>
@endif
@if (count($content['images_upload']['data']) > 0)
Expand All @@ -55,8 +55,8 @@
@endif
@if (count($content['images_upload']['data']) > 3)
<a-entity isvr-photosphere-menu-navigation="url:{{ $space_url }}/field-data?key=images_upload&chunk-size=3&page=2" id="menu-arrow-down" position="0 -1.5 0" visible="@if (count($content['images_upload']['data']) > 3) true @else false @endif">
<a-plane position="-0.07 0 0" rotation="0 0 45" width="0.10" height="0.3" color="#5b00f4"></a-plane>
<a-plane position="0.07 0 0" rotation="0 0 -45" width="0.10" height="0.3" color="#5b00f4"></a-plane>
<a-plane position="-0.07 0 0" rotation="0 0 45" width="0.10" height="0.3" color="#0080e5"></a-plane>
<a-plane position="0.07 0 0" rotation="0 0 -45" width="0.10" height="0.3" color="#0080e5"></a-plane>
</a-entity>
@endif
</a-entity>
Expand Down

0 comments on commit 96ada37

Please sign in to comment.