Files
ARMStrong.Vision/frontend/src/components/DataCardWidget/DataCardWidgetComponent.css
T
2026-06-08 22:55:30 +04:00

70 lines
1.2 KiB
CSS

.data-card-widget {
position: relative;
display: flex;
height: 100%;
flex-direction: column;
overflow: hidden;
border: 1px solid #d9dee5;
border-radius: 8px;
background: #fff;
color: #1f2a44;
}
.data-card-widget--editing {
border-color: #1174c7;
}
.data-card-widget__drag-zone {
position: relative;
z-index: 1;
display: flex;
min-height: 44px;
gap: 8px;
align-items: center;
padding: 0 48px 0 16px;
border-bottom: 1px solid rgba(31, 42, 68, 0.08);
background: #f8f9fa;
color: #4c5b78;
font-size: 0.8rem;
font-weight: 700;
letter-spacing: 0.06em;
text-transform: uppercase;
}
.data-card-widget__drag-zone small {
margin-left: auto;
color: #8995aa;
font-size: 0.7rem;
letter-spacing: 0.02em;
}
.data-card-widget--editing .data-card-widget__drag-zone {
cursor: move;
touch-action: none;
user-select: none;
}
.data-card-widget__body {
flex: 1;
}
.data-card-widget__delete {
position: absolute;
z-index: 2;
top: 8px;
right: 8px;
display: grid;
width: 28px;
height: 28px;
place-items: center;
padding: 0;
border: 0;
border-radius: 999px;
background: rgba(222, 55, 48, 0.12);
color: #bb2d25;
}
.data-card-widget__delete:hover {
background: rgba(222, 55, 48, 0.2);
}