173 lines
2.8 KiB
CSS
173 lines
2.8 KiB
CSS
.taf.PlayerSheet {
|
|
.sheet-header, fieldset, .content {
|
|
border-radius: 8px;
|
|
border: 1px solid rebeccapurple;
|
|
}
|
|
|
|
.sheet-header {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
padding: 4px;
|
|
|
|
img {
|
|
border-radius: 4px;
|
|
}
|
|
}
|
|
|
|
.attributes {
|
|
display: flex;
|
|
flex-direction: row;
|
|
flex-wrap: wrap;
|
|
justify-content: space-around;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.attr-range {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
gap: 4px;
|
|
width: 100px;
|
|
margin: 0 auto;
|
|
|
|
> input {
|
|
text-align: center;
|
|
}
|
|
}
|
|
|
|
.items-tab {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.inventory-summary {
|
|
display: flex;
|
|
flex-direction: row;
|
|
gap: 4px;
|
|
align-items: center;
|
|
background: var(--inventory-summary-background);
|
|
color: var(--inventory-summary-color);
|
|
padding: 6px;
|
|
border-radius: 4px;
|
|
|
|
input {
|
|
width: 75px;
|
|
text-align: center;
|
|
background: var(--inventory-input-background);
|
|
color: var(--inventory-input-color);
|
|
text-align: center;
|
|
}
|
|
}
|
|
|
|
.item-list-header {
|
|
display: flex;
|
|
flex-direction: row;
|
|
gap: 8px;
|
|
border-radius: 6px 6px 0 0;
|
|
padding: 6px 6px 4px;
|
|
margin-bottom: 2px;
|
|
background: var(--item-list-header-background);
|
|
color: var(--item-list-header-color);
|
|
}
|
|
|
|
.item-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.item {
|
|
background: var(--item-card-background);
|
|
color: var(--item-card-color);
|
|
overflow: hidden;
|
|
margin-bottom: 0;
|
|
|
|
.summary {
|
|
display: grid;
|
|
grid-template-columns: auto 1fr 50px auto;
|
|
align-items: center;
|
|
gap: 8px;
|
|
background: var(--item-card-header-background);
|
|
color: var(--item-card-header-color);
|
|
padding: 4px;
|
|
|
|
img {
|
|
--size: 35px;
|
|
width: var(--size);
|
|
height: var(--size);
|
|
border-radius: 6px;
|
|
}
|
|
|
|
.title {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
|
|
.name {
|
|
font-size: 1.1rem;
|
|
}
|
|
.subtitle {
|
|
font-size: 0.7rem;
|
|
opacity: 90%;
|
|
}
|
|
|
|
input, button {
|
|
background: var(--item-card-header-input-background);
|
|
color: var(--item-card-header-input-color);
|
|
text-align: center;
|
|
}
|
|
}
|
|
|
|
.expand-button {
|
|
border: none;
|
|
aspect-ratio: 1;
|
|
|
|
&:focus-visible {
|
|
filter: brightness(150%);
|
|
outline: none;
|
|
}
|
|
|
|
&[data-expanded="true"] {
|
|
rotate: 180deg;
|
|
}
|
|
}
|
|
|
|
.full-details {
|
|
padding: 4px;
|
|
|
|
&[data-expanded="false"] {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
&:last-child {
|
|
border-radius: 0 0 6px 6px;
|
|
}
|
|
}
|
|
|
|
.content {
|
|
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;
|
|
}
|
|
}
|
|
}
|