Шаблон:ModernButton: различия между версиями
Материал из Space Station 14 Вики
Pok (обсуждение | вклад) мНет описания правки |
Pok (обсуждение | вклад) мНет описания правки |
||
| Строка 4: | Строка 4: | ||
</div></div><!-- | </div></div><!-- | ||
--> | -->{{#css: | ||
{{#css: | |||
.modern-button { | .modern-button { | ||
position: relative; | position: relative; | ||
display: flex; | display: flex; | ||
width: 100%; | |||
min-width: 45%; | min-width: 45%; | ||
min-height: 64px; | |||
background: var(--background-color); | background: var(--background-color); | ||
border-radius: 8px; | border-radius: 8px; | ||
overflow: hidden; | overflow: hidden; | ||
box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.2); | box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.2); | ||
| Строка 27: | Строка 26: | ||
background: var(--background-color); | background: var(--background-color); | ||
z-index: 1; | z-index: 1; | ||
transition: filter 0. | transition: filter 0.01s; | ||
} | } | ||