@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.

Add styles for WARNING and IMPORTANT

Summary: Ref T3116. I did not update the remarkup doc (yet) as I think this syntax should stay buried until the bubbler looks right

Test Plan: modified a legalpad document and verified BUBBLE: showed up and looked okay to my pitiful design skillz

Reviewers: epriestley, chad

Reviewed By: epriestley

CC: chad, Korvin, epriestley, aran

Maniphest Tasks: T3116

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

+33 -5
+3 -3
resources/celerity/map.php
··· 7 7 return array( 8 8 'names' => 9 9 array( 10 - 'core.pkg.css' => '6c70dd0e', 10 + 'core.pkg.css' => '5ad20a3f', 11 11 'core.pkg.js' => 'c907bd96', 12 12 'darkconsole.pkg.js' => 'ca8671ce', 13 13 'differential.pkg.css' => '5a65a762', ··· 113 113 'rsrc/css/application/tokens/tokens.css' => 'fb286311', 114 114 'rsrc/css/application/uiexample/example.css' => '4741b891', 115 115 'rsrc/css/core/core.css' => 'da26ddb2', 116 - 'rsrc/css/core/remarkup.css' => '32cace73', 116 + 'rsrc/css/core/remarkup.css' => 'bec51bf1', 117 117 'rsrc/css/core/syntax.css' => '3c18c1cb', 118 118 'rsrc/css/core/z-index.css' => '1bbbd4f1', 119 119 'rsrc/css/diviner/diviner-shared.css' => 'be90f718', ··· 700 700 'phabricator-prefab' => '9eaf0bfa', 701 701 'phabricator-profile-css' => '3a7e04ca', 702 702 'phabricator-project-tag-css' => '095c9404', 703 - 'phabricator-remarkup-css' => '32cace73', 703 + 'phabricator-remarkup-css' => 'bec51bf1', 704 704 'phabricator-search-results-css' => 'f240504c', 705 705 'phabricator-settings-css' => 'ea8f5915', 706 706 'phabricator-shaped-request' => 'dfa181a4',
+14 -2
src/docs/user/userguide/remarkup.diviner
··· 241 241 <p>Mangostine</p> 242 242 <p>Melon</p> 243 243 244 - You can also use "NOTE:" to call out an important idea. 244 + You can also use "NOTE:", "WARNING:", or "IMPORTANT:" to call out an important 245 + idea. 245 246 246 - NOTE: Don't cross the streams! 247 + NOTE: Best practices in proton pack operation include not crossing the streams. 248 + 249 + WARNING: Crossing the streams can result in total protonic reversal! 250 + 251 + IMPORTANT: Don't cross the streams! 252 + 253 + You can also use "(NOTE)", "(WARNING)", or "(IMPORTANT)" to get the same 254 + effect but without "(NOTE"), "(WARNING)", or "(IMPORTANT)" appearing in the 255 + rendered result. For example 256 + 257 + (NOTE) Dr. Egon Spengler is the best resource for additional proton pack 258 + questions. 247 259 248 260 = Linking URIs = 249 261
+16
webroot/rsrc/css/core/remarkup.css
··· 178 178 background: #f3f3ff; 179 179 } 180 180 181 + .phabricator-remarkup .remarkup-warning { 182 + margin: 1em 1.5em; 183 + padding: 0.5em 1em; 184 + border: 1px solid {$yellow}; 185 + background: {$lightyellow}; 186 + } 187 + 188 + .phabricator-remarkup .remarkup-important { 189 + margin: 1em 1.5em; 190 + padding: 0.5em 1em; 191 + border: 1px solid {$red}; 192 + background: {$lightred}; 193 + } 194 + 181 195 .phabricator-remarkup-toc { 182 196 float: right; 183 197 border: 1px solid #d7d7d7; ··· 402 416 } 403 417 404 418 div.phabricator-remarkup-dark .remarkup-note, 419 + div.phabricator-remarkup-dark .remarkup-warning, 420 + div.phabricator-remarkup-dark .remarkup-important, 405 421 div.phabricator-remarkup-dark table { 406 422 color: #000; 407 423 }