mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-23 15:22:41 +01:00
85bf88e400
Summary: This does a few things: - Allows you to flag pastes. This is straightforward. - Allows Applications to register event listeners. - Makes object action lists emit a 'didrenderactions' event, so other applications can add more actions. The Flags application injects its action in this way. This should generally make it much easier to add actions to objects when we add new applications, with less code duplication and better modularity. We have a really hacky version of this in Differential that I want to get rid of in lieu of this more general approach. I'm going to make object lists do the same thing, so any application can jump in and add stuff. Test Plan: Flagged and unflagged pastes. Viewed home page, differential, flags list. Reviewers: vrana, btrahan Reviewed By: btrahan CC: aran Differential Revision: https://secure.phabricator.com/D3377
300 lines
4.4 KiB
CSS
300 lines
4.4 KiB
CSS
/**
|
|
* @provides autosprite-css
|
|
*/
|
|
|
|
.autosprite {
|
|
background-image: url(/rsrc/image/autosprite.png);
|
|
background-repeat: no-repeat;
|
|
}
|
|
|
|
.main-menu-item-icon-help {
|
|
background-position: 0px 0px;
|
|
}
|
|
|
|
.main-menu-item-icon-help-selected {
|
|
background-position: 0px -27px;
|
|
}
|
|
|
|
.main-menu-item-icon-help:hover {
|
|
background-position: 0px -54px;
|
|
}
|
|
|
|
.main-menu-item-icon-settings {
|
|
background-position: 0px -81px;
|
|
}
|
|
|
|
.main-menu-item-icon-settings-selected {
|
|
background-position: 0px -108px;
|
|
}
|
|
|
|
.main-menu-item-icon-settings:hover {
|
|
background-position: 0px -135px;
|
|
}
|
|
|
|
.main-menu-item-icon-logout {
|
|
background-position: 0px -162px;
|
|
}
|
|
|
|
.main-menu-item-icon-logout-selected {
|
|
background-position: 0px -189px;
|
|
}
|
|
|
|
.main-menu-item-icon-logout:hover {
|
|
background-position: 0px -216px;
|
|
}
|
|
|
|
.main-menu-item-icon-notifications {
|
|
background-position: 0px -243px;
|
|
}
|
|
|
|
.main-menu-item-icon-notifications-selected {
|
|
background-position: 0px -270px;
|
|
}
|
|
|
|
.main-menu-item-icon-notifications:hover {
|
|
background-position: 0px -297px;
|
|
}
|
|
|
|
.main-menu-item-icon-task {
|
|
background-position: 0px -324px;
|
|
}
|
|
|
|
.main-menu-item-icon-task-selected {
|
|
background-position: 0px -351px;
|
|
}
|
|
|
|
.main-menu-item-icon-task:hover {
|
|
background-position: 0px -378px;
|
|
}
|
|
|
|
.app-differential-full {
|
|
background-position: 0px -405px;
|
|
}
|
|
|
|
.app-differential {
|
|
background-position: 0px -466px;
|
|
}
|
|
|
|
.app-fact-full {
|
|
background-position: 0px -497px;
|
|
}
|
|
|
|
.app-fact {
|
|
background-position: 0px -558px;
|
|
}
|
|
|
|
.app-mail-full {
|
|
background-position: 0px -589px;
|
|
}
|
|
|
|
.app-mail {
|
|
background-position: 0px -650px;
|
|
}
|
|
|
|
.app-diffusion-full {
|
|
background-position: 0px -681px;
|
|
}
|
|
|
|
.app-diffusion {
|
|
background-position: 0px -742px;
|
|
}
|
|
|
|
.app-slowvote-full {
|
|
background-position: 0px -773px;
|
|
}
|
|
|
|
.app-slowvote {
|
|
background-position: 0px -834px;
|
|
}
|
|
|
|
.app-phriction-full {
|
|
background-position: 0px -865px;
|
|
}
|
|
|
|
.app-phriction {
|
|
background-position: 0px -926px;
|
|
}
|
|
|
|
.app-maniphest-full {
|
|
background-position: 0px -957px;
|
|
}
|
|
|
|
.app-maniphest {
|
|
background-position: 0px -1018px;
|
|
}
|
|
|
|
.app-flags-full {
|
|
background-position: 0px -1049px;
|
|
}
|
|
|
|
.app-flags {
|
|
background-position: 0px -1110px;
|
|
}
|
|
|
|
.app-settings-full {
|
|
background-position: 0px -1141px;
|
|
}
|
|
|
|
.app-settings {
|
|
background-position: 0px -1202px;
|
|
}
|
|
|
|
.app-applications-full {
|
|
background-position: 0px -1233px;
|
|
}
|
|
|
|
.app-applications {
|
|
background-position: 0px -1294px;
|
|
}
|
|
|
|
.app-default-full {
|
|
background-position: 0px -1325px;
|
|
}
|
|
|
|
.app-default {
|
|
background-position: 0px -1386px;
|
|
}
|
|
|
|
.app-people-full {
|
|
background-position: 0px -1417px;
|
|
}
|
|
|
|
.app-people {
|
|
background-position: 0px -1478px;
|
|
}
|
|
|
|
.app-ponder-full {
|
|
background-position: 0px -1509px;
|
|
}
|
|
|
|
.app-ponder {
|
|
background-position: 0px -1570px;
|
|
}
|
|
|
|
.app-calendar-full {
|
|
background-position: 0px -1601px;
|
|
}
|
|
|
|
.app-calendar {
|
|
background-position: 0px -1662px;
|
|
}
|
|
|
|
.app-files-full {
|
|
background-position: 0px -1693px;
|
|
}
|
|
|
|
.app-files {
|
|
background-position: 0px -1754px;
|
|
}
|
|
|
|
.app-projects-full {
|
|
background-position: 0px -1785px;
|
|
}
|
|
|
|
.app-projects {
|
|
background-position: 0px -1846px;
|
|
}
|
|
|
|
.app-daemons-full {
|
|
background-position: 0px -1877px;
|
|
}
|
|
|
|
.app-daemons {
|
|
background-position: 0px -1938px;
|
|
}
|
|
|
|
.app-herald-full {
|
|
background-position: 0px -1969px;
|
|
}
|
|
|
|
.app-herald {
|
|
background-position: 0px -2030px;
|
|
}
|
|
|
|
.app-countdown-full {
|
|
background-position: 0px -2061px;
|
|
}
|
|
|
|
.app-countdown {
|
|
background-position: 0px -2122px;
|
|
}
|
|
|
|
.app-conduit-full {
|
|
background-position: 0px -2153px;
|
|
}
|
|
|
|
.app-conduit {
|
|
background-position: 0px -2214px;
|
|
}
|
|
|
|
.app-feed-full {
|
|
background-position: 0px -2245px;
|
|
}
|
|
|
|
.app-feed {
|
|
background-position: 0px -2306px;
|
|
}
|
|
|
|
.app-paste-full {
|
|
background-position: 0px -2337px;
|
|
}
|
|
|
|
.app-paste {
|
|
background-position: 0px -2398px;
|
|
}
|
|
|
|
.app-audit-full {
|
|
background-position: 0px -2429px;
|
|
}
|
|
|
|
.app-audit {
|
|
background-position: 0px -2490px;
|
|
}
|
|
|
|
.action-file {
|
|
background-position: 0px -2521px;
|
|
}
|
|
|
|
.action-fork {
|
|
background-position: 0px -2538px;
|
|
}
|
|
|
|
.action-edit {
|
|
background-position: 0px -2555px;
|
|
}
|
|
|
|
.action-flag-0 {
|
|
background-position: 0px -2572px;
|
|
}
|
|
|
|
.action-flag-1 {
|
|
background-position: 0px -2589px;
|
|
}
|
|
|
|
.action-flag-2 {
|
|
background-position: 0px -2606px;
|
|
}
|
|
|
|
.action-flag-3 {
|
|
background-position: 0px -2623px;
|
|
}
|
|
|
|
.action-flag-4 {
|
|
background-position: 0px -2640px;
|
|
}
|
|
|
|
.action-flag-5 {
|
|
background-position: 0px -2657px;
|
|
}
|
|
|
|
.action-flag-6 {
|
|
background-position: 0px -2674px;
|
|
}
|
|
|
|
.action-flag-7 {
|
|
background-position: 0px -2691px;
|
|
}
|
|
|
|
.action-flag-ghost {
|
|
background-position: 0px -2708px;
|
|
}
|