Commit graph

2302 commits

Author SHA1 Message Date
Andre Klapper bfb9451f14 Remove orphan CSS selectors in calendar/phui-calendar.css
Summary:
* `phui-calendar-bg-blue`
* `phui-calendar-bg-green`
* `phui-calendar-bg-grey`
* `phui-calendar-bg-indigo`
* `phui-calendar-bg-orange`
* `phui-calendar-bg-red`
* `phui-calendar-bg-sky`
* `phui-calendar-bg-viewer-invited`
* `phui-calendar-bg-violet`
* `phui-calendar-bg-yellow`
* `phui-calendar-blue`
* `phui-calendar-green`
* `phui-calendar-grey`
* `phui-calendar-indigo`
* `phui-calendar-orange`
* `phui-calendar-red`
* `phui-calendar-sky`
* `phui-calendar-violet`
* `phui-calendar-yellow`
* `phui-calendar-event-empty`
* `phui-calendar-list-dot`
* `phui-calendar-viewer-invited`
** Added in https://we.phorge.it/rP396e8ba82c221c085d17f1574551fbff42459452, usage removed in https://we.phorge.it/rP4016107411c12d8658a2cfeefeef19b7c12fa6cb (`$class = 'phui-calendar-list-item phui-calendar-'.$color;`) resp. https://we.phorge.it/rPb6c3d184d200e6bc43ba8f15a069c3a8620779cc from `src/view/phui/calendar/PHUICalendarListView.php`

Test Plan:
Grep the code for each CSS selector (`grep --exclude="*.css" -R 'some-search-string' .`), also do partial searches, get no results.
Optionally, play with calendar list view.

Create events in which you are:

- Busy
- Available
- Away
- Invited
- Invited and Confirmed

No visible color regressions.

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Differential Revision: https://we.phorge.it/D26000
2025-06-11 11:38:47 +02:00
Andre Klapper 0347f1f619 Remove orphan CSS selectors in base/main-menu-view.css
Summary:
* `phabricator-application-menu-expanded`
** Added in https://we.phorge.it/rPfed0a2a496536d5a2a22f712861383299fabd3bd, usage removed in https://we.phorge.it/rP6f5dab634db26a14ba2ee000a3cee75c9d6152fb from `src/view/page/menu/PhabricatorMainMenuView.php`
* `phabricator-core-menu-icon`
** Added in https://we.phorge.it/rPe3f6bbfff888008fcdf88f620b6716ab5add209b, usage removed in https://we.phorge.it/rP20035fe9a8ed53f4616528b114df61465f1d1f46 and https://we.phorge.it/rP6f5dab634db26a14ba2ee000a3cee75c9d6152fb
* `phabricator-expand-search-menu`
** Added in https://we.phorge.it/rP919bd4a03499305093d8882952a9dd3dac1c55a9, usage removed in https://we.phorge.it/rP6f5dab634db26a14ba2ee000a3cee75c9d6152fb from `src/view/page/menu/PhabricatorMainMenuView.php`
* `phabricator-main-menu-expand-button`
** Added in https://we.phorge.it/rP3c7944d297b2416d568ca2a7ab1e5c212adb78ff, usage removed in https://we.phorge.it/rP6f5dab634db26a14ba2ee000a3cee75c9d6152fb
* `phabricator-main-menu-group-logo`
** Added in https://we.phorge.it/rP3c7944d297b2416d568ca2a7ab1e5c212adb78ff, usage removed in https://we.phorge.it/rP54fe74d6216707267a1c818404507d2ee5ad82ad

Test Plan: Grep the code for each CSS selector (`grep --exclude="*.css" -R 'some-search-string' .`), also do partial searches, get no results.

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Differential Revision: https://we.phorge.it/D25998
2025-05-28 09:47:19 +02:00
Andre Klapper f4f616410c Remove orphan CSS selectors in phui/phui-document*.css
Summary:
* `phui-document-box`
** Added in https://we.phorge.it/rPf5a7e8bdbd9a6d68514bb0b08a4a7d626ca7044b, usage removed in https://we.phorge.it/rPbf227f77a5dc928f1380e4bc81059f83cfb96548
* `phui-document-properties`
** Added in https://we.phorge.it/rPc45ba304168239f0600d780476dc705b54b6f492, usage removed in https://we.phorge.it/rPa6e24cb2be9cc15a0eeacd6b90811c4b148c76ab

Test Plan: Grep the code for each CSS selector (`grep --exclude="*.css" -R 'some-search-string' .`), also do partial searches, get no results.

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Differential Revision: https://we.phorge.it/D26014
2025-05-27 23:20:43 +02:00
Andre Klapper 555e569ff8 Remove macOS specific font smoothing CSS
Summary:
Remove non-standard macOS specific font smoothing CSS which should be unneeded in the age of Retina displays and be superseded anyway by system and browser settings.

Closes T16059

Test Plan: Run browsers under macOS. Which I do not have.

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Maniphest Tasks: T16059

Differential Revision: https://we.phorge.it/D25989
2025-05-25 12:04:47 +02:00
Andre Klapper d784533cf7 Remove unused CSS file aphront/panel-view.css
Summary:
* `aphront-panel-flush`
** Added in https://we.phorge.it/rP3f11c8a602f0a7567f8a51bc3b1a2dddbd46eec2, usage removed in https://we.phorge.it/rPc05306d746d7e06e3f2a5eb712af89a616abfdc6 by deleting `src/applications/differential/view/DifferentialAddCommentView.php`
* `aphront-panel-preview`
** Added in https://we.phorge.it/rP3f11c8a602f0a7567f8a51bc3b1a2dddbd46eec2, usage removed in https://we.phorge.it/rP6bfb101aff20a1f1f0435178e2de044a945676ba and in https://we.phorge.it/rPc05306d746d7e06e3f2a5eb712af89a616abfdc6 by deleting `src/applications/differential/view/DifferentialAddCommentView.php`
* `aphront-panel-preview-loading-text`
** Added in https://we.phorge.it/rP3f11c8a602f0a7567f8a51bc3b1a2dddbd46eec2, usage removed in https://we.phorge.it/rP6bfb101aff20a1f1f0435178e2de044a945676ba and in https://we.phorge.it/rPc05306d746d7e06e3f2a5eb712af89a616abfdc6 by deleting `src/applications/differential/view/DifferentialAddCommentView.php`

Test Plan: Grep the code for each CSS selector (`grep --exclude="*.css" -R 'some-search-string' .`), also do partial searches, get no results.

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Differential Revision: https://we.phorge.it/D26007
2025-05-24 09:28:35 +02:00
Andre Klapper 5e64a0a819 Remove orphan CSS selectors in PHUIFormView
Summary:
* `aphront-form-drag-and-drop-upload`
** Usage removed in https://we.phorge.it/rPdd76143399d8b77a14baca44f99051aa6298e487
* `aphront-form-important`
** Usage removed in https://we.phorge.it/rPc585f97e90d2ff1e2713f613c2e56149ae37aaf6
* `aphront-form-control-togglebuttons`
** Usage removed in https://we.phorge.it/rPa1403183dfcfb6886cc75153044745d9cc70687b
* `aphront-form-control-image`
** Usage removed in https://we.phorge.it/rPa1403183dfcfb6886cc75153044745d9cc70687b
* `aphront-form-drag-and-drop-file-list`
** Usage removed in https://we.phorge.it/rPdd76143399d8b77a14baca44f99051aa6298e487
* `aphront-form-crop`
** Usage removed in https://we.phorge.it/rPa1403183dfcfb6886cc75153044745d9cc70687b

Extra children checks:

* `crop-box`
** Usage removed in https://we.phorge.it/rPa1403183dfcfb6886cc75153044745d9cc70687b
* `crop-image`
** Usage removed in https://we.phorge.it/rPa1403183dfcfb6886cc75153044745d9cc70687b and https://we.phorge.it/rP524906a4396a33974974977065bf0ae05ca7dc5c
* `default-image`
** Usage removed in https://we.phorge.it/rPa1403183dfcfb6886cc75153044745d9cc70687b

Test Plan: Grep the code for each CSS selector (`grep --exclude="*.css" -R 'some-search-string' .`), also do partial searches, get no results.

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Differential Revision: https://we.phorge.it/D25995
2025-05-23 02:08:49 +02:00
Andre Klapper 947b704411 Remove unused FatCow icon files
Summary:
Remove some of those small PNG files. Most of the flag icons are still used by the Flags application.

The `key_question.png` icon is covered by D26005.

Test Plan: Grep for the filenames.

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Differential Revision: https://we.phorge.it/D26006
2025-05-22 08:53:51 +02:00
Andre Klapper 7e4c1e93b5 Remove orphan CSS selectors in diffusion/diffusion-*.css
Summary:
* `diffusion-clone-extras`
** Added in https://we.phorge.it/rPa0e820ad9a2e6ae66c8522338ec19dd0a5e430d8, usage removed in https://we.phorge.it/rP29d1115037b84454c4fd186c47f33f162cc337b9
* `diffusion-search-boxen`
** Added in https://we.phorge.it/rP8f94aa8a0647af1dfaad9fa2c1c919841d466749, usage removed in https://we.phorge.it/rP0a9ad6d5e7d1807710eaafc6144a25854cbfaa77
* `phabricator-remarkup-toc`
** Added in https://we.phorge.it/rPd3546f94c15f27bab707d44d6b8a40e2fdeef6a2 and usage also removed in the very same commit (unused `.phabricator-remarkup-toc` is also defined in `core/remarkup.css` for Phriction tackled in D26016)
* `diffusion-page-header-view`
** Added in https://we.phorge.it/rPb25b379ca089055b63da6a5ba984f6ab0e2af6b9 together with calls to `diffusion-panel-header-view` so this might be a typo, still I also fail to find a combination of `diffusion-panel-header-view a.phui-header-action-link` browsing Diffusion pages

Test Plan: Grep the code for each CSS selector (`grep --exclude="*.css" -R 'some-search-string' .`), also do partial searches, get no results.

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Differential Revision: https://we.phorge.it/D26017
2025-05-19 07:19:32 +02:00
Andre Klapper 39216af0db Remove orphan CSS selectors in phui/phui-action-panel.css
Summary:
* `phui-action-panel-status`
** Added in https://we.phorge.it/rP1d05861fb31597d39d8fadc434e79ffe75d8c468, usage removed in https://we.phorge.it/rPa62337dcd83128aebb0940171524eb375ebac293

Test Plan: Grep the code for each CSS selector (`grep --exclude="*.css" -R 'some-search-string' .`), also do partial searches, get no results.

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Differential Revision: https://we.phorge.it/D26009
2025-05-18 23:12:15 +02:00
Andre Klapper 4195c91af0 Remove orphan CSS selectors in phui/phui-header-view.css
Summary:
* `phabricator-form-view`
** Added in https://we.phorge.it/rP93938765c371c2d4cceff7f725d2243ecfa3cba2, usage removed in https://we.phorge.it/rPfe2a96e37ff03b003cb10928e6d9f077dd44aa05
* `phui-header-tags`
** Added in https://we.phorge.it/rPe8bb24fd60724492ac3b28fdee759e4b079342c9, usage removed in https://we.phorge.it/rP9baa965b8609dc6412c137e0e1502542a9fcea31 by using `phui-header-action-*`
* `policy-space-container`
** Added in https://we.phorge.it/rP4811e6e7c1226d3c51649f47c2e7b49beb68aa19, seems to have never been used

Test Plan: Grep the code for each CSS selector (`grep --exclude="*.css" -R 'some-search-string' .`), also do partial searches, get no results.

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Differential Revision: https://we.phorge.it/D26008
2025-05-18 23:11:30 +02:00
Andre Klapper 2ce2574785 Remove orphan CSS selectors for differential-haunt-mode
Summary:
Added in rP29d8fc04e50b83fc7cf09f428ef905aa5e54e838.
Usage removed in rPb5722a99635adb513036b9741fccdfc61b5e4472.

Test Plan: Grep the code for "haunt". Get no results.

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Differential Revision: https://we.phorge.it/D25997
2025-05-17 11:20:06 +02:00
Andre Klapper 78f9c26dab Remove orphan CSS selectors in phui/phui-crumbs-view.css
Summary:
* `phui-crumb-icon`
** Added in https://we.phorge.it/rP45ae9cf340c7c888669d70b344fe6a894d429746, usage removed in https://we.phorge.it/rP64f145ef46a28ebd092b49ad4e9c937c7210321f

Test Plan: Grep the code for each CSS selector (`grep --exclude="*.css" -R 'some-search-string' .`), also do partial searches, get no results.

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Differential Revision: https://we.phorge.it/D26013
2025-05-17 03:14:53 +02:00
Andre Klapper 9ce9833916 Remove unused CSS file differential/revision-list.css
Summary:
`revision-age-fresh`, `revision-age-old`, `revision-age-stale` were added in rPb50cdc6e439c4f2915a47cb40cd94425832c22a2.
Their usage was removed in rPd9f01d6fb7f50e707805bc059aa15dcafca05160 from `src/applications/differential/view/DifferentialRevisionListView.php`.

Test Plan: Grep the code for `revision-age`. No results.

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Differential Revision: https://we.phorge.it/D25996
2025-05-17 03:12:48 +02:00
Andre Klapper b51f365700 Remove orphan CSS selectors in phui/phui-form-view.css
Summary:
* `drag-and-drop-file-target`
** Added in https://we.phorge.it/rP8573a1e14231867a145f09535e3e297c4dcda3e2; usage removed in https://we.phorge.it/rPdd76143399d8b77a14baca44f99051aa6298e487 by deleting `webroot/rsrc/js/core/behavior-drag-and-drop.js`
* `drag-and-drop-instructions`
** Added in https://we.phorge.it/rP109a202b6c77d61141d8ff4c98ce2548064334ef; usage removed in https://we.phorge.it/rPdd76143399d8b77a14baca44f99051aa6298e487 by deleting `webroot/rsrc/js/core/behavior-drag-and-drop.js`
* `recaptcha_only_if_privacy`
** Added in https://we.phorge.it/rP1329b7b51ef88825b36cf47b3c680542c2895579, looks like it has never been used

Test Plan: Grep the code for each CSS selector (`grep --exclude="*.css" -R 'some-search-string' .`), also do partial searches, get no results.

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Differential Revision: https://we.phorge.it/D26011
2025-05-15 05:33:01 +02:00
Andre Klapper 854dc7f3f5 Remove orphan CSS selectors in core/z-index.css
Summary:
* `project-board-header`
** Added in 183dd2a627, usage removed in https://we.phorge.it/rP6349741760a84de46f6a53d57fadef3b044b15ee also from `webroot/rsrc/css/phui/phui-workboard-view.css` but not from `core/z-index.css`
* `pholio-new-inline-comment`
** Added in https://we.phorge.it/rPe5af167ec99cdb29fcb3bb44e44c5afd3d0c6d7e, `.pholio-new-inline-comment` was removed from `webroot/rsrc/css/application/pholio/pholio-inline-comments.css` in https://we.phorge.it/rP85870e79aaf2f5dd0065f7b84d2e491062929027 but not from `core/z-index.css`; usage was removed in https://we.phorge.it/rP942f504893578c361c02727a4b615c70dc761af9 by deleting `src/applications/pholio/view/PholioInlineCommentSaveView.php`

For further cleanups in `core/z-index.css`, see D25997.

Test Plan: Grep the code for each CSS selector (`grep --exclude="*.css" -R 'some-search-string' .`), also do partial searches, get no results.

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Differential Revision: https://we.phorge.it/D26010
2025-05-15 00:34:23 +02:00
Andre Klapper 44b33e6345 Remove orphan CSS selectors in phui/phui-remarkup-preview.css
Summary:
* `phui-panel-preview`
** Added in https://we.phorge.it/rPfe2a96e37ff03b003cb10928e6d9f077dd44aa05, usage removed in https://we.phorge.it/rPe053cdd9031225547d1ea6c92ba8d466bae14d0a

Test Plan: Grep the code for each CSS selector (`grep --exclude="*.css" -R 'some-search-string' .`), also do partial searches, get no results.

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Differential Revision: https://we.phorge.it/D26012
2025-05-15 00:20:27 +02:00
Andre Klapper 06cf731779 Remove orphan CSS selectors in phui/phui-lightbox.css
Summary:
* `lightbox-download-form`
** Usage removed in https://we.phorge.it/rPa2fdf14275f932fcf70baf345ec2d944ffbd5a45

Test Plan: Grep the code for each CSS selector (`grep --exclude="*.css" -R 'some-search-string' .`), also do partial searches, get no results.

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Differential Revision: https://we.phorge.it/D26015
2025-05-15 00:12:16 +02:00
Andre Klapper 07e40af06a Remove orphan CSS selectors in ponder/ponder-view.css
Summary:
* `ponder-answer-wiki-header`
** Added in https://we.phorge.it/rPe9f4ca6ca338142b2cf44e61d313d3c6810435d4, usage removed in https://we.phorge.it/rPfe7e288cf558051c5405679d8569ce26847482ef
* `ponder-question-container`
** Added in https://we.phorge.it/rPe9f4ca6ca338142b2cf44e61d313d3c6810435d4, seems to never have been used
* `ponder-view-properties`
** Added in https://we.phorge.it/rPe9f4ca6ca338142b2cf44e61d313d3c6810435d4, usage removed in https://we.phorge.it/rPfe7e288cf558051c5405679d8569ce26847482ef

Test Plan:
Grep the code for each CSS selector (`grep --exclude="*.css" -R 'some-search-string' .`), also do partial searches, get no results.

Visit a Ponder question, both in frontend and backend, and play with these selectors. Nothing happens.

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Differential Revision: https://we.phorge.it/D25999
2025-05-08 18:37:03 +02:00
Andre Klapper a5868f388f Remove orphan CSS selectors in config/config-options.css
Summary:
* `config-options-current-value`
** Added in https://we.phorge.it/rP25ca17da46348d974ffa9bc451a0a81ed6babbcf, usage removed in https://we.phorge.it/rP530145ba3be62b6c54b8f3bc8aca09f2f369697d by deleting `src/applications/config/controller/PhabricatorConfigGroupController.php`

Test Plan: Grep the code for each CSS selector (`grep --exclude="*.css" -R 'some-search-string' .`), also do partial searches, get no results.

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Differential Revision: https://we.phorge.it/D26002
2025-05-08 18:35:44 +02:00
Andre Klapper 67880e5c44 Remove orphan CSS selectors in slowvote/slowvote.css
Summary:
* slowvote-header-content
** Added in https://we.phorge.it/rP89ee928a51c72d9fda17a59f73b060a92cc0c665, usage removed in https://we.phorge.it/rPaa22a578d01b8b5c69c89b9dc4a370552534f6dd from `src/applications/slowvote/view/SlowvoteEmbedView.php`

Test Plan: Grep the code for each CSS selector (`grep --exclude="*.css" -R 'some-search-string' .`), also do partial searches, get no results.

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Differential Revision: https://we.phorge.it/D26003
2025-05-08 16:53:34 +02:00
Andre Klapper 6c4ccf1dc9 Remove orphan CSS selectors in maniphest/task-summary.css
Summary:
* `maniphest-task-updated`
** Added in rPdf0c3df3cc6dbaa151e1b32ff4e01052eb3dad3e, usage removed in rP018de5dec742b6a38d02710670c1dd30101f5b9f by deleting `src/applications/maniphest/view/ManiphestTaskSummaryView.php`

Test Plan: Grep the code for each CSS selector (`grep --exclude="*.css" -R 'some-search-string' .`), also do partial searches, get no results.

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Differential Revision: https://we.phorge.it/D26001
2025-05-08 16:46:38 +02:00
Andre Klapper 5f7250fea6 Remove unused feed/feed.css and maniphest/task-edit.css
Summary:
* `webroot/rsrc/css/application/feed/feed.css: .phabricator-public-feed-frame .phui-feed-story-foot`, `webroot/rsrc/css/application/feed/feed.css: .phabricator-public-feed-frame .phui-feed-story`, `webroot/rsrc/css/application/feed/feed.css: .phabricator-public-feed-frame .phui-feed-wrap`
** Added in https://we.phorge.it/rP6e86a04ab106f4d3c9e32f2b3890a0fa137e43a2, usage removed in https://we.phorge.it/rP6a996d76fd1a1a144177b1fb9e10c816f0e8e98e
* `webroot/rsrc/css/application/feed/feed.css: .phabricator-feed-newer-link`, `webroot/rsrc/css/application/feed/feed.css: .phabricator-feed-older-link`
** Added in https://we.phorge.it/rP29acc848c14a1680a54a3a744610f8c83e27bb12, usage removed in https://we.phorge.it/rP310cf00fc3cce6a023ad160a29def26845d82e26
* `webroot/rsrc/css/application/maniphest/task-edit.css: .maniphest-auxiliary-header`
** Added in https://we.phorge.it/rP3c1a0b76fac86c9f40222c5bb79fcddb996d1c9e, usage removed in https://we.phorge.it/rP5251e2f14d8e54157cc33094e7c29d8a6c2f9259

Note: This is always a bit dangerous because of some concatenation like `'class' => 'toggle'.$more` in the codebase.

Test Plan:
Grep the code for the parent CSS selector, also doing a partial search. Example:

    $ grep --exclude="*.css" -R 'feed-newer-link' .
    $ grep --exclude="*.css" -R 'feed-older-link' .
    $ grep --exclude="*.css" -R 'public-feed-frame ' .
    $ grep --exclude="*.css" -R 'auxiliary-header' .

No results.

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Differential Revision: https://we.phorge.it/D25985
2025-05-08 14:21:40 +02:00
Andre Klapper a3cad3a362 Remove orphan CSS selectors in UIExample
Summary:
`jxui-active`, `jxui-blue-background`, `jxui-example-container` and `jxui-red-border` were added in rP998d43e828b010ca0051ffab74108111826027f1.
Their usage was removed in rP7725d7cc45c7792610746b4a773e4cb12743d873.

Test Plan: Grep the codebase for `jxui`.

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Differential Revision: https://we.phorge.it/D25993
2025-05-07 10:16:41 +02:00
Andre Klapper 261fdca137 CSS: Add "clip-path" to deprecated "clip" property
Summary:
Add "clip-path" as progressive enhancement for deprecated "clip" property to be more future-proof.
See the Phorge task for details.

Closes T16046

Test Plan: Probably browse Phorge pages which use FontAwesome icons, plus test with a screenreader software? (I didn't.)

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Maniphest Tasks: T16046

Differential Revision: https://we.phorge.it/D25983
2025-05-04 00:59:35 +03:00
Andre Klapper b578854017 Remove non-existing min-device-pixel-ratio CSS syntax
Summary:
`min-device-pixel-ratio`/`device-pixel-ratio` do not exist.

For the records,
* Standard `min-resolution` has been supported since Firefox 16 released 08/2012, Opera 12.1 released 11/2012, Chromium 29 released 07/2013, and Edge 12 released 07/2015
* Safari 15.8 released 07/2022 still requires `-webkit-min-device-pixel-ratio`
* Non-standard `min--moz-device-pixel-ratio` syntax was supported from Firefox 4 to Firefox 15 according to https://developer.mozilla.org/en-US/docs/Web/CSS/@media/-moz-device-pixel-ratio

Test Plan:
* Run `/bin/celerity sprites`, check that icons on http://phorge.localhost/auth/config/new/ still render.
* Read CSS docs; probably install ancient browser versions if you don't trust documentation.

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Differential Revision: https://we.phorge.it/D25972
2025-05-01 13:59:09 +03:00
Andre Klapper dc32286e4c Correct invalid min-height CSS value
Summary: `min-height: none` is invalid CSS. Assume that `0` was meant instead.

Test Plan:
* Read https://developer.mozilla.org/en-US/docs/Web/CSS/min-height
* Check output on https://jigsaw.w3.org/css-validator/validator
* There is no A/B difference from the page /conference/1/ on mobile.

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Differential Revision: https://we.phorge.it/D25973
2025-04-28 23:54:50 +03:00
Andre Klapper bda8034982 Make an IE CSS hack pass W3C CSS validator
Summary:
The W3C CSS validator throws `Value Error : margin-top Too many values or values are not recognized : 1px \9`. It does not complain about `1px\9`.

See https://stackoverflow.com/questions/8004765/what-is-the-meaning-of-9-in-this-width-property-value-declaration, https://stackoverflow.com/questions/18907131/detecting-ie-version-using-css-capability-feature-detection, https://www.w3.org/TR/CSS2/syndata.html#characters

Test Plan: Paste `core.pkg.css` into https://jigsaw.w3.org/css-validator/. Optionally, find some ancient Internet Explorer version and run it (I did not).

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Differential Revision: https://we.phorge.it/D25917
2025-04-28 23:52:23 +03:00
Andre Klapper dfe8539c6a Remove IE6/7 non-standard "_zoom" CSS workaround
Summary:
Phorge does not support these browser versions anymore.

Quoting https://css-tricks.com/almanac/properties/z/zoom/: "Many of the rendering bugs in both IE6 and IE7 could be fixed using zoom. [...] Setting zoom: 1 turned on an internal property called hasLayout, which fixed the problem."
See also https://web.archive.org/web/20150906195720/https://developer.mozilla.org/en-US/docs/Web/CSS/zoom

And while `zoom` is recently seeing standardization per https://developer.mozilla.org/en-US/docs/Web/CSS/zoom there still wouldn't be an underscore prefix character.

Test Plan:
Walk up to the library and dive into some dusty books about the wild early days of CSS.

Also, enjoy the conversation about that line using git blame:

https://we.phorge.it/source/phorge/browse/master/webroot/rsrc/css/aphront/typeahead.css;0aa67025f25d30162309d59b4cbe133b6180b2d7$7 - 2011

https://we.phorge.it/source/phorge/browse/master/webroot/rsrc/css/aphront/typeahead.css;7a9d5f8f2de5e44f4014116a47de4ea870361732$7 - 2013

https://we.phorge.it/source/phorge/browse/master/webroot/rsrc/css/aphront/typeahead.css;3cf6f746f0555b4d73d587972d896de99667fb06$7 - 2014

https://we.phorge.it/source/phorge/browse/master/webroot/rsrc/css/aphront/typeahead.css;7aee92b5e95cfc11059e9ff8788e5e53dc88e84d$7 - 2017

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Differential Revision: https://we.phorge.it/D25974
2025-04-25 17:52:11 +02:00
Andre Klapper 7d6c9285c3 Remove vendor-prefixed -moz-transition CSS syntax
Summary:
`-moz-transition` syntax was only supported from Firefox 4 to Firefox 15 according to https://web.archive.org/web/20130827073113/https://developer.mozilla.org/en-US/docs/Web/CSS/transition.

Per https://web.archive.org/web/20130827073113/https://developer.mozilla.org/en-US/docs/Web/CSS/transition and https://caniuse.com/mdn-css_properties_transition, standard `transition` has been supported since Firefox 16 released 08/2012.

Per https://developer.mozilla.org/en-US/docs/Web/CSS/Mozilla_Extensions, `-moz-transition` is not supported anymore and https://developer.mozilla.org/en-US/docs/Web/CSS/transition should be used.

Test Plan: Read CSS docs. Probably install ancient browser versions if you don't trust documentation. Try https://jigsaw.w3.org/css-validator/ and don't spot issues.

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Differential Revision: https://we.phorge.it/D25971
2025-04-25 00:12:41 +02:00
Andre Klapper 3fd24004d2 Remove vendor-prefixed background-clip CSS syntax
Summary:
`-moz-background-clip: padding` syntax was only supported until Firefox 3.6 according to https://web.archive.org/web/20130827100732/https://developer.mozilla.org/en-US/docs/Web/CSS/background-clip. Firefox 4.0 released 03/2011 supports standard `background-clip: padding-box`.

The same docs also imply that `-webkit-background-clip: padding-box` currently used by Phorge was never supported by browsers. Per https://caniuse.com/mdn-css_properties_background-clip_padding-box, Chrome 4 released 10/2010 supports standard `background-clip: padding-box`.

Compare current `webroot/rsrc/css/phui/phui-image-mask.css` which does not have this old vendor-prefixed syntax.

Test Plan:
* Open the Conpherence top bar dropdown, select "Persistent Chat", see that its `.jx-scrollbar-handle` based scrollbar still works as expected.
* Read CSS docs. Probably install ancient browser versions if you don't trust documentation. Try https://jigsaw.w3.org/css-validator/ and don't spot issues.

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Differential Revision: https://we.phorge.it/D25970
2025-04-24 20:11:10 +02:00
Andre Klapper 367de18e79 Remove orphan CSS rules from phui-timeline-view.css
Summary:
* `.phui-timeline-preview-header` has never been used since introduction in rPdb66cd830d1b.
* Only use of `.phui-timeline-change-details` was removed in direct followup rP4e8e035de006.

Test Plan: Grep the code.

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Differential Revision: https://we.phorge.it/D25918
2025-04-24 19:01:17 +02:00
Andre Klapper 3acb080f21 Fix invalid CSS cursor value for .phui-oi-grippable
Summary:
The W3C CSS validator throws `Value Error : cursor normal is not a cursor value : normal`.
`normal` is not a valid value for `cursor`; likely `default` was meant.
See https://developer.mozilla.org/en-US/docs/Web/CSS/cursor

Test Plan: Paste `phui-oi-list-view.css` into https://jigsaw.w3.org/css-validator/ and read some CSS docs.

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Differential Revision: https://we.phorge.it/D25919
2025-04-24 08:05:19 +02:00
Andre Klapper cadc00d744 Revert "Fix editing Conpherence rooms on mobile"
Summary:
This reverts commit fd6118bfa6.

Closes T16040

Reopens T15513

Test Plan:
Write text in a Conpherence room and press Enter to send the text.

Test again, as non-participant, on a public chat. Still works.

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Maniphest Tasks: T16040, T15513

Differential Revision: https://we.phorge.it/D25969
2025-04-22 15:16:29 +02:00
Benjamin Kausch 9d52caf19a Disable opening of hovercard if trigger node is inside hovercard
Summary:
If the content of a hovercard contains another hovercard trigger, the initial hovercard will be closed when entering the inside trigger with the mouse. You can see the bug with every differential hovercard which contains reviewers. But there are other cases too: For example if project descriptions use mentions or other project tags.

This fix is pretty easy and returns inside the mousemove handler if the trigger node has a closest ancestor with the class "jx-hovercard-container".

Closes T16029

Test Plan:
See if a hovercard is closed if you enter following inside the hovercard:
- reviewers inside differential hovercard
- people mentions or other project tags inside project hovercard

Reviewers: O1 Blessed Committers, aklapper

Reviewed By: O1 Blessed Committers, aklapper

Subscribers: aklapper, tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Maniphest Tasks: T16029

Differential Revision: https://we.phorge.it/D25965
2025-04-17 09:55:04 +02:00
Benjamin Kausch d3cbfd952e Fix overflowing of AphrontSideNavFilterView on small screens and tidy up nav bar styles
Summary:
Switch the two column layout of AphrontSideNavFilterView (used in pretty much most views) from table to flex display. The former CSS rendering could lead to overflowing of the entire page on small screens if very wide unbreaking content is displayed (example described here: T15809).

While I was at it I have found some unused code. The CSS file `phabricator-nav-view.css` consisted almost only of `.phabricator-side-menu-home` class selectors. This is an ancient class (there at least since 2013) not used anymore:

https://we.phorge.it/source/phorge/browse/master/src/applications/directory/controller/PhabricatorDirectoryController.php;919bd4a03499305093d8882952a9dd3dac1c55a9$169

So I have removed this CSS component and saved the few still used declarations to the main `phui-basic-nav-view.css`.

There was some unused code in `AphrontSideNavFilterView.php` too.

Fixes T15809

Test Plan:
Look at this video to understand the problem:

F2178277

Go in a Task comment and mention a task with a very-long title. Have phd enabled to generate feeds. Visit homepage with feeds:

See that you cannot reproduce anymore.

Browse pages with the right nav bar with many devices and look if the layout looks fine and not broken.

Tested the homepage, scaling from mobile to desktop, using:

- Firefox 124 64bit on GNU/Linux (snap)
- Chromium 124 64bit on GNU/Linux (snap)
- ...

Tested other elements, scaling from mobile to desktop, still working correctly:

- popup dialogs
- right floating menu
- top curtain
    - notifications
    - Conpherence chats
    - unresolved setup issues
    - search omnibox

Reviewers: O1 Blessed Committers, aklapper

Reviewed By: O1 Blessed Committers, aklapper

Subscribers: aklapper, speck, tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Maniphest Tasks: T15809

Differential Revision: https://we.phorge.it/D25619
2025-04-12 14:12:14 +02:00
Andre Klapper 12991c0d37 Fix overlapping elements in Phame for >1791px width
Summary:
Regression from rP9448e815721c882196b8c541560270734574af8e.

Closes T15985

Test Plan:
For both a viewport width >1791px and below,
* Go to the Phriction wiki page http://phorge.localhost/w/blah which has sections so a table of contents is displayed
* Go to http://phorge.localhost/phame/ and with no blogs visible to the current user or no existing blogposts
* Go to http://phorge.localhost/phame/ with existing/visible blogposts, see no overlap of horizontal lines and Blogs box
* Go to an empty blog at http://phorge.localhost/phame/blog/view/4/
* Go to an existing blogpost at http://phorge.localhost/phame/post/view/1/whatever/
* Go to an existing blogpost at http://phorge.localhost/phame/post/view/1/whatever/ which includes a full width image via `{F1234,size=full}`
* Go to http://phorge.localhost/book/phorge/article/remarkup/
* Go to http://phorge.localhost/w/

Reviewers: O1 Blessed Committers, mturdus, avivey

Reviewed By: O1 Blessed Committers, mturdus, avivey

Subscribers: mturdus, tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Maniphest Tasks: T15985

Differential Revision: https://we.phorge.it/D25873
2025-04-11 10:54:06 +02:00
Andre Klapper 06a62b347a Fix invalid CSS overflow value for .phui-oi-name
Summary:
The W3C CSS validator throws `Value Error : overflow normal is not a overflow value : normal`.
`normal` is not a valid value for `overflow`, as browsers currently cannot parse it they fall back to the default `visible`, thus change it to `visible`.
See https://developer.mozilla.org/en-US/docs/Web/CSS/overflow

Test Plan:
Paste `phui-oi-list-view.css` into https://jigsaw.w3.org/css-validator/ and read some CSS docs.

Also, visit a page showing a PHUIObjectItemView, like the /phame/post/ page, and
have a object with a veeeeeery long name, and see absolutely no difference A/B,
both on desktop, medium and small screens.

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Differential Revision: https://we.phorge.it/D25921
2025-03-28 11:23:10 +01:00
Andre Klapper 64044ab830 Remove more obsolete IE9 filter CSS syntax
Summary:
Same game as rPe38f5457 but hadn't realized before:
IE5.5 to IE8 released 03/2009 supported the `filter: alpha()` syntax.
(IE8 and IE9 supported `-ms-filter` which was deprecated in IE9 and is unsupported since IE10 released 09/2012.)
See
* https://learn.microsoft.com/en-us/previous-versions/windows/internet-explorer/ie-developer/platform-apis/ms532847(v=vs.85)
* https://learn.microsoft.com/en-us/previous-versions/windows/internet-explorer/ie-developer/platform-apis/ms532967(v=vs.85)
* https://learn.microsoft.com/en-us/previous-versions/ms530752(v=vs.85)
* https://stackoverflow.com/questions/40389599/firefox-declaration-dropped-errors

`filter` is a valid standard CSS3 property unrelated to IE's obsolete `filter: alpha()` syntax.
Standard `filter` does not support `alpha()` per https://developer.mozilla.org/en-US/docs/Web/CSS/filter.
Thus modern browsers throw errors in the console to be avoided by removing this old syntax.

Test Plan: Read the links above, realize it's been 16 years, and agree with me.

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Differential Revision: https://we.phorge.it/D25930
2025-03-28 10:57:51 +01:00
Andre Klapper 112174b900 Remove some pre-2013 vendor-prefixed -ms- CSS properties
Summary:
Per https://caniuse.com/ and MDN,
* `-ms-transform` superseded by unprefixed `transform` supported since IE 10 released 09/2012
* `@-ms-keyframes` superseded by unprefixed `@keyframes` supported since IE 10 released 09/2012
* `-ms-transition` superseded by unprefixed `transition` supported since IE 10 released 09/2012

Test Plan: None. Probably installing old browser versions if you don't trust documentation.

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Differential Revision: https://we.phorge.it/D25928
2025-03-28 06:57:42 +01:00
Andre Klapper e38f545743 Remove obsolete IE9 filter CSS syntax
Summary:
IE5.5 to IE8 released 03/2009 supported the `filter: progid:DXImageTransform.Microsoft.BasicImage()` syntax.
(IE8 and IE9 supported `-ms-filter` which was deprecated in IE9 and is unsupported since IE10 released 09/2012.)
See
* https://learn.microsoft.com/en-us/previous-versions/windows/internet-explorer/ie-developer/platform-apis/ms532847(v=vs.85)
* https://learn.microsoft.com/en-us/previous-versions/windows/internet-explorer/ie-developer/platform-apis/ms532967(v=vs.85)
* https://learn.microsoft.com/en-us/previous-versions/ms530752(v=vs.85)
* https://stackoverflow.com/a/5705449

`filter` is a valid standard CSS3 property unrelated to IE's obsolete `filter: progid: DXImageTransform.Microsoft.BasicImage()` syntax. Thus modern browsers throw errors in the console to be avoided by removing this old syntax.

Test Plan: Read the links above, realize it's been 16 years, and agree with me.

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Differential Revision: https://we.phorge.it/D25929
2025-03-28 06:50:49 +01:00
Andre Klapper 0470216497 Remove pre-2016 vendor-prefixed -webkit- CSS properties
Summary:
Per https://caniuse.com/ and MDN,
* `-webkit-border-radius` superseded by unprefixed `border-radius` supported since Chrome 5 released 05/2010, Safari 5 09/2010, Android Browser 2.2 05/2010
* `-webkit-box-shadow` superseded by unprefixed `box-shadow` supported since Chrome 10 released 03/2011, Safari 5.1 03/2012,  Android Browser 4 10/2011
* `-webkit-box-sizing` superseded by unprefixed `box-sizing` supported since Chrome 10 released 03/2011, Safari 5.1 03/2012,  Android Browser 4 10/2011
* `-webkit-transform` superseded by unprefixed `transform` supported since Chrome 36 released 07/2014, Safari 9 10/2015,  Android Browser >4.4.4 >07/2014
* `-webkit-transition` superseded by unprefixed `transition` supported since Chrome 26 released 02/2013, Safari 9 10/2015,  Android Browser 4.4 12/2013

Test Plan: None. Probably installing old browser versions if you don't trust documentation.

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Differential Revision: https://we.phorge.it/D25927
2025-03-27 08:33:12 +01:00
Andre Klapper f62918b019 Fix invalid CSS vertical-align value for .fancy-datepicker-core
Summary:
`vertical-align: center` is not a valid value per https://developer.mozilla.org/en-US/docs/Web/CSS/vertical-align.
Likely `middle` was meant.

Test Plan: Read CSS docs; check output of your web browser console. (Interstingly, https://jigsaw.w3.org/css-validator/validator does not complain.)

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Differential Revision: https://we.phorge.it/D25920
2025-03-25 14:28:08 +01:00
Andre Klapper a8c2bce6fe Remove invalid CSS border-shadow property for input.jx-tokenizer-input
Summary:
The W3C CSS validator throws `Property border-shadow doesn't exist : none` as that property does not exist.
See 404 on https://developer.mozilla.org/en-US/docs/Web/CSS/border-shadow

Test Plan: Paste `phui-oi-list-view.css` into https://jigsaw.w3.org/css-validator/; find no CSS docs for that property.

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Differential Revision: https://we.phorge.it/D25924
2025-03-25 12:37:47 +01:00
Andre Klapper 633d4037e5 Fix invalid CSS border-left-color value for .phabricator-action-view-submenu .caret-right
Summary:
The W3C CSS validator throws `Value Error : border-left-color Too many values or values are not recognized : 71,87,120`.
The value lacks `rgb()` wrapping. See other lines in the same CSS file.

Test Plan: Paste celerity processed `phui-action-list.css` into https://jigsaw.w3.org/css-validator/; look at the browser console while editing a task.

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Differential Revision: https://we.phorge.it/D25925
2025-03-25 12:03:13 +01:00
Andre Klapper fcd6a4c28a Fix invalid CSS transition value for .jx-scrollbar-handle
Summary:
The W3C CSS validator throws `0 is not a transition value : opacity 0 linear`.
`0` is not a valid value; likely `0s` were meant as in other existing CSS definitions.
See https://developer.mozilla.org/en-US/docs/Web/CSS/transition

Test Plan: Paste `standard-page-view.css` into https://jigsaw.w3.org/css-validator/ and read some CSS docs.

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Differential Revision: https://we.phorge.it/D25923
2025-03-25 10:29:22 +01:00
Andre Klapper fede9f4505 Fix invalid CSS cursor value for .phabricator-main-menu-brand
Summary:
The W3C CSS validator throws `Value Error : cursor hand is not a cursor value : hand`.
`hand` is not a valid value for `cursor`; likely `pointer` was meant.
See https://developer.mozilla.org/en-US/docs/Web/CSS/cursor

Test Plan: Paste `main-menu-view.css` into https://jigsaw.w3.org/css-validator/ and read some CSS docs.

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Differential Revision: https://we.phorge.it/D25922
2025-03-25 10:25:11 +01:00
Andre Klapper 22147cc03b Remove pre-2013 vendor-prefixed -o- CSS properties
Summary:
Per https://caniuse.com/ and MDN,
* `-o-animation` superseded by unprefixed `animation` supported initially since Opera 12.1 released 11/2012, in later Opera versions with `-webkit-` prefix instead
* `@-o-keyframes` superseded by unprefixed `@keyframes` supported initially since Opera 12.1 released 11/2012, in later Opera versions with `-webkit-` prefix instead
* `-o-transform` superseded by unprefixed `transform` supported initially since Opera 12.1 released 11/2012
* `-o-transition` superseded by unprefixed `transition` supported initially since Opera 12.1 released 11/2012

Test Plan: None. Probably installing old browser versions if you don't trust documentation.

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Differential Revision: https://we.phorge.it/D25916
2025-03-24 12:06:40 +01:00
Andre Klapper 8353146b04 Remove pre-2013 vendor-prefixed -moz- CSS properties
Summary:
Per https://caniuse.com/ and MDN,
* `-moz-opacity` superseded by unprefixed `opacity` supported since Firefox 2 released 10/2006
* `-moz-border-radius` superseded by unprefixed `border-radius` supported since Firefox 4 released 03/2011
* `-moz-box-shadow` superseded by unprefixed `box-shadow` supported since Firefox 4 released 03/2011
* `-moz-animation` superseded by unprefixed `animation` supported since Firefox 16 released 08/2012
* `-moz-backface-visibility` superseded by unprefixed `backface-visibility` supported since Firefox 16 released 08/2012
* `@-moz-keyframes` superseded by unprefixed `@keyframes` supported since Firefox 16 released 08/2012
* `-moz-transform` superseded by unprefixed `transform` supported since Firefox 16 released 08/2012

Test Plan: None. Probably installing old browser versions if you don't trust documentation.

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Differential Revision: https://we.phorge.it/D25915
2025-03-24 12:03:21 +01:00
Andre Klapper 645b1f5a99 Remove pre-2005 vendor-prefixed -khtml- CSS property
Summary:
Remove `-khtml-opacity: 0.5;` from CSS.
Per https://developer.apple.com/library/archive/documentation/AppleApplications/Reference/SafariCSSRef/Articles/StandardCSSProperties.html, standard `opacity` has been supported since Safari 2.0 released in April 2005. If you still run Safari 1.x after 20 years you have bigger problems than this line of CSS in Phorge.
This is the only `-khtml-` prefixed property in the codebase.

Test Plan: None.

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Differential Revision: https://we.phorge.it/D25914
2025-03-24 08:59:40 +01:00
Andre Klapper c8e3ee170f Charts: Rotate x-axis labels for better readability
Summary:
Rotation is a fundamental movement pattern in our every-day activities.
Whether we play Spin The Bottle at our birthday, change our keyboard layout regularly, or do a sumersault to roll back into bed after our hair of the dog, we all regularly rely on rotation.
Thus also apply this principle to chart labels.

All credits go to http://www.d3noob.org/2013/01/how-to-rotate-text-labels-for-x-axis-of.html

Closes T16013

Test Plan:
# Go to `/project/reports/1/` after having constant task activity within that project tag for a while
# Try different viewport widths
# Take a deep breath and admit that the x-axis labels are more readable than before

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Maniphest Tasks: T16013

Differential Revision: https://we.phorge.it/D25908
2025-03-14 08:26:31 +01:00