104 lines
2.2 KiB
SCSS
104 lines
2.2 KiB
SCSS
.floppy-disk {
|
|
width: 100%;
|
|
aspect-ratio: 1 / 1;
|
|
border-radius: 2%;
|
|
position: relative;
|
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
|
|
container-type: inline-size;
|
|
pointer-events: none;
|
|
clip-path: polygon(
|
|
0 0,
|
|
/* Top left */ 95% 0,
|
|
/* Top edge before diagonal */ 100% 5%,
|
|
/* Top right diagonal corner */ 100% 100%,
|
|
/* Bottom right */ 0 100% /* Bottom left */
|
|
);
|
|
}
|
|
|
|
.metal-shutter {
|
|
position: absolute;
|
|
top: 0px;
|
|
right: 0;
|
|
transform: translateX(-40%);
|
|
width: 50%;
|
|
height: 30%;
|
|
background: linear-gradient(180deg, #c0c0c0 0%, #808080 50%, #606060 100%);
|
|
border-radius: 5%;
|
|
border-top-left-radius: 0px;
|
|
box-shadow:
|
|
0 1cqw 2cqw rgba(0, 0, 0, 0.4),
|
|
inset 0 0.25cqw 0.5cqw rgba(255, 255, 255, 0.3);
|
|
z-index: 5;
|
|
|
|
&::before {
|
|
content: " ";
|
|
height: 100%;
|
|
top: 0px;
|
|
right: 0px;
|
|
left: -35%;
|
|
position: absolute;
|
|
border-bottom-left-radius: 5%;
|
|
box-shadow:
|
|
inset 0.5cqw 0 0.5cqw rgba(0, 0, 0, 0.5),
|
|
inset 0 -0.25cqw 0.5cqw rgba(255, 255, 255, 0.4);
|
|
z-index: 4;
|
|
}
|
|
}
|
|
|
|
.shutter-opening {
|
|
position: absolute;
|
|
top: 15%;
|
|
right: 10%;
|
|
transform: translateX(-50%);
|
|
width: 20%;
|
|
height: 70%;
|
|
background: #000;
|
|
border-radius: 5%;
|
|
box-shadow: inset 0 0.5cqw 1cqw rgba(0, 0, 0, 0.8);
|
|
}
|
|
|
|
.label {
|
|
position: absolute;
|
|
bottom: 5%;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
width: 80%;
|
|
height: 55%;
|
|
background: linear-gradient(180deg, #f5f5f5 0%, #e8e8e8 100%);
|
|
border-radius: 2%;
|
|
overflow: hidden;
|
|
box-shadow:
|
|
0 2px 4px rgba(0, 0, 0, 0.3),
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.8);
|
|
font-family: "Caveat", cursive;
|
|
color: black;
|
|
font-size: clamp(0.7rem, 5cqw, 2rem);
|
|
font-weight: bold;
|
|
}
|
|
|
|
/* Yellow header on label */
|
|
.label-header {
|
|
width: 100%;
|
|
height: 20%;
|
|
background: linear-gradient(180deg, #f4d03f 0%, #e1b700 100%);
|
|
box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
|
|
padding: 2%;
|
|
text-align: center;
|
|
}
|
|
|
|
.label-lines {
|
|
padding: 5%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 80%;
|
|
box-sizing: border-box;
|
|
font-size: clamp(0.6rem, 4cqw, 1.5rem);
|
|
}
|
|
|
|
.label-line {
|
|
flex: 1;
|
|
width: 100%;
|
|
height: 1.5px;
|
|
border-bottom: 2px solid black;
|
|
opacity: 0.7;
|
|
}
|