1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-19 12:00:55 +01:00
phorge-phorge/webroot/rsrc/css/application/base/phabricator-application-launch-view.css
Chad Little 71060c4b6d [redesign] Use ellipses if app description is long
Summary: Truncate with CSS ellipses if the app description is longer than needed. (Can rework text as well)

Test Plan: sandbox

Reviewers: epriestley

Subscribers: epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D9349
2014-06-02 14:35:31 -07:00

95 lines
1.8 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-top: 6px;
margin-left: 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: 15px;
right: 8px;
color: {$darkbluetext};
font-weight: bold;
font-size: 12px;
}
.phabricator-application-attention-count {
color: {$sky};
}