Fossil SCM

Remove the "border-collapse: collapse;" default CSS from the /timeline.

drh 2017-11-29 02:59 UTC sticky-timeline-style
Commit 926a5a38df94e13df51e0c4cad92fad7e36c99a76603209f3ad931b7c3265460
2 files changed -5 +1 -1
--- src/style.c
+++ src/style.c
@@ -782,15 +782,10 @@
782782
{ "span.timelineDisabled",
783783
"The suppressed duplicates lines in timeline, ..",
784784
@ font-style: italic;
785785
@ font-size: small;
786786
},
787
- { "table.timelineTable",
788
- "the format for the timeline data table",
789
- @ border: 0px;
790
- @ border-collapse: collapse;
791
- },
792787
{ "tr.timelineCurrent",
793788
"the format for the timeline data cell of the current checkout",
794789
@ padding: .1em .2em;
795790
@ border: 1px dashed #446979;
796791
@ box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
797792
--- src/style.c
+++ src/style.c
@@ -782,15 +782,10 @@
782 { "span.timelineDisabled",
783 "The suppressed duplicates lines in timeline, ..",
784 @ font-style: italic;
785 @ font-size: small;
786 },
787 { "table.timelineTable",
788 "the format for the timeline data table",
789 @ border: 0px;
790 @ border-collapse: collapse;
791 },
792 { "tr.timelineCurrent",
793 "the format for the timeline data cell of the current checkout",
794 @ padding: .1em .2em;
795 @ border: 1px dashed #446979;
796 @ box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
797
--- src/style.c
+++ src/style.c
@@ -782,15 +782,10 @@
782 { "span.timelineDisabled",
783 "The suppressed duplicates lines in timeline, ..",
784 @ font-style: italic;
785 @ font-size: small;
786 },
 
 
 
 
 
787 { "tr.timelineCurrent",
788 "the format for the timeline data cell of the current checkout",
789 @ padding: .1em .2em;
790 @ border: 1px dashed #446979;
791 @ box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
792
+1 -1
--- src/timeline.c
+++ src/timeline.c
@@ -1744,14 +1744,14 @@
17441744
){
17451745
nEntry = -1;
17461746
zCirca = 0;
17471747
}
17481748
switch( cViewStyle ){
1749
- case 'n': tmFlags |= TIMELINE_NORMAL; break;
17501749
case 'c': tmFlags |= TIMELINE_COMPACT; break;
17511750
case 'v': tmFlags |= TIMELINE_VERBOSE; break;
17521751
case 'j': tmFlags |= TIMELINE_COLUMNAR; break;
1752
+ default: tmFlags |= TIMELINE_NORMAL; break;
17531753
}
17541754
if( zType[0]=='a' ){
17551755
tmFlags |= TIMELINE_BRIEF | TIMELINE_GRAPH;
17561756
}else{
17571757
tmFlags |= TIMELINE_GRAPH;
17581758
--- src/timeline.c
+++ src/timeline.c
@@ -1744,14 +1744,14 @@
1744 ){
1745 nEntry = -1;
1746 zCirca = 0;
1747 }
1748 switch( cViewStyle ){
1749 case 'n': tmFlags |= TIMELINE_NORMAL; break;
1750 case 'c': tmFlags |= TIMELINE_COMPACT; break;
1751 case 'v': tmFlags |= TIMELINE_VERBOSE; break;
1752 case 'j': tmFlags |= TIMELINE_COLUMNAR; break;
 
1753 }
1754 if( zType[0]=='a' ){
1755 tmFlags |= TIMELINE_BRIEF | TIMELINE_GRAPH;
1756 }else{
1757 tmFlags |= TIMELINE_GRAPH;
1758
--- src/timeline.c
+++ src/timeline.c
@@ -1744,14 +1744,14 @@
1744 ){
1745 nEntry = -1;
1746 zCirca = 0;
1747 }
1748 switch( cViewStyle ){
 
1749 case 'c': tmFlags |= TIMELINE_COMPACT; break;
1750 case 'v': tmFlags |= TIMELINE_VERBOSE; break;
1751 case 'j': tmFlags |= TIMELINE_COLUMNAR; break;
1752 default: tmFlags |= TIMELINE_NORMAL; break;
1753 }
1754 if( zType[0]=='a' ){
1755 tmFlags |= TIMELINE_BRIEF | TIMELINE_GRAPH;
1756 }else{
1757 tmFlags |= TIMELINE_GRAPH;
1758

Keyboard Shortcuts

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