1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-30 18:52:42 +01:00
phorge-phorge/webroot/rsrc/css/application/ponder/vote.css
epriestley 054ea7dc4a Simplify upvote/downvote implementation
Summary:
Use sigils to simplify the vote implementation and move most rendering to the server.

Use unicode glyphs in place of graphics.

Test Plan: {F19539}

Reviewers: pieter, starruler

Reviewed By: pieter

CC: aran

Maniphest Tasks: T1644

Differential Revision: https://secure.phabricator.com/D3518
2012-09-30 20:12:35 -07:00

59 lines
869 B
CSS

/**
* @provides ponder-vote-css
*/
.ponder-votebox {
text-align: center;
}
.ponder-votebox a {
font-size: 20px;
line-height: 20px;
display: block;
text-decoration: none;
color: #999999;
font-weight: normal;
/* Our default fonts have weirdly different up/down arrow sizes. */
font-family: Arial;
}
.ponder-votebox a:hover {
color: #606060;
}
.ponder-votebox a.ponder-vote-active {
color: #3b5998;
}
.ponder-votebox a.ponder-vote-active:hover {
color: #a1bbe5;
}
.ponder-vote-count {
color: #888888;
font-size: 14px;
line-height: 14px;
font-weight: bold;
}
.ponder-votebox {
float : left;
width : 32px;
height : 60px;
margin-top : 56px;
margin-left : 10px;
}
.ponder-votable .phabricator-transaction-view {
margin : 0;
padding : 0;
}
.ponder-votable .phabricator-transaction-detail {
min-height : 90px;
}