mirror of
https://ghproxy.com/https://github.com/StreakingMan/solvable-sheep-game
synced 2025-12-13 23:17:46 +08:00
65 lines
1.4 KiB
SCSS
65 lines
1.4 KiB
SCSS
.wxQrCode {
|
|
&Container {
|
|
display: flex;
|
|
gap: 16px;
|
|
flex-wrap: wrap;
|
|
padding: 12px;
|
|
border-radius: 12px;
|
|
border: 1px solid currentcolor;
|
|
}
|
|
|
|
&Title {
|
|
opacity: 0.8;
|
|
width: 100%;
|
|
font-size: 14px;
|
|
}
|
|
|
|
&Item {
|
|
display: flex;
|
|
flex: 1 1 0;
|
|
gap: 12px;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
transition: 0.3s;
|
|
|
|
&Title {
|
|
font-weight: 600;
|
|
font-size: 16px;
|
|
}
|
|
|
|
&Image {
|
|
width: 100%;
|
|
transition: 0.3s;
|
|
cursor: pointer;
|
|
z-index: 1;
|
|
transform-origin: bottom;
|
|
|
|
&:hover {
|
|
z-index: 10;
|
|
transform: scale(1.1);
|
|
box-shadow: 0 19px 38px rgb(0 0 0 / 30%),
|
|
0 15px 12px rgb(0 0 0 / 22%);
|
|
}
|
|
}
|
|
|
|
&.fullScreen .wxQrCodeItemImage {
|
|
z-index: 10;
|
|
transform: scale(3);
|
|
box-shadow: 0 19px 38px rgb(0 0 0 / 30%),
|
|
0 15px 12px rgb(0 0 0 / 22%);
|
|
}
|
|
|
|
&:nth-child(2).fullScreen .wxQrCodeItemImage {
|
|
transform-origin: left bottom;
|
|
}
|
|
|
|
&:nth-child(3).fullScreen .wxQrCodeItemImage {
|
|
transform-origin: center bottom;
|
|
}
|
|
|
|
&:nth-child(4).fullScreen .wxQrCodeItemImage {
|
|
transform-origin: right bottom;
|
|
}
|
|
}
|
|
}
|