[TikiWiki-commits] [Git][tikiwiki/tiki][master] [FIX] cypht: fix button colors for dark themes

"Victor Emanouilov \(@kroky\) via TikiWiki-cvs" <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <6939004d8bae7_2a17db6c253e3@gitlab-sidekiq-low-urgency-cpu-bound-v2-6c45f4479c-k6l6g.mail>

Victor Emanouilov pushed to branch master at Tiki Wiki CMS Groupware / Tiki


Commits:
98b7beda by Benoit Roy at 2025-12-10T04:59:56+00:00
[FIX] cypht: fix button colors for dark themes
---
* [FIX] cypht: fix button colors for dark themes

See merge request tikiwiki/tiki!9182

- - - - -


1 changed file:

- themes/base_files/scss/_cypht-tiki.scss


Changes:

=====================================
themes/base_files/scss/_cypht-tiki.scss
=====================================
@@ -10,8 +10,9 @@
     .hide { display: none; }
     // override colors when not using cypht default theme
     img { opacity: 1 !important; max-width: 100%; }
+    a.text-decoration-none { text-decoration: none; }
     a i.bi, .menu-toggle i.bi, .folders li, .inner_list li { color: var(--bs-body-color) !important; }
-    a i.bi.bi-person-plus { color: var(--bs-btn-color) !important; }
+    a i.bi.bi-person-plus { color: var(--bs-secondary) !important; }
     .ui-widget-content { background-color: $tiki-ui-default-bg !important; }
     .ui-menu-item-wrapper { color: var(--bs-body-color) !important; }
     .ui-state-active { color: $tiki-ui-default-link-active-color !important; }
@@ -196,6 +197,7 @@
     }
     .btn-outline-secondary:hover {
         color: var(--bs-btn-hover-color); text-decoration: none;
+        background-color: var(--bs-secondary) !important;
     }
     .msg_controls {
         .btn-outline-secondary:hover { color: var(--bs-btn-hover-color); }
@@ -250,6 +252,15 @@
         .msg_controls {
             flex-flow: wrap; margin-bottom: 10px;
             a { text-decoration: none; }
+//            .btn-light:not(.btn-outline-secondary) { color: var(--bs-body-color); }
+            .btn-light, .btn-secondary {
+                color: var(--bs-secondary); background: none !important;
+                border-color: var(--bs-secondary);
+                &:hover {
+                    color: var(--bs-secondary-bg);
+                    background-color: var(--bs-secondary) !important;
+                }
+            }
         }
         .search_terms { width: 90% !important; margin: 0; padding: 4px 12px; }
         .search_form {
@@ -374,12 +385,23 @@
         width: auto !important;
     }
 
-    .nux_welcome { margin-bottom: 15px; }
+    .nux_welcome {
+        margin-bottom: 15px;
+        .mb-3 a.btn-light {
+            background: none; color: var(--bs-secondary); border-color: var(--bs-secondary);
+            &:hover {
+                color: var(--bs-secondary-bg);
+                background-color: var(--bs-secondary);
+                .bi-person-plus { color: var(--bs-secondary-bg) !important; }
+            }
+        }
+    }
     .block_sender_link.btn-outline-danger {
-        color: var(--bs-btn-color);
+        color: var(--bs-btn-color); background: none !important;
         i.bi { color: var(--bs-btn-color) !important; }
         &:hover, &:active {
             color: var(--bs-btn-hover-color); text-decoration: none;
+            background-color: var(--bs-danger) !important;
             i.bi { color: var(--bs-btn-hover-color) !important; }
         }
     }



View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/98b7beda596290a70e002b6d3b6de379dbc85ce6

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/98b7beda596290a70e002b6d3b6de379dbc85ce6
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.