diff --git a/src/__celerity_resource_map__.php b/src/__celerity_resource_map__.php index a7ee838e13..31fdcdee83 100644 --- a/src/__celerity_resource_map__.php +++ b/src/__celerity_resource_map__.php @@ -683,7 +683,7 @@ celerity_register_resource_map(array( ), 'aphront-form-view-css' => array( - 'uri' => '/res/accfc3a4/rsrc/css/aphront/form-view.css', + 'uri' => '/res/ed8c70fa/rsrc/css/aphront/form-view.css', 'type' => 'css', 'requires' => array( @@ -3571,7 +3571,7 @@ celerity_register_resource_map(array( ), array( 'packages' => array( - '4a549b8b' => + 'c7e83e29' => array( 'name' => 'core.pkg.css', 'symbols' => @@ -3614,7 +3614,7 @@ celerity_register_resource_map(array( 35 => 'phabricator-object-item-list-view-css', 36 => 'global-drag-and-drop-css', ), - 'uri' => '/res/pkg/4a549b8b/core.pkg.css', + 'uri' => '/res/pkg/c7e83e29/core.pkg.css', 'type' => 'css', ), '95ceba95' => @@ -3805,17 +3805,17 @@ celerity_register_resource_map(array( 'reverse' => array( 'aphront-attached-file-view-css' => 'c41b4907', - 'aphront-crumbs-view-css' => '4a549b8b', - 'aphront-dialog-view-css' => '4a549b8b', - 'aphront-error-view-css' => '4a549b8b', - 'aphront-form-view-css' => '4a549b8b', - 'aphront-list-filter-view-css' => '4a549b8b', - 'aphront-pager-view-css' => '4a549b8b', - 'aphront-panel-view-css' => '4a549b8b', - 'aphront-table-view-css' => '4a549b8b', - 'aphront-tokenizer-control-css' => '4a549b8b', - 'aphront-tooltip-css' => '4a549b8b', - 'aphront-typeahead-control-css' => '4a549b8b', + 'aphront-crumbs-view-css' => 'c7e83e29', + 'aphront-dialog-view-css' => 'c7e83e29', + 'aphront-error-view-css' => 'c7e83e29', + 'aphront-form-view-css' => 'c7e83e29', + 'aphront-list-filter-view-css' => 'c7e83e29', + 'aphront-pager-view-css' => 'c7e83e29', + 'aphront-panel-view-css' => 'c7e83e29', + 'aphront-table-view-css' => 'c7e83e29', + 'aphront-tokenizer-control-css' => 'c7e83e29', + 'aphront-tooltip-css' => 'c7e83e29', + 'aphront-typeahead-control-css' => 'c7e83e29', 'differential-changeset-view-css' => '8aaacd1b', 'differential-core-view-css' => '8aaacd1b', 'differential-inline-comment-editor' => '322728f3', @@ -3829,7 +3829,7 @@ celerity_register_resource_map(array( 'differential-table-of-contents-css' => '8aaacd1b', 'diffusion-commit-view-css' => 'c8ce2d88', 'diffusion-icons-css' => 'c8ce2d88', - 'global-drag-and-drop-css' => '4a549b8b', + 'global-drag-and-drop-css' => 'c7e83e29', 'inline-comment-summary-css' => '8aaacd1b', 'javelin-aphlict' => '95ceba95', 'javelin-behavior' => 'cd1d650a', @@ -3901,48 +3901,48 @@ celerity_register_resource_map(array( 'javelin-util' => 'cd1d650a', 'javelin-vector' => 'cd1d650a', 'javelin-workflow' => 'cd1d650a', - 'lightbox-attachment-css' => '4a549b8b', + 'lightbox-attachment-css' => 'c7e83e29', 'maniphest-task-summary-css' => 'c41b4907', 'maniphest-transaction-detail-css' => 'c41b4907', 'phabricator-busy' => '95ceba95', 'phabricator-content-source-view-css' => '8aaacd1b', - 'phabricator-core-buttons-css' => '4a549b8b', - 'phabricator-core-css' => '4a549b8b', - 'phabricator-crumbs-view-css' => '4a549b8b', - 'phabricator-directory-css' => '4a549b8b', + 'phabricator-core-buttons-css' => 'c7e83e29', + 'phabricator-core-css' => 'c7e83e29', + 'phabricator-crumbs-view-css' => 'c7e83e29', + 'phabricator-directory-css' => 'c7e83e29', 'phabricator-drag-and-drop-file-upload' => '322728f3', 'phabricator-dropdown-menu' => '95ceba95', 'phabricator-file-upload' => '95ceba95', - 'phabricator-filetree-view-css' => '4a549b8b', - 'phabricator-flag-css' => '4a549b8b', - 'phabricator-form-view-css' => '4a549b8b', - 'phabricator-header-view-css' => '4a549b8b', - 'phabricator-jump-nav' => '4a549b8b', + 'phabricator-filetree-view-css' => 'c7e83e29', + 'phabricator-flag-css' => 'c7e83e29', + 'phabricator-form-view-css' => 'c7e83e29', + 'phabricator-header-view-css' => 'c7e83e29', + 'phabricator-jump-nav' => 'c7e83e29', 'phabricator-keyboard-shortcut' => '95ceba95', 'phabricator-keyboard-shortcut-manager' => '95ceba95', - 'phabricator-main-menu-view' => '4a549b8b', + 'phabricator-main-menu-view' => 'c7e83e29', 'phabricator-menu-item' => '95ceba95', - 'phabricator-nav-view-css' => '4a549b8b', + 'phabricator-nav-view-css' => 'c7e83e29', 'phabricator-notification' => '95ceba95', - 'phabricator-notification-css' => '4a549b8b', - 'phabricator-notification-menu-css' => '4a549b8b', - 'phabricator-object-item-list-view-css' => '4a549b8b', + 'phabricator-notification-css' => 'c7e83e29', + 'phabricator-notification-menu-css' => 'c7e83e29', + 'phabricator-object-item-list-view-css' => 'c7e83e29', 'phabricator-object-selector-css' => '8aaacd1b', 'phabricator-paste-file-upload' => '95ceba95', 'phabricator-prefab' => '95ceba95', 'phabricator-project-tag-css' => 'c41b4907', - 'phabricator-remarkup-css' => '4a549b8b', + 'phabricator-remarkup-css' => 'c7e83e29', 'phabricator-shaped-request' => '322728f3', - 'phabricator-side-menu-view-css' => '4a549b8b', - 'phabricator-standard-page-view' => '4a549b8b', + 'phabricator-side-menu-view-css' => 'c7e83e29', + 'phabricator-standard-page-view' => 'c7e83e29', 'phabricator-textareautils' => '95ceba95', 'phabricator-tooltip' => '95ceba95', - 'phabricator-transaction-view-css' => '4a549b8b', - 'phabricator-zindex-css' => '4a549b8b', - 'sprite-apps-large-css' => '4a549b8b', - 'sprite-gradient-css' => '4a549b8b', - 'sprite-icon-css' => '4a549b8b', - 'sprite-menu-css' => '4a549b8b', - 'syntax-highlighting-css' => '4a549b8b', + 'phabricator-transaction-view-css' => 'c7e83e29', + 'phabricator-zindex-css' => 'c7e83e29', + 'sprite-apps-large-css' => 'c7e83e29', + 'sprite-gradient-css' => 'c7e83e29', + 'sprite-icon-css' => 'c7e83e29', + 'sprite-menu-css' => 'c7e83e29', + 'syntax-highlighting-css' => 'c7e83e29', ), )); diff --git a/webroot/rsrc/css/aphront/form-view.css b/webroot/rsrc/css/aphront/form-view.css index a4a88a6844..36b6a89cc6 100644 --- a/webroot/rsrc/css/aphront/form-view.css +++ b/webroot/rsrc/css/aphront/form-view.css @@ -369,3 +369,42 @@ table.aphront-form-control-checkbox-layout th { padding: 12px; float: right; } + +.aphront-form-control-counted-togglebuttons { + padding-top: 7px; +} + +.aphront-form-control-counted-togglebuttons .toggle { + position: relative; +} + +.aphront-form-control-counted-togglebuttons .toggle-fixed { + cursor: pointer; +} + +.aphront-form-control-counted-togglebuttons .toggle .counter { + font-size: smaller; + display: none; + position: absolute; + top: -9px; + right: -8px; + padding: 0px 3px; + border-radius: 3px; +} + +.aphront-form-control-counted-togglebuttons:hover .toggle .counter { + display: block; +} + +.aphront-form-control-counted-togglebuttons .toggle .counter { + background: gray; + color: #ddd; +} + +.aphront-form-control-counted-togglebuttons .toggle-selected .counter { + color: white; +} + +.aphront-form-control-counted-togglebuttons .toggle.disabled:hover { + background-color: #a7a7a7; +}