1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-21 13:00:56 +01:00
phorge-phorge/webroot/rsrc/css/application/base/phabricator-application-launch-view.css
Chad Little 554a15c902 Fix hovers on mobile menus.
Summary: Restrict the menu hovers to desktop

Test Plan: test desktop and mobile

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D6190
2013-06-12 10:30:15 -07:00

194 lines
3.7 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;
border: 1px solid #1c1e22;
text-decoration: none;
}
a.application-tile-full {
width: 100%;
height: 52px;
border-bottom: none;
border-left: none;
border-right: none;
}
.device-phone div.phabricator-application-launch-container {
display: none;
}
a.application-tile-full.application-tile-create {
width: 88%;
height: 52px;
border-right: none;
}
.application-tile-full + .phabricator-application-launch-create {
float: right;
width: 12%;
height: 52px;
position: relative;
border-top: 1px solid #000;
border-bottom: none;
display: inline-block;
text-align: center;
}
.device-desktop a.phabricator-application-launch-create:hover {
background-color: #1e2225;
color: #fff;
text-decoration: none;
}
.device-desktop a.phabricator-application-launch-container:hover {
background-color: #1e2225;
text-decoration: none;
}
.phabricator-application-launch-icon {
display: block;
position: absolute;
left: 25px;
top: 10px;
width: 28px;
height: 28px;
}
.phabricator-application-create-icon {
display: inline-block;
margin: 20px auto;
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 {
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 {
position: absolute;
top: 4px;
border-radius: 10px;
color: white;
font-weight: bold;
padding: 1px 0 2px;
border: 2px solid #333;
font-size: 11px;
box-shadow: 0 0px 2px #000;
}
.phabricator-application-attention-count {
background-color: rgb(0, 122, 255);
border-radius: 10px;
color: white;
font-weight: bold;
padding: 1px 6px 2px;
border: 1px solid #333;
font-size: 11px;
}
.phabricator-application-warning-count {
padding: 6px;
}
.phabricator-application-attention-count + .phabricator-application-warning-count {
margin-left: -2px;
}
.phabricator-application-launch-attention {
right: 4px;
background-color: rgb(119, 119, 119);
}
.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;
}