Fossil SCM

Adjustments to the default CSS for timeline tables to better display the selected row.

drh 2017-11-29 16:06 trunk
Commit 5beb3614960f2c3e34fd04aaa9e443230378720c93db44561cdba0c0064559e2
1 file changed +9
--- src/style.c
+++ src/style.c
@@ -777,10 +777,14 @@
777777
},
778778
{ "span.disabled",
779779
"The defined element in sideboxes for branches,..",
780780
@ color: red;
781781
},
782
+ { "table.timelineTable",
783
+ "The table that holds a timeline",
784
+ @ border-spacing: 0px;
785
+ },
782786
{ "span.timelineDisabled",
783787
"The suppressed duplicates lines in timeline, ..",
784788
@ font-style: italic;
785789
@ font-size: small;
786790
},
@@ -794,10 +798,15 @@
794798
"The row in the timeline table that contains the entry of interest",
795799
@ padding: .1em .2em;
796800
@ border: 2px solid lightgray;
797801
@ background-color: #ffc;
798802
@ box-shadow: 4px 4px 2px rgba(0, 0, 0, 0.5);
803
+ },
804
+ { "tr.timelineSelected td",
805
+ "Cells within a selected row of a timeline",
806
+ @ border-width: 0;
807
+ @ border-radius: 0;
799808
},
800809
{ "tr.timelineSpacer",
801810
"An extra row inserted to give vertical space between two rows",
802811
@ height: 1ex;
803812
},
804813
--- src/style.c
+++ src/style.c
@@ -777,10 +777,14 @@
777 },
778 { "span.disabled",
779 "The defined element in sideboxes for branches,..",
780 @ color: red;
781 },
 
 
 
 
782 { "span.timelineDisabled",
783 "The suppressed duplicates lines in timeline, ..",
784 @ font-style: italic;
785 @ font-size: small;
786 },
@@ -794,10 +798,15 @@
794 "The row in the timeline table that contains the entry of interest",
795 @ padding: .1em .2em;
796 @ border: 2px solid lightgray;
797 @ background-color: #ffc;
798 @ box-shadow: 4px 4px 2px rgba(0, 0, 0, 0.5);
 
 
 
 
 
799 },
800 { "tr.timelineSpacer",
801 "An extra row inserted to give vertical space between two rows",
802 @ height: 1ex;
803 },
804
--- src/style.c
+++ src/style.c
@@ -777,10 +777,14 @@
777 },
778 { "span.disabled",
779 "The defined element in sideboxes for branches,..",
780 @ color: red;
781 },
782 { "table.timelineTable",
783 "The table that holds a timeline",
784 @ border-spacing: 0px;
785 },
786 { "span.timelineDisabled",
787 "The suppressed duplicates lines in timeline, ..",
788 @ font-style: italic;
789 @ font-size: small;
790 },
@@ -794,10 +798,15 @@
798 "The row in the timeline table that contains the entry of interest",
799 @ padding: .1em .2em;
800 @ border: 2px solid lightgray;
801 @ background-color: #ffc;
802 @ box-shadow: 4px 4px 2px rgba(0, 0, 0, 0.5);
803 },
804 { "tr.timelineSelected td",
805 "Cells within a selected row of a timeline",
806 @ border-width: 0;
807 @ border-radius: 0;
808 },
809 { "tr.timelineSpacer",
810 "An extra row inserted to give vertical space between two rows",
811 @ height: 1ex;
812 },
813

Keyboard Shortcuts

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