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

andygoth 2016-11-07 02:12 trunk
Commit f23ccc89cecaf2e18d96dd93adf14113a5a52c7c
1 file changed +2 -2
+2 -2
--- src/style.c
+++ src/style.c
@@ -721,18 +721,18 @@
721721
},
722722
{ "tr.timelineCurrent",
723723
"the format for the timeline data cell of the current checkout",
724724
@ padding: .1em .2em;
725725
@ border: 1px dashed #446979;
726
- @ box-shadow: 1px 1px 4px #888;
726
+ @ box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
727727
},
728728
{ "tr.timelineSelected",
729729
"The row in the timeline table that contains the entry of interest",
730730
@ padding: .1em .2em;
731731
@ border: 2px solid lightgray;
732732
@ background-color: #ffc;
733
- @ box-shadow: 4px 4px 2px #888;
733
+ @ box-shadow: 4px 4px 2px rgba(0, 0, 0, 0.5);
734734
},
735735
{ "tr.timelineSpacer",
736736
"An extra row inserted to give vertical space between two rows",
737737
@ height: 1ex;
738738
},
739739
--- 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

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button