Show app details when clicking in arboretum (#115)

This commit is contained in:
Brian Hackett
2025-05-06 13:36:22 -10:00
committed by GitHub
parent 8cb28b5651
commit 83380c2f5c
5 changed files with 297 additions and 52 deletions

View File

@@ -6,7 +6,6 @@
.grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-template-rows: repeat(2, 1fr);
gap: 1rem;
width: 100%;
}
@@ -138,7 +137,6 @@
@media (max-width: 768px) {
.grid {
grid-template-columns: repeat(2, 1fr);
grid-template-rows: repeat(3, 1fr);
}
}
@@ -147,3 +145,78 @@
grid-template-columns: 1fr;
}
}
.detailView {
margin-top: 1rem;
margin-bottom: 1rem;
padding: 1.5rem;
background-color: var(--bg-card);
border-radius: 8px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.detailHeader {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 1.5rem;
}
.detailTitle {
font-size: 1.25rem;
font-weight: 600;
margin: 0;
}
.detailActions {
display: flex;
gap: 1rem;
}
.actionButton {
padding: 0.5rem 1rem;
border: none;
border-radius: 4px;
font-size: 0.9rem;
cursor: pointer;
transition: background-color 0.2s;
&:first-child {
background-color: #22c55e;
color: white;
&:hover {
background-color: #16a34a;
}
}
&:last-child {
background-color: #64748b;
color: white;
&:hover {
background-color: #475569;
}
}
}
.appDetails {
display: flex;
flex-direction: column;
gap: 1rem;
}
.detailRow {
display: flex;
align-items: center;
gap: 1rem;
}
.detailLabel {
font-weight: 500;
min-width: 100px;
}
.detailValue {
color: var(--text-secondary);
}