1
0
mirror of https://github.com/sehugg/8bitworkshop.git synced 2024-11-22 14:33:51 +00:00

css tweaks

This commit is contained in:
Steven Hugg 2018-11-25 07:18:32 -05:00
parent 71b4e68a55
commit e90b60faa3
3 changed files with 15 additions and 11 deletions

View File

@ -61,13 +61,13 @@
bottom:0;
left:0;
right:0;
background-color: #666;
overflow: hidden;
background-color:#666;
overflow:hidden;
display:flex;
flex-direction:row;
}
#workspace {
background-color:#333;
float:left;
height:100%;
overflow:hidden;
}
div.editor {
@ -222,8 +222,6 @@ a.dropdown-toggle {
border-radius:6px 0 6px 6px;
}
div.emulator {
float:left;
height:100%;
background-color: #666;
margin-top: 20px auto 0;
}
@ -347,8 +345,7 @@ div.replaydiv {
}
.split,
.gutter.gutter-horizontal {
float: left;
height: 100%;
height: 100%;
}
div.markdown {
background-color: #fff;
@ -366,7 +363,6 @@ div.markdown th {
padding:0.2em;
}
#sidebar {
float:left;
}
#sidebar ul {
list-style-type:none;
@ -393,3 +389,11 @@ div.markdown th {
-webkit-background-clip: text;
color:rgba(0,0,0,0);
}
.disable-select {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}

View File

@ -40,7 +40,7 @@ if (window.location.host.endsWith('8bitworkshop.com')) {
<!-- for file upload -->
<input type="file" id="uploadFileElem" multiple accept="*" style="display:none" onchange="handleFileUpload(this.files)">
<div id="controls_top" style="user-select: none">
<div id="controls_top" class="disable-select">
<span class="dropdown">
<a class="btn btn-secondary dropdown-toggle" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" title="Menu">
<span class="glyphicon glyphicon-menu-hamburger" aria-hidden="true"></span>

View File

@ -308,7 +308,7 @@ var VerilogPlatform = function(mainElement, options) {
getPresets() { return VERILOG_PRESETS; }
start() {
video = new RasterVideo(mainElement,videoWidth,videoHeight);
video = new RasterVideo(mainElement,videoWidth,videoHeight,{overscan:true});
video.create();
var ctx = video.getContext();
ctx.font = "8px TinyFont";