Skip to content

Commit

Permalink
fix: double disabled opacity (#8123)
Browse files Browse the repository at this point in the history
h2. Описание

FormField и Input накладывает прозрачность на текст, из-за чего текст более прозрачен чем должен быть

h2. Изменения

Убираем двойную прозрачность при состоянии `disabled`


h2. Release notes
h2. Исправления
- Поправлена двойная прозрачность у элементов ввода
  • Loading branch information
SevereCloud authored Jan 10, 2025
1 parent 58f1020 commit 6b6165d
Show file tree
Hide file tree
Showing 46 changed files with 84 additions and 100 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,6 @@
display: none;
}

.el:disabled {
opacity: var(--vkui--opacity_disable_accessibility);
}

.el::placeholder {
color: var(--vkui--color_text_secondary);
/* Для Firefox */
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,6 @@
padding-inline-end: 0;
}

.el:disabled {
opacity: var(--vkui--opacity_disable_accessibility);
}

.container {
z-index: var(--vkui_internal--z_index_form_field_element);
inline-size: 100%;
Expand Down
4 changes: 0 additions & 4 deletions packages/vkui/src/components/Input/Input.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,6 @@
padding-inline-end: 0;
}

.el:disabled {
opacity: var(--vkui--opacity_disable_accessibility);
}

.el::placeholder {
color: var(--vkui--color_text_secondary);
/* Для Firefox */
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 0 additions & 4 deletions packages/vkui/src/components/Textarea/Textarea.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,6 @@
opacity: 1;
}

.el:disabled {
opacity: var(--vkui--opacity_disable_accessibility);
}

.el:disabled::placeholder {
color: var(--vkui--color_text_secondary);
}
Expand Down

0 comments on commit 6b6165d

Please sign in to comment.