1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-20 17:28:51 +02:00
phorge-phorge/webroot/rsrc/css/application/base/phabricator-application-launch-view.css
Chad Little 849dc086e4 Ability to "Create X" from wide sidebar buttons
Summary: Shorten home to 240, 3 items wide, add create button for certain wide apps.

Test Plan: Test in FF, Chrome, IE8/9

Reviewers: epriestley, btrahan, codeblock

Reviewed By: epriestley

CC: aran, Korvin, vrana

Differential Revision: https://secure.phabricator.com/D4555
2013-01-22 09:06:57 -08:00

168 lines
3.3 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;
width: 78px;
height: 66px;
overflow: hidden;
position: relative;
text-decoration: none;
border: 1px solid #080909;
}
a.application-tile-full {
width: 240px;
height: 52px;
}
a.application-tile-full.application-tile-create {
width: 210px;
height: 52px;
border-right: none;
}
.application-tile-full + .phabricator-application-launch-create {
display: block;
float: right;
width: 28px;
border-top: 1px solid #080909;
border-bottom: 1px solid #080909;
border-left: 1px solid #080909;
height: 52px;
position: relative;
}
a.phabricator-application-launch-create:hover {
background-image: url('/rsrc/image/texture/dark-menu-hover.png');
color: #fff;
text-decoration: none;
}
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-image: url('/rsrc/image/texture/dark-menu-hover.png');
color: #fff;
}
.phabricator-application-launch-icon {
display: block;
position: absolute;
left: 25px;
top: 10px;
width: 28px;
height: 28px;
}
.phabricator-application-create-icon {
display: block;
position: absolute;
right: 7px;
top: 20px;
width: 14px;
height: 14px;
}
.application-tile-full .phabricator-application-launch-icon {
top: 12px;
left: 10px;
}
.phabricator-application-launch-name {
display: block;
margin-top: 42px;
font-weight: bold;
font-size: 11px;
text-align: center;
color: #ffffff;
text-shadow: 0px 1px 1px #000000;
}
.application-tile-full .phabricator-application-launch-name {
font-size: 13px;
margin-top: 11px;
text-align: left;
margin-left: 48px;
}
.application-tile-full .phabricator-application-launch-description {
color: #bfbfbf;
font-size: 11px;
margin-top: 24px;
margin-left: 48px;
}
.phabricator-application-beta,
.phabricator-application-launch-attention {
position: absolute;
top: 4px;
border-radius: 10px;
color: white;
font-weight: bold;
padding: 1px 6px 2px;
border: 2px solid #333;
font-size: 11px;
box-shadow: 0 0px 2px #000;
}
.phabricator-application-launch-attention {
right: 4px;
background-color: rgb(0, 122, 255);
}
.phabricator-application-beta {
left: 4px;
background-color: rgb(109, 92, 41);
}
.application-tile-full .phabricator-application-launch-attention {
top: 16px;
right: 8px;
}
.application-tile-full .phabricator-application-launch-create {
display: inline-block;
float: right;
background: rgb(0, 122, 255);
border-radius: 5px;
color: white;
font-weight: bold;
padding: 1px 6px 2px;
border: 2px solid #333;
font-size: 11px;
box-shadow: 0 0px 2px #000;
}
.phabricator-application-launch-create {
display: none;
}