[TikiWiki-commits] [Git][tikiwiki/tiki][master] [FIX] cypht: visual bugs fixes
"Victor Emanouilov \(@kroky\) via TikiWiki-cvs" <[email protected]>
| Newsgroups | gmane.comp.cms.tiki.cvs |
|---|---|
| Message-ID | <698d6553b0e90_3b1854344178@gitlab-sidekiq-low-urgency-cpu-bound-v2-7b7ccc47b4-qbf7g.mail> |
Victor Emanouilov pushed to branch master at Tiki Wiki CMS Groupware / Tiki
Commits:
4b68ad51 by Benoit Roy at 2026-02-12T05:22:16+00:00
[FIX] cypht: visual bugs fixes
---
* [FIX] cypht: visual bugs fixes for some issues brought up my marc
See merge request tikiwiki/tiki!9515
- - - - -
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
=====================================
@@ -390,10 +390,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 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 .= "<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 .= "<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 me-2" . (! $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" . (! $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-2" id="print_pdf" href="#"> ' . $this->trans('PDF') . ' </a>';
+ $pdf_link = ' <a class="hlink text-decoration-none btn btn-sm btn-outline-secondary" 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
=====================================
@@ -90,7 +90,18 @@
}
}
+.tiki-cypht {
+ .sm-sub.collapse.dropdown-menu {
+ padding-left: 0; background: var(--bs-card-bg); border: 1px solid var(--bs-card-border-color);
+ }
+ .sm-sub-link, sm-nav-link.nav-link {
+ color: var(--bs-nav-link-color);
+ &:hover { color: var(--bs-nav-link-hover-color); text-decoration: underline; }
+ }
+}
+
.inline-cypht {
+ .cypht-layout { grid-template-columns: calc(var(--nav-size) - 55px) 1fr; }
.item_to_trackers {
.move_to_title {
background-color: transparent;
@@ -192,6 +203,7 @@
.server_section { color: inherit !important; }
.total_unread_count, .unread_count {
+ padding-top: 2.5px; padding-bottom: 2px; line-height: normal;
background-color: RGBA(var(--bs-info-rgb), var(--bs-bg-opacity, 1));
color: var(--bs-body-bg);
}
@@ -210,6 +222,7 @@
// message list / text
.refresh_list, .list_settings_link { padding:0; margin: 5px 2px 0; }
.msg_date { font-weight: bold; }
+ .msg_parts { table-layout: fixed !important; }
.msg_parts tr:not(:last-child) { border-bottom: 1px solid #444; }
.part_desc, .part_size, .download_link { margin-left: 25px; }
.msg_part_icon { padding: 0; margin-left: 5px; }
@@ -243,6 +256,7 @@
.app-container {
padding: 20px;
}
+ .folder_list { width: calc(var(--nav-size) - 75px); }
.folder_list, .content_cell{
position: relative;
border-radius: var(--bs-border-radius);
@@ -281,7 +295,6 @@
/* Bootstrap-based message headers */
.msg_text * {
- white-space: normal !important;
word-break: break-word;
overflow-wrap: anywhere;
}
@@ -354,10 +367,11 @@
display: inherit;
}
nav.collapsed .menu-toggle {
- right: 36%;
+ right: 33%;
}
.folder_cell.collapsed .folder_list {
- padding-right: 20px;
+ padding-right: 14px;
+ width: calc(var(--nav-size) - 68px);
}
main .container {
@@ -405,8 +419,15 @@
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; }
+ .msg_actions {
+ .move_to_location {
+ min-width: max-content;
+ .folders { margin: 10px 6px !important; }
+ }
+ .archive_link + .dropdown { display: flex; flex-wrap: wrap; gap: 0.5rem; }
+ .block_sender_link { margin-right: 0; }
+ .item_to_trackers { min-width: max-content; }
+ }
}
.mobile.tiki-cypht, .mobile.tiki-webmail {
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/4b68ad5111dd4a432597d78b4073ad85a1743ff7
--
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/4b68ad5111dd4a432597d78b4073ad85a1743ff7
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