@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Common Colors, Spacing for Menus and Typeaheads

Summary: Adds more consistent colors and spacing to notifications, conpherence dropdowns, search dropdowns, and typeaheads.

Test Plan: Tested Notifications, menu and page. Conpherence, menu and page, Search, and Typeaheads.

Reviewers: epriestley

Subscribers: epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D9313

+66 -80
+11 -11
resources/celerity/map.php
··· 7 7 return array( 8 8 'names' => 9 9 array( 10 - 'core.pkg.css' => '8b46eb01', 10 + 'core.pkg.css' => '45c8100d', 11 11 'core.pkg.js' => '7db41c19', 12 12 'darkconsole.pkg.js' => 'ca8671ce', 13 13 'differential.pkg.css' => 'fbf57382', ··· 34 34 'rsrc/css/aphront/tooltip.css' => '9c90229d', 35 35 'rsrc/css/aphront/transaction.css' => 'ce491938', 36 36 'rsrc/css/aphront/two-column.css' => '16ab3ad2', 37 - 'rsrc/css/aphront/typeahead.css' => '1f4c9e23', 37 + 'rsrc/css/aphront/typeahead.css' => 'a989b5b3', 38 38 'rsrc/css/application/auth/auth.css' => '1e655982', 39 - 'rsrc/css/application/base/main-menu-view.css' => '5f0e9e05', 40 - 'rsrc/css/application/base/notification-menu.css' => '99ffef72', 39 + 'rsrc/css/application/base/main-menu-view.css' => '5f08823b', 40 + 'rsrc/css/application/base/notification-menu.css' => '8637a3db', 41 41 'rsrc/css/application/base/phabricator-application-launch-view.css' => '137e794e', 42 42 'rsrc/css/application/base/standard-page-view.css' => '517cdfb1', 43 43 'rsrc/css/application/chatlog/chatlog.css' => '852140ff', 44 44 'rsrc/css/application/config/config-options.css' => '7fedf08b', 45 45 'rsrc/css/application/config/config-template.css' => '25d446d6', 46 46 'rsrc/css/application/config/setup-issue.css' => '69e640e7', 47 - 'rsrc/css/application/conpherence/menu.css' => 'c5fe56f9', 47 + 'rsrc/css/application/conpherence/menu.css' => '3690ec7a', 48 48 'rsrc/css/application/conpherence/message-pane.css' => '7703a9a9', 49 - 'rsrc/css/application/conpherence/notification.css' => '403cf598', 49 + 'rsrc/css/application/conpherence/notification.css' => '04a6e10a', 50 50 'rsrc/css/application/conpherence/update.css' => '1099a660', 51 51 'rsrc/css/application/conpherence/widget-pane.css' => 'bf275a6c', 52 52 'rsrc/css/application/contentsource/content-source-view.css' => '4b8b05d4', ··· 501 501 'aphront-tokenizer-control-css' => '36903077', 502 502 'aphront-tooltip-css' => '9c90229d', 503 503 'aphront-two-column-view-css' => '16ab3ad2', 504 - 'aphront-typeahead-control-css' => '1f4c9e23', 504 + 'aphront-typeahead-control-css' => 'a989b5b3', 505 505 'auth-css' => '1e655982', 506 506 'config-options-css' => '7fedf08b', 507 - 'conpherence-menu-css' => 'c5fe56f9', 507 + 'conpherence-menu-css' => '3690ec7a', 508 508 'conpherence-message-pane-css' => '7703a9a9', 509 - 'conpherence-notification-css' => '403cf598', 509 + 'conpherence-notification-css' => '04a6e10a', 510 510 'conpherence-update-css' => '1099a660', 511 511 'conpherence-widget-pane-css' => 'bf275a6c', 512 512 'differential-changeset-view-css' => 'f234b888', ··· 710 710 'phabricator-jump-nav' => 'f0c5e726', 711 711 'phabricator-keyboard-shortcut' => '1ae869f2', 712 712 'phabricator-keyboard-shortcut-manager' => 'ad7a69ca', 713 - 'phabricator-main-menu-view' => '5f0e9e05', 713 + 'phabricator-main-menu-view' => '5f08823b', 714 714 'phabricator-nav-view-css' => '9283c2df', 715 715 'phabricator-notification' => '0c6946e7', 716 716 'phabricator-notification-css' => 'ef2c9b34', 717 - 'phabricator-notification-menu-css' => '99ffef72', 717 + 'phabricator-notification-menu-css' => '8637a3db', 718 718 'phabricator-object-selector-css' => '029a133d', 719 719 'phabricator-phtize' => 'd254d646', 720 720 'phabricator-prefab' => '41ed7994',
+2
src/infrastructure/celerity/CelerityResourceTransformer.php
··· 194 194 'charcoal' => '#4b4d51', 195 195 'backdrop' => '#c4cde0', 196 196 'hovergrey' => '#c5cbcf', 197 + 'hoverblue' => '#eceff5', 198 + 'hoverborder' => '#dfe1e9', 197 199 198 200 // Base Greys 199 201 'lightgreyborder' => '#C7CCD9',
+4 -7
webroot/rsrc/css/aphront/typeahead.css
··· 9 9 10 10 div.jx-typeahead-results { 11 11 position: absolute; 12 - border: 1px solid #96a6c7; 12 + border: 1px solid {$hoverborder}; 13 13 border-top: 0px; 14 14 padding: 0; 15 15 background: #fefefe; ··· 25 25 } 26 26 27 27 div.jx-typeahead-results a.jx-result { 28 - color: #333; 28 + color: {$darkgreytext}; 29 29 display: block; 30 30 font-size: 13px; 31 - border-bottom: 1px solid #e7e7e7; 32 - border-top: 1px solid #fff; 31 + border-top: 1px solid {$hoverborder}; 33 32 } 34 33 35 34 div.jx-typeahead-results a.jx-result:hover, 36 35 div.jx-typeahead-results a.focused { 37 36 display: block; 38 - background: {$lightblue}; 39 - border-top: 1px solid {$thinblueborder}; 40 - border-bottom: 1px solid {$thinblueborder}; 37 + background: {$hoverblue}; 41 38 text-decoration: none; 42 39 } 43 40
+7 -7
webroot/rsrc/css/application/base/main-menu-view.css
··· 197 197 background: #ffffff; 198 198 word-wrap: break-word; 199 199 overflow-y: auto; 200 - box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.5); 201 - border: 2px solid #33393d; 200 + box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35); 201 + border: {$blueborder}; 202 202 border-radius: 3px; 203 203 margin-left: 40px; 204 204 } 205 205 206 206 .phabricator-main-search-typeahead-result { 207 207 display: block; 208 - padding: 6px 12px 6px 46px; 209 - background-position: 12px 9px; 210 - background-size: 25px 25px; 208 + padding: 6px 8px 8px 44px; 209 + background-position: 8px; 210 + background-size: 30px 30px; 211 211 background-repeat: no-repeat; 212 212 } 213 213 214 214 .phabricator-main-search-typeahead-result .result-name { 215 215 display: block; 216 - font-size: 12px; 216 + font-size: 13px; 217 217 font-weight: bold; 218 - color: #333; 218 + color: {$darkgreytext}; 219 219 } 220 220 221 221 .phabricator-main-search-typeahead-result .result-type {
+15 -15
webroot/rsrc/css/application/base/notification-menu.css
··· 3 3 */ 4 4 5 5 .phabricator-notification-menu { 6 - background: #ffffff; 6 + background: #fff; 7 7 font-size: 11px; 8 8 word-wrap: break-word; 9 9 overflow-y: auto; 10 - box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.5); 11 - border: 2px solid #33393d; 12 - border-top-width: 0; 10 + box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35); 11 + border: 1px solid {$blueborder}; 13 12 border-radius: 3px; 14 13 } 15 14 ··· 32 31 } 33 32 34 33 .device-phone .phabricator-notification-menu { 35 - border-bottom: 1px solid #222222; 34 + border-bottom: 1px solid {$thinblueborder}; 36 35 width: 94%; 37 36 max-width: 390px; 38 37 top: 42px !important; ··· 42 41 } 43 42 44 43 .phabricator-notification { 45 - padding: 6px; 44 + padding: 6px 8px; 46 45 } 47 46 48 47 .phabricator-notification-menu .phabricator-notification { ··· 50 49 } 51 50 52 51 .device-desktop .phabricator-notification-menu .phabricator-notification:hover { 53 - background: #e6ebf5; 52 + background: {$hoverblue}; 54 53 } 55 54 56 55 .phabricator-notification + .phabricator-notification { 57 - border-top: 1px solid #e9e9e9; 56 + border-top: 1px solid {$hoverborder}; 58 57 } 59 58 60 59 .no-notifications { ··· 63 62 64 63 .phabricator-notification-list .phabricator-notification-unread, 65 64 .phabricator-notification-menu .phabricator-notification-unread { 66 - background: #eceff5; 67 - border-color: #e3e8f0; 65 + background: {$hoverblue}; 68 66 } 69 67 70 68 .phabricator-notification-header { 71 69 font-weight: bold; 72 - padding: 6px; 70 + padding: 10px 8px; 73 71 font-size: 12px; 74 - border-bottom: 1px solid #e9e9e9; 72 + border-bottom: 1px solid {$thinblueborder}; 75 73 } 76 74 77 75 .phabricator-notification-header a { ··· 81 79 .phabricator-notification-header .phabricator-notification-clear-all { 82 80 color: #18559D; 83 81 float: right; 82 + font-weight: normal; 84 83 } 85 84 86 85 .phabricator-notification-view-all { 87 86 text-align: center; 88 87 font-weight: bold; 89 - background: #f7f7f7; 90 - border-top: 1px solid #e9e9e9; 88 + background: {$greybackground}; 89 + border-top: 1px solid {$thinblueborder}; 91 90 border-bottom-left-radius: 3px; 92 91 border-bottom-right-radius: 3px; 93 - padding: 6px; 92 + padding: 8px; 93 + font-size: 12px; 94 94 }
+7 -8
webroot/rsrc/css/application/conpherence/menu.css
··· 132 132 color: {$darkbluetext}; 133 133 text-shadow: 0px 1px 1px #fff; 134 134 overflow: hidden; 135 - width: 180px; 135 + width: 160px; 136 136 text-overflow: ellipsis; 137 137 } 138 138 ··· 147 147 .conpherence-menu .conpherence-menu-item-view 148 148 .conpherence-menu-item-unread-count { 149 149 position: absolute; 150 - left: 35px; 151 - top: 3px; 152 - background: {$red}; 153 - border-radius: 10px; 154 - color: #FFF; 150 + right: 8px; 151 + top: 15px; 152 + background: {$blue}; 153 + border-radius: 2px; 154 + color: #fff; 155 155 font-weight: bold; 156 - padding: 1px 5px 2px; 157 - border: 1px solid #333; 156 + padding: 0 5px 1px; 158 157 font-size: 11px; 159 158 } 160 159
+20 -32
webroot/rsrc/css/application/conpherence/notification.css
··· 9 9 10 10 .phabricator-notification .conpherence-menu-item-view { 11 11 display: block; 12 - height: 55px; 12 + height: 46px; 13 13 overflow: hidden; 14 14 position: relative; 15 15 text-decoration: none; ··· 20 20 21 21 .phabricator-notification .conpherence-menu-item-view 22 22 .conpherence-menu-item-image { 23 - top: 6px; 24 - left: 6px; 23 + top: 8px; 24 + left: 8px; 25 25 display: block; 26 26 position: absolute; 27 - width: 35px; 28 - height: 35px; 29 - background-size: 35px; 30 - border: 4px solid #e7e7e7; 31 - border-radius: 3px; 27 + width: 30px; 28 + height: 30px; 29 + background-size: 30px; 32 30 } 33 31 34 32 .phabricator-notification .conpherence-menu-item-view 35 33 .conpherence-menu-item-title { 36 34 display: block; 37 - margin-top: 12px; 38 - margin-left: 58px; 35 + margin-top: 8px; 36 + margin-left: 46px; 39 37 text-align: left; 40 38 font-weight: bold; 41 39 font-size: 13px; 42 - color: #333; 40 + color: {$darkgreytext}; 41 + width: 280px; 42 + text-overflow: ellipsis; 43 + white-space: nowrap; 43 44 overflow: hidden; 44 - width: 220px; 45 - text-overflow: ellipsis; 46 45 } 47 46 48 47 .phabricator-notification .conpherence-menu-item-view 49 48 .conpherence-menu-item-subtitle { 50 49 display: block; 51 - color: #a1a5a9; 50 + color: {$lightgreytext}; 52 51 font-size: 11px; 53 52 margin-top: 2px; 54 - margin-left: 58px; 55 - font-style: italic; 53 + margin-left: 46px; 56 54 } 57 55 58 56 .phabricator-notification .conpherence-menu-item-view 59 57 .conpherence-menu-item-unread-count { 60 58 position: absolute; 61 - left: 35px; 62 - top: 3px; 63 - background: {$red}; 64 - border-radius: 10px; 65 - color: #FFF; 66 - font-weight: bold; 67 - padding: 1px 5px 2px; 68 - border: 1px solid #333; 69 - font-size: 11px; 70 - } 71 - 72 - .phabricator-notification .conpherence-menu-item-view 73 - .conpherence-menu-item-date { 74 - position: absolute; 59 + right: 8px; 75 60 top: 15px; 76 - right: 16px; 77 - color: #a1a5a9; 61 + background: {$blue}; 62 + border-radius: 2px; 63 + color: #fff; 64 + font-weight: bold; 65 + padding: 0 5px 1px; 78 66 font-size: 11px; 79 67 }