/
BossDDoS
/
marketplace
Обзор
Документация
Войти
/
BossDDoS
/
marketplace
Код
Запросы
0
Задачи
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/components/PopupFormAdd/PopupFormAdd.module.scss
107 строк
2 KB
Maxim L
refactored some styles
12 сен 2024, 20:10
12 сен 2024, 20:10
f475eb0
Код
Авторство
О чём код?
@import "../../scss/variables"; .popupOverlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.7); display: flex; justify-content: center; align-items: center; z-index: 100; .popup { background: $white; padding: 20px; border-radius: 8px; width: 500px; max-width: 100%; .title { margin-bottom: 10px; } .formGroup { margin-bottom: 15px; label { font-size: 20px; .input { font-size: 16px; width: 100%; padding: 10px; border: 1px solid rgba(0, 0, 0, 0.2); border-radius: 10px; &:focus { border: 1px solid rgba(0, 0, 0, 0.4); } } .inputNumber { font-size: 16px; width: 100%; padding: 10px; border: 1px solid rgba(0, 0, 0, 0.2); border-radius: 10px; &:focus { border: 1px solid rgba(0, 0, 0, 0.4); } &::-webkit-inner-spin-button, &::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; } } .textarea { display: block; width: 100%; min-height: 100px; resize: none; font-size: 16px; width: 100%; padding: 10px; border: 1px solid rgba(0, 0, 0, 0.2); border-radius: 10px; } } } .handlers { display: flex; justify-content: space-between; .addButton, .closeButton { font-size: 18px; padding: 10px 20px; border: none; border-radius: 10px; cursor: pointer; color: $white; } .addButton { background-color: $green; &:hover { background-color: darken($green, 10%); } } .closeButton { background-color: $orange; &:hover { background-color: darken($orange, 10%); } } } } }