1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-23 22:10:55 +01:00

Touch up launch-nav

Summary:
Minor cleanup to the launch nav, this is more an interim diff until I can fully re-think the side

- Cleaner text
- Slighly shorter buttons
- Squarish counts
- Less in your face warning colors

Test Plan: Test with and without counts, test mobile

Reviewers: btrahan, epriestley

Reviewed By: epriestley

Subscribers: epriestley, Korvin, chad

Differential Revision: https://secure.phabricator.com/D8637
This commit is contained in:
Chad Little 2014-03-28 13:19:40 -07:00
parent 8d41d9d8f8
commit 87781eca04
2 changed files with 18 additions and 31 deletions
resources/celerity
webroot/rsrc/css/application/base

View file

@ -7,7 +7,7 @@
return array( return array(
'names' => 'names' =>
array( array(
'core.pkg.css' => '6d16f22a', 'core.pkg.css' => 'c2de6661',
'core.pkg.js' => 'd3fecc57', 'core.pkg.js' => 'd3fecc57',
'darkconsole.pkg.js' => 'ca8671ce', 'darkconsole.pkg.js' => 'ca8671ce',
'differential.pkg.css' => 'cb97e095', 'differential.pkg.css' => 'cb97e095',
@ -40,7 +40,7 @@ return array(
'rsrc/css/application/auth/auth.css' => '1e655982', 'rsrc/css/application/auth/auth.css' => '1e655982',
'rsrc/css/application/base/main-menu-view.css' => 'd36e0c11', 'rsrc/css/application/base/main-menu-view.css' => 'd36e0c11',
'rsrc/css/application/base/notification-menu.css' => 'fc9a363c', 'rsrc/css/application/base/notification-menu.css' => 'fc9a363c',
'rsrc/css/application/base/phabricator-application-launch-view.css' => '5cb75f67', 'rsrc/css/application/base/phabricator-application-launch-view.css' => '3282cc83',
'rsrc/css/application/base/standard-page-view.css' => '517cdfb1', 'rsrc/css/application/base/standard-page-view.css' => '517cdfb1',
'rsrc/css/application/chatlog/chatlog.css' => '852140ff', 'rsrc/css/application/chatlog/chatlog.css' => '852140ff',
'rsrc/css/application/config/config-options.css' => '7fedf08b', 'rsrc/css/application/config/config-options.css' => '7fedf08b',
@ -678,7 +678,7 @@ return array(
'people-profile-css' => 'ba7b2762', 'people-profile-css' => 'ba7b2762',
'phabricator-action-header-view-css' => 'c14dfc57', 'phabricator-action-header-view-css' => 'c14dfc57',
'phabricator-action-list-view-css' => '81383e25', 'phabricator-action-list-view-css' => '81383e25',
'phabricator-application-launch-view-css' => '5cb75f67', 'phabricator-application-launch-view-css' => '3282cc83',
'phabricator-busy' => '6453c869', 'phabricator-busy' => '6453c869',
'phabricator-chatlog-css' => '852140ff', 'phabricator-chatlog-css' => '852140ff',
'phabricator-content-source-view-css' => '4b8b05d4', 'phabricator-content-source-view-css' => '4b8b05d4',

View file

@ -31,11 +31,12 @@ div.phabricator-application-launch-container {
position: relative; position: relative;
border: 1px solid #1c1e22; border: 1px solid #1c1e22;
text-decoration: none; text-decoration: none;
-webkit-font-smoothing: antialiased;
} }
a.application-tile-full { a.application-tile-full {
width: 100%; width: 100%;
height: 52px; height: 48px;
border-bottom: none; border-bottom: none;
border-left: none; border-left: none;
border-right: none; border-right: none;
@ -45,12 +46,6 @@ a.application-tile-full {
display: none; display: none;
} }
a.application-tile-full.application-tile-create {
width: 88%;
height: 52px;
border-right: none;
}
.phabricator-application-launch-icon { .phabricator-application-launch-icon {
display: block; display: block;
position: absolute; position: absolute;
@ -61,7 +56,7 @@ a.application-tile-full.application-tile-create {
} }
.application-tile-full .phabricator-application-launch-icon { .application-tile-full .phabricator-application-launch-icon {
top: 12px; top: 10px;
left: 10px; left: 10px;
} }
@ -82,7 +77,7 @@ a.application-tile-full.application-tile-create {
.application-tile-full .phabricator-application-launch-name { .application-tile-full .phabricator-application-launch-name {
font-size: 13px; font-size: 13px;
margin-top: 11px; margin-top: 9px;
text-align: left; text-align: left;
margin-left: 48px; margin-left: 48px;
@ -105,40 +100,32 @@ a.application-tile-full.application-tile-create {
.phabricator-application-launch-attention { .phabricator-application-launch-attention {
position: absolute; position: absolute;
top: 4px; top: 6px;
border-radius: 10px; right: 4px;
color: white; color: white;
font-weight: bold; font-weight: bold;
padding: 1px 0 2px;
border: 2px solid #333;
font-size: 11px; font-size: 11px;
box-shadow: 0 0px 2px #000;
} }
.phabricator-application-attention-count { .phabricator-application-attention-count {
background-color: {$blue}; background-color: #1e2225;
border-radius: 10px; color: {$sky};
color: white; border-radius: 2px;
font-weight: bold;
padding: 1px 6px 2px; padding: 1px 6px 2px;
border: 1px solid #333;
font-size: 11px;
} }
.phabricator-application-warning-count { .phabricator-application-warning-count {
padding: 6px; background-color: #1e2225;
border-radius: 2px;
padding: 1px 6px 2px;
} }
.phabricator-application-attention-count + .phabricator-application-warning-count { .phabricator-application-attention-count + .phabricator-application-warning-count {
margin-left: -2px; margin-left: 2px;
} top: 8px;
.phabricator-application-launch-attention {
right: 4px;
background-color: rgb(119, 119, 119);
} }
.application-tile-full .phabricator-application-launch-attention { .application-tile-full .phabricator-application-launch-attention {
top: 16px; top: 17px;
right: 8px; right: 8px;
} }