summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2024-10-20 07:02:22 +0000
committerGo MAEDA <maeda@farend.jp>2024-10-20 07:02:22 +0000
commit309e6a27f35f56b397dc711c7ddfebef7e4b5db1 (patch)
tree08159f789b6853f9cdf040d7fc8ab107f6ca7e3d /app
parent1d46be8b0f037e173ba4bf2c68ab0d0c33f1eb48 (diff)
downloadredmine-309e6a27f35f56b397dc711c7ddfebef7e4b5db1.tar.gz
redmine-309e6a27f35f56b397dc711c7ddfebef7e4b5db1.zip
Replace "even" and "odd" CSS classes with "this-month" and "other-month" for calendar days (#41509).
Patch by Go MAEDA (user:maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@23151 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/assets/stylesheets/application.css6
1 files changed, 4 insertions, 2 deletions
diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css
index c013f9650..6efc9fac7 100644
--- a/app/assets/stylesheets/application.css
+++ b/app/assets/stylesheets/application.css
@@ -1245,12 +1245,14 @@ ul.cal {
.cal .calbody p.day-num {font-size: 1.1em; text-align:right;}
.cal .calbody .abbr-day {display:none}
-.cal .calbody.odd p.day-num {color: #bbb;}
+.cal .calbody.this-month {background-color:#fff;}
+.cal .calbody.other-month {background-color:#f6f7f8;}
+.cal .calbody.other-month p.day-num {color: #bbb;}
.cal .calbody.today {background:#ffd;}
.cal .calbody.today p.day-num {font-weight: bold;}
.cal .calbody .icon {padding-top: 2px; padding-bottom: 3px;}
-.cal .calbody.nwday:not(.odd) {background-color:#f1f1f1;}
+.cal .calbody.nwday:not(.other-month) {background-color:#f1f1f1;}
p.cal.legend span {display:flex;}
.controller-calendars p.buttons {margin-top: unset;}