Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 23 additions & 12 deletions media/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,8 @@ html, body
padding: 40px 20px;
}

.message
{
display:block;
background-color: var(--vscode-sideBar-background);
padding: 10px 20px;
.messages a:not(.button):not(.tag) {
color: currentColor;
}

/* .messages .action-buttons */
Expand Down Expand Up @@ -85,14 +82,8 @@ html, body
border-radius: 0;
}

.inbox-messages
{
margin-top:30px;
}

.message-preview
{
margin-top: 60px;
border: 1px solid var(--vscode-panel-border); /* Decrease opacity later on */
}

Expand Down Expand Up @@ -563,7 +554,11 @@ a.dropdown-item:hover
#message-feed
{
overflow-y: auto;
height: 100px;
/* height: 100px; */
/* Bulma has a class for full-height with navbar, but doesn't have one
for full-height with *two* navbars */
min-height: calc(100vh - 2*3.25rem) !important;
max-height: calc(100vh - 2*3.25rem);
}

#trace-information {
Expand Down Expand Up @@ -704,6 +699,22 @@ a.dropdown-item:hover
font-size: 1em;
}

/* ****************************************************************************
* Location tooltips
* **************************************************************************** */

[data-tooltip]:not(.is-disabled)::before,
[data-tooltip]:not(.is-loading)::before,
[data-tooltip]:not([disabled])::before {
left: auto;
}

[data-tooltip]:not(.is-disabled)::after,
[data-tooltip]:not(.is-loading)::after,
[data-tooltip]:not([disabled])::after {
left: 10%;
}

/* ****************************************************************************
*
* **************************************************************************** */
Expand Down
12 changes: 5 additions & 7 deletions media/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -1795,20 +1795,18 @@ class="has-tooltip-arrow has-tooltip-bottom" data-tooltip="${attempt_loc_file} (
code += `
</div>
`;
$('.message .goal').html(code);

// $('.message .goal').html(msg.goal_text_highlighted);
$('#message-pane .goal').html(code);

$('.message .goal_id').html(msg.goal_id);
$('#message-pane .goal_id').html(msg.goal_id);

$('.message .top .tags .rid').text(msg.rt);
$('.message .top .tags .sid').text(msg.id);
$('#message-pane .top .tags .rid').text(msg.rt);
$('#message-pane .top .tags .sid').text(msg.id);

// /////////////////////////////////////////////////////////////////////////////
// TODO: Card pane refactoring entry point
// /////////////////////////////////////////////////////////////////////////////

$('.message .card_content').html(format(msg));
$('#message-pane .card_content').html(format(msg));

// /////////////////////////////////////////////////////////////////////////////

Expand Down
6 changes: 3 additions & 3 deletions src/provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@ return `<!DOCTYPE html>

<title>Elpi Tracer</title>
</head>
<body>
<body class="has-navbar-fixed-top has-navbar-fixed-bottom">

<div class="columns" id="tracer">

Expand Down Expand Up @@ -660,13 +660,13 @@ return `<!DOCTYPE html>
</div>

<br/>
</div>a
</div>

<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
;; Message Pane
;; !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!-->

<div class="column is-7 message hero is-fullheight is-hidden" id="message-pane">
<div class="column is-7 messages hero is-fullheight is-hidden" id="message-pane">

<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
;; Message Pane - Preview
Expand Down
Loading