first commit -push
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
.paper {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
position: relative;
|
||||
padding: 0 1rem 1rem 1rem;
|
||||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
|
||||
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
||||
background: var(--dashboard-card-background-color);
|
||||
border-radius: 16px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.paper:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
.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-percent {
|
||||
font-size: 3vw;
|
||||
line-height: 3vw;
|
||||
color: #00cc00;
|
||||
font-weight: bold;
|
||||
position: absolute;
|
||||
top: 48%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
text-align: center;
|
||||
pointer-events: none;
|
||||
padding: 50px 0 12px 0;
|
||||
}
|
||||
Reference in New Issue
Block a user