209 lines
6.8 KiB
CSS
209 lines
6.8 KiB
CSS
.dotdungeon .actor--pc {
|
|
display: grid;
|
|
grid-template-areas: "profile stats stats" "profile skills skills" "sync skills skills" "spells weapons aspect" "spells weapons aspect" "backpack roles mounts" "backpack roles mounts" "summons storage storage" "summons storage storage";
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
grid-template-rows: min-content 1fr repeat(7, min-content);
|
|
padding: 4px;
|
|
gap: 4px;
|
|
}
|
|
.dotdungeon .actor--pc details {
|
|
border-radius: 4px;
|
|
background-color: rgba(0, 0, 0, 0.2);
|
|
padding: 4px;
|
|
margin-bottom: 8px;
|
|
}
|
|
.dotdungeon .actor--pc details summary {
|
|
cursor: pointer;
|
|
}
|
|
.dotdungeon .actor--pc details[open] .expanded-rotate {
|
|
transform: rotate(90deg);
|
|
}
|
|
.dotdungeon .actor--pc .panel--profile {
|
|
grid-area: profile;
|
|
}
|
|
.dotdungeon .actor--pc .panel--profile .avatar {
|
|
width: 100%;
|
|
aspect-ratio: 1/1;
|
|
}
|
|
.dotdungeon .actor--pc .panel--profile label, .dotdungeon .actor--pc .panel--profile input {
|
|
width: 100%;
|
|
}
|
|
.dotdungeon .actor--pc .panel--stats {
|
|
grid-area: stats;
|
|
}
|
|
.dotdungeon .actor--pc .panel--stats .panel__content {
|
|
display: flex;
|
|
flex-direction: row;
|
|
gap: 8px;
|
|
justify-content: space-evenly;
|
|
padding: 8px;
|
|
flex-wrap: wrap;
|
|
}
|
|
.dotdungeon .actor--pc .panel--skills {
|
|
grid-area: skills;
|
|
}
|
|
.dotdungeon .actor--pc .panel--skills .panel__content {
|
|
display: grid;
|
|
row-gap: 8px;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
grid-template-rows: repeat(2, minmax(0, min-content));
|
|
}
|
|
.dotdungeon .actor--pc .panel--backpack {
|
|
grid-area: backpack;
|
|
}
|
|
.dotdungeon .actor--pc .panel--backpack .row {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
}
|
|
.dotdungeon .actor--pc .panel--backpack .col {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
.dotdungeon .actor--pc .panel--backpack .grow {
|
|
flex-grow: 1;
|
|
}
|
|
.dotdungeon .actor--pc .panel--backpack .panel__content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
.dotdungeon .actor--pc .panel--backpack .bytes-input,
|
|
.dotdungeon .actor--pc .panel--backpack .supplies-count,
|
|
.dotdungeon .actor--pc .panel--backpack .materials-count {
|
|
width: 25%;
|
|
text-align: center;
|
|
}
|
|
.dotdungeon .actor--pc .panel--backpack textarea {
|
|
resize: vertical;
|
|
}
|
|
.dotdungeon .actor--pc .panel--sync {
|
|
grid-area: sync;
|
|
}
|
|
.dotdungeon .actor--pc .panel--sync .panel__content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
.dotdungeon .actor--pc .panel--sync .respawns,
|
|
.dotdungeon .actor--pc .panel--sync .sync {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
}
|
|
.dotdungeon .actor--pc .panel--sync .respawns__header,
|
|
.dotdungeon .actor--pc .panel--sync .sync__header {
|
|
flex-grow: 1;
|
|
}
|
|
.dotdungeon .actor--pc .panel--sync .sync__input {
|
|
width: 80px;
|
|
margin: 3px 5px;
|
|
}
|
|
.dotdungeon .actor--pc .panel--aspect {
|
|
grid-area: aspect;
|
|
}
|
|
.dotdungeon .actor--pc .panel--aspect .panel__content {
|
|
display: grid;
|
|
grid-template-rows: min-content min-content min-content 1fr;
|
|
height: 100%;
|
|
gap: 4px;
|
|
}
|
|
.dotdungeon .actor--pc .panel--aspect .panel__content textarea {
|
|
resize: vertical;
|
|
}
|
|
.dotdungeon .actor--pc .panel--weapons {
|
|
grid-area: weapons;
|
|
}
|
|
.dotdungeon .actor--pc .panel--weapons .weapon {
|
|
margin-top: 4px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
.dotdungeon .actor--pc .panel--weapons .weapon__name {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
flex-direction: column;
|
|
}
|
|
.dotdungeon .actor--pc .panel--weapons .weapon__name input {
|
|
width: 50%;
|
|
}
|
|
.dotdungeon .actor--pc .panel--weapons .weapon__group {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 4px;
|
|
}
|
|
.dotdungeon .actor--pc .panel--weapons .weapon__ammo-type, .dotdungeon .actor--pc .panel--weapons .weapon__damage-type {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
.dotdungeon .actor--pc .panel--weapons .weapon__is-scoped, .dotdungeon .actor--pc .panel--weapons .weapon__is-ranged {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
.dotdungeon .actor--pc .panel--roles {
|
|
grid-area: roles;
|
|
}
|
|
.dotdungeon .actor--pc .panel--roles .panel__content {
|
|
display: grid;
|
|
grid-template-rows: repeat(4, min-content);
|
|
height: 100%;
|
|
gap: 4px;
|
|
}
|
|
.dotdungeon .actor--pc .panel--roles .panel__content textarea {
|
|
resize: vertical;
|
|
}
|
|
.dotdungeon .actor--pc .panel--spells {
|
|
grid-area: spells;
|
|
}
|
|
.dotdungeon .actor--pc .panel--spells .spell {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
.dotdungeon .actor--pc .panel--spells .spell__actions {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: end;
|
|
gap: 4px;
|
|
}
|
|
.dotdungeon .actor--pc .panel--mounts {
|
|
grid-area: mounts;
|
|
}
|
|
.dotdungeon .actor--pc .panel--summons {
|
|
grid-area: summons;
|
|
}
|
|
.dotdungeon .actor--pc .panel--storage {
|
|
grid-area: storage;
|
|
}
|
|
|
|
@container (max-width: 620px) {
|
|
.dotdungeon .actor--pc {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
grid-template-rows: repeat(15, min-content);
|
|
grid-template-areas: "profile stats" "profile skills" "sync skills" "weapons skills" "weapons skills" "backpack aspect" "backpack aspect" "backpack roles" "backpack roles" "backpack roles" "backpack spells" "summons spells" "summons storage" "mounts storage" "mounts storage";
|
|
}
|
|
.dotdungeon .actor--pc .panel--stats .panel__content {
|
|
flex-wrap: wrap;
|
|
}
|
|
.dotdungeon .actor--pc .panel--skills .panel__content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
}
|
|
@container (max-width: 400px) {
|
|
.dotdungeon .actor--pc {
|
|
grid-template-columns: 1fr;
|
|
grid-template-rows: repeat(12, min-content);
|
|
grid-template-areas: "profile" "stats" "sync" "skills" "aspect" "roles" "backpack" "weapons" "spells" "mounts" "summons" "storage";
|
|
}
|
|
.dotdungeon .actor--pc .panel--skills .skill {
|
|
flex-direction: column;
|
|
}
|
|
}
|
|
|
|
/*# sourceMappingURL=data:application/json;charset=utf-8,%7B%22version%22:3,%22sourceRoot%22:%22%22,%22sources%22:%5B%22../../../styles/sheets/actor/mvp.scss%22,%22../../../styles/mixins/_breakpoints.scss%22%5D,%22names%22:%5B%5D,%22mappings%22:%22AAGA;EACC;EACA,qBACC;EASD;EACA,oBACC;EAGD;EACA;;AAEA;EACC;EACA;EACA;EACA;;AAEA;EACC;;AAIA;EACC;;AAMF;EACC;;AACA;EACC;EACA;;AAGD;EACC;;AAGF;EACC;;AACA;EACC;EACA;EACA;EACA;EACA;EACA;;AAGF;EACC;;AAEA;EACC;EACA;EACA;EACA;;AAGF;EACC;;AAEA;EACC;EACA;EACA;;AAED;EACC;EACA;;AAED;EACC;;AAGD;EACC;EACA;EACA;;AAGD;AAAA;AAAA;EAGC;EACA;;AAGD;EACC;;AAGF;EACC;;AAEA;EACC;EACA;EACA;;AAGD;AAAA;EAEC;EACA;EACA;;AAEA;AAAA;EACC;;AAIF;EACC;EACA;;AAGF;EACC;;AACA;EACC;EACA;EACA;EACA;;AAEA;EACC;;AAIH;EACC;;AAEA;EACC;EACA;EACA;EACA;;AAEA;EACC;EACA;EACA;EACA;;AAEA;EACC;;AAGF;EACC;EACA;EACA;;AAED;EACC;EACA;EACA;;AAED;EACC;EACA;EACA;EACA;;AAIH;EACC;;AACA;EACC;EACA;EACA;EACA;;AAEA;EACC;;AAIH;EACC;;AAEA;EACC;EACA;EACA;;AAEA;EACC;EACA;EACA;EACA;;AAIH;EACC;;AAED;EACC;;AAED;EACC;;;ACxNF;EDgOC;IACC;IACA;IACA,qBACC;;EAkBC;IACC;;EAKD;IACC;IACA;;;ACxPL;EDkQC;IACC;IACA;IACA,qBACC;;EAeC;IACC%22,%22file%22:%22mvp.css%22%7D */
|