mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-30 10:42:41 +01:00
64472dd7b8
Summary: Ponder is similar in spirit to the Wiki tool, but uses a Q&A format and up/downvotes to signal user sentiment. Popular questions are moved to the top of the feed on a 5-minute cycle based on age (younger is better) and vote count (higher is better). Pre-apologies for noob diff. Test Plan: - `./bin/phd list` Should include `PonderHeatDaemon`; phd launch it if necessary. - Navigate to /ponder/ ; observe sanity when adding questions, voting on them, and adding answers. - Confirm that questions and answers are linkable using Q5 / Q5#A5 formatted object links. - Confirm that searching for Ponder Questions works using built-in search. Feedback on code / schema / whatever organization very welcome. Reviewers: nh, vrana, epriestley Reviewed By: epriestley CC: gmarcotte, aran, Korvin, starruler Differential Revision: https://secure.phabricator.com/D3136
74 lines
1.2 KiB
CSS
74 lines
1.2 KiB
CSS
/**
|
|
* @provides ponder-vote-css
|
|
*/
|
|
|
|
.ponder-votable {
|
|
min-height : 120px;
|
|
}
|
|
|
|
.ponder-votable .phabricator-transaction-detail {
|
|
min-height : 90px;
|
|
}
|
|
|
|
.ponder-votebox {
|
|
float : left;
|
|
width : 32px;
|
|
height : 60px;
|
|
margin-top : 56px;
|
|
margin-left : 10px;
|
|
}
|
|
|
|
.ponder-upbutton {
|
|
border : none;
|
|
padding : 0;
|
|
margin : 0;
|
|
width : 32px;
|
|
height : 13px;
|
|
}
|
|
|
|
.ponder-downbutton {
|
|
border : none;
|
|
padding : 0;
|
|
margin : 0;
|
|
width : 32px;
|
|
height : 13px;
|
|
}
|
|
|
|
.ponder-votecount {
|
|
width : 32px;
|
|
height : 22pt;
|
|
padding : 0;
|
|
margin : 0;
|
|
overflow : visible;
|
|
text-align : center;
|
|
font-size : 15pt;
|
|
}
|
|
|
|
.ponder-upbutton:hover {
|
|
cursor : pointer;
|
|
}
|
|
|
|
.ponder-downbutton:hover {
|
|
cursor : pointer;
|
|
}
|
|
|
|
.ponder-votable-bottom {
|
|
clear : both;
|
|
}
|
|
|
|
.ponder-upbutton {
|
|
background : url(/rsrc/image/application/ponder/upvote.png) 0 -13px no-repeat;
|
|
}
|
|
|
|
.ponder-upbutton.ponder-vote-up {
|
|
background : url(/rsrc/image/application/ponder/upvote.png) 0 0 no-repeat;
|
|
}
|
|
|
|
.ponder-downbutton {
|
|
background : url(/rsrc/image/application/ponder/downvote.png)
|
|
0 -13px no-repeat;
|
|
}
|
|
|
|
.ponder-downbutton.ponder-vote-down {
|
|
background : url(/rsrc/image/application/ponder/downvote.png) 0 0 no-repeat;
|
|
}
|