/
githubmirror
/
materialize
Обзор
Документация
Войти
/
githubmirror
/
materialize
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
v1-dev
sass/components/_materialbox.scss
43 строки
656 B
Alvin Wang
Fix possible scenario where materialbox caption would not be centered
02 янв 2017, 19:09
02 янв 2017, 19:09
f59ca24
Код
Авторство
О чём код?
.materialboxed { &:hover { &:not(.active) { opacity: .8; } } display: block; cursor: zoom-in; position: relative; transition: opacity .4s; -webkit-backface-visibility: hidden; &.active { cursor: zoom-out; } } #materialbox-overlay { position:fixed; top: 0; right: 0; bottom: 0; left: 0; background-color: #292929; z-index: 1000; will-change: opacity; } .materialbox-caption { position: fixed; display: none; color: #fff; line-height: 50px; bottom: 0; left: 0; width: 100%; text-align: center; padding: 0% 15%; height: 50px; z-index: 1000; -webkit-font-smoothing: antialiased; }