nextcloud / calendar

📆 Calendar app for Nextcloud
https://apps.nextcloud.com/apps/calendar
GNU Affero General Public License v3.0
968 stars 236 forks source link

CSS Style bug, fc-day-today !important overriding yellow highlighted current day. #4794

Open Eisteed opened 1 year ago

Eisteed commented 1 year ago

Steps to reproduce

  1. open calendar
  2. right click inspect
  3. check css of fc-day-today

Expected behavior

fc-day-today should be highligthed yellow or anything more visible than light gray. (month and week view)

This can be easely corrected by either

In any case, so much use of !important makes Additional CSS app totally useless in that case :/

Actual behaviour

fc-day-today is highlighted gray like prev / next months days, can barely see it correctly.

Calendar app version

4.1.0

CalDAV-clients used

none

Browser

Brave

Client operating system

Windows

Server operating system

Debian

Web server

Apache

Database engine version

MariaDB

PHP engine version

PHP 8.1

Nextcloud version

25.1

Updated from an older installed version or fresh install

Updated from an older version

divaspathak commented 1 year ago

I want to work on it, can you please assign it to me?

Eisteed commented 11 months ago

Still looking for a solution here.. using custom injected css with browser extension as temporary solution but why use so much !important in nextcloud css... this make custom css useless.

miaulalala commented 11 months ago

cc @jancborchardt any suggestions?

jancborchardt commented 11 months ago

This is why we also highlight the header of the current day. This also fixes it to make it accessible. IMG_20231004_125921.jpg

A yellow background would not make it more accessible (not enough contrast) and it would also clash with themes.

What we could do additionally is give the current day cell/column (depending if month or week view) a color-main-text border, which would make it very visible.