Fossil SCM
Use rgba(0,0,0,0.5) instead of #888 to implement 50% shadow so that the shadow works even against a colored or dark background
Commit
f23ccc89cecaf2e18d96dd93adf14113a5a52c7c
Parent
446d438ee067c5f…
1 file changed
+2
-2
+2
-2
| --- src/style.c | ||
| +++ src/style.c | ||
| @@ -721,18 +721,18 @@ | ||
| 721 | 721 | }, |
| 722 | 722 | { "tr.timelineCurrent", |
| 723 | 723 | "the format for the timeline data cell of the current checkout", |
| 724 | 724 | @ padding: .1em .2em; |
| 725 | 725 | @ border: 1px dashed #446979; |
| 726 | - @ box-shadow: 1px 1px 4px #888; | |
| 726 | + @ box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5); | |
| 727 | 727 | }, |
| 728 | 728 | { "tr.timelineSelected", |
| 729 | 729 | "The row in the timeline table that contains the entry of interest", |
| 730 | 730 | @ padding: .1em .2em; |
| 731 | 731 | @ border: 2px solid lightgray; |
| 732 | 732 | @ background-color: #ffc; |
| 733 | - @ box-shadow: 4px 4px 2px #888; | |
| 733 | + @ box-shadow: 4px 4px 2px rgba(0, 0, 0, 0.5); | |
| 734 | 734 | }, |
| 735 | 735 | { "tr.timelineSpacer", |
| 736 | 736 | "An extra row inserted to give vertical space between two rows", |
| 737 | 737 | @ height: 1ex; |
| 738 | 738 | }, |
| 739 | 739 |
| --- src/style.c | |
| +++ src/style.c | |
| @@ -721,18 +721,18 @@ | |
| 721 | }, |
| 722 | { "tr.timelineCurrent", |
| 723 | "the format for the timeline data cell of the current checkout", |
| 724 | @ padding: .1em .2em; |
| 725 | @ border: 1px dashed #446979; |
| 726 | @ box-shadow: 1px 1px 4px #888; |
| 727 | }, |
| 728 | { "tr.timelineSelected", |
| 729 | "The row in the timeline table that contains the entry of interest", |
| 730 | @ padding: .1em .2em; |
| 731 | @ border: 2px solid lightgray; |
| 732 | @ background-color: #ffc; |
| 733 | @ box-shadow: 4px 4px 2px #888; |
| 734 | }, |
| 735 | { "tr.timelineSpacer", |
| 736 | "An extra row inserted to give vertical space between two rows", |
| 737 | @ height: 1ex; |
| 738 | }, |
| 739 |
| --- src/style.c | |
| +++ src/style.c | |
| @@ -721,18 +721,18 @@ | |
| 721 | }, |
| 722 | { "tr.timelineCurrent", |
| 723 | "the format for the timeline data cell of the current checkout", |
| 724 | @ padding: .1em .2em; |
| 725 | @ border: 1px dashed #446979; |
| 726 | @ box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5); |
| 727 | }, |
| 728 | { "tr.timelineSelected", |
| 729 | "The row in the timeline table that contains the entry of interest", |
| 730 | @ padding: .1em .2em; |
| 731 | @ border: 2px solid lightgray; |
| 732 | @ background-color: #ffc; |
| 733 | @ box-shadow: 4px 4px 2px rgba(0, 0, 0, 0.5); |
| 734 | }, |
| 735 | { "tr.timelineSpacer", |
| 736 | "An extra row inserted to give vertical space between two rows", |
| 737 | @ height: 1ex; |
| 738 | }, |
| 739 |