-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
117 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
src/ui/common/modal/play-story-modal/play-story-modal.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<div class="modal__content play-story-modal"> | ||
<div class="modal__content-body"> | ||
<p>You are about to begin your <br> SocialVR experience!</p> | ||
<p>Press play to continue:</p> | ||
|
||
<button type="button" class="play-btn" (click)="closeModal()"> | ||
<img src="assets/icons/view-preview-accent.png" alt=""> | ||
</button> | ||
</div> | ||
</div> |
31 changes: 31 additions & 0 deletions
31
src/ui/common/modal/play-story-modal/play-story-modal.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
.play-story-modal { | ||
.modal__content-body { | ||
padding: 40px; | ||
text-align: center; | ||
|
||
p { | ||
margin: 10px 0; | ||
} | ||
|
||
.play-btn { | ||
margin-top: 10px; | ||
width: 45px; | ||
height: 45px; | ||
cursor: pointer; | ||
padding: 0; | ||
border: none; | ||
background: transparent; | ||
opacity: 1; | ||
transition: opacity .25s; | ||
|
||
img { | ||
width: 100%; | ||
height: 100%; | ||
} | ||
|
||
&:hover { | ||
opacity: .7; | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import { Component, EventEmitter, Output } from '@angular/core'; | ||
|
||
@Component({ | ||
selector: 'play-story-modal', | ||
styleUrls: ['./play-story-modal.scss'], | ||
templateUrl: './play-story-modal.html' | ||
}) | ||
export class PlayStoryModal { | ||
|
||
@Output() onClose = new EventEmitter(); | ||
|
||
public closeModal() { | ||
this.onClose.emit({}); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters