From 46f0d3aa81da0b00077db16ea9ce3dfba477f377 Mon Sep 17 00:00:00 2001 From: Chad Little Date: Thu, 20 Jun 2013 17:38:57 -0700 Subject: [PATCH] Remove padding on notification notifications Summary: Removes extra padding on rendering notifications in jx-notification. Test Plan: test a notification Reviewers: epriestley, btrahan Reviewed By: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D6259 --- src/__celerity_resource_map__.php | 90 +++++++++++------------ webroot/rsrc/css/aphront/notification.css | 4 + 2 files changed, 49 insertions(+), 45 deletions(-) diff --git a/src/__celerity_resource_map__.php b/src/__celerity_resource_map__.php index 2751c12f6b..cc345fcd34 100644 --- a/src/__celerity_resource_map__.php +++ b/src/__celerity_resource_map__.php @@ -3215,7 +3215,7 @@ celerity_register_resource_map(array( ), 'phabricator-notification-css' => array( - 'uri' => '/res/829210bd/rsrc/css/aphront/notification.css', + 'uri' => '/res/bbc495b9/rsrc/css/aphront/notification.css', 'type' => 'css', 'requires' => array( @@ -4057,7 +4057,7 @@ celerity_register_resource_map(array( ), array( 'packages' => array( - '90efd2f0' => + '695153c6' => array( 'name' => 'core.pkg.css', 'symbols' => @@ -4105,7 +4105,7 @@ celerity_register_resource_map(array( 40 => 'phabricator-property-list-view-css', 41 => 'phabricator-tag-view-css', ), - 'uri' => '/res/pkg/90efd2f0/core.pkg.css', + 'uri' => '/res/pkg/695153c6/core.pkg.css', 'type' => 'css', ), 'f2ad0683' => @@ -4299,16 +4299,16 @@ celerity_register_resource_map(array( 'reverse' => array( 'aphront-attached-file-view-css' => 'adc3c36d', - 'aphront-dialog-view-css' => '90efd2f0', - 'aphront-error-view-css' => '90efd2f0', - 'aphront-form-view-css' => '90efd2f0', - 'aphront-list-filter-view-css' => '90efd2f0', - 'aphront-pager-view-css' => '90efd2f0', - 'aphront-panel-view-css' => '90efd2f0', - 'aphront-table-view-css' => '90efd2f0', - 'aphront-tokenizer-control-css' => '90efd2f0', - 'aphront-tooltip-css' => '90efd2f0', - 'aphront-typeahead-control-css' => '90efd2f0', + 'aphront-dialog-view-css' => '695153c6', + 'aphront-error-view-css' => '695153c6', + 'aphront-form-view-css' => '695153c6', + 'aphront-list-filter-view-css' => '695153c6', + 'aphront-pager-view-css' => '695153c6', + 'aphront-panel-view-css' => '695153c6', + 'aphront-table-view-css' => '695153c6', + 'aphront-tokenizer-control-css' => '695153c6', + 'aphront-tooltip-css' => '695153c6', + 'aphront-typeahead-control-css' => '695153c6', 'differential-changeset-view-css' => 'dd27a69b', 'differential-core-view-css' => 'dd27a69b', 'differential-inline-comment-editor' => '9488bb69', @@ -4322,7 +4322,7 @@ celerity_register_resource_map(array( 'differential-table-of-contents-css' => 'dd27a69b', 'diffusion-commit-view-css' => 'c8ce2d88', 'diffusion-icons-css' => 'c8ce2d88', - 'global-drag-and-drop-css' => '90efd2f0', + 'global-drag-and-drop-css' => '695153c6', 'inline-comment-summary-css' => 'dd27a69b', 'javelin-aphlict' => 'f2ad0683', 'javelin-behavior' => 'a9f14d76', @@ -4396,55 +4396,55 @@ celerity_register_resource_map(array( 'javelin-util' => 'a9f14d76', 'javelin-vector' => 'a9f14d76', 'javelin-workflow' => 'a9f14d76', - 'lightbox-attachment-css' => '90efd2f0', + 'lightbox-attachment-css' => '695153c6', 'maniphest-task-summary-css' => 'adc3c36d', 'maniphest-transaction-detail-css' => 'adc3c36d', - 'phabricator-action-list-view-css' => '90efd2f0', - 'phabricator-application-launch-view-css' => '90efd2f0', + 'phabricator-action-list-view-css' => '695153c6', + 'phabricator-application-launch-view-css' => '695153c6', 'phabricator-busy' => 'f2ad0683', 'phabricator-content-source-view-css' => 'dd27a69b', - 'phabricator-core-css' => '90efd2f0', - 'phabricator-crumbs-view-css' => '90efd2f0', + 'phabricator-core-css' => '695153c6', + 'phabricator-crumbs-view-css' => '695153c6', 'phabricator-drag-and-drop-file-upload' => '9488bb69', 'phabricator-dropdown-menu' => 'f2ad0683', 'phabricator-file-upload' => 'f2ad0683', - 'phabricator-filetree-view-css' => '90efd2f0', - 'phabricator-flag-css' => '90efd2f0', - 'phabricator-form-view-css' => '90efd2f0', - 'phabricator-header-view-css' => '90efd2f0', + 'phabricator-filetree-view-css' => '695153c6', + 'phabricator-flag-css' => '695153c6', + 'phabricator-form-view-css' => '695153c6', + 'phabricator-header-view-css' => '695153c6', 'phabricator-hovercard' => 'f2ad0683', - 'phabricator-jump-nav' => '90efd2f0', + 'phabricator-jump-nav' => '695153c6', 'phabricator-keyboard-shortcut' => 'f2ad0683', 'phabricator-keyboard-shortcut-manager' => 'f2ad0683', - 'phabricator-main-menu-view' => '90efd2f0', + 'phabricator-main-menu-view' => '695153c6', 'phabricator-menu-item' => 'f2ad0683', - 'phabricator-nav-view-css' => '90efd2f0', + 'phabricator-nav-view-css' => '695153c6', 'phabricator-notification' => 'f2ad0683', - 'phabricator-notification-css' => '90efd2f0', - 'phabricator-notification-menu-css' => '90efd2f0', - 'phabricator-object-item-list-view-css' => '90efd2f0', + 'phabricator-notification-css' => '695153c6', + 'phabricator-notification-menu-css' => '695153c6', + 'phabricator-object-item-list-view-css' => '695153c6', 'phabricator-object-selector-css' => 'dd27a69b', 'phabricator-phtize' => 'f2ad0683', 'phabricator-prefab' => 'f2ad0683', 'phabricator-project-tag-css' => 'adc3c36d', - 'phabricator-property-list-view-css' => '90efd2f0', - 'phabricator-remarkup-css' => '90efd2f0', + 'phabricator-property-list-view-css' => '695153c6', + 'phabricator-remarkup-css' => '695153c6', 'phabricator-shaped-request' => '9488bb69', - 'phabricator-side-menu-view-css' => '90efd2f0', - 'phabricator-standard-page-view' => '90efd2f0', - 'phabricator-tag-view-css' => '90efd2f0', + 'phabricator-side-menu-view-css' => '695153c6', + 'phabricator-standard-page-view' => '695153c6', + 'phabricator-tag-view-css' => '695153c6', 'phabricator-textareautils' => 'f2ad0683', 'phabricator-tooltip' => 'f2ad0683', - 'phabricator-transaction-view-css' => '90efd2f0', - 'phabricator-zindex-css' => '90efd2f0', - 'phui-button-css' => '90efd2f0', - 'phui-form-css' => '90efd2f0', - 'phui-icon-view-css' => '90efd2f0', - 'phui-spacing-css' => '90efd2f0', - 'sprite-apps-large-css' => '90efd2f0', - 'sprite-gradient-css' => '90efd2f0', - 'sprite-icons-css' => '90efd2f0', - 'sprite-menu-css' => '90efd2f0', - 'syntax-highlighting-css' => '90efd2f0', + 'phabricator-transaction-view-css' => '695153c6', + 'phabricator-zindex-css' => '695153c6', + 'phui-button-css' => '695153c6', + 'phui-form-css' => '695153c6', + 'phui-icon-view-css' => '695153c6', + 'phui-spacing-css' => '695153c6', + 'sprite-apps-large-css' => '695153c6', + 'sprite-gradient-css' => '695153c6', + 'sprite-icons-css' => '695153c6', + 'sprite-menu-css' => '695153c6', + 'syntax-highlighting-css' => '695153c6', ), )); diff --git a/webroot/rsrc/css/aphront/notification.css b/webroot/rsrc/css/aphront/notification.css index 501527cd86..8544bc0aa9 100644 --- a/webroot/rsrc/css/aphront/notification.css +++ b/webroot/rsrc/css/aphront/notification.css @@ -46,3 +46,7 @@ background: {$lightred}; border: 1px solid {$red}; } + +.jx-notification-container .phabricator-notification { + padding: 0; +}