91f70d2a4a
Added basic support for server sync. Re-added a few missing defers. Renamed TO-DO to TODO across the entire codebase. Renamed StaticForumStore to MemoryForumStore. The ForumStore is now built on a sync.Map with a view slice for generating /forums rather than a slice. Renamed many more functions and variables to satisfy the linter. increase_post_user_stats() and decrease_post_user_stats() are now methods on the User struct. We also fix a bug where they take the moderator's score rather than the target user's into account when recalculating their level after a post / topic is deleted. Transitioned the topic list to CSS Grid for Tempra Simple, with a float fallback. Cosmo and Cosmo Conflux are now hidden from the theme list. Fixed more data races. Added more debug data to the template compiler logs.
131 lines
2.1 KiB
CSS
131 lines
2.1 KiB
CSS
/* Control Panel */
|
|
|
|
.tag-mini {
|
|
text-transform: none;
|
|
margin-left: 0px;
|
|
padding-left: 3px;
|
|
padding-right: 3px;
|
|
padding-top: 1.5px;
|
|
padding-bottom: 0px;
|
|
color: #505050 !important; /* 80,80,80 */
|
|
background-color: #FFFFFF;
|
|
border-style: solid;
|
|
border-color: #ccc;
|
|
border-width: 1px;
|
|
font-size: 10px;
|
|
}
|
|
|
|
.panel_compactrow .panel_tag {
|
|
font-size: 14px;
|
|
}
|
|
.panel_compactrow {
|
|
padding-left: 10px;
|
|
padding-top: 10px;
|
|
padding-bottom: 10px;
|
|
padding-right: 10px;
|
|
}
|
|
.panel_compacttext {
|
|
font-size: 14px;
|
|
}
|
|
|
|
.panel_upshift {
|
|
font-size: 18px;
|
|
position: relative;
|
|
top: -2px;
|
|
}
|
|
.panel_compactrow .panel_upshift {
|
|
font-size: 16px;
|
|
position: static;
|
|
}
|
|
.panel_upshift:visited {
|
|
color: black;
|
|
}
|
|
/*.panel_tag_upshift {
|
|
margin-left: 2px;
|
|
position: relative;
|
|
top:-3px;
|
|
color: #505050;
|
|
}*/
|
|
|
|
.panel_floater {
|
|
float: right;
|
|
}
|
|
.panel_rank_tag_admin:before {
|
|
content: "👑";
|
|
}
|
|
.panel_rank_tag_mod:before {
|
|
content: "👮";
|
|
}
|
|
.panel_rank_tag_banned:before {
|
|
content: "⛓️";
|
|
}
|
|
.panel_rank_tag_guest:before {
|
|
content: "👽";
|
|
}
|
|
.panel_rank_tag_member:before {
|
|
content: "👪";
|
|
}
|
|
|
|
.forum_preset_announce:before {
|
|
content: "📣";
|
|
}
|
|
.forum_preset_members:before {
|
|
content: "👪";
|
|
}
|
|
.forum_preset_staff:before {
|
|
content: "👮";
|
|
}
|
|
.forum_preset_admins:before {
|
|
content: "👑";
|
|
}
|
|
.forum_preset_archive:before {
|
|
content: "☠️";
|
|
}
|
|
.forum_preset_all, .forum_preset_custom, .forum_preset_ {
|
|
display: none !important;
|
|
}
|
|
.forum_active_Hide:before {
|
|
content: "🕵️";
|
|
}
|
|
.forum_active_Show {
|
|
display: none !important;
|
|
}
|
|
.forum_active_name {
|
|
color: #707070;
|
|
}
|
|
.builtin_forum_divider {
|
|
border-bottom-style: solid;
|
|
}
|
|
|
|
.perm_preset_no_access:before {
|
|
content: "No Access";
|
|
color: maroon;
|
|
}
|
|
.perm_preset_read_only:before {
|
|
content: "Read Only";
|
|
color: green;
|
|
}
|
|
.perm_preset_can_post:before {
|
|
content: "Can Post";
|
|
color: green;
|
|
}
|
|
.perm_preset_can_moderate:before {
|
|
content: "Can Moderate";
|
|
color: darkblue;
|
|
}
|
|
.perm_preset_custom:before {
|
|
content: "Custom";
|
|
color: black;
|
|
}
|
|
.perm_preset_default:before {
|
|
content: "Default";
|
|
}
|
|
|
|
#panel_dashboard_right .colstack_head {
|
|
display: none;
|
|
}
|
|
|
|
/* TODO: Figure out how to handle this on the Control Panel */
|
|
.footer {
|
|
display: none;
|
|
} |