From 68958bcecc9a21c0deec81bd7b9da21bb1ceab93 Mon Sep 17 00:00:00 2001 From: Chad Little Date: Mon, 28 Jul 2014 08:42:14 -0700 Subject: [PATCH] Update monospaced styles when inside notes Summary: Minor, uses rgba instead of locked colors. Test Plan: Tested each note, warning, important Reviewers: epriestley Subscribers: epriestley, Korvin Differential Revision: https://secure.phabricator.com/D10061 --- resources/celerity/map.php | 6 +++--- webroot/rsrc/css/core/remarkup.css | 6 ++++++ 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/resources/celerity/map.php b/resources/celerity/map.php index 7ad7ff733b..3051cc906a 100644 --- a/resources/celerity/map.php +++ b/resources/celerity/map.php @@ -7,7 +7,7 @@ */ return array( 'names' => array( - 'core.pkg.css' => 'dbc1c89a', + 'core.pkg.css' => '5a12afbf', 'core.pkg.js' => 'ba6a742f', 'darkconsole.pkg.js' => 'df001cab', 'differential.pkg.css' => '4a93db37', @@ -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' => '40151074', - 'rsrc/css/core/remarkup.css' => 'ad4c0676', + 'rsrc/css/core/remarkup.css' => '9b5d1f91', 'rsrc/css/core/syntax.css' => '3c18c1cb', 'rsrc/css/core/z-index.css' => 'd1c137f2', 'rsrc/css/diviner/diviner-shared.css' => '38813222', @@ -739,7 +739,7 @@ return array( 'phabricator-phtize' => 'd254d646', 'phabricator-prefab' => 'bbae734c', 'phabricator-profile-css' => 'b459416e', - 'phabricator-remarkup-css' => 'ad4c0676', + 'phabricator-remarkup-css' => '9b5d1f91', 'phabricator-search-results-css' => 'f240504c', 'phabricator-shaped-request' => '7cbe244b', 'phabricator-side-menu-view-css' => 'a2ccd7bd', diff --git a/webroot/rsrc/css/core/remarkup.css b/webroot/rsrc/css/core/remarkup.css index 5d147646c7..ca8cd77c70 100644 --- a/webroot/rsrc/css/core/remarkup.css +++ b/webroot/rsrc/css/core/remarkup.css @@ -225,6 +225,12 @@ background: {$lightred}; } +.phabricator-remarkup .remarkup-note .remarkup-monospaced, +.phabricator-remarkup .remarkup-important .remarkup-monospaced, +.phabricator-remarkup .remarkup-warning .remarkup-monospaced { + background-color: rgba(150,150,150,.2); +} + .phabricator-remarkup .remarkup-note-word { font-weight: bold; color: {$darkbluetext};