47 lines
1.2 KiB
CSS
47 lines
1.2 KiB
CSS
.paper {
|
|
background: var(--dashboard-card-background-color);
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-evenly;
|
|
align-items: center;
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
|
|
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
|
border-radius: 16px;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.paper:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
|
|
}
|
|
|
|
.paper::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: -100%;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: var(--dashboard-card-background-color);
|
|
transition: left 0.5s ease;
|
|
}
|
|
|
|
.paper .text-title {
|
|
font-size: 1.1vw;
|
|
align-items: center;
|
|
color: var(--dashboard-text-white-color);
|
|
font-family: var(--dashboard-text-font-family);
|
|
}
|
|
|
|
.paper .text-data {
|
|
font-size: 2.5vw;
|
|
font-weight: bold;
|
|
color: var(--dashboard-text-white-color);
|
|
}
|
|
|
|
.paper .text-unit {
|
|
font-size: 0.8vw;
|
|
color: var(--dashboard-text-white-color);
|
|
font-family: var(--dashboard-text-font-family);
|
|
} |