Fossil SCM

CSS docs and remove some extraneous empty lines.

stephan 2026-06-13 13:48 UTC forum-editor-2026
Commit 378b3c30c16c0f2e24f1eb2277b510804e236727ddb005f072a87dadb89bb448
--- src/default.css
+++ src/default.css
@@ -2013,10 +2013,12 @@
20132013
/* .attach* = styles for file attachments */
20142014
section.attachlist {}
20152015
details.attachlist > summary {
20162016
cursor: pointer;
20172017
}
2018
+/* .Attacher is the top container element used by the JS Attacher
2019
+ class in fossil.attach.js. */
20182020
.Attacher {
20192021
margin-bottom: 1em;
20202022
display: flex;
20212023
flex-direction: column;
20222024
gap: 0.75em;
20232025
--- src/default.css
+++ src/default.css
@@ -2013,10 +2013,12 @@
2013 /* .attach* = styles for file attachments */
2014 section.attachlist {}
2015 details.attachlist > summary {
2016 cursor: pointer;
2017 }
 
 
2018 .Attacher {
2019 margin-bottom: 1em;
2020 display: flex;
2021 flex-direction: column;
2022 gap: 0.75em;
2023
--- src/default.css
+++ src/default.css
@@ -2013,10 +2013,12 @@
2013 /* .attach* = styles for file attachments */
2014 section.attachlist {}
2015 details.attachlist > summary {
2016 cursor: pointer;
2017 }
2018 /* .Attacher is the top container element used by the JS Attacher
2019 class in fossil.attach.js. */
2020 .Attacher {
2021 margin-bottom: 1em;
2022 display: flex;
2023 flex-direction: column;
2024 gap: 0.75em;
2025
--- src/style.forum.css
+++ src/style.forum.css
@@ -6,56 +6,51 @@
66
padding: 0 0.5em;
77
margin-bottom: 0.35em;
88
}
99
1010
body.forum .forumpost-single-controls button.draft:after {
11
+ /* Reply/Edit buttons on posts which have local draft edits. */
1112
content: " [draft]";
1213
}
1314
15
+/* .ForumPostEditor is the top container element used by the JS
16
+ ForumPostEditor class in fossil.page.forumpost.js. */
1417
.ForumPostEditor {
1518
display: flex;
1619
flex-direction: column;
1720
gap: 1em;
1821
padding: 0.5em;
1922
}
20
-
2123
.ForumPostEditor > .tab-bar{
2224
}
23
-
2425
.ForumPostEditor > .tab-container {
2526
}
26
-
2727
.ForumPostEditor > .tab-container > .tabs {
2828
/*min-height: 10em;*/
2929
}
30
-
3130
.ForumPostEditor > .tab-container > .tabs > .tab-panel.debug {
3231
display: flex;
3332
flex-direction: column;
3433
gap: 0.75em;
3534
}
36
-
3735
.ForumPostEditor > .tab-container > .tabs > .tab-panel.debug label,
3836
.ForumPostEditor > .tab-container > .tabs > .tab-panel.debug input[type=checkbox]{
3937
cursor: pointer;
4038
}
41
-
42
-
4339
.ForumPostEditor > .tab-container > .tabs > .tab-panel {
4440
display: flex;
4541
flex-direction: column;
4642
}
47
-
4843
.ForumPostEditor .tab-panel.editor-wrapper > .editor {
4944
max-width: initial;
5045
min-height: 20em;
5146
flex-grow: 1
5247
}
5348
body.cpage-forumnew .ForumPostEditor .tab-panel.editor-wrapper > .editor {
49
+ /* Start the editor out taller in /forumnew. */
5450
min-height: 28em;
5551
}
56
-
5752
.ForumPostEditor > .buttons > .mimetype-wrapper,
5853
.ForumPostEditor > .titlebar{
5954
display: flex;
6055
flex-direction: row;
6156
font-size: 120%;
@@ -70,11 +65,10 @@
7065
/* Clear some globals... */
7166
font-size: inherit;
7267
max-width: initial;
7368
color: initial;
7469
}
75
-
7670
.ForumPostEditor > .buttons {
7771
font-size: 90%;
7872
display: flex;
7973
flex-direction: row;
8074
gap: 0.75em;
@@ -95,20 +89,18 @@
9589
white-space: nowrap;
9690
}
9791
.ForumPostEditor > .buttons > label > input[type=checkbox]{
9892
cursor: pointer;
9993
}
100
-
10194
.ForumPostEditor > .error {
10295
padding: 0.5em;
10396
border-radius: 0.5em;
10497
}
105
-
10698
.forumpost > .ForumPostEditor {
10799
border-top: 1px dotted;
108100
}
109101
110102
.forumTime {
111103
/* Animate the transition when a ForumPostEditor shifts
112104
its post to the left. */
113105
transition: margin-left 0.25s linear;
114106
}
115107
--- src/style.forum.css
+++ src/style.forum.css
@@ -6,56 +6,51 @@
6 padding: 0 0.5em;
7 margin-bottom: 0.35em;
8 }
9
10 body.forum .forumpost-single-controls button.draft:after {
 
11 content: " [draft]";
12 }
13
 
 
14 .ForumPostEditor {
15 display: flex;
16 flex-direction: column;
17 gap: 1em;
18 padding: 0.5em;
19 }
20
21 .ForumPostEditor > .tab-bar{
22 }
23
24 .ForumPostEditor > .tab-container {
25 }
26
27 .ForumPostEditor > .tab-container > .tabs {
28 /*min-height: 10em;*/
29 }
30
31 .ForumPostEditor > .tab-container > .tabs > .tab-panel.debug {
32 display: flex;
33 flex-direction: column;
34 gap: 0.75em;
35 }
36
37 .ForumPostEditor > .tab-container > .tabs > .tab-panel.debug label,
38 .ForumPostEditor > .tab-container > .tabs > .tab-panel.debug input[type=checkbox]{
39 cursor: pointer;
40 }
41
42
43 .ForumPostEditor > .tab-container > .tabs > .tab-panel {
44 display: flex;
45 flex-direction: column;
46 }
47
48 .ForumPostEditor .tab-panel.editor-wrapper > .editor {
49 max-width: initial;
50 min-height: 20em;
51 flex-grow: 1
52 }
53 body.cpage-forumnew .ForumPostEditor .tab-panel.editor-wrapper > .editor {
 
54 min-height: 28em;
55 }
56
57 .ForumPostEditor > .buttons > .mimetype-wrapper,
58 .ForumPostEditor > .titlebar{
59 display: flex;
60 flex-direction: row;
61 font-size: 120%;
@@ -70,11 +65,10 @@
70 /* Clear some globals... */
71 font-size: inherit;
72 max-width: initial;
73 color: initial;
74 }
75
76 .ForumPostEditor > .buttons {
77 font-size: 90%;
78 display: flex;
79 flex-direction: row;
80 gap: 0.75em;
@@ -95,20 +89,18 @@
95 white-space: nowrap;
96 }
97 .ForumPostEditor > .buttons > label > input[type=checkbox]{
98 cursor: pointer;
99 }
100
101 .ForumPostEditor > .error {
102 padding: 0.5em;
103 border-radius: 0.5em;
104 }
105
106 .forumpost > .ForumPostEditor {
107 border-top: 1px dotted;
108 }
109
110 .forumTime {
111 /* Animate the transition when a ForumPostEditor shifts
112 its post to the left. */
113 transition: margin-left 0.25s linear;
114 }
115
--- src/style.forum.css
+++ src/style.forum.css
@@ -6,56 +6,51 @@
6 padding: 0 0.5em;
7 margin-bottom: 0.35em;
8 }
9
10 body.forum .forumpost-single-controls button.draft:after {
11 /* Reply/Edit buttons on posts which have local draft edits. */
12 content: " [draft]";
13 }
14
15 /* .ForumPostEditor is the top container element used by the JS
16 ForumPostEditor class in fossil.page.forumpost.js. */
17 .ForumPostEditor {
18 display: flex;
19 flex-direction: column;
20 gap: 1em;
21 padding: 0.5em;
22 }
 
23 .ForumPostEditor > .tab-bar{
24 }
 
25 .ForumPostEditor > .tab-container {
26 }
 
27 .ForumPostEditor > .tab-container > .tabs {
28 /*min-height: 10em;*/
29 }
 
30 .ForumPostEditor > .tab-container > .tabs > .tab-panel.debug {
31 display: flex;
32 flex-direction: column;
33 gap: 0.75em;
34 }
 
35 .ForumPostEditor > .tab-container > .tabs > .tab-panel.debug label,
36 .ForumPostEditor > .tab-container > .tabs > .tab-panel.debug input[type=checkbox]{
37 cursor: pointer;
38 }
 
 
39 .ForumPostEditor > .tab-container > .tabs > .tab-panel {
40 display: flex;
41 flex-direction: column;
42 }
 
43 .ForumPostEditor .tab-panel.editor-wrapper > .editor {
44 max-width: initial;
45 min-height: 20em;
46 flex-grow: 1
47 }
48 body.cpage-forumnew .ForumPostEditor .tab-panel.editor-wrapper > .editor {
49 /* Start the editor out taller in /forumnew. */
50 min-height: 28em;
51 }
 
52 .ForumPostEditor > .buttons > .mimetype-wrapper,
53 .ForumPostEditor > .titlebar{
54 display: flex;
55 flex-direction: row;
56 font-size: 120%;
@@ -70,11 +65,10 @@
65 /* Clear some globals... */
66 font-size: inherit;
67 max-width: initial;
68 color: initial;
69 }
 
70 .ForumPostEditor > .buttons {
71 font-size: 90%;
72 display: flex;
73 flex-direction: row;
74 gap: 0.75em;
@@ -95,20 +89,18 @@
89 white-space: nowrap;
90 }
91 .ForumPostEditor > .buttons > label > input[type=checkbox]{
92 cursor: pointer;
93 }
 
94 .ForumPostEditor > .error {
95 padding: 0.5em;
96 border-radius: 0.5em;
97 }
 
98 .forumpost > .ForumPostEditor {
99 border-top: 1px dotted;
100 }
101
102 .forumTime {
103 /* Animate the transition when a ForumPostEditor shifts
104 its post to the left. */
105 transition: margin-left 0.25s linear;
106 }
107

Keyboard Shortcuts

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