1
0
Fork 0
mirror of https://github.com/lrsjng/h5ai synced 2026-01-03 22:52:24 +01:00
h5ai/src/_h5ai/css/inc/ext/preview-img.less
2015-05-20 01:53:56 +02:00

27 lines
708 B
Text

#pv-img-image {
.raised;
@check-white: #f8f8f8;
@check-black: #e8e8e8;
position: absolute;
max-width: 100%;
max-height: 100%;
background-color: @check-white;
background-image:
-webkit-linear-gradient(45deg, @check-black 25%, transparent 25%, transparent 75%, @check-black 75%, @check-black),
-webkit-linear-gradient(45deg, @check-black 25%, transparent 25%, transparent 75%, @check-black 75%, @check-black);
background-size: 60px 60px;
background-position: 0 0, 30px 30px;
&.loading {
opacity: 0.5;
margin-top: 32px;
width: 240px;
height: 240px;
border-radius: 1000px;
overflow: hidden;
}
}