/
serg_vale
/
flashCards
Обзор
Документация
Войти
/
serg_vale
/
flashCards
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/features/deck/deckForm/deckForm.module.scss
75 строк
1000 B
Vlad
add focus + disable while update
12 фев 2024, 18:31
12 фев 2024, 18:31
04f287f
Код
Авторство
О чём код?
.form { display: flex; flex-direction: column; gap: 10px; width: 100%; padding: 24px; } .uploadImageBtn { display: flex; gap: 10px; align-items: center; justify-content: center; margin: 24px 0; &:disabled { cursor: not-allowed; } } .btnArea { display: flex; flex-direction: row-reverse; justify-content: space-between; margin: 12px 0 36px; } .deckImage { width: 100%; height: 150px; margin-top: 20px; background-position: left; border-radius: 4px; } .fileInput { display: none; } .imageWrapper { position: relative; } .imageAction { display: flex; flex-direction: row; } .icon { cursor: pointer; position: absolute; top: 30px; right: 10px; padding: 3px; background-color: var(--color-dark-300); border-radius: 4px; fill: var(--color-light-100); transition: background-color 0.3s ease; &:hover { background-color: var(--color-dark-100); } &:focus { outline: 2px solid var(--color-info-700); } }