Шаблон:ButtonPage/Button.css: различия между версиями
Материал из Celadon | Wiki Shiptest
Дополнительные действия
мНет описания правки Метка: отменено |
м Отмена версии 6086, сделанной SweetMaurse (обсуждение) Метка: отмена |
||
| Строка 1: | Строка 1: | ||
.button { | .button { | ||
display: | display: inline-block; | ||
padding: 8px 16px; | |||
padding: | |||
background-color: #f8f9fa; | background-color: #f8f9fa; | ||
border: 1px solid #a2a9b1; | border: 1px solid #a2a9b1; | ||
border-radius: | border-radius: 2px; | ||
cursor: pointer; | cursor: pointer; | ||
transition: all 0.3s ease; | transition: all 0.3s ease; | ||
position: relative; | |||
text-align: center; | text-align: center; | ||
vertical-align: middle; | |||
line-height: 1.4; | |||
} | } | ||
.button:hover { | .button:hover { | ||
background-color: #fff; | background-color: #fff; | ||
box-shadow: 0 0 | box-shadow: 0 0 8px 2px rgba(255, 215, 0, 0.7); | ||
border-color: #ffcc00; | border-color: #ffcc00; | ||
} | } | ||
.button-img { | .button-img { | ||
margin- | vertical-align: middle; | ||
transition: | margin-right: 4px; | ||
transition: transform 0.3s ease; | |||
} | } | ||
.button-img:hover { | .button-img:hover { | ||
transform: scale(1.1); | transform: scale(1.1); | ||
filter: | filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.8)); | ||
} | } | ||
.button-text { | .button-text { | ||
text-align:center; | |||
} | } | ||
Версия от 02:12, 1 сентября 2025
.button {
display: inline-block;
padding: 8px 16px;
background-color: #f8f9fa;
border: 1px solid #a2a9b1;
border-radius: 2px;
cursor: pointer;
transition: all 0.3s ease;
position: relative;
text-align: center;
vertical-align: middle;
line-height: 1.4;
}
.button:hover {
background-color: #fff;
box-shadow: 0 0 8px 2px rgba(255, 215, 0, 0.7);
border-color: #ffcc00;
}
.button-img {
vertical-align: middle;
margin-right: 4px;
transition: transform 0.3s ease;
}
.button-img:hover {
transform: scale(1.1);
filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.8));
}
.button-text {
text-align:center;
}