}
.ctdl-forum-reading-pane {
- background-color: DarkSlateGrey;
+ background-color: DarkSlateGrey; /* Background behind the message boxes */
}
.ctdl-fmsg-wrapper { /* message wrapper for forum view */
}
.ctdl-roomlist-top {
- margin: 1%;
+ margin: 0;
+ background-color: GhostWhite;
}
.ctdl-roomlist-floor {
.ctdl-roomlist-floor-label {
font-size: x-large;
margin: 1vw;
+ margin-bottom: 0;
}
.ctdl-roomlist-floor-rooms {
.ctdl-roomlist-room {
overflow: hidden;
border-radius: 10px;
+ border-style: outset;
background-color: White;
padding: 0.5vw;
- margin-bottom: 0.5vw;
- width: 100%;
+ margin-top: 0;
+ margin-bottom: 0.25vw;
+ margin-left: 1vw;
+ margin-right: 1vw;
}
.ctdl-roomlist-roomicon {
for (var i in room_list) {
if (room_list[i].current_view == views.VIEW_BBS) {
output[room_list[i].floor] +=
- "<div class=\"w3-button ctdl-roomlist-room\" onClick=\"javascript:gotoroom('"
+ "<div class=\"ctdl-roomlist-room\" onClick=\"javascript:gotoroom('"
+ escapeJS(escapeHTML(room_list[i].name)) + "');\">"
- + "<i class=\"w3-badge ctdl-roomlist-roomicon w3-left "
+ + "<i class=\"ctdl-roomlist-roomicon "
+ (room_list[i].hasnewmsgs ? "w3-blue" : "w3-gray")
+ " fas fa-comments fa-fw\"></i><span class=\"ctdl-roomlist-roomname"
+ (room_list[i].hasnewmsgs ? " ctdl-roomlist-roomname-hasnewmsgs" : "")