diff options
| author | Hsieh Chin Fan <pham@topo.tw> | 2024-10-01 13:12:39 +0800 |
|---|---|---|
| committer | Hsieh Chin Fan <pham@topo.tw> | 2024-10-01 13:50:06 +0800 |
| commit | 3da2e8b3fbfaf273d2100d4c4657bba0be888bdc (patch) | |
| tree | f4e9129914a0e88bfa6195756489ca6d869b487e /src/css | |
| parent | 239a39f1e5bb771bb2841c2aee41038b0b577e07 (diff) | |
feat: beautify result report
* add color for state string
* align extra info to right
* apply new mapclay rule, steps result about "prepare" has type="prepare"
Diffstat (limited to 'src/css')
| -rw-r--r-- | src/css/dumbymap.css | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/css/dumbymap.css b/src/css/dumbymap.css index d84ec2b..7cb4d8c 100644 --- a/src/css/dumbymap.css +++ b/src/css/dumbymap.css | |||
| @@ -694,17 +694,20 @@ root { | |||
| 694 | 694 | ||
| 695 | transform: translate(-50%, -50%); | 695 | transform: translate(-50%, -50%); |
| 696 | overflow-y: scroll; | 696 | overflow-y: scroll; |
| 697 | white-space: pre; | ||
| 697 | 698 | ||
| 698 | details { | 699 | details { |
| 699 | margin-bottom: 0.5em; | 700 | margin-bottom: 0.5em; |
| 700 | } | 701 | } |
| 701 | 702 | ||
| 702 | summary { | 703 | summary { |
| 704 | max-width: 60%; | ||
| 705 | |||
| 703 | cursor: pointer; | 706 | cursor: pointer; |
| 704 | } | 707 | } |
| 705 | 708 | ||
| 706 | details > :not(summary) { | 709 | details > :not(summary) { |
| 707 | padding-left: 1em; | 710 | padding-left: 2em; |
| 708 | } | 711 | } |
| 709 | 712 | ||
| 710 | p { | 713 | p { |
| @@ -718,4 +721,9 @@ root { | |||
| 718 | 721 | ||
| 719 | background: #f0f0f0; | 722 | background: #f0f0f0; |
| 720 | } | 723 | } |
| 724 | |||
| 725 | .align-right { | ||
| 726 | display: inline-block; | ||
| 727 | float: right; | ||
| 728 | } | ||
| 721 | } | 729 | } |