mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-18 12:52:42 +01:00
Add CSS and docs for remarkup checkbox list styles
Summary: See D8931. Ref T3945. CSS for the checkmark styles. Test Plan: {F149713} Reviewers: btrahan, chad Reviewed By: chad Subscribers: epriestley Maniphest Tasks: T3945 Differential Revision: https://secure.phabricator.com/D8932
This commit is contained in:
parent
d1d6924dfa
commit
1876bef404
3 changed files with 29 additions and 3 deletions
|
@ -7,7 +7,7 @@
|
||||||
return array(
|
return array(
|
||||||
'names' =>
|
'names' =>
|
||||||
array(
|
array(
|
||||||
'core.pkg.css' => 'cd6367eb',
|
'core.pkg.css' => '94fe8187',
|
||||||
'core.pkg.js' => '417722ff',
|
'core.pkg.js' => '417722ff',
|
||||||
'darkconsole.pkg.js' => 'ca8671ce',
|
'darkconsole.pkg.js' => 'ca8671ce',
|
||||||
'differential.pkg.css' => '8a064eb7',
|
'differential.pkg.css' => '8a064eb7',
|
||||||
|
@ -106,7 +106,7 @@ return array(
|
||||||
'rsrc/css/application/tokens/tokens.css' => '5f7bca25',
|
'rsrc/css/application/tokens/tokens.css' => '5f7bca25',
|
||||||
'rsrc/css/application/uiexample/example.css' => '528b19de',
|
'rsrc/css/application/uiexample/example.css' => '528b19de',
|
||||||
'rsrc/css/core/core.css' => '7dff07c3',
|
'rsrc/css/core/core.css' => '7dff07c3',
|
||||||
'rsrc/css/core/remarkup.css' => '98a7627b',
|
'rsrc/css/core/remarkup.css' => '0ec9ea61',
|
||||||
'rsrc/css/core/syntax.css' => '3c18c1cb',
|
'rsrc/css/core/syntax.css' => '3c18c1cb',
|
||||||
'rsrc/css/core/z-index.css' => '7e4989ed',
|
'rsrc/css/core/z-index.css' => '7e4989ed',
|
||||||
'rsrc/css/diviner/diviner-shared.css' => '38813222',
|
'rsrc/css/diviner/diviner-shared.css' => '38813222',
|
||||||
|
@ -713,7 +713,7 @@ return array(
|
||||||
'phabricator-prefab' => '0326e5d0',
|
'phabricator-prefab' => '0326e5d0',
|
||||||
'phabricator-profile-css' => '33e6f703',
|
'phabricator-profile-css' => '33e6f703',
|
||||||
'phabricator-project-tag-css' => '095c9404',
|
'phabricator-project-tag-css' => '095c9404',
|
||||||
'phabricator-remarkup-css' => '98a7627b',
|
'phabricator-remarkup-css' => '0ec9ea61',
|
||||||
'phabricator-search-results-css' => 'f240504c',
|
'phabricator-search-results-css' => 'f240504c',
|
||||||
'phabricator-settings-css' => 'ea8f5915',
|
'phabricator-settings-css' => 'ea8f5915',
|
||||||
'phabricator-shaped-request' => 'dfa181a4',
|
'phabricator-shaped-request' => 'dfa181a4',
|
||||||
|
|
|
@ -158,6 +158,19 @@ As expected, this produces:
|
||||||
-- Branch
|
-- Branch
|
||||||
--- Twig
|
--- Twig
|
||||||
|
|
||||||
|
You can add checkboxes to items by prefacing them with `[ ]` or `[X]`, like
|
||||||
|
this:
|
||||||
|
|
||||||
|
```
|
||||||
|
- [X] Preheat oven to 450 degrees.
|
||||||
|
- [ ] Zest 35 lemons.
|
||||||
|
```
|
||||||
|
|
||||||
|
When rendered, this produces:
|
||||||
|
|
||||||
|
- [X] Preheat oven to 450 degrees.
|
||||||
|
- [ ] Zest 35 lemons.
|
||||||
|
|
||||||
Make **code blocks** by indenting two spaces:
|
Make **code blocks** by indenting two spaces:
|
||||||
|
|
||||||
f(x, y);
|
f(x, y);
|
||||||
|
|
|
@ -71,6 +71,19 @@
|
||||||
margin: 12px 0 12px 30px;
|
margin: 12px 0 12px 30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.phabricator-remarkup .remarkup-list-with-checkmarks {
|
||||||
|
list-style: none;
|
||||||
|
margin-left: 18px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.phabricator-remarkup .remarkup-list-with-checkmarks input {
|
||||||
|
margin-right: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.phabricator-remarkup .remarkup-list-with-checkmarks .remarkup-checked-item {
|
||||||
|
color: {$greytext};
|
||||||
|
}
|
||||||
|
|
||||||
.phabricator-remarkup ul ol,
|
.phabricator-remarkup ul ol,
|
||||||
.phabricator-remarkup ul ul,
|
.phabricator-remarkup ul ul,
|
||||||
.phabricator-remarkup ol ol,
|
.phabricator-remarkup ol ol,
|
||||||
|
|
Loading…
Reference in a new issue