[TikiWiki-commits] [Git][tikiwiki/tiki][master] [FIX] cypht: more color fixes for themes
"Marc Laporte \(@marclaporte\) via TikiWiki-cvs" <[email protected]>
| Newsgroups | gmane.comp.cms.tiki.cvs |
|---|---|
| Message-ID | <68fce464f215e_2ce1aa019435@gitlab-sidekiq-low-urgency-cpu-bound-v2-854849f664-dlfqc.mail> |
Marc Laporte pushed to branch master at Tiki Wiki CMS Groupware / Tiki
Commits:
6777b09c by Benoit Roy at 2025-10-25T14:45:45+00:00
[FIX] cypht: more color fixes for themes
---
* [FIX] cypht: more color fixes for themes
See merge request tikiwiki/tiki!8864
- - - - -
3 changed files:
- lib/cypht/modules/tiki/functions.php
- lib/cypht/modules/tiki/general_modules.php
- themes/base_files/scss/_cypht-tiki.scss
Changes:
=====================================
lib/cypht/modules/tiki/functions.php
=====================================
@@ -387,10 +387,10 @@ if (! hm_exists('tiki_move_to_tracker_dropdown')) {
}
$res = "<div class=\"" . ($class != 'move_to_trackers' ? 'dropdown ' : '') . "d-inline-block\">";
if ($class != 'move_to_trackers') {
- $res .= "<a class=\"hlink text-decoration-none btn btn-sm btn-outline-secondary dropdown-toggle " . (! $message_view ? ' btn btn-sm btn-light border text-black-50' : '') . "\" id=\"{$class}\" href=\"#\" data-bs-toggle='dropdown' aria-haspopup='true' aria-expanded='true' data-bs-auto-close='outside'>" . $mod->trans($title) . "</a>";
+ $res .= "<a class=\"hlink text-decoration-none btn btn-sm btn-outline-secondary dropdown-toggle me-2" . (! $message_view ? ' btn btn-sm btn-light border text-black-50' : '') . "\" id=\"{$class}\" href=\"#\" data-bs-toggle='dropdown' aria-haspopup='true' aria-expanded='true' data-bs-auto-close='outside'>" . $mod->trans($title) . "</a>";
$res .= "<div class='" . $class . " dropdown-menu' aria-labelledby='$class'><div class='move_to_title'>" . $mod->trans($dropdown_title) . "</div>" . implode("<br>\n", $field_list) . "</div>";
} else {
- $res .= "<a class=\"hlink text-decoration-none btn btn-sm btn-outline-secondary " . (! $message_view ? ' btn btn-sm btn-light border text-black-50' : '') . "\" id=\"{$class}\" href=\"#\" >" . $mod->trans($dropdown_title) . "</a>";
+ $res .= "<a class=\"hlink text-decoration-none btn btn-sm btn-outline-secondary me-2" . (! $message_view ? ' btn btn-sm btn-light border text-black-50' : '') . "\" id=\"{$class}\" href=\"#\" >" . $mod->trans($dropdown_title) . "</a>";
}
$res .= "</div>";
=====================================
lib/cypht/modules/tiki/general_modules.php
=====================================
@@ -377,7 +377,7 @@ class Hm_Output_filter_message_headers_mpdf extends Hm_Output_Module
{
$headers = $this->get('msg_headers');
if (is_string($headers) && TikiLib::lib('tiki')->get_preference('print_pdf_from_url') == "mpdf") {
- $pdf_link = ' <a class="hlink text-decoration-none btn btn-sm btn-outline-secondary me-1" id="print_pdf" href="#"> ' . $this->trans('PDF') . ' </a>';
+ $pdf_link = ' <a class="hlink text-decoration-none btn btn-sm btn-outline-secondary me-2" id="print_pdf" href="#"> ' . $this->trans('PDF') . ' </a>';
$headers = append_to_msg_headers($headers, $pdf_link);
$this->out('msg_headers', $headers, false);
}
=====================================
themes/base_files/scss/_cypht-tiki.scss
=====================================
@@ -189,7 +189,10 @@
.server_section { color: inherit !important; }
.total_unread_count, .unread_count { color: #000; }
- .btn-outline-secondary:hover { color: #fff !important; text-decoration: none;}
+ .btn-outline-secondary:hover { color: #fff; text-decoration: none;}
+ .msg_controls {
+ .btn-outline-secondary:hover { color: var(--bs-btn-hover-color); }
+ }
.profile_details th, .msg_date,
.news_cell .source, .news_cell .from { color: $popover-body-color; }
@@ -367,7 +370,11 @@
.nux_welcome { margin-bottom: 15px; }
.block_sender_link.btn-outline-danger {
color: var(--bs-btn-color);
- &:hover, &:active { color: var(--bs-btn-hover-color); text-decoration: none; }
+ i.bi { color: var(--bs-btn-color) !important; }
+ &:hover, &:active {
+ color: var(--bs-btn-hover-color); text-decoration: none;
+ i.bi { color: var(--bs-btn-hover-color) !important; }
+ }
}
#show_message_source { margin-right: 0.5rem; }
.msg_actions .d-inline-block > .hlink { margin-bottom: 0.5rem; }
@@ -464,6 +471,7 @@
top: 45px; right: 0; width: 100%; min-height: 5px;
padding-bottom: 15px; white-space: normal;
}
+ .offline { height: 55px; }
// mobile home
.nux_welcome ul { padding-left: 20px; }
@@ -598,14 +606,6 @@
#col2, #col3 { margin-left: 0; margin-right: 0; }
}
-.tiki-webmail {
- #middle_outer {
- .middle-wrapper {
- padding-top: 65px;
- }
- }
-}
-
html body.tiki.tiki-webmail #middle.container.container-std.middle {
width: 95% !important;
max-width: 95% !important;
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/6777b09c4e86fe6c18335efcea5daf3c7d13d7e8
--
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/6777b09c4e86fe6c18335efcea5daf3c7d13d7e8
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