phorge/webroot/rsrc/css/phui/calendar/phui-calendar.css
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

25 lines
569 B
CSS

/**
* @provides phui-calendar-css
*/
.phui-calendar-list {
/* When hovering over a day, this allows the hover color to peek through
the event name, but for event names to mostly remain readable. */
}
.application-search-view div.phui-calendar-box {
border-left: 1px solid {$thinblueborder};
border-right: 1px solid {$thinblueborder};
border-bottom: 1px solid {$lightblueborder};
border-radius: 0;
}
.phui-calendar-list a {
color: {$greytext};
}
.phui-calendar-list .event-cancelled .phui-calendar-list-title {
text-decoration: line-through;
}