Skip to content
This repository was archived by the owner on Aug 12, 2022. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions editions/free/src/css/start.css
Original file line number Diff line number Diff line change
Expand Up @@ -344,3 +344,44 @@ div.frame {
text-align: right;
}

.optionsInstruction {
position: absolute;
width: 96%;
top: 0;
padding: 2%;
color: #ffdd44;
font-size: 2.75rem;
font-weight: 500;
text-align: center;
text-shadow: 1px 1px 4px #333333;
list-style-type: none;
}

.optionsInstruction.hide {display: none;}
.optionsInstruction.show {display: block;}

.optionsList {
position: absolute;
width: 92%;
height: 86%;
padding: 4%;
top: 6%;
column-count: 3;
column-fill: auto; /* use first column up first */
color: white;
font-size: 2.25rem;
font-weight: 500;
text-align: left;
text-shadow: 1px 1px 4px #333333;
list-style-type: none;
z-index: 1000;
}

.optionsList.hide {display: none;}
.optionsList.show {display: block;}

.optionsList > div {
display: block;
padding: .25em;
break-inside: avoid-column; /* don't allow column to break inside item */
}
5 changes: 5 additions & 0 deletions editions/free/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@
<div class="usageNoanswer hide" id="usageNoanswer">
<div class="usageNoanswerText" id="usageNoanswerText"></div>
</div>

<div class="optionsInstruction hide" id="optionsInstruction">
</div>
<div class="optionsList hide" id="optionsList">
</div>
</div>
</body>
</html>
4 changes: 2 additions & 2 deletions src/entry/app.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {preprocessAndLoadCss} from '../utils/lib';
import Localization from '../utils/Localization';
import AppUsage from '../utils/AppUsage';
import InitialOptions from '../utils/InitialOptions';
import OS from '../tablet/OS';
import IO from '../tablet/IO';
import MediaLib from '../tablet/MediaLib';
Expand Down Expand Up @@ -110,6 +110,6 @@ window.onload = () => {
});
});
// Initialize currentUsage data
AppUsage.initUsage();
InitialOptions.initWithSettings(window.Settings.initialOptions);
});
};
Loading