1
0
mirror of https://github.com/tabler/tabler.git synced 2026-06-17 12:50:03 +04:00

Fix colors of disabled tom-select (#2084)

This commit is contained in:
BG-Software
2025-01-27 22:34:05 +01:00
committed by GitHub
parent a5bf5d3e2d
commit 90cc74487b
2 changed files with 20 additions and 4 deletions
+5
View File
@@ -0,0 +1,5 @@
---
"@tabler/core": patch
---
Fix colors of disabled `.ts-control`
+15 -4
View File
@@ -60,8 +60,19 @@ $input-border-width: 1px;
} }
} }
.ts-wrapper.multi .ts-control > div { .ts-wrapper.multi,
background: var(--#{$prefix}bg-surface-secondary); .ts-wrapper.multi.disabled {
border: 1px solid var(--#{$prefix}border-color); .ts-control > div {
color: var(--#{$prefix}body-color); background: var(--#{$prefix}bg-surface-secondary);
border: 1px solid var(--#{$prefix}border-color);
color: var(--#{$prefix}body-color);
}
} }
.ts-wrapper.disabled .ts-control {
opacity: 1;
&> div.item {
color: var(--#{$prefix}gray-500);
}
}