mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-09-10 14:56:06 +00:00
Styling tweaks
This commit is contained in:
@@ -23,10 +23,12 @@ title: $:/core/ui/testcases/DefaultTemplate
|
|||||||
</div>
|
</div>
|
||||||
<%if [<testResult>match[fail]] %>
|
<%if [<testResult>match[fail]] %>
|
||||||
<div class="tc-testcase-result-fail">
|
<div class="tc-testcase-result-fail">
|
||||||
<div>
|
<div class="tc-testcase-result-fail-header">
|
||||||
TEST FAILED
|
TEST FAILED
|
||||||
|
</div>
|
||||||
|
<div class="tc-testcase-result-fail-body">
|
||||||
|
<$diff-text source=<<expectedHTML>> dest=<<outputHTML>>/>
|
||||||
</div>
|
</div>
|
||||||
<$diff-text source=<<expectedHTML>> dest=<<outputHTML>>/>
|
|
||||||
</div>
|
</div>
|
||||||
<%endif%>
|
<%endif%>
|
||||||
<div class="tc-testcase-panes">
|
<div class="tc-testcase-panes">
|
||||||
|
@@ -8,4 +8,4 @@ title: Output
|
|||||||
The sum is <$text text={{{ [[2]add[2]] }}}/>.
|
The sum is <$text text={{{ [[2]add[2]] }}}/>.
|
||||||
+
|
+
|
||||||
title: ExpectedResult
|
title: ExpectedResult
|
||||||
text: The sum is not 8.
|
text: <p>The sum is not 8.</p>
|
||||||
|
@@ -3277,13 +3277,6 @@ span.tc-translink > a:first-child {
|
|||||||
height: 0.5em;
|
height: 0.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tc-testcase-result-fail {
|
|
||||||
border: 1px solid <<colour foreground>>;
|
|
||||||
background-color: <<colour background>>;
|
|
||||||
margin: 1em;
|
|
||||||
padding: 1em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tc-testcase-header > h2,
|
.tc-testcase-header > h2,
|
||||||
.tc-testcase-source > pre {
|
.tc-testcase-source > pre {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
@@ -3293,6 +3286,24 @@ span.tc-translink > a:first-child {
|
|||||||
font-style: normal;
|
font-style: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.tc-testcase-result-fail {
|
||||||
|
border: 1px solid <<colour foreground>>;
|
||||||
|
background-color: <<colour background>>;
|
||||||
|
border-radius: 4px;
|
||||||
|
margin: 0 0.5em;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tc-testcase-result-fail-header {
|
||||||
|
background: <<colour foreground>>;
|
||||||
|
color: <<colour background>>;
|
||||||
|
padding: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tc-testcase-result-fail-body {
|
||||||
|
padding: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
.tc-testcase-source > pre {
|
.tc-testcase-source > pre {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user