Spaces:
Paused
Paused
File size: 1,553 Bytes
4e7644b | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 | .approvalCard {
border-radius: 14px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}
.priority-urgent {
border-color: rgba(255, 77, 79, 0.55);
}
.priority-high {
border-color: rgba(250, 140, 22, 0.55);
}
.cardHeader {
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 12px;
}
.typeInfo {
display: flex;
gap: 12px;
min-width: 0;
}
.iconWrapper {
width: 34px;
height: 34px;
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
background: #f5f5f5;
}
.typeLabel {
font-weight: 600;
}
.requestedBy {
font-size: 12px;
color: rgba(0, 0, 0, 0.5);
}
.cardBody {
margin-top: 14px;
}
.title {
margin-bottom: 8px;
line-height: 1.35;
}
.description {
color: rgba(0, 0, 0, 0.75);
margin-bottom: 0;
line-height: 1.7;
}
.cardFooter {
margin-top: 14px;
display: flex;
justify-content: space-between;
align-items: center;
}
.timestamp {
font-size: 12px;
color: rgba(0, 0, 0, 0.45);
}
.actions {
display: flex;
flex-wrap: wrap;
gap: 10px;
}
/* βββ Dark mode βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
:global(.dark-mode) {
.approvalCard {
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}
.iconWrapper {
background: #2b2b2b;
}
.requestedBy,
.timestamp {
color: rgba(255, 255, 255, 0.52);
}
.description {
color: rgba(255, 255, 255, 0.76);
}
}
|