shx-3d-render

main
Jan Umbach 2024-06-22 14:19:11 +02:00
parent 18063d1fbc
commit ecc113a694
1 changed files with 5 additions and 12 deletions

View File

@ -108,31 +108,24 @@
width: 100%;
height: 100%;
transition: transform 0.5s;
transition: all 0.5s;
}
.shx-mat-matte {
background: linear-gradient(60deg, #fff 15%, transparent 100%);
opacity: 0.5;
}
.shx-mat-silk {
background: linear-gradient(60deg, #fff 35%, transparent 35%);
opacity: 0.5;
}
.shx-ifc-colorselect label {
overflow: hidden; /* Add this to the parent container */
position: relative; /* Ensure it's positioned to contain absolute children correctly */
}
.shx-ifc-colorselect input[type="radio"]:checked + label .shx-mat-matte,
.shx-ifc-colorselect input[type="radio"]:checked + label .shx-mat-silk {
transform: scale(1.8);
transform-origin: center; /* Ensure scaling is centered */
opacity: 0.2;
}
</style>