blob: fb7f7be8491600c616dcbacc941432bea40ebb0d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
|
/* Styles specific to the forum family of pages */
fieldset.forum-status-selection {
max-width: max-content;
border-radius: 0.5em;
padding: 0 0.5em;
margin-bottom: 0.35em;
}
body.forum .forumpost-single-controls button.draft:after {
/* Reply/Edit buttons on posts which have local draft edits. */
content: " [draft]";
}
/* .ForumPostEditor is the top container element used by the JS
ForumPostEditor class in fossil.page.forumpost.js. */
.ForumPostEditor {
display: flex;
flex-direction: column;
gap: 1em;
padding: 0.5em;
}
.ForumPostEditor > .tab-bar{
}
.ForumPostEditor > .tab-container {
}
.ForumPostEditor > .tab-container > .tabs {
/*min-height: 10em;*/
}
.ForumPostEditor > .tab-container > .tabs > .tab-panel.debug {
display: flex;
flex-direction: column;
gap: 0.75em;
}
.ForumPostEditor > .tab-container > .tabs > .tab-panel.debug label,
.ForumPostEditor > .tab-container > .tabs > .tab-panel.debug input[type=checkbox]{
cursor: pointer;
}
.ForumPostEditor > .tab-container > .tabs > .tab-panel {
display: flex;
flex-direction: column;
}
.ForumPostEditor .tab-panel.editor-wrapper > .editor {
max-width: initial;
min-height: 20em;
flex-grow: 1
}
body.cpage-forumnew .ForumPostEditor .tab-panel.editor-wrapper > .editor {
/* Start the editor out taller in /forumnew. */
min-height: 28em;
}
.ForumPostEditor > .buttons > .mimetype-wrapper,
.ForumPostEditor > .titlebar{
display: flex;
flex-direction: row;
font-size: 120%;
align-items: stretch;
gap: 0.75em;
}
.ForumPostEditor > .titlebar{
align-items: center;
}
.ForumPostEditor > .titlebar > .title {
flex-grow: 1;
/* Clear some globals... */
font-size: inherit;
max-width: initial;
}
.ForumPostEditor > .buttons {
font-size: 90%;
display: flex;
flex-direction: row;
gap: 0.75em;
flex-wrap: wrap;
}
.ForumPostEditor > .buttons > label {
white-space: nowrap;
display: flex;
flex-direction: row;
align-items: last baseline;
cursor: pointer;
border: 1px inset rgba(128, 128, 128, 0.5);
border-radius: 0.25em;
padding: 0.1em;
}
.ForumPostEditor > .buttons > label.logged-in-as {
cursor: initial;
white-space: nowrap;
}
.ForumPostEditor > .buttons > label > input[type=checkbox]{
cursor: pointer;
}
.ForumPostEditor > .error {
padding: 0.5em;
border-radius: 0.5em;
}
.forumpost > .ForumPostEditor {
border-top: 1px dotted;
}
.forumTime {
/* Animate the transition when a ForumPostEditor shifts
its post to the left. */
transition: margin-left 0.25s linear;
}
.forum form input.action-approve {
margin-right: 1em;
}
|