/
githubmirror
/
gutenberg
Обзор
Документация
Войти
/
githubmirror
/
gutenberg
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
trunk
packages/block-library/src/form-input/editor.scss
24 строки
485 B
Manuel Camargo
Forms Block: Add hidden input field variation (#74131)
21 мар 2026, 06:09
Не верифицирован
21 мар 2026, 06:09
8aee0b9
Код
Авторство
О чём код?
.wp-block-form-input { .is-input-hidden { display: flex; position: relative; font-size: 0.85em; opacity: 0.3; border: 1px dashed; padding: 0.5em; box-sizing: border-box; background: repeating-linear-gradient(45deg, transparent, transparent 5px, currentColor 5px, currentColor 6px); justify-content: center; align-items: center; &::after { content: attr(data-message); } } &.is-selected { .is-input-hidden { opacity: 1; background: none; } } }