Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit291a053

Browse files
committed
updated style for regtest, less jarring background
1 parent0e115a9 commit291a053

File tree

2 files changed

+15
-14
lines changed

2 files changed

+15
-14
lines changed

‎_layouts/regrtests_results.html‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
<divdata-filter="skipped"class="filter pr-2"> Skipped</div>
2323
<divdata-filter="expected_failure"class="filter pr-2"> Expected Failures</div>
2424
<divdata-filter=""class="filter ml-auto"> Summary only</div>
25+
<divclass="filter"><atarget="_blank"class="text-decoration-none"href="https://github.com/RustPython/rustpython.github.io/blob/master/_data/regrtests_results.json">Json file</a></div>
2526
</div>
2627
</div>
2728

@@ -31,8 +32,8 @@
3132
<divclass="m-auto">
3233

3334
<divclass="results-suites">
34-
<divclass="results-test">
35-
<divclass="padding-small">
35+
<divclass="results-test">
36+
<divclass="padding-small bg-rust text-white">
3637
<h2class="font-secondary">Summary:</span>
3738
</div>
3839
{% assign regrtests_results = site.data.regrtests_results %}
@@ -49,9 +50,9 @@ <h2 class="font-secondary">Summary:</span>
4950

5051
<divclass="results-suites">
5152
{% for result in test %}
52-
53+
5354
<divclass="results-test">
54-
<divclass="d-md-flex">
55+
<divclass="results-test-headerd-md-flex">
5556
<divclass="w-md-50">
5657
{% if result.module %}
5758
<divclass="padding-small">

‎assets/style.css‎

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@ h6 {
5454
text-transform: uppercase;
5555
}
5656

57+
.text-decoration-none {
58+
text-decoration: none;
59+
}
60+
5761
h1 {
5862
font-size:1.5em;
5963
margin-top:2em;
@@ -289,11 +293,15 @@ ul.list-inline {
289293

290294
/* test results */
291295

296+
.results-test-header {
297+
background-color:#f8f8f8;
298+
}
299+
292300
.results-test {
293301
margin-top:50px;
294-
color:#fff;
302+
color:#000;
303+
border:1px solid black;
295304
font-size:1.1rem;
296-
background-color:#f74c00;
297305
word-wrap: anywhere;
298306
}
299307

@@ -303,15 +311,7 @@ ul.list-inline {
303311
text-transform: capitalize;
304312
}
305313

306-
.results-case-wrapper>div {
307-
padding-left:10px;
308-
padding-right:10px;
309-
}
310-
311314
.results-case {
312-
background-color: white;
313-
border-left:1px solid#000;
314-
border-right:1px solid#000;
315315
pointer-events: auto;
316316
}
317317

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp