From 6f721fb437c1f86d52edba5b05ccbea93f4e6040 Mon Sep 17 00:00:00 2001 From: Chad Little Date: Tue, 27 Aug 2013 09:08:01 -0700 Subject: [PATCH] Tighten form spacing on checkboxes and radios Summary: Some longer forms get really long here, this seems easier to read. Test Plan: Check Flags and admining users. Reviewers: epriestley Reviewed By: epriestley CC: Korvin, aran Differential Revision: https://secure.phabricator.com/D6825 --- src/__celerity_resource_map__.php | 90 ++++++++++++------------ webroot/rsrc/css/phui/phui-form-view.css | 12 ++-- 2 files changed, 51 insertions(+), 51 deletions(-) diff --git a/src/__celerity_resource_map__.php b/src/__celerity_resource_map__.php index cc1b45e2ea..23758fd48a 100644 --- a/src/__celerity_resource_map__.php +++ b/src/__celerity_resource_map__.php @@ -1149,7 +1149,7 @@ celerity_register_resource_map(array( ), 'diviner-shared-css' => array( - 'uri' => '/res/f462d51d/rsrc/css/diviner/diviner-shared.css', + 'uri' => '/res/fc7e698a/rsrc/css/diviner/diviner-shared.css', 'type' => 'css', 'requires' => array( @@ -3802,7 +3802,7 @@ celerity_register_resource_map(array( ), 'phui-form-view-css' => array( - 'uri' => '/res/52025834/rsrc/css/phui/phui-form-view.css', + 'uri' => '/res/4873f372/rsrc/css/phui/phui-form-view.css', 'type' => 'css', 'requires' => array( @@ -4172,7 +4172,7 @@ celerity_register_resource_map(array( ), array( 'packages' => array( - '4c072d06' => + '025a2ddd' => array( 'name' => 'core.pkg.css', 'symbols' => @@ -4219,7 +4219,7 @@ celerity_register_resource_map(array( 39 => 'phabricator-property-list-view-css', 40 => 'phabricator-tag-view-css', ), - 'uri' => '/res/pkg/4c072d06/core.pkg.css', + 'uri' => '/res/pkg/025a2ddd/core.pkg.css', 'type' => 'css', ), '4f81c788' => @@ -4410,15 +4410,15 @@ celerity_register_resource_map(array( ), 'reverse' => array( - 'aphront-dialog-view-css' => '4c072d06', - 'aphront-error-view-css' => '4c072d06', - 'aphront-list-filter-view-css' => '4c072d06', - 'aphront-pager-view-css' => '4c072d06', - 'aphront-panel-view-css' => '4c072d06', - 'aphront-table-view-css' => '4c072d06', - 'aphront-tokenizer-control-css' => '4c072d06', - 'aphront-tooltip-css' => '4c072d06', - 'aphront-typeahead-control-css' => '4c072d06', + 'aphront-dialog-view-css' => '025a2ddd', + 'aphront-error-view-css' => '025a2ddd', + 'aphront-list-filter-view-css' => '025a2ddd', + 'aphront-pager-view-css' => '025a2ddd', + 'aphront-panel-view-css' => '025a2ddd', + 'aphront-table-view-css' => '025a2ddd', + 'aphront-tokenizer-control-css' => '025a2ddd', + 'aphront-tooltip-css' => '025a2ddd', + 'aphront-typeahead-control-css' => '025a2ddd', 'differential-changeset-view-css' => '09216861', 'differential-core-view-css' => '09216861', 'differential-inline-comment-editor' => 'd07a3bc2', @@ -4432,7 +4432,7 @@ celerity_register_resource_map(array( 'differential-table-of-contents-css' => '09216861', 'diffusion-commit-view-css' => 'c8ce2d88', 'diffusion-icons-css' => 'c8ce2d88', - 'global-drag-and-drop-css' => '4c072d06', + 'global-drag-and-drop-css' => '025a2ddd', 'inline-comment-summary-css' => '09216861', 'javelin-aphlict' => '4f81c788', 'javelin-behavior' => '2dbbb7d1', @@ -4505,55 +4505,55 @@ celerity_register_resource_map(array( 'javelin-util' => '2dbbb7d1', 'javelin-vector' => '2dbbb7d1', 'javelin-workflow' => '2dbbb7d1', - 'lightbox-attachment-css' => '4c072d06', + 'lightbox-attachment-css' => '025a2ddd', 'maniphest-task-summary-css' => '06bacb9a', 'maniphest-transaction-detail-css' => '06bacb9a', - 'phabricator-action-list-view-css' => '4c072d06', - 'phabricator-application-launch-view-css' => '4c072d06', + 'phabricator-action-list-view-css' => '025a2ddd', + 'phabricator-application-launch-view-css' => '025a2ddd', 'phabricator-busy' => '4f81c788', 'phabricator-content-source-view-css' => '09216861', - 'phabricator-core-css' => '4c072d06', - 'phabricator-crumbs-view-css' => '4c072d06', + 'phabricator-core-css' => '025a2ddd', + 'phabricator-crumbs-view-css' => '025a2ddd', 'phabricator-drag-and-drop-file-upload' => 'd07a3bc2', 'phabricator-dropdown-menu' => '4f81c788', 'phabricator-file-upload' => '4f81c788', - 'phabricator-filetree-view-css' => '4c072d06', - 'phabricator-flag-css' => '4c072d06', - 'phabricator-header-view-css' => '4c072d06', + 'phabricator-filetree-view-css' => '025a2ddd', + 'phabricator-flag-css' => '025a2ddd', + 'phabricator-header-view-css' => '025a2ddd', 'phabricator-hovercard' => '4f81c788', - 'phabricator-jump-nav' => '4c072d06', + 'phabricator-jump-nav' => '025a2ddd', 'phabricator-keyboard-shortcut' => '4f81c788', 'phabricator-keyboard-shortcut-manager' => '4f81c788', - 'phabricator-main-menu-view' => '4c072d06', + 'phabricator-main-menu-view' => '025a2ddd', 'phabricator-menu-item' => '4f81c788', - 'phabricator-nav-view-css' => '4c072d06', + 'phabricator-nav-view-css' => '025a2ddd', 'phabricator-notification' => '4f81c788', - 'phabricator-notification-css' => '4c072d06', - 'phabricator-notification-menu-css' => '4c072d06', - 'phabricator-object-item-list-view-css' => '4c072d06', + 'phabricator-notification-css' => '025a2ddd', + 'phabricator-notification-menu-css' => '025a2ddd', + 'phabricator-object-item-list-view-css' => '025a2ddd', 'phabricator-object-selector-css' => '09216861', 'phabricator-phtize' => '4f81c788', 'phabricator-prefab' => '4f81c788', 'phabricator-project-tag-css' => '06bacb9a', - 'phabricator-property-list-view-css' => '4c072d06', - 'phabricator-remarkup-css' => '4c072d06', + 'phabricator-property-list-view-css' => '025a2ddd', + 'phabricator-remarkup-css' => '025a2ddd', 'phabricator-shaped-request' => 'd07a3bc2', - 'phabricator-side-menu-view-css' => '4c072d06', - 'phabricator-standard-page-view' => '4c072d06', - 'phabricator-tag-view-css' => '4c072d06', + 'phabricator-side-menu-view-css' => '025a2ddd', + 'phabricator-standard-page-view' => '025a2ddd', + 'phabricator-tag-view-css' => '025a2ddd', 'phabricator-textareautils' => '4f81c788', 'phabricator-tooltip' => '4f81c788', - 'phabricator-transaction-view-css' => '4c072d06', - 'phabricator-zindex-css' => '4c072d06', - 'phui-button-css' => '4c072d06', - 'phui-form-css' => '4c072d06', - 'phui-form-view-css' => '4c072d06', - 'phui-icon-view-css' => '4c072d06', - 'phui-spacing-css' => '4c072d06', - 'sprite-apps-large-css' => '4c072d06', - 'sprite-gradient-css' => '4c072d06', - 'sprite-icons-css' => '4c072d06', - 'sprite-menu-css' => '4c072d06', - 'syntax-highlighting-css' => '4c072d06', + 'phabricator-transaction-view-css' => '025a2ddd', + 'phabricator-zindex-css' => '025a2ddd', + 'phui-button-css' => '025a2ddd', + 'phui-form-css' => '025a2ddd', + 'phui-form-view-css' => '025a2ddd', + 'phui-icon-view-css' => '025a2ddd', + 'phui-spacing-css' => '025a2ddd', + 'sprite-apps-large-css' => '025a2ddd', + 'sprite-gradient-css' => '025a2ddd', + 'sprite-icons-css' => '025a2ddd', + 'sprite-menu-css' => '025a2ddd', + 'syntax-highlighting-css' => '025a2ddd', ), )); diff --git a/webroot/rsrc/css/phui/phui-form-view.css b/webroot/rsrc/css/phui/phui-form-view.css index 2732a56869..60cbf21f4a 100644 --- a/webroot/rsrc/css/phui/phui-form-view.css +++ b/webroot/rsrc/css/phui/phui-form-view.css @@ -189,17 +189,17 @@ table.aphront-form-control-checkbox-layout { table.aphront-form-control-radio-layout th { padding-top: 3px; padding-left: 8px; - padding-bottom: 12px; + padding-bottom: 4px; font-weight: bold; - color: #222222; + color: #333; } table.aphront-form-control-checkbox-layout th { padding-top: 2px; padding-left: 8px; - padding-bottom: 12px; - color: #222222; + padding-bottom: 4px; + color: #333; } .aphront-form-control-radio-layout td input, @@ -217,11 +217,11 @@ table.aphront-form-control-checkbox-layout th { margin-top: 4px; font-size: 12px; font-weight: normal; - color: #444444; + color: #555; } .aphront-form-control-image span { - margin: 0px 4px 0px 2px; + margin: 0 4px 0 2px; } .aphront-form-control-image .default-image {