ENH: fix some color again
Change-Id: I8d06c7859cdcb232b0625ef1c22e562253be4dcf (cherry picked from commit 32d143fe029e36715231156ce857fd841a4a3748)
This commit is contained in:
parent
0e083654ce
commit
ec66e7750f
|
@ -1,11 +1,11 @@
|
||||||
body
|
body
|
||||||
{
|
{
|
||||||
background-color:#2D2D31;
|
background-color:#242428;
|
||||||
}
|
}
|
||||||
|
|
||||||
*
|
*
|
||||||
{
|
{
|
||||||
border-color: #6f6f6f;
|
border-color: #3E3E45;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -219,6 +219,7 @@ body
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
#MenuArea
|
#MenuArea
|
||||||
|
@ -391,6 +392,7 @@ body
|
||||||
color: #323A3D;
|
color: #323A3D;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
display: none;
|
display: none;
|
||||||
|
z-index: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.CT_Item
|
.CT_Item
|
||||||
|
|
|
@ -203,6 +203,7 @@ function ShowRecentFileList( pList )
|
||||||
|
|
||||||
function ShowRecnetFileContextMenu()
|
function ShowRecnetFileContextMenu()
|
||||||
{
|
{
|
||||||
|
$("#recnet_context_menu").offset({top: 10000, left:-10000});
|
||||||
$('#recnet_context_menu').show();
|
$('#recnet_context_menu').show();
|
||||||
|
|
||||||
let ContextMenuWidth=$('#recnet_context_menu').width();
|
let ContextMenuWidth=$('#recnet_context_menu').width();
|
||||||
|
@ -214,10 +215,10 @@ function ShowRecnetFileContextMenu()
|
||||||
let RealX=MousePosX;
|
let RealX=MousePosX;
|
||||||
let RealY=MousePosY;
|
let RealY=MousePosY;
|
||||||
|
|
||||||
if( MousePosX + ContextMenuWidth >DocumentWidth )
|
if( MousePosX + ContextMenuWidth + 24 >DocumentWidth )
|
||||||
RealX=MousePosX-ContextMenuWidth;
|
RealX=DocumentWidth-ContextMenuWidth-24;
|
||||||
if( MousePosY+ContextMenuHeight>DocumentHeight )
|
if( MousePosY+ContextMenuHeight+24>DocumentHeight )
|
||||||
RealY=MousePosY-ContextMenuHeight;
|
RealY=DocumentHeight-ContextMenuHeight-24;
|
||||||
|
|
||||||
$("#recnet_context_menu").offset({top: RealY, left:RealX});
|
$("#recnet_context_menu").offset({top: RealY, left:RealX});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue