[TikiWiki-commits] [Git][tikiwiki/tiki][master] [FIX] Themes: Select.vue component does not take into account the background...

"luci \(@luciash\) via TikiWiki-cvs" <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <68c2ca3c4730e_2cde184151c4@gitlab-sidekiq-low-urgency-cpu-bound-v2-5c76fddf46-lsggw.mail>

luci pushed to branch master at Tiki Wiki CMS Groupware / Tiki


Commits:
20df3485 by Steven ngesera at 2025-09-11T13:02:20+00:00
[FIX] Themes: Select.vue component does not take into account the background color and text according to the theme
---
* [FIX] Theme: Select.vue component does not take into account the background color and text according to the theme

* [FIX] Theme: cypht input border color and size on compose page

See merge request tikiwiki/tiki!8335

- - - - -


3 changed files:

- src/js/vue-widgets/element-plus-ui/src/components/Select/select.scss
- src/js/vue-widgets/element-plus-ui/src/components/all.scss
- themes/base_files/scss/_cypht-tiki.scss


Changes:

=====================================
src/js/vue-widgets/element-plus-ui/src/components/Select/select.scss
=====================================
@@ -10,11 +10,16 @@
 .el-select__wrapper.is-filterable,
 .el-select-dropdown,
 .el-select {
-    font-size: 16px !important;
-    color: var(--bs-body-color) !important;
-    background-color: var(--bs-body-bg) !important;
-    border-color: var(--bs-body-color) !important;
-    border-radius: var(--bs-border-radius) !important;
+    font-size: 16px;
+    border-color: var(--bs-border-color);
+    border-radius: var(--bs-border-radius);
+}
+
+.el-select-dropdown,
+.el-select-dropdown__wrap {
+  background-color: var(--bs-body-bg);
+  color: var(--bs-body-color);
+  border-color: var(--bs-border-color);
 }
 
 .el-tag.el-tag--info {


=====================================
src/js/vue-widgets/element-plus-ui/src/components/all.scss
=====================================
@@ -14,16 +14,19 @@
     .el-select__wrapper.is-filterable, // Placing these outside of :host didn't work, also declaring CSS variables within host but without classes didn't work.
     .el-select-dropdown,
     .el-select {
-        background: var(--tiki-input-bg) !important;
-        color: var(--tiki-input-color) !important;
-        --el-text-color-regular: var(--tiki-input-color) !important;
-        --el-text-color-placeholder: var(--tiki-input-color) !important;
+        background: var(--bs-body-bg);
+        color: var(--tiki-input-color);
+        --el-text-color-regular: var(--tiki-input-color);
+        --el-text-color-placeholder: var(--tiki-input-color);
     }
-    .el-input__inner {
-        --el-text-color-regular: var(--tiki-input-color) !important;
+    .el-input__wrapper {
+        background-color: var(--bs-body-bg);
+        .el-input__inner {
+            --el-text-color-regular: var(--tiki-input-color);
+        }
     }
     .el-input {
-        --el-input-text-color: var(--tiki-input-color) !important;
+        --el-input-text-color: var(--tiki-input-color);
     }
 }
 


=====================================
themes/base_files/scss/_cypht-tiki.scss
=====================================
@@ -97,7 +97,7 @@
     
     .form-control, .form-control:focus {
         background-color: transparent;
-        border-color: var(--bs-body-bg);
+        border: var(--bs-border-width) solid var(--bs-border-color);
     }
     .search_content { 
         background-color: transparent;



View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/20df3485de437f9793f24084ff052269c4f81221

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/20df3485de437f9793f24084ff052269c4f81221
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.