Fossil SCM
/brlist: use background color change, instead of bold, for selected branches to avoid layout changes from the text changing size, as discussed in and around [forum:/forumpost/606cbfdff6 | forum post 606cbfdff6]. Background color is the same as timelineSelected for all skins except xekri, which needs a bit more contrast.
Commit
9322a0bc2042ccfe0a288af2cc2f2572899ddf05488de4a039e155607c7605db
Parent
64edf41afe3e83f…
5 files changed
+5
-1
+5
+5
+5
+2
-2
+5
-1
| --- skins/ardoise/css.txt | ||
| +++ skins/ardoise/css.txt | ||
| @@ -959,11 +959,11 @@ | ||
| 959 | 959 | span.timelineSelected { |
| 960 | 960 | border-radius: 5px; |
| 961 | 961 | border: solid #ff8000; |
| 962 | 962 | vertical-align: top; |
| 963 | 963 | text-align: left; |
| 964 | - background: #442800 | |
| 964 | + background-color: #442800; | |
| 965 | 965 | } |
| 966 | 966 | .timelineSelected { |
| 967 | 967 | box-shadow: none; |
| 968 | 968 | } |
| 969 | 969 | .timelineSecondary {} |
| @@ -1410,6 +1410,10 @@ | ||
| 1410 | 1410 | .capsumRead { |
| 1411 | 1411 | background-color: #262; |
| 1412 | 1412 | } |
| 1413 | 1413 | .capsumWrite { |
| 1414 | 1414 | background-color: #662; |
| 1415 | +} | |
| 1416 | +body.branch .brlist > table > tbody > tr:hover:not(.selected), | |
| 1417 | +body.branch .brlist > table > tbody > tr.selected { | |
| 1418 | + background-color: #442800; | |
| 1415 | 1419 | } |
| 1416 | 1420 |
| --- skins/ardoise/css.txt | |
| +++ skins/ardoise/css.txt | |
| @@ -959,11 +959,11 @@ | |
| 959 | span.timelineSelected { |
| 960 | border-radius: 5px; |
| 961 | border: solid #ff8000; |
| 962 | vertical-align: top; |
| 963 | text-align: left; |
| 964 | background: #442800 |
| 965 | } |
| 966 | .timelineSelected { |
| 967 | box-shadow: none; |
| 968 | } |
| 969 | .timelineSecondary {} |
| @@ -1410,6 +1410,10 @@ | |
| 1410 | .capsumRead { |
| 1411 | background-color: #262; |
| 1412 | } |
| 1413 | .capsumWrite { |
| 1414 | background-color: #662; |
| 1415 | } |
| 1416 |
| --- skins/ardoise/css.txt | |
| +++ skins/ardoise/css.txt | |
| @@ -959,11 +959,11 @@ | |
| 959 | span.timelineSelected { |
| 960 | border-radius: 5px; |
| 961 | border: solid #ff8000; |
| 962 | vertical-align: top; |
| 963 | text-align: left; |
| 964 | background-color: #442800; |
| 965 | } |
| 966 | .timelineSelected { |
| 967 | box-shadow: none; |
| 968 | } |
| 969 | .timelineSecondary {} |
| @@ -1410,6 +1410,10 @@ | |
| 1410 | .capsumRead { |
| 1411 | background-color: #262; |
| 1412 | } |
| 1413 | .capsumWrite { |
| 1414 | background-color: #662; |
| 1415 | } |
| 1416 | body.branch .brlist > table > tbody > tr:hover:not(.selected), |
| 1417 | body.branch .brlist > table > tbody > tr.selected { |
| 1418 | background-color: #442800; |
| 1419 | } |
| 1420 |
| --- skins/darkmode/css.txt | ||
| +++ skins/darkmode/css.txt | ||
| @@ -553,5 +553,10 @@ | ||
| 553 | 553 | |
| 554 | 554 | body.report table.report tr td { color: black } |
| 555 | 555 | body.report table.report a { color: blue } |
| 556 | 556 | body.tkt td.tktDspValue { color: black } |
| 557 | 557 | body.tkt td.tktDspValue a { color: blue } |
| 558 | + | |
| 559 | +body.branch .brlist > table > tbody > tr:hover:not(.selected), | |
| 560 | +body.branch .brlist > table > tbody > tr.selected { | |
| 561 | + background-color: #442800; | |
| 562 | +} | |
| 558 | 563 |
| --- skins/darkmode/css.txt | |
| +++ skins/darkmode/css.txt | |
| @@ -553,5 +553,10 @@ | |
| 553 | |
| 554 | body.report table.report tr td { color: black } |
| 555 | body.report table.report a { color: blue } |
| 556 | body.tkt td.tktDspValue { color: black } |
| 557 | body.tkt td.tktDspValue a { color: blue } |
| 558 |
| --- skins/darkmode/css.txt | |
| +++ skins/darkmode/css.txt | |
| @@ -553,5 +553,10 @@ | |
| 553 | |
| 554 | body.report table.report tr td { color: black } |
| 555 | body.report table.report a { color: blue } |
| 556 | body.tkt td.tktDspValue { color: black } |
| 557 | body.tkt td.tktDspValue a { color: blue } |
| 558 | |
| 559 | body.branch .brlist > table > tbody > tr:hover:not(.selected), |
| 560 | body.branch .brlist > table > tbody > tr.selected { |
| 561 | background-color: #442800; |
| 562 | } |
| 563 |
+5
| --- skins/eagle/css.txt | ||
| +++ skins/eagle/css.txt | ||
| @@ -433,5 +433,10 @@ | ||
| 433 | 433 | background-color: #006d00; |
| 434 | 434 | } |
| 435 | 435 | .capsumWrite { |
| 436 | 436 | background-color: #e5e500; |
| 437 | 437 | } |
| 438 | + | |
| 439 | +body.branch .brlist > table > tbody > tr:hover:not(.selected), | |
| 440 | +body.branch .brlist > table > tbody > tr.selected { | |
| 441 | + background-color: #7EA2D9; | |
| 442 | +} | |
| 438 | 443 |
| --- skins/eagle/css.txt | |
| +++ skins/eagle/css.txt | |
| @@ -433,5 +433,10 @@ | |
| 433 | background-color: #006d00; |
| 434 | } |
| 435 | .capsumWrite { |
| 436 | background-color: #e5e500; |
| 437 | } |
| 438 |
| --- skins/eagle/css.txt | |
| +++ skins/eagle/css.txt | |
| @@ -433,5 +433,10 @@ | |
| 433 | background-color: #006d00; |
| 434 | } |
| 435 | .capsumWrite { |
| 436 | background-color: #e5e500; |
| 437 | } |
| 438 | |
| 439 | body.branch .brlist > table > tbody > tr:hover:not(.selected), |
| 440 | body.branch .brlist > table > tbody > tr.selected { |
| 441 | background-color: #7EA2D9; |
| 442 | } |
| 443 |
+5
| --- skins/xekri/css.txt | ||
| +++ skins/xekri/css.txt | ||
| @@ -1138,5 +1138,10 @@ | ||
| 1138 | 1138 | } |
| 1139 | 1139 | |
| 1140 | 1140 | .debug { |
| 1141 | 1141 | color: black; |
| 1142 | 1142 | } |
| 1143 | + | |
| 1144 | +body.branch .brlist > table > tbody > tr:hover:not(.selected), | |
| 1145 | +body.branch .brlist > table > tbody > tr.selected { | |
| 1146 | + background-color: #444; | |
| 1147 | +} | |
| 1143 | 1148 |
| --- skins/xekri/css.txt | |
| +++ skins/xekri/css.txt | |
| @@ -1138,5 +1138,10 @@ | |
| 1138 | } |
| 1139 | |
| 1140 | .debug { |
| 1141 | color: black; |
| 1142 | } |
| 1143 |
| --- skins/xekri/css.txt | |
| +++ skins/xekri/css.txt | |
| @@ -1138,5 +1138,10 @@ | |
| 1138 | } |
| 1139 | |
| 1140 | .debug { |
| 1141 | color: black; |
| 1142 | } |
| 1143 | |
| 1144 | body.branch .brlist > table > tbody > tr:hover:not(.selected), |
| 1145 | body.branch .brlist > table > tbody > tr.selected { |
| 1146 | background-color: #444; |
| 1147 | } |
| 1148 |
+2
-2
| --- src/default.css | ||
| +++ src/default.css | ||
| @@ -1773,13 +1773,13 @@ | ||
| 1773 | 1773 | |
| 1774 | 1774 | input[type="checkbox"].diff-toggle { |
| 1775 | 1775 | float: right; |
| 1776 | 1776 | } |
| 1777 | 1777 | |
| 1778 | -body.branch .brlist > table > tbody > tr:hover > td:first-child, | |
| 1778 | +body.branch .brlist > table > tbody > tr:hover:not(.selected), | |
| 1779 | 1779 | body.branch .brlist > table > tbody > tr.selected { |
| 1780 | - font-weight: bold; | |
| 1780 | + background-color: #ffc; | |
| 1781 | 1781 | } |
| 1782 | 1782 | body.branch .brlist > table > tbody td:first-child > input { |
| 1783 | 1783 | cursor: pointer; |
| 1784 | 1784 | } |
| 1785 | 1785 | body.branch .brlist > table > tbody > tr > td:nth-child(1) { |
| 1786 | 1786 |
| --- src/default.css | |
| +++ src/default.css | |
| @@ -1773,13 +1773,13 @@ | |
| 1773 | |
| 1774 | input[type="checkbox"].diff-toggle { |
| 1775 | float: right; |
| 1776 | } |
| 1777 | |
| 1778 | body.branch .brlist > table > tbody > tr:hover > td:first-child, |
| 1779 | body.branch .brlist > table > tbody > tr.selected { |
| 1780 | font-weight: bold; |
| 1781 | } |
| 1782 | body.branch .brlist > table > tbody td:first-child > input { |
| 1783 | cursor: pointer; |
| 1784 | } |
| 1785 | body.branch .brlist > table > tbody > tr > td:nth-child(1) { |
| 1786 |
| --- src/default.css | |
| +++ src/default.css | |
| @@ -1773,13 +1773,13 @@ | |
| 1773 | |
| 1774 | input[type="checkbox"].diff-toggle { |
| 1775 | float: right; |
| 1776 | } |
| 1777 | |
| 1778 | body.branch .brlist > table > tbody > tr:hover:not(.selected), |
| 1779 | body.branch .brlist > table > tbody > tr.selected { |
| 1780 | background-color: #ffc; |
| 1781 | } |
| 1782 | body.branch .brlist > table > tbody td:first-child > input { |
| 1783 | cursor: pointer; |
| 1784 | } |
| 1785 | body.branch .brlist > table > tbody > tr > td:nth-child(1) { |
| 1786 |