-
Planoetscher Daniel (Student Com20) authoredPlanoetscher Daniel (Student Com20) authored
project.scss 1.83 KiB
@use 'styles/settings'as s;
.project {
border-radius: 10px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 20px 24px 10px 24px;
text-align: center;
background: radial-gradient(100% 100% at 4.43% 0.11%, rgba(255, 255, 255, 0.8) 0%, rgba(252, 249, 255, 0.8) 100%);
box-shadow: 0px 5px 25px rgba(0, 0, 0, 0.05);
position: relative;
.tag {
position: absolute;
display: flex;
align-items: center;
top: 0;
left: 50%;
transform: translate(-50%, -50%);
font-weight: s.$weight-bold;
font-size: 12px;
padding: 3px 10px;
background: radial-gradient(100% 1892.25% at 0% 0%, #AC42FF 0%, #8A24DA 100%);
color: #fff;
border-radius: 5px;
&.red {
background: radial-gradient(100% 1892.25% at 0% 0%, #F15154 0%, #DA2E31 100%);
}
.icon {
font-size: 13px;
margin-right: 4px;
line-height: 1;
&.red {
background: radial-gradient(100% 1892.25% at 0% 0%, #F15154 0%, #DA2E31 100%);
}
}
}
.title {
margin-top: 10px;
line-height: 1.4;
font-size: 12px;
font-weight: s.$weight-bold;
}
.circular-progress {
position: relative;
height: 70px;
svg {
width: 70px;
height: 70px;
path {
width: 70px;
height: 70px;
}
}
.percent {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
line-height: 1;
font-size: 14px;
}
}
.info {
font-size: 12px;
margin-top: 16px;
line-height: 1.8;
}
}