taf/styles/Apps/GenericItemSheet.css

53 lines
780 B
CSS

.taf.GenericItemSheet {
.bordered {
border-radius: 8px;
border: 1px solid rebeccapurple;
}
.sheet-header {
display: grid;
grid-template-columns: auto 1fr min-content 75px;
gap: 4px;
align-items: center;
padding: 4px;
img {
border-radius: 4px;
}
}
.content {
display: contents;
}
.property {
display: grid;
grid-template-columns: 1fr 100px;
align-items: center;
justify-items: left;
gap: 8px;
input[type="checkbox"] {
justify-self: end;
}
}
.description {
flex-grow: 1;
overflow: hidden;
--table-row-color-odd: var(--table-header-bg-color);
&:not(:has(> prose-mirror)) {
padding: 0.5rem;
}
}
prose-mirror {
height: 100%;
menu {
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
}
}