32 lines
1.4 KiB
Plaintext
32 lines
1.4 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; }
|
|
/* a REM window's .tip (the hovered element's), drawn here so no other window covers it */
|
|
.ftip.hov { width: 260dp; white-space: normal; font-family: Barlow; background-color: #05090f; border-left: 2dp #3d6d96; }
|
|
</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>
|
|
<div class="ftip hov" data-if="hov_shown" data-style-left="hov_left" data-style-top="hov_top" data-rml="hov_rml"></div>
|
|
</body>
|
|
</rml>
|