mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-22 14:52:41 +01:00
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
This commit is contained in:
parent
c21a8d31dd
commit
e61069f0d6
3 changed files with 33 additions and 5 deletions
|
@ -7,7 +7,7 @@
|
|||
return array(
|
||||
'names' =>
|
||||
array(
|
||||
'core.pkg.css' => '6c70dd0e',
|
||||
'core.pkg.css' => '5ad20a3f',
|
||||
'core.pkg.js' => 'c907bd96',
|
||||
'darkconsole.pkg.js' => 'ca8671ce',
|
||||
'differential.pkg.css' => '5a65a762',
|
||||
|
@ -113,7 +113,7 @@ return array(
|
|||
'rsrc/css/application/tokens/tokens.css' => 'fb286311',
|
||||
'rsrc/css/application/uiexample/example.css' => '4741b891',
|
||||
'rsrc/css/core/core.css' => 'da26ddb2',
|
||||
'rsrc/css/core/remarkup.css' => '32cace73',
|
||||
'rsrc/css/core/remarkup.css' => 'bec51bf1',
|
||||
'rsrc/css/core/syntax.css' => '3c18c1cb',
|
||||
'rsrc/css/core/z-index.css' => '1bbbd4f1',
|
||||
'rsrc/css/diviner/diviner-shared.css' => 'be90f718',
|
||||
|
@ -700,7 +700,7 @@ return array(
|
|||
'phabricator-prefab' => '9eaf0bfa',
|
||||
'phabricator-profile-css' => '3a7e04ca',
|
||||
'phabricator-project-tag-css' => '095c9404',
|
||||
'phabricator-remarkup-css' => '32cace73',
|
||||
'phabricator-remarkup-css' => 'bec51bf1',
|
||||
'phabricator-search-results-css' => 'f240504c',
|
||||
'phabricator-settings-css' => 'ea8f5915',
|
||||
'phabricator-shaped-request' => 'dfa181a4',
|
||||
|
|
|
@ -241,9 +241,21 @@ You can use ##lines=N## to limit the vertical size of a chunk of code, and
|
|||
<p>Mangostine</p>
|
||||
<p>Melon</p>
|
||||
|
||||
You can also use "NOTE:" to call out an important idea.
|
||||
You can also use "NOTE:", "WARNING:", or "IMPORTANT:" to call out an important
|
||||
idea.
|
||||
|
||||
NOTE: Don't cross the streams!
|
||||
NOTE: Best practices in proton pack operation include not crossing the streams.
|
||||
|
||||
WARNING: Crossing the streams can result in total protonic reversal!
|
||||
|
||||
IMPORTANT: Don't cross the streams!
|
||||
|
||||
You can also use "(NOTE)", "(WARNING)", or "(IMPORTANT)" to get the same
|
||||
effect but without "(NOTE"), "(WARNING)", or "(IMPORTANT)" appearing in the
|
||||
rendered result. For example
|
||||
|
||||
(NOTE) Dr. Egon Spengler is the best resource for additional proton pack
|
||||
questions.
|
||||
|
||||
= Linking URIs =
|
||||
|
||||
|
|
|
@ -178,6 +178,20 @@
|
|||
background: #f3f3ff;
|
||||
}
|
||||
|
||||
.phabricator-remarkup .remarkup-warning {
|
||||
margin: 1em 1.5em;
|
||||
padding: 0.5em 1em;
|
||||
border: 1px solid {$yellow};
|
||||
background: {$lightyellow};
|
||||
}
|
||||
|
||||
.phabricator-remarkup .remarkup-important {
|
||||
margin: 1em 1.5em;
|
||||
padding: 0.5em 1em;
|
||||
border: 1px solid {$red};
|
||||
background: {$lightred};
|
||||
}
|
||||
|
||||
.phabricator-remarkup-toc {
|
||||
float: right;
|
||||
border: 1px solid #d7d7d7;
|
||||
|
@ -402,6 +416,8 @@ div.phabricator-remarkup-dark tt {
|
|||
}
|
||||
|
||||
div.phabricator-remarkup-dark .remarkup-note,
|
||||
div.phabricator-remarkup-dark .remarkup-warning,
|
||||
div.phabricator-remarkup-dark .remarkup-important,
|
||||
div.phabricator-remarkup-dark table {
|
||||
color: #000;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue