From fa5f42e285b390f6e945d0e9b5a8a9f4acb2acb8 Mon Sep 17 00:00:00 2001 From: kazachilo Date: Thu, 20 Mar 2025 17:28:57 +0300 Subject: [PATCH] =?UTF-8?q?=D1=82=D0=BA=D0=BB=D1=8E=D1=87=D0=B5=D0=BD?= =?UTF-8?q?=D1=8B=20=D1=8D=D1=84=D1=84=D0=B5=D0=BA=D1=82=D1=8B=20hover=20?= =?UTF-8?q?=D0=B4=D0=BB=D1=8F=20=D0=BA=D0=BD=D0=BE=D0=BF=D0=BE=D0=BA,=20?= =?UTF-8?q?=D1=87=D1=82=D0=BE=D0=B1=D1=8B=20=D0=B8=D0=B7=D0=B1=D0=B5=D0=B6?= =?UTF-8?q?=D0=B0=D1=82=D1=8C=20=D0=BB=D0=BE=D0=B6=D0=BD=D0=BE=D0=B9=20?= =?UTF-8?q?=D0=B0=D0=BD=D0=B8=D0=BC=D0=B0=D1=86=D0=B8=D0=B8=20=D0=BF=D1=80?= =?UTF-8?q?=D0=B8=20=D0=BA=D0=B0=D1=81=D0=B0=D0=BD=D0=B8=D0=B8=20=D0=B8=20?= =?UTF-8?q?=D0=BF=D0=B5=D1=80=D0=B5=D0=BC=D0=B5=D1=89=D0=B5=D0=BD=D0=B8?= =?UTF-8?q?=D0=B8=20=D0=BF=D0=B0=D0=BB=D1=8C=D1=86=D0=B0=20=D0=BD=D0=B0=20?= =?UTF-8?q?=D0=BC=D0=BE=D0=B1=D0=B8=D0=BB=D1=8C=D0=BD=D1=8B=D1=85=20=D1=83?= =?UTF-8?q?=D1=81=D1=82=D1=80=D0=BE=D0=B9=D1=81=D1=82=D0=B2=D0=B0=D1=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/blocks/SquareButton.module.css | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/src/components/blocks/SquareButton.module.css b/src/components/blocks/SquareButton.module.css index c5491eb..df2f9ad 100644 --- a/src/components/blocks/SquareButton.module.css +++ b/src/components/blocks/SquareButton.module.css @@ -53,16 +53,19 @@ } } +/* Отключаем эффекты hover .button:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); background-position: center; } +*/ -/* Стиль для наведения на выбранную кнопку */ +/* Стиль для наведения на выбранную кнопку - отключен .selected:hover { - transform: none; /* Убираем эффект приподнятия */ + transform: none; } +*/ .button:active { transform: translateY(1px); @@ -137,16 +140,19 @@ -webkit-perspective: 1000px; } +/* Отключаем эффекты hover для иконок .button:hover .icon, .button:hover .iconImage { transform: scale(1.1); } +*/ -/* Предотвращаем двойное увеличение иконки при наведении на выбранную кнопку */ +/* Предотвращаем двойное увеличение иконки при наведении на выбранную кнопку - отключено .selected:hover .icon, .selected:hover .iconImage { - transform: scale(1.1); /* Оставляем тот же масштаб */ + transform: scale(1.1); } +*/ .content { display: flex; @@ -206,6 +212,8 @@ transition: opacity 0.2s ease; } +/* Отключаем эффект hover для оверлея .button:hover::after { opacity: 1; } +*/