1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-10 00:42:41 +01:00

Basic kbd CSS for remarkup

Summary: Keyboard key CSS for Remarkup.

Test Plan:
edit test in html, see new CSS

{F1803550}

Reviewers: stratosgear, epriestley

Reviewed By: stratosgear, epriestley

Subscribers: stratosgear, Korvin

Differential Revision: https://secure.phabricator.com/D16506
This commit is contained in:
Chad Little 2016-09-07 15:20:53 +00:00 committed by chad
parent f82adbf0c8
commit 9ced2d7eb5
2 changed files with 19 additions and 3 deletions

View file

@ -7,7 +7,7 @@
*/
return array(
'names' => array(
'core.pkg.css' => 'ee3f9253',
'core.pkg.css' => '6791587e',
'core.pkg.js' => '1d376fa9',
'darkconsole.pkg.js' => 'e7393ebb',
'differential.pkg.css' => '3fb7f532',
@ -105,7 +105,7 @@ return array(
'rsrc/css/application/tokens/tokens.css' => '3d0f239e',
'rsrc/css/application/uiexample/example.css' => '528b19de',
'rsrc/css/core/core.css' => 'd0801452',
'rsrc/css/core/remarkup.css' => '5ed06ed8',
'rsrc/css/core/remarkup.css' => '9905d6c4',
'rsrc/css/core/syntax.css' => '769d3498',
'rsrc/css/core/z-index.css' => '2b01a823',
'rsrc/css/diviner/diviner-shared.css' => 'aa3656aa',
@ -792,7 +792,7 @@ return array(
'phabricator-object-selector-css' => '85ee8ce6',
'phabricator-phtize' => 'd254d646',
'phabricator-prefab' => 'cfd23f37',
'phabricator-remarkup-css' => '5ed06ed8',
'phabricator-remarkup-css' => '9905d6c4',
'phabricator-search-results-css' => '7dea472c',
'phabricator-shaped-request' => '7cbe244b',
'phabricator-slowvote-css' => 'a94b7230',

View file

@ -54,6 +54,22 @@
white-space: pre-wrap;
}
.phabricator-remarkup kbd {
display: inline-block;
min-width: 1em;
padding: 4px 5px 5px;
font-weight: normal;
font-size: 0.8rem;
text-align: center;
text-decoration: none;
line-height: 0.6rem;
border-radius: 3px;
box-shadow: inset 0 -1px 0 rgba({$alphablue},0.08);
user-select: none;
background: #f7f7f7;
border: 1px solid {$lightgreyborder};
}
.phabricator-remarkup pre.remarkup-counterexample {
background-color: {$sh-redbackground};
}