Skip to content

Commit 9057632

Browse files
committed
Fix colors and CSS (fix #97 #98)
1 parent 0cde036 commit 9057632

File tree

3 files changed

+17
-14
lines changed

3 files changed

+17
-14
lines changed

Sources/WCSettings.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ - (NSDictionary *)_defaultTheme {
588588
WIStringFromColor([NSColor whiteColor]), WCThemesChatBackgroundColor,
589589
WIStringFromColor([NSColor lightGrayColor]), WCThemesChatEventsColor,
590590
WIStringFromColor([NSColor lightGrayColor]), WCThemesChatTimestampEveryLineColor,
591-
WIStringFromColor([NSColor blueColor]), WCThemesChatURLsColor,
591+
WIStringFromColor([NSColor linkColor]), WCThemesChatURLsColor,
592592
WIStringFromFont([NSFont fontWithName:@"Helvetica" size:13.0]), WCThemesMessagesFont,
593593
WIStringFromColor([NSColor darkGrayColor]), WCThemesMessagesTextColor,
594594
WIStringFromColor([NSColor whiteColor]), WCThemesMessagesBackgroundColor,

Templates/Neo/htdocs/css/boards.css

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,18 +35,22 @@ div.postheader {
3535
font: normal 12px "Helvetica", sans-serif;
3636
background-color: <? headerbackground ?>;
3737
padding: 7px;
38-
min-height: 33px;
38+
min-height: 42px;
3939
border-bottom: 1px solid #999;
4040
border-top-left-radius: 3px;
4141
border-top-right-radius: 3px;
4242
}
4343

4444
div.postinfo {
45-
width: 165px;
45+
width: 215px;
4646
float: left;
4747
}
4848

4949

50+
div.postattributes {
51+
margin-left: 10px;
52+
}
53+
5054
div.postheadertitles {
5155
float: left;
5256
}
@@ -79,15 +83,15 @@ span.postfrom {
7983
}
8084

8185
span.postpostdatestring, span.posteditdatestring {
82-
font-size: 9px;
86+
font: normal 9px "<? fontname ?>", sans-serif;
8387
}
8488

8589
span.postpostdate, span.posteditdate {
86-
font-size: 9px;
90+
font: normal 9px "<? fontname ?>", sans-serif;
8791
}
8892

8993

90-
div.posticon { float: left; }
94+
div.posticon { float: left; margin-top: 5px; }
9195

9296
.postunread {
9397
float: right;
@@ -98,6 +102,7 @@ div.posticon { float: left; }
98102
div.postbuttons {
99103
padding: 5px;
100104
margin-right: 5px;
105+
margin-top: 5px;
101106
text-align: right;
102107
width: auto;
103108
float: right;

Templates/Neo/htdocs/js/boards.js

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -127,14 +127,12 @@ function _formatPostAsHTHML(post) {
127127
'<div class="postinfo">' +
128128
'<span class="postfrom">' + post["from"] + '</span>' +
129129
'<div class="postattributes">' +
130-
'<div class="postheadertitles">' +
131-
'<span class="postpostdatestring postheadertitle">' + post["postDateString"] + '</span>' +
132-
'<span class="posteditdatestring postheadertitle">' + post["editDateString"] + '</span>' +
133-
'</div>' +
134-
'<div class="postheadervalues">' +
135-
'<span class="postheadervalue postpostdate">' + post["postDate"] + '</span>' +
136-
'<span class="postheadervalue posteditdate">' + post["editDate"] + '</span>' +
137-
'</div>' +
130+
'<span class="postpostdatestring">' + post["postDateString"] + '</span>' +
131+
'<span class="postpostdate"> ' + post["postDate"] + '</span>' +
132+
'</div>' +
133+
'<div class="postattributes">' +
134+
'<span class="posteditdatestring ">' + post["editDateString"] + '</span>' +
135+
'<span class="posteditdate"> ' + post["editDate"] + '</span>' +
138136
'</div>' +
139137
'</div>' +
140138
'<span class="postunread"></span>' +

0 commit comments

Comments
 (0)