mirror of
https://github.com/scratchfoundation/scratchjr.git
synced 2025-07-03 16:40:46 -04: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.hide {display: none;}
|
||||||
.gettings.show {display: block;}
|
.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 {
|
.startcode {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 65%;
|
top: 65%;
|
||||||
|
|
|
@ -22,6 +22,7 @@
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="gear hide" id="gear"></div>
|
||||||
<div class="credits hide" id="authors"></div>
|
<div class="credits hide" id="authors"></div>
|
||||||
<div class="creditsText hide" id="authorsText"></div>
|
<div class="creditsText hide" id="authorsText"></div>
|
||||||
<div class="rays" id="rays"></div>
|
<div class="rays" id="rays"></div>
|
||||||
|
|
|
@ -72,6 +72,7 @@ function indexLoadOptions () {
|
||||||
gn('purpleguy').className = 'purple hide';
|
gn('purpleguy').className = 'purple hide';
|
||||||
gn('blueguy').className = 'blue hide';
|
gn('blueguy').className = 'blue hide';
|
||||||
gn('redguy').className = 'red hide';
|
gn('redguy').className = 'red hide';
|
||||||
|
gn('gear').className = 'gear show';
|
||||||
}
|
}
|
||||||
gn('gettings').className = 'gettings show';
|
gn('gettings').className = 'gettings show';
|
||||||
gn('startcode').className = 'startcode show';
|
gn('startcode').className = 'startcode show';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue