From 800b3b030f1c662d82d3274b6e3fe80305adf1ef Mon Sep 17 00:00:00 2001 From: Chad Little Date: Fri, 2 Jan 2015 13:48:18 -0800 Subject: [PATCH] Basic style for exception page Summary: Fixes T6846, cleans up spacing, makes it look scary red. Test Plan: Fake an exception, see new layout Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin, epriestley Maniphest Tasks: T6846 Differential Revision: https://secure.phabricator.com/D11161 --- resources/celerity/map.php | 4 ++-- .../config/unhandled-exception.css | 22 +++++++++---------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/resources/celerity/map.php b/resources/celerity/map.php index 98b45695fd..d0194fba41 100644 --- a/resources/celerity/map.php +++ b/resources/celerity/map.php @@ -45,7 +45,7 @@ return array( 'rsrc/css/application/config/config-template.css' => '25d446d6', 'rsrc/css/application/config/config-welcome.css' => 'b0d16200', 'rsrc/css/application/config/setup-issue.css' => '8f852bc0', - 'rsrc/css/application/config/unhandled-exception.css' => '38f08073', + 'rsrc/css/application/config/unhandled-exception.css' => '37d4f9a2', 'rsrc/css/application/conpherence/menu.css' => 'e1e0fdf1', 'rsrc/css/application/conpherence/message-pane.css' => '042886d1', 'rsrc/css/application/conpherence/notification.css' => '04a6e10a', @@ -817,7 +817,7 @@ return array( 'sprite-tokens-css' => '1706b943', 'syntax-highlighting-css' => '56c1ba38', 'tokens-css' => '3d0f239e', - 'unhandled-exception-css' => '38f08073', + 'unhandled-exception-css' => '37d4f9a2', ), 'requires' => array( '00861799' => array( diff --git a/webroot/rsrc/css/application/config/unhandled-exception.css b/webroot/rsrc/css/application/config/unhandled-exception.css index 57d5d18e98..ddf1900e3c 100644 --- a/webroot/rsrc/css/application/config/unhandled-exception.css +++ b/webroot/rsrc/css/application/config/unhandled-exception.css @@ -2,26 +2,26 @@ * @provides unhandled-exception-css */ -.unhandled-exception { - background: #222228; -} - .unhandled-exception-detail { max-width: 760px; - margin: 16px auto; - background: #f7f7f7; - border: 2px solid #ffffff; + margin: 24px auto; + background: #fff; + border: 1px solid #f4c6c6; + border-bottom: 1px solid #eb9797; } .unhandled-exception-detail .unhandled-exception-title { + color: #802b2b; + text-shadow: 0 1px #fff; + padding: 16px 12px; + border-bottom: 1px solid #f4c6c6; font-size: 15px; font-weight: bold; + background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAADwCAIAAABHUjkYAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAEpJREFUeNrs0TEKADAIBEER//9aa00bmzTGNNnrBhEO1ayxcJctKjUmmaf5a5tEtPazt/+67/Q/bvfr3nu6D8YYY4wxxvgfLwEGAIQkJawSMraKAAAAAElFTkSuQmCC'); + background-repeat: repeat-x; margin: 0; - padding: 16px; - background: #DFE0E2; } .unhandled-exception-detail .unhandled-exception-body { - padding: 16px; - color: #4B4D51; + padding: 16px 12px; }