122 lines
2.4 KiB
CSS
122 lines
2.4 KiB
CSS
.view {
|
|
height: 100%;
|
|
width: 100%;
|
|
overflow: hidden;
|
|
display: flex;
|
|
flex-direction: column;
|
|
position: relative;
|
|
background-color: var(--mud-palette-surface, #ffffff);
|
|
border-radius: var(--mud-default-borderradius, 8px);
|
|
transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
|
|
box-shadow: var(--mud-elevation-10, 0 4px 12px rgba(0,0,0,0.08));
|
|
padding: 12px;
|
|
box-sizing: border-box;
|
|
border: 1px solid rgba(0,0,0,0.04);
|
|
}
|
|
|
|
.view::before {
|
|
content: "";
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
bottom: 0;
|
|
width: 6px;
|
|
border-top-left-radius: inherit;
|
|
border-bottom-left-radius: inherit;
|
|
background: linear-gradient(180deg, var(--mud-palette-primary, #1976d2), rgba(25,118,210,0.7));
|
|
}
|
|
|
|
.info-title {
|
|
margin: 0 0 10px 12px;
|
|
font-weight: 600;
|
|
font-size: 1rem;
|
|
color: var(--mud-palette-primary, #1976d2);
|
|
}
|
|
|
|
.info-grid {
|
|
display: flex;
|
|
gap: 14px;
|
|
align-items: flex-start;
|
|
flex: 1 1 auto;
|
|
overflow: hidden;
|
|
padding: 1.5em;
|
|
}
|
|
|
|
.info-col {
|
|
flex: 1 1 50%;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.info-list {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.info-list dt,
|
|
.info-list dd {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 6px 0;
|
|
font-size: 0.95rem;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.info-term {
|
|
width: 42%;
|
|
text-align: right;
|
|
padding-right: 12px;
|
|
color: var(--mud-palette-text-secondary, rgba(0,0,0,0.6));
|
|
font-weight: 600;
|
|
box-sizing: border-box;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.info-desc {
|
|
width: 58%;
|
|
text-align: left;
|
|
font-weight: 700;
|
|
color: var(--mud-palette-text-primary, rgba(0,0,0,0.85));
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.text-truncate {
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.info-list dt + dd {
|
|
border-bottom: 1px dashed rgba(0,0,0,0.03);
|
|
}
|
|
|
|
.ready-yes {
|
|
color: var(--mud-palette-success, #2e7d32);
|
|
}
|
|
|
|
.ready-no {
|
|
color: var(--mud-palette-error, #d32f2f);
|
|
}
|
|
|
|
.percent {
|
|
color: var(--mud-palette-primary, #1976d2);
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.info-grid {
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.info-term {
|
|
width: 45%;
|
|
}
|
|
|
|
.info-desc {
|
|
width: 55%;
|
|
}
|
|
}
|