[TikiWiki-commits] [Git][tikiwiki/tiki][master] [FIX][UI] For consistency with theme styles, moved some Event Calendar color...
"Gary Cunningham-Lee \(--- via TikiWiki-cvs" <[email protected]>
| Newsgroups | gmane.comp.cms.tiki.cvs |
|---|---|
| Message-ID | <690875f288977_2c20e123898290@gitlab-sidekiq-low-urgency-cpu-bound-v2-56d5bcf7c5-5kknd.mail> |
Gary Cunningham-Lee pushed to branch master at Tiki Wiki CMS Groupware / Tiki
Commits:
cb20bf67 by Gary Cunningham-Lee at 2025-11-03T18:21:32+09:00
[FIX][UI] For consistency with theme styles, moved some Event Calendar color...
---
* [FIX][UI] For consistency with theme styles, moved some Event Calendar color rules from _tiki-calendar.scss to _tiki-selectors.scss and replaced hard-coded colors with theme color variable for background and Bootstrap color-contrast function for foreground.
See merge request tikiwiki/tiki!8930
- - - - -
2 changed files:
- themes/base_files/scss/_tiki-calendar.scss
- themes/base_files/scss/_tiki-selectors.scss
Changes:
=====================================
themes/base_files/scss/_tiki-calendar.scss
=====================================
@@ -63,11 +63,6 @@
}
}
-.ec-today {
- .ec-day-head {
- background-color: #dfdfdf;
- }
-}
.ec-day-head {
font-size: 0.9rem;
}
@@ -86,16 +81,6 @@
overflow-y: hidden;
}
-.ec-active, .ec-prev, .ec-next {
- background-color: rgb(13, 110, 253) !important;
- color: #fff !important;
-}
-
-button.ec-today {
- background-color: #8da0bc !important;
- color: #fff !important;
-}
-
h4.ec-event-title {
font-size: 16px;
text-overflow: clip !important;
=====================================
themes/base_files/scss/_tiki-selectors.scss
=====================================
@@ -81,6 +81,18 @@ a.ec-event:hover {
--fc-page-bg-color: var(--bs-body-bg);
}
+.ec-button:not(:disabled):hover, .ec-button.ec-active,
+.ec-active, .ec-prev, .ec-next {
+ background-color: var(--bs-secondary) !important;
+ color: color-contrast($secondary) !important;
+}
+
+button.ec-today,
+.ec-today .ec-day-head {
+ background-color: var(--bs-secondary) !important;
+ color: color-contrast($secondary) !important;
+}
+
// tiki-categories.less - tiki-jquery.js - Doesn't show up in a search Apr 21 2024
// /* Fancy filter */
//.filter {
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/cb20bf67a909138ea9ae8826e9464c4fe6b62d1c
--
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/cb20bf67a909138ea9ae8826e9464c4fe6b62d1c
You're receiving this email because of your account on gitlab.com.
_______________________________________________
TikiWiki-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs