mirror of
https://github.com/scratchfoundation/scratchjr.git
synced 2024-11-28 18:15:37 -05:00
Add gear icon to top right of splash page
This commit is contained in:
parent
687b9a5878
commit
b9a232d90b
3 changed files with 16 additions and 0 deletions
|
@ -152,6 +152,20 @@ div.frame {
|
|||
.gettings.hide {display: none;}
|
||||
.gettings.show {display: block;}
|
||||
|
||||
.gear.hide {display: none;}
|
||||
.gear.show {display: block;}
|
||||
|
||||
.gear {
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
right: 25px;
|
||||
background: url('../assets/lobby/gearOff.svg');
|
||||
background-repeat: no-repeat;
|
||||
background-size: auto 100%;
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
}
|
||||
|
||||
.startcode {
|
||||
position: absolute;
|
||||
top: 65%;
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
|
||||
</div>
|
||||
</div>
|
||||
<div class="gear hide" id="gear"></div>
|
||||
<div class="credits hide" id="authors"></div>
|
||||
<div class="creditsText hide" id="authorsText"></div>
|
||||
<div class="rays" id="rays"></div>
|
||||
|
|
|
@ -72,6 +72,7 @@ function indexLoadOptions () {
|
|||
gn('purpleguy').className = 'purple hide';
|
||||
gn('blueguy').className = 'blue hide';
|
||||
gn('redguy').className = 'red hide';
|
||||
gn('gear').className = 'gear show';
|
||||
}
|
||||
gn('gettings').className = 'gettings show';
|
||||
gn('startcode').className = 'startcode show';
|
||||
|
|
Loading…
Reference in a new issue