5.12.0: Желания в карточках проектов на неделе
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 1m21s
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 1m21s
This commit is contained in:
@@ -174,3 +174,96 @@
|
||||
opacity: 0.5;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
/* Внешний контейнер для карточки проекта */
|
||||
.project-card-wrapper {
|
||||
border: 1px solid #e0e4ed;
|
||||
border-radius: 1.5rem;
|
||||
transition: all 0.3s;
|
||||
box-shadow: 0 1px 3px 0 rgb(99 102 241 / 0.08);
|
||||
background-color: #eef0f7;
|
||||
}
|
||||
|
||||
.project-card-wrapper:hover {
|
||||
box-shadow: 0 2px 6px 0 rgb(99 102 241 / 0.12);
|
||||
}
|
||||
|
||||
/* Стили для горизонтального скролла желаний в карточке проекта */
|
||||
.project-wishes-scroll {
|
||||
display: flex;
|
||||
gap: 0.5rem;
|
||||
overflow-x: auto;
|
||||
overflow-y: hidden;
|
||||
padding: 0.5rem 1rem 0.75rem 1rem;
|
||||
scrollbar-width: none;
|
||||
-ms-overflow-style: none;
|
||||
}
|
||||
|
||||
.project-wishes-scroll::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Мини-карточка желания */
|
||||
.mini-wish-card {
|
||||
flex-shrink: 0;
|
||||
width: 50px;
|
||||
cursor: pointer;
|
||||
transition: transform 0.2s, opacity 0.2s;
|
||||
}
|
||||
|
||||
.mini-wish-card:hover {
|
||||
transform: scale(1.05);
|
||||
}
|
||||
|
||||
.mini-wish-card:active {
|
||||
transform: scale(0.95);
|
||||
}
|
||||
|
||||
.mini-wish-image {
|
||||
width: 50px;
|
||||
height: 60px;
|
||||
background: #f0f0f0;
|
||||
border-radius: 8px;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.mini-wish-image img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.mini-wish-overlay {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background: rgba(255, 255, 255, 0.4);
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.mini-wish-placeholder {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 1.25rem;
|
||||
background: white;
|
||||
border: 1px solid #e5e7eb;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.mini-wish-name {
|
||||
font-size: 0.625rem;
|
||||
font-weight: 500;
|
||||
color: #6b7280;
|
||||
margin-top: 0.125rem;
|
||||
line-height: 1.1;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user