forked from scratchfoundation/scratch-vm
-
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.
adds ui styling and context to benchmark prototype
- Loading branch information
1 parent
7356546
commit a7314d6
Showing
3 changed files
with
80 additions
and
10 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,57 @@ | ||
body { | ||
font-family: monospace; | ||
} | ||
p { | ||
max-width: 400px; | ||
} | ||
@media (min-width: 960px) { | ||
.profile-tables { | ||
top: 0px; | ||
position: absolute; | ||
top: 0; | ||
left: 520px; | ||
left: 450px; | ||
} | ||
} | ||
#scratch-stage { | ||
border: 5px solid black; | ||
display: block; | ||
width: 400px; | ||
height: 300px; | ||
} | ||
.loading label, .profile-count label{ | ||
width: 15em; | ||
display: inline-block; | ||
} | ||
.profile-tables table { | ||
margin: 30px 0 30px 0px; | ||
} | ||
.profile-tables th { | ||
border-bottom: 1px solid #333; | ||
text-align: center; | ||
} | ||
.profile-tables th:first-child { | ||
width: 215px; | ||
} | ||
.profile-tables th, .profile-tables td { | ||
min-width: 85px; | ||
border-bottom: 1px solid #ccc; | ||
border-spacing: 0; | ||
border-collapse: collapse; | ||
padding: 5px; | ||
} | ||
.profile-tables td:not(:first-child) { | ||
text-align: center; | ||
} | ||
.profile-tables img{ | ||
margin: 0 auto; | ||
display: block; | ||
clear: both; | ||
width: 20%; | ||
} | ||
|
||
.slow { | ||
background-color: #ffa1a1; | ||
} | ||
.profiler-count-running { | ||
height: 4em; | ||
background-color: #dddddd; | ||
} |
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