Files
REM-Mod/EXE/remui/tooltip.rml
T

29 lines
1.1 KiB
Plaintext

<rml>
<head>
<title>Tool tip</title>
<link type="text/rcss" href="rem.rcss"/>
<style>
/* no box of its own: only the tip, at the point NN_ToolTip gives */
body.tipdoc { position: absolute; left: 0; top: 0; right: 0; bottom: 0; display: block; background-color: transparent; pointer-events: none; }
.ftip
{
position: absolute;
max-width: 380dp;
padding: 5dp 9dp;
background-color: #0d1622f2;
border: 2dp #3d6d96;
border-left: 2dp #f2b13c;
border-radius: 3dp;
font-size: 13dp;
color: #dbe6f0;
white-space: nowrap;
}
.ftip.roll { border-left-color: #5cc8f0; font-size: 14dp; white-space: pre-line; }
</style>
</head>
<body class="tipdoc" data-model="tooltip">
<div class="ftip" data-if="tip_shown" data-style-left="tip_left" data-style-top="tip_top">{{ tip_text }}</div>
<div class="ftip roll" data-if="roll_shown" data-style-left="roll_left" data-style-top="roll_top">{{ roll_text }}</div>
</body>
</rml>