Skip to content

Commit 2936079

Browse files
author
Edward Speyer
committed
Reinstate AphrontFormCountedToggleButtonsControl's CSS
Summary: Undoes accidental delete from https://secure.phabricator.com/D5314 Test Plan: View awesome new toggle-buttons scheme in Releeph. Reviewers: chad Reviewed By: chad CC: epriestley, aran Differential Revision: https://secure.phabricator.com/D5332
1 parent f1be015 commit 2936079

File tree

2 files changed

+79
-40
lines changed

2 files changed

+79
-40
lines changed

src/__celerity_resource_map__.php

Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -683,7 +683,7 @@
683683
),
684684
'aphront-form-view-css' =>
685685
array(
686-
'uri' => '/res/accfc3a4/rsrc/css/aphront/form-view.css',
686+
'uri' => '/res/ed8c70fa/rsrc/css/aphront/form-view.css',
687687
'type' => 'css',
688688
'requires' =>
689689
array(
@@ -3571,7 +3571,7 @@
35713571
), array(
35723572
'packages' =>
35733573
array(
3574-
'4a549b8b' =>
3574+
'c7e83e29' =>
35753575
array(
35763576
'name' => 'core.pkg.css',
35773577
'symbols' =>
@@ -3614,7 +3614,7 @@
36143614
35 => 'phabricator-object-item-list-view-css',
36153615
36 => 'global-drag-and-drop-css',
36163616
),
3617-
'uri' => '/res/pkg/4a549b8b/core.pkg.css',
3617+
'uri' => '/res/pkg/c7e83e29/core.pkg.css',
36183618
'type' => 'css',
36193619
),
36203620
'95ceba95' =>
@@ -3805,17 +3805,17 @@
38053805
'reverse' =>
38063806
array(
38073807
'aphront-attached-file-view-css' => 'c41b4907',
3808-
'aphront-crumbs-view-css' => '4a549b8b',
3809-
'aphront-dialog-view-css' => '4a549b8b',
3810-
'aphront-error-view-css' => '4a549b8b',
3811-
'aphront-form-view-css' => '4a549b8b',
3812-
'aphront-list-filter-view-css' => '4a549b8b',
3813-
'aphront-pager-view-css' => '4a549b8b',
3814-
'aphront-panel-view-css' => '4a549b8b',
3815-
'aphront-table-view-css' => '4a549b8b',
3816-
'aphront-tokenizer-control-css' => '4a549b8b',
3817-
'aphront-tooltip-css' => '4a549b8b',
3818-
'aphront-typeahead-control-css' => '4a549b8b',
3808+
'aphront-crumbs-view-css' => 'c7e83e29',
3809+
'aphront-dialog-view-css' => 'c7e83e29',
3810+
'aphront-error-view-css' => 'c7e83e29',
3811+
'aphront-form-view-css' => 'c7e83e29',
3812+
'aphront-list-filter-view-css' => 'c7e83e29',
3813+
'aphront-pager-view-css' => 'c7e83e29',
3814+
'aphront-panel-view-css' => 'c7e83e29',
3815+
'aphront-table-view-css' => 'c7e83e29',
3816+
'aphront-tokenizer-control-css' => 'c7e83e29',
3817+
'aphront-tooltip-css' => 'c7e83e29',
3818+
'aphront-typeahead-control-css' => 'c7e83e29',
38193819
'differential-changeset-view-css' => '8aaacd1b',
38203820
'differential-core-view-css' => '8aaacd1b',
38213821
'differential-inline-comment-editor' => '322728f3',
@@ -3829,7 +3829,7 @@
38293829
'differential-table-of-contents-css' => '8aaacd1b',
38303830
'diffusion-commit-view-css' => 'c8ce2d88',
38313831
'diffusion-icons-css' => 'c8ce2d88',
3832-
'global-drag-and-drop-css' => '4a549b8b',
3832+
'global-drag-and-drop-css' => 'c7e83e29',
38333833
'inline-comment-summary-css' => '8aaacd1b',
38343834
'javelin-aphlict' => '95ceba95',
38353835
'javelin-behavior' => 'cd1d650a',
@@ -3901,48 +3901,48 @@
39013901
'javelin-util' => 'cd1d650a',
39023902
'javelin-vector' => 'cd1d650a',
39033903
'javelin-workflow' => 'cd1d650a',
3904-
'lightbox-attachment-css' => '4a549b8b',
3904+
'lightbox-attachment-css' => 'c7e83e29',
39053905
'maniphest-task-summary-css' => 'c41b4907',
39063906
'maniphest-transaction-detail-css' => 'c41b4907',
39073907
'phabricator-busy' => '95ceba95',
39083908
'phabricator-content-source-view-css' => '8aaacd1b',
3909-
'phabricator-core-buttons-css' => '4a549b8b',
3910-
'phabricator-core-css' => '4a549b8b',
3911-
'phabricator-crumbs-view-css' => '4a549b8b',
3912-
'phabricator-directory-css' => '4a549b8b',
3909+
'phabricator-core-buttons-css' => 'c7e83e29',
3910+
'phabricator-core-css' => 'c7e83e29',
3911+
'phabricator-crumbs-view-css' => 'c7e83e29',
3912+
'phabricator-directory-css' => 'c7e83e29',
39133913
'phabricator-drag-and-drop-file-upload' => '322728f3',
39143914
'phabricator-dropdown-menu' => '95ceba95',
39153915
'phabricator-file-upload' => '95ceba95',
3916-
'phabricator-filetree-view-css' => '4a549b8b',
3917-
'phabricator-flag-css' => '4a549b8b',
3918-
'phabricator-form-view-css' => '4a549b8b',
3919-
'phabricator-header-view-css' => '4a549b8b',
3920-
'phabricator-jump-nav' => '4a549b8b',
3916+
'phabricator-filetree-view-css' => 'c7e83e29',
3917+
'phabricator-flag-css' => 'c7e83e29',
3918+
'phabricator-form-view-css' => 'c7e83e29',
3919+
'phabricator-header-view-css' => 'c7e83e29',
3920+
'phabricator-jump-nav' => 'c7e83e29',
39213921
'phabricator-keyboard-shortcut' => '95ceba95',
39223922
'phabricator-keyboard-shortcut-manager' => '95ceba95',
3923-
'phabricator-main-menu-view' => '4a549b8b',
3923+
'phabricator-main-menu-view' => 'c7e83e29',
39243924
'phabricator-menu-item' => '95ceba95',
3925-
'phabricator-nav-view-css' => '4a549b8b',
3925+
'phabricator-nav-view-css' => 'c7e83e29',
39263926
'phabricator-notification' => '95ceba95',
3927-
'phabricator-notification-css' => '4a549b8b',
3928-
'phabricator-notification-menu-css' => '4a549b8b',
3929-
'phabricator-object-item-list-view-css' => '4a549b8b',
3927+
'phabricator-notification-css' => 'c7e83e29',
3928+
'phabricator-notification-menu-css' => 'c7e83e29',
3929+
'phabricator-object-item-list-view-css' => 'c7e83e29',
39303930
'phabricator-object-selector-css' => '8aaacd1b',
39313931
'phabricator-paste-file-upload' => '95ceba95',
39323932
'phabricator-prefab' => '95ceba95',
39333933
'phabricator-project-tag-css' => 'c41b4907',
3934-
'phabricator-remarkup-css' => '4a549b8b',
3934+
'phabricator-remarkup-css' => 'c7e83e29',
39353935
'phabricator-shaped-request' => '322728f3',
3936-
'phabricator-side-menu-view-css' => '4a549b8b',
3937-
'phabricator-standard-page-view' => '4a549b8b',
3936+
'phabricator-side-menu-view-css' => 'c7e83e29',
3937+
'phabricator-standard-page-view' => 'c7e83e29',
39383938
'phabricator-textareautils' => '95ceba95',
39393939
'phabricator-tooltip' => '95ceba95',
3940-
'phabricator-transaction-view-css' => '4a549b8b',
3941-
'phabricator-zindex-css' => '4a549b8b',
3942-
'sprite-apps-large-css' => '4a549b8b',
3943-
'sprite-gradient-css' => '4a549b8b',
3944-
'sprite-icon-css' => '4a549b8b',
3945-
'sprite-menu-css' => '4a549b8b',
3946-
'syntax-highlighting-css' => '4a549b8b',
3940+
'phabricator-transaction-view-css' => 'c7e83e29',
3941+
'phabricator-zindex-css' => 'c7e83e29',
3942+
'sprite-apps-large-css' => 'c7e83e29',
3943+
'sprite-gradient-css' => 'c7e83e29',
3944+
'sprite-icon-css' => 'c7e83e29',
3945+
'sprite-menu-css' => 'c7e83e29',
3946+
'syntax-highlighting-css' => 'c7e83e29',
39473947
),
39483948
));

webroot/rsrc/css/aphront/form-view.css

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -369,3 +369,42 @@ table.aphront-form-control-checkbox-layout th {
369369
padding: 12px;
370370
float: right;
371371
}
372+
373+
.aphront-form-control-counted-togglebuttons {
374+
padding-top: 7px;
375+
}
376+
377+
.aphront-form-control-counted-togglebuttons .toggle {
378+
position: relative;
379+
}
380+
381+
.aphront-form-control-counted-togglebuttons .toggle-fixed {
382+
cursor: pointer;
383+
}
384+
385+
.aphront-form-control-counted-togglebuttons .toggle .counter {
386+
font-size: smaller;
387+
display: none;
388+
position: absolute;
389+
top: -9px;
390+
right: -8px;
391+
padding: 0px 3px;
392+
border-radius: 3px;
393+
}
394+
395+
.aphront-form-control-counted-togglebuttons:hover .toggle .counter {
396+
display: block;
397+
}
398+
399+
.aphront-form-control-counted-togglebuttons .toggle .counter {
400+
background: gray;
401+
color: #ddd;
402+
}
403+
404+
.aphront-form-control-counted-togglebuttons .toggle-selected .counter {
405+
color: white;
406+
}
407+
408+
.aphront-form-control-counted-togglebuttons .toggle.disabled:hover {
409+
background-color: #a7a7a7;
410+
}

0 commit comments

Comments
 (0)