1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-23 23:32:40 +01:00
phorge-phorge/webroot/rsrc/css/application/base/phabricator-application-launch-view.css
epriestley d0c09ef867 Add a way to get to the home dashboard on mobile
Summary: Fixes T5320. Adds a "Home" application at the top, for mobile-only.

Test Plan: See screenshots.

Reviewers: chad

Reviewed By: chad

Subscribers: epriestley

Maniphest Tasks: T5320

Differential Revision: https://secure.phabricator.com/D9509
2014-06-12 19:16:53 -07:00

103 lines
2 KiB
CSS

/**
* @provides phabricator-application-launch-view-css
*/
/* - Application List ----------------------------------------------------------
Spacing container for the list of large application buttons.
*/
.application-tile-group {
overflow: hidden;
}
/* - Application Launch Button -------------------------------------------------
Spacing container for the list of large application buttons.
*/
a.phabricator-application-launch-container,
div.phabricator-application-launch-container {
display: block;
float: left;
overflow: hidden;
position: relative;
text-decoration: none;
width: 100%;
height: 44px;
border-bottom: 1px solid {$hovergrey};
}
.device-phone div.phabricator-application-launch-container {
display: none;
}
.phabricator-application-launch-icon {
display: block;
position: absolute;
width: 28px;
height: 28px;
top: 8px;
left: 8px;
}
.device-desktop a.phabricator-application-launch-container:hover {
background-color: {$hovergrey};
text-decoration: none;
}
.phabricator-application-launch-name {
display: block;
font-weight: bold;
color: {$darkbluetext};
font-size: 13px;
margin: 6px 0 2px 44px;
text-shadow: 0 1px 1px rgba(255, 255, 255, 0.9);
}
.phabricator-application-launch-description {
color: {$bluetext};
font-size: 11px;
margin-left: 44px;
text-shadow: 0 1px 1px rgba(255, 255, 255, 0.9);
text-overflow: ellipsis;
width: 150px;
overflow: hidden;
white-space: nowrap;
display: inline-block;
}
.phabricator-application-beta {
position: absolute;
top: 4px;
left: 4px;
color: {$bluetext};
font-size: 11px;
}
.phabricator-application-launch-attention {
position: absolute;
top: 8px;
right: 8px;
color: {$darkbluetext};
font-weight: bold;
font-size: 12px;
text-shadow: 0 1px 1px rgba(255, 255, 255, 0.9);
}
.phabricator-application-attention-count {
color: {$sky};
}
a.phabricator-application-launch-phone-only {
display: none;
}
.device-phone a.phabricator-application-launch-phone-only {
display: block;
}