1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-27 09:12:41 +01:00
phorge-phorge/webroot/rsrc/css/application/base/phabricator-application-launch-view.css
epriestley f306cab653 Use application icons for "Eye" menu and Crumbs
Summary:
Issues here:

  - Need an application-sized "eye", or a "home" icon for "Phabricator Home".
  - Some of the "apps_lb_2x" sliced images are the "_dark_" versions, not the light versions.
  - If you slice an application-sized "logout" (power off) icon and application-sized "help" (questionmark in circle) icon I can replace the current menu icons and nearly get rid of "autosprite".
  - To replace the icons on /applications/, the non-retina size is "4x", so we'd need "8x" for retina. Alternatively I can reduce the icon sizes by 50%.
  - The "Help", "Settings" and "Logout" items currently have a "glowing" hover state, which needs a variant (or we can drop it).
  - The /applications/ icons have a white hover state (or we can drop it).
  - The 1x application (14x14) icons aren't used anywhere right now, should they be? Maybe in the feed in the future, etc?
  - The "apps-2x" and "apps-large" sheets are the same image, but getting them to actually use the same file is a bit tricky, so I just left them separate for now.

Test Plan:
{F26698}
{F26699}

Reviewers: chad

Reviewed By: chad

CC: aran

Maniphest Tasks: T1960

Differential Revision: https://secure.phabricator.com/D4108
2012-12-07 13:37:28 -08:00

145 lines
3.2 KiB
CSS

/**
* @provides phabricator-application-launch-view-css
*/
/* - Application List ----------------------------------------------------------
Spacing container for the list of large application buttons.
*/
/* On desktops, put some space around the whole grid. */
.device-desktop .phabricator-application-list {
padding: .5em;
}
/* On tablets, show two columns in the center. */
.device-tablet .phabricator-application-list {
width: 660px;
margin: auto;
padding: .5em 0;
}
/* - Application Launch Button -------------------------------------------------
Spacing container for the list of large application buttons.
*/
a.phabricator-application-launch-container {
display: inline-block;
width: 200px;
min-height: 90px;
padding: 5px 15px 5px 90px;
margin: 3px 6px;
overflow: hidden;
position: relative;
text-decoration: none;
border: 1px solid #737373;
background-color: #f3f3f3;
border-radius: 4px;
box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.10),
inset -1px -1px 2px rgba(0, 0, 0, 0.15);
}
a.phabricator-application-launch-container:hover {
text-decoration: none;
}
/* The hover effect looks awful on phones/tablets when scrolling. */
.device-desktop a.phabricator-application-launch-container:hover {
background-color: #3875d7;
border-color: #223366;
color: #eeeeee;
}
.phabricator-application-launch-name,
.phabricator-application-launch-description,
.phabricator-application-launch-status {
display: block;
}
.phabricator-application-launch-icon {
display: block;
position: absolute;
left: 15px;
top: 10px;
width: 56px;
height: 56px;
background-repeat: no-repeat;
}
.phabricator-application-launch-name {
font-weight: bold;
}
.phabricator-application-launch-description {
color: #666666;
}
.device-desktop a.phabricator-application-launch-container:hover
.phabricator-application-launch-description {
color: #dddddd;
}
.phabricator-application-launch-attention {
position: absolute;
left: 45px;
top: 10px;
background: #ff0000;
border-radius: 10px;
color: white;
font-weight: normal;
padding: 2px 6px;
border: 1px solid #aa0000;
box-shadow: 0px 0px 3px rgba(255, 255, 255, 0.5),
inset 0 0 3px #aa0000;
}
.phabricator-application-status-block {
margin-top: 0.5em;
padding-top: 0.5em;
border-top: 1px solid #dfdfdf;
display: block;
}
.phabricator-application-flavor-text,
.phabricator-application-status {
float: left;
display: block;
position: relative;
font-size: 11px;
color: #666666;
}
.phabricator-application-status {
height: 20px;
padding-left: 22px;
background-repeat: no-repeat;
background-size: 16px auto;
padding-top: 1px;
}
.device-desktop a.phabricator-application-launch-container:hover
.phabricator-application-status,
.device-desktop a.phabricator-application-launch-container:hover
.phabricator-application-flavor-text {
color: #eeeeee;
}
.phabricator-application-status-type-needs {
background-image: url(/rsrc/image/appstatus_needs.png);
}
.phabricator-application-status-type-empty {
background-image: url(/rsrc/image/appstatus_empty.png);
}
.phabricator-application-status-type-info {
background-image: url(/rsrc/image/appstatus_info.png);
}