1
0
mirror of https://github.com/sehugg/8bitworkshop.git synced 2024-12-23 18:31:08 +00:00
8bitworkshop/css/ui.css

672 lines
13 KiB
CSS
Raw Normal View History

.dbg_info {
font-size: 0.8em;
}
.gutter-offset {
width: 3em;
}
.CodeMirror-gutter-elt:hover {
text-decoration: underline;
}
.gutter-bytes {
width: 6em;
}
.gutter-clock {
width: 0.5em;
}
.gutter-info {
width: 1em;
}
.tooltipbox {
position: relative;
display: inline-block;
border-bottom: 1px dotted black;
}
2019-08-27 15:42:23 +00:00
.tooltiptext {
visibility: hidden;
width: 500px;
background-color: #660000;
color: #fff;
text-align: center;
border-radius: 6px;
padding: 5px 0;
/* Position the tooltip */
position: absolute;
z-index: 10;
/* <pre> tag wrap */
white-space: pre-wrap; /* css-3 */
white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
}
.tooltipbox:hover .tooltiptext {
visibility: visible;
}
2018-07-03 02:40:15 +00:00
.tooltiperror {
2018-07-26 13:43:49 +00:00
color: #ff6666;
font-weight: bold;
2018-07-03 02:40:15 +00:00
}
2018-07-20 21:25:52 +00:00
.tooltiperrorline {
color:#ffcccc;
background-color:#660000;
}
2018-08-27 13:28:31 +00:00
.tooltipinfoline {
color:#ccccff;
background-color:#000066;
}
2019-08-27 15:42:23 +00:00
.tooltiptrack {
background-color: #666;
color: #fff;
text-align: left;
2019-08-27 15:42:23 +00:00
border: 2px solid #999;
border-radius: 8px;
padding: 5px;
position: absolute;
z-index: 10;
white-space: pre-wrap; /* css-3 */
white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
pointer-events: none;
}
#controls_top {
2019-05-22 13:32:29 +00:00
position:absolute;
padding:0.5em;
height:3em;
width:100%;
background-color:#999;
}
#notebook {
position:absolute;
top:3em;
bottom:0;
left:0;
right:0;
2018-11-25 12:18:32 +00:00
background-color:#666;
overflow:hidden;
display:flex;
flex-direction:row;
}
2017-05-04 15:54:56 +00:00
#workspace {
background-color:#333;
overflow:hidden;
}
div.editor {
line-height:1.25;
font-size:12pt;
}
div.memdump {
background-color: #333;
color: #66ff66;
white-space: pre;
margin-top: 20px auto 0;
font-family: "Andale Mono", "Menlo", "Lucida Console", monospace;
font-size: 10pt;
}
div.mem_info {
position: fixed;
right: 10px;
bottom: 10px;
background-color: #333;
color: #66ff66;
white-space: pre;
padding: 20px;
z-index: 12;
font-family: "Andale Mono", "Menlo", "Lucida Console", monospace;
font-size: 12pt;
2018-12-06 14:41:45 +00:00
box-shadow: 0px 0px 8px rgba(0,0,0,.5);
}
2018-07-29 20:26:05 +00:00
div.mem_info a {
color: #99ff99;
font-weight: bold;
text-decoration: underline;
}
div.mem_info a:hover {
background-color: #333399;
cursor: pointer;
}
div.mem_info a.selected {
color: #ffffff;
}
.mem_info_links {
text-align:right;
}
.btn_group {
2019-05-22 13:32:29 +00:00
border-radius:8px;
2018-10-03 18:17:02 +00:00
padding:8px;
margin-left:8px;
background-color: #666;
}
2018-10-03 14:58:59 +00:00
.btn_group button {
2018-10-03 18:17:02 +00:00
padding-left:4px;
padding-right:4px;
padding-top:2px;
padding-bottom:2px;
2019-04-03 14:00:37 +00:00
margin:1px;
vertical-align:baseline;
2018-10-03 14:58:59 +00:00
}
.btn_label {
color: #ccc;
}
.btn_group.debug_group {
}
.btn_group.view_group {
}
.btn_active {
color: #33cc33 !important;
2017-11-16 17:08:06 +00:00
}
.btn_stopped {
color: #ff9933 !important;
}
.btn_recording {
color: #ff6666 !important;
}
2019-04-03 14:00:37 +00:00
.btn_toolbar {
margin:4px;
}
span.hilite {
color: #ff66ff;
}
div.has-errors {
background-color: #ff6666 !important;
}
div.is-busy-unused {
background-color: #8888bb !important;
}
div.menu_div {
position: absolute;
width: 200px;
}
div.booklink {
position: fixed;
bottom: 0;
right: 0;
padding: 6px;
background-color: #ffffff;
display:none;
}
div.twitbtn {
position: fixed;
bottom: 0%;
right: 0%;
padding: 10px;
}
2018-07-29 20:26:05 +00:00
a.twitbtn {
color:#333399;
font-weight: bold;
}
a.dropdown-toggle {
color:#66ee66;
padding:3px;
}
2018-10-02 13:44:34 +00:00
/* http://stackoverflow.com/questions/18023493/bootstrap-3-dropdown-sub-menu-missing */
.dropdown-submenu {
position:relative;
}
.dropdown-submenu>.dropdown-menu {
top:0;
left:100%;
margin-top:-6px;
margin-left:-1px;
-webkit-border-radius:0 6px 6px 6px;
-moz-border-radius:0 6px 6px 6px;
border-radius:0 6px 6px 6px;
}
.dropdown-submenu:hover>.dropdown-menu {
display:block;
}
.dropdown-submenu>a:after {
display:block;
content:" ";
float:right;
width:0;
height:0;
border-color:transparent;
border-style:solid;
border-width:5px 0 5px 5px;
border-left-color:#cccccc;
margin-top:5px;
margin-right:-10px;
}
.dropdown-submenu:hover>a:after {
border-left-color:#ffffff;
}
.dropdown-submenu.pull-left {
float:none;
}
.dropdown-submenu.pull-left>.dropdown-menu {
left:-100%;
margin-left:10px;
-webkit-border-radius:6px 0 6px 6px;
-moz-border-radius:6px 0 6px 6px;
border-radius:6px 0 6px 6px;
}
2018-03-24 22:13:27 +00:00
div.emulator {
background-color: #666;
margin-top: 20px auto 0;
display:flex;
flex-direction:column;
2018-09-12 02:28:30 +00:00
}
div.emuoverlay {
2018-11-26 11:12:45 +00:00
display:flex;
flex-direction:column;
2018-03-24 22:13:27 +00:00
height:100%;
}
2018-09-12 02:28:30 +00:00
div.emuscope {
2018-11-26 12:24:49 +00:00
background-color:#333;
z-index:1;
2018-09-12 02:28:30 +00:00
}
div.emuspacer {
2018-11-23 18:29:11 +00:00
width:100%;
2018-09-12 02:28:30 +00:00
}
/* has to be here b/c renders differently after first load if in inline style */
.emuvideo {
border-radius:20px;
border: 4px solid #222;
2018-11-27 22:37:45 +00:00
outline-color: #ccc;
padding: 20px;
background: #000;
margin-top:40px;
margin-left:5%;
margin-right:5%;
width:90%;
2018-09-26 18:26:21 +00:00
pointer-events:auto;
}
.emuvideo:focus {
outline:none;
border-color:#888;
}
canvas.pixelated {
image-rendering: optimizeSpeed; /* Older versions of FF */
image-rendering: -moz-crisp-edges; /* FF 6.0+ */
image-rendering: -webkit-optimize-contrast; /* Safari */
image-rendering: -o-crisp-edges; /* OS X & Windows Opera (12.02+) */
image-rendering: pixelated; /* Awesome future-browsers */
-ms-interpolation-mode: nearest-neighbor; /* IE */
}
2017-05-04 15:54:56 +00:00
.palbtn {
width:2em;
height:2em;
border-style:none;
}
.palbtn.selected {
2017-05-04 15:54:56 +00:00
border-width:2px;
border-color:white;
border-style:dotted;
}
#javatari-screen canvas {
box-sizing: content-box;
}
#javatari-screen div {
box-sizing: content-box;
}
@font-face {
font-family: TinyFont;
src: url(04B_03__.TTF);
}
.toolbarMenuButton {
background-color:#666;
2018-05-25 21:14:43 +00:00
border-style:solid;
2018-11-25 12:44:20 +00:00
position:relative;
margin-left:0.5em;
margin-right:0.5em;
}
a.toolbarMenuButton {
padding:0.3em;
2018-11-25 12:44:20 +00:00
}
a.dropdown-toggle {
}
a.dropdown-toggle:hover {
color:#ffffff;
2018-12-06 14:41:45 +00:00
text-shadow: 0px 0px 2px black;
2018-05-25 21:14:43 +00:00
}
.nav-tabs > li > a.tab {
line-height: 1.0;
}
.twitter-follow-button,
.twitter-follow-button:focus {
border-width:3px;
border-color:#9999ff;
background-color:#333399;
border-style:solid;
font-family: "Andale Mono", "Menlo", "Lucida Console", monospace;
color:#77aaaa;
padding:6px;
}
.twitter-follow-button:hover {
color:#99ffff;
}
.dropdown-menu .dropdown-item-checked::before {
position: absolute;
left: .4rem;
content: '\2713';
font-weight: 400;
}
div.replaydiv {
width:100%;
bottom:0;
z-index:1;
background-color: #333;
padding:0.5em;
}
.slider {
margin-left: 1em;
margin-right: 1em;
}
2018-09-12 02:28:30 +00:00
.gutter {
background-color: #555;
background-repeat: no-repeat;
background-position: 50%;
pointer-events:auto;
2018-11-26 12:24:49 +00:00
z-index:1;
2018-09-12 02:28:30 +00:00
}
2018-11-23 18:29:11 +00:00
.gutter.gutter-horizontal {
background-image: url('grips/vertical.png');
cursor: col-resize;
}
.gutter.gutter-vertical {
background-image: url('grips/horizontal.png');
cursor: row-resize;
}
2018-09-12 02:28:30 +00:00
.gutter.gutter-vertical {
background-image:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAFAQMAAABo7865AAAABlBMVEVHcEzMzMzyAv2sAAAAAXRSTlMAQObYZgAAABBJREFUeF5jOAMEEAIEEFwAn3kMwcB6I2AAAAAASUVORK5CYII=');
2018-09-12 02:28:30 +00:00
}
.gutter.gutter-horizontal {
background-image:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==');
height:100%;
}
2018-11-23 18:29:11 +00:00
.split,
.gutter.gutter-horizontal {
2018-11-25 12:18:32 +00:00
height: 100%;
2018-11-23 18:29:11 +00:00
}
div.markdown {
background-color: #fff;
2020-07-09 18:27:56 +00:00
width:100%;
padding:2em;
user-select: text;
}
div.markdown table {
margin:1em;
}
div.markdown td {
padding:0.2em;
}
div.markdown th {
padding:0.2em;
}
#sidebar {
2019-05-04 23:17:15 +00:00
overflow:auto;
}
#sidebar ul {
list-style-type:none;
padding:1em;
}
#sidebar a {
color:#ddffdd;
text-overflow:ellipsis;
white-space:nowrap;
overflow:hidden;
display:block;
}
#sidebar a:focus {
text-decoration:none;
}
#sidebar .dropdown-item-checked {
font-weight:bold;
background-color:#333;
}
2018-11-24 22:36:10 +00:00
.logo-gradient {
font-size: 1.5em;
background: linear-gradient(to right, #ff9999, #ffff99, #99ff99, #99ffff);
background-clip: text;
-webkit-background-clip: text;
color:rgba(0,0,0,0);
}
2018-11-25 12:18:32 +00:00
.disable-select {
user-select: none;
}
2019-09-29 18:41:29 +00:00
.enable-select {
user-select: auto;
}
.alert {
z-index:2;
}
2019-02-21 21:47:25 +00:00
.segment {
border: 2px solid rgba(0,0,0,0.2);
border-radius:8px;
color: #333;
background-color:#999;
2020-07-06 17:47:24 +00:00
display:grid;
justify-content: center;
align-content: center;
2019-02-21 21:47:25 +00:00
}
2019-02-26 15:56:51 +00:00
.segment:hover {
border-color: #ffffff;
cursor: pointer;
}
2019-03-16 00:34:17 +00:00
.seg_code { color: #ccddff; }
.seg_data { color: #aaeeaa; }
.seg_io { color: #ffcccc; }
.seg_stack { color: #ffff66; }
.seg_unknown { color: #cccccc; }
2019-02-21 21:47:25 +00:00
.segment.segment-ram {
2019-02-21 22:41:59 +00:00
background-color:#aaeeaa;
2019-02-21 21:47:25 +00:00
}
.segment.segment-rom {
2019-02-21 22:41:59 +00:00
background-color:#ccddff;
}
.segment.segment-io {
background-color:#ffcccc;
2019-02-21 21:47:25 +00:00
}
.segment-offset {
font-family: "Andale Mono", "Menlo", "Lucida Console", monospace;
font-size: 12pt;
color:#66dd66;
}
2019-02-21 22:41:59 +00:00
.vertical-scroll {
height:100%;
overflow-y:auto;
}
div.profiler {
background-color: #333;
color: #ddd;
white-space: pre;
margin-top: 20px auto 0;
font-family: "Andale Mono", "Menlo", "Lucida Console", monospace;
font-size: 10pt;
}
span.profiler-lineno {
color: #fff;
}
span.profiler-local {
color: #999;
}
span.profiler-cident {
color: #99ffff;
}
2019-03-18 18:39:02 +00:00
div.asset_file {
border: 2px solid black;
border-radius:8px;
color: #ddd;
background-color:#666;
margin:0.5em;
padding:1em;
}
div.asset_file select {
color: #000;
}
2019-03-18 18:39:02 +00:00
div.asset_file_header {
font-weight: bold;
color: white;
2019-03-21 16:13:27 +00:00
background-color: #333;
border-radius: 8px;
padding-left: 1em;
2019-03-18 18:39:02 +00:00
}
div.asset_grid {
line-height:0;
margin: 1em;
}
div.asset_grid span {
white-space: nowrap;
}
2019-03-21 16:13:27 +00:00
.asset_cell {
2019-03-18 18:39:02 +00:00
padding: 0px;
border: 1px solid black;
}
2019-03-21 16:13:27 +00:00
.asset_cell:hover {
border: 1px solid white;
}
.asset_cell.selected {
2019-03-21 16:13:27 +00:00
border: 1px dotted white !important;
box-shadow: 0px 0px 1em rgba(255,255,255,1);
}
td.asset_editable {
padding:0.3em;
font-family: "Andale Mono", "Menlo", "Lucida Console", monospace;
}
div.asset_dual {
2019-03-21 16:13:27 +00:00
display: flex;
align-items: center;
}
div.asset_dual table {
border-spacing: 10px;
border-collapse: separate;
}
div.asset_editor {
border-radius:16px;
padding:16px;
margin:16px;
background-color:#999;
2019-03-26 18:29:47 +00:00
display:flex;
flex-direction:column;
align-items:center;
}
div.asset_toolbar {
padding:8px;
margin:8px;
}
2019-05-17 04:42:52 +00:00
.control-insns {
margin-top: auto;
margin-bottom: 2em;
2019-05-17 04:42:52 +00:00
}
.control-key {
border: 2px solid rgba(0,0,0,0.2);
border-radius: 0.6em;
padding: 0.2em;
padding-left: 0.5em;
padding-right: 0.5em;
background-color: #eee;
margin-left: 1em;
color: #666;
}
.control-def {
color: #ccc;
}
.book-title {
font-size:12pt;
}
.pc-console {
background-color: #000;
color: #7f7f7f;
white-space: pre;
font-family: "Andale Mono", "Menlo", "Lucida Console", monospace;
font-size: 10pt;
line-height: 1.2;
2020-07-06 23:53:20 +00:00
}
.transcript {
background-color: #fff;
width: 100%;
padding: 1.25em;
user-select: text;
font-family: Verdana, Geneva, sans-serif;
}
2020-07-10 16:50:09 +00:00
.transcript-split {
padding: 0.5em;
background: #eee;
box-shadow: 0 8px 6px -6px RGBA(0,0,0,0.3);
z-index: 1;
flex-shrink: 0;
}
2020-07-06 23:53:20 +00:00
.transcript-line {
line-height: 1.5;
min-height: 1em;
white-space: pre-wrap;
}
.transcript-style-1 {
font-style: italic;
}
.transcript-style-2 {
white-space: pre-wrap; /* css-3 */
font-family: "Andale Mono", "Menlo", "Lucida Console", monospace;
line-height: 1;
min-height: 0;
}
.transcript-style-4 {
font-weight: bold;
}
.transcript-style-8 { /* input */
font-weight: 600;
text-transform: uppercase;
2020-07-06 23:53:20 +00:00
color: #6666ff;
background-color: #eeeeff;
padding: 0.25em;
padding-left: 0.5em;
padding-right: 0.5em;
}
.transcript-reverse {
background-color: #666;
color: #ddd;
}
.transcript-input {
font-weight: 600;
text-transform: uppercase;
2020-07-06 23:53:20 +00:00
color: #6666ff;
background-color: #eeeeff;
margin:1%;
2020-07-09 18:27:56 +00:00
width:100%;
max-width:25em;
}
.transcript-input-char {
max-width:5em;
}
.tree-header {
border: 2px solid #555;
border-radius:8px;
color: #fff;
background-color:#666;
padding-left:1em;
font-family: "Andale Mono", "Menlo", "Lucida Console", monospace;
2020-07-06 23:53:20 +00:00
}
.tree-content {
padding-left:0.75em;
padding-right:0.75em;
font-size: small;
}
.tree-value {
float:right;
font-weight:normal;
padding-right:1em;
}
.tree-expanded::after {
float: right;
margin-right: 1em;
content: '\25b2';
}
.tree-collapsed::after {
float: right;
margin-right: 1em;
content: '\25bc';
}
.tree-collapsed:hover, .tree-expanded:hover {
2020-07-09 02:57:55 +00:00
border-color:#ccc;
}
.tree-header:hover {
2020-07-09 02:57:55 +00:00
background-color: #666;
}
.tree-level-0 { display:none;}
.tree-level-1 { background-color: #638283;}
.tree-level-2 { background-color: #636e83;}
.tree-level-3 { background-color: #636483;}
.tree-level-4 { background-color: #756383;}
.tree-level-5 { background-color: #83637e;}
.tree-level-6 { background-color: #83636e;}
.tree-level-7 { background-color: #836363;}
.tree-level-8 { background-color: #837163;}
.tree-level-9 { background-color: #7b8363;}
.tree-level-10 { background-color: #738363;}