color fixes

This commit is contained in:
Alvaro Muñoz 2015-01-07 18:43:51 +01:00 committed by pancake
parent e1f2b73066
commit 1088986701
2 changed files with 8 additions and 5 deletions

View File

@ -128,7 +128,7 @@ input:focus {outline: none; }
}
#minimap {
border: 1px solid gray;
border: 1px solid black;
position:absolute;
width:200px;
height:200px;
@ -149,11 +149,11 @@ input:focus {outline: none; }
}
#minimap_area {
border: 1px solid gray;
border: 1px solid black;
position:absolute;
background: gray;
opacity: 0.4;
filter: alpha(opacity=40); /* For IE8 and earlier */
background: black;
opacity: 0.2;
filter: alpha(opacity=20); /* For IE8 and earlier */
}
#radareApp_mp_panels_pageDisassembler {

View File

@ -168,6 +168,8 @@ BBGraph.prototype.render = function() {
$("#minimap").css("left", $(this).scrollLeft() + $("#main_panel").width() - minimap_width);
$("#minimap").css("top", $(this).scrollTop());
}
$("#minimap").css("border", "1px solid " + r2ui.colors['.ec_gui_background']);
$("#minimap_area").css("background", r2ui.colors['.ec_gui_background']);
}
@ -204,6 +206,7 @@ BBGraph.prototype.render = function() {
for (var i in bbs) {
bbs[i].on("change:position", update_BB, this);
}
update_minimap();
};
function reposition_graph() {