209 lines
6.7 KiB
CSS
209 lines
6.7 KiB
CSS
@import url("https://fonts.googleapis.com/css2?family=Pixelify+Sans&display=swap");
|
|
.dotdungeon > .window-content ::-webkit-scrollbar {
|
|
width: 10px;
|
|
}
|
|
.dotdungeon > .window-content ::-webkit-scrollbar-thumb {
|
|
border-radius: 5px;
|
|
}
|
|
.dotdungeon > .window-content h2, .dotdungeon > .window-content h3, .dotdungeon > .window-content h4, .dotdungeon > .window-content h5, .dotdungeon > .window-content h6 {
|
|
all: initial;
|
|
display: block;
|
|
box-sizing: border-box;
|
|
display: block;
|
|
font-family: "Pixelify Sans", sans-serif;
|
|
margin: 0;
|
|
}
|
|
.dotdungeon > .window-content label {
|
|
display: block;
|
|
}
|
|
.dotdungeon > .window-content button, .dotdungeon > .window-content button:hover {
|
|
all: initial;
|
|
display: block;
|
|
box-sizing: border-box;
|
|
font-family: inherit;
|
|
cursor: pointer;
|
|
}
|
|
.dotdungeon > .window-content input[type=text],
|
|
.dotdungeon > .window-content input[type=number],
|
|
.dotdungeon > .window-content textarea {
|
|
all: initial;
|
|
display: block;
|
|
box-sizing: border-box;
|
|
padding: 5px 7px;
|
|
border-width: 2px;
|
|
border-radius: 4px;
|
|
border-style: solid;
|
|
border-color: rgba(0, 0, 0, 0.4);
|
|
background-color: rgba(0, 0, 0, 0.1);
|
|
}
|
|
.dotdungeon > .window-content input[type=text]:focus, .dotdungeon > .window-content input[type=text]:active,
|
|
.dotdungeon > .window-content input[type=number]:focus,
|
|
.dotdungeon > .window-content input[type=number]:active,
|
|
.dotdungeon > .window-content textarea:focus,
|
|
.dotdungeon > .window-content textarea:active {
|
|
border-color: rgb(0, 0, 0);
|
|
}
|
|
.dotdungeon > .window-content select, .dotdungeon > .window-content select:hover {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.dotdungeon {
|
|
container-type: size;
|
|
}
|
|
.dotdungeon > .window-content {
|
|
padding: 0;
|
|
background: #f2f2f2;
|
|
}
|
|
|
|
.dotdungeon .stat {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
.dotdungeon .skill {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: center;
|
|
align-items: center;
|
|
width: 100%;
|
|
}
|
|
.dotdungeon .skill-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
margin-bottom: 8px;
|
|
gap: 4px;
|
|
}
|
|
.dotdungeon .skill-group h3 {
|
|
margin-top: 8px;
|
|
font-size: 1.2em;
|
|
width: 100%;
|
|
text-align: center;
|
|
}
|
|
|
|
.dotdungeon .actor--pc {
|
|
display: grid;
|
|
grid-template-areas: "avatar stats stats" "avatar skills skills" "backpack skills skills" "backpack sync aspect" "backpack weapons aspect" "backpack weapons spells" "backpack roles spells" "summons roles mounts" "summons roles storage";
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
grid-template-rows: min-content repeat(8, minmax(0, 1fr));
|
|
padding: 4px;
|
|
gap: 4px;
|
|
}
|
|
.dotdungeon .actor--pc .panel--avatar {
|
|
grid-area: avatar;
|
|
}
|
|
.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;
|
|
}
|
|
.dotdungeon .actor--pc .panel--skills {
|
|
grid-area: skills;
|
|
}
|
|
.dotdungeon .actor--pc .panel--skills .panel__content {
|
|
display: grid;
|
|
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--sync {
|
|
grid-area: sync;
|
|
}
|
|
.dotdungeon .actor--pc .panel--aspect {
|
|
grid-area: aspect;
|
|
}
|
|
.dotdungeon .actor--pc .panel--weapons {
|
|
grid-area: weapons;
|
|
}
|
|
.dotdungeon .actor--pc .panel--roles {
|
|
grid-area: roles;
|
|
}
|
|
.dotdungeon .actor--pc .panel--spells {
|
|
grid-area: spells;
|
|
}
|
|
.dotdungeon .actor--pc .panel--mounts {
|
|
grid-area: mounts;
|
|
}
|
|
.dotdungeon .actor--pc .panel--summons {
|
|
grid-area: summons;
|
|
}
|
|
.dotdungeon .actor--pc .panel--storage {
|
|
grid-area: storage;
|
|
}
|
|
.dotdungeon .panel {
|
|
border: 2px solid black;
|
|
background: greenyellow;
|
|
}
|
|
.dotdungeon .panel__header {
|
|
background: black;
|
|
color: white;
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: center;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
.dotdungeon .panel__header h2 {
|
|
all: initial;
|
|
color: inherit;
|
|
flex-grow: 1;
|
|
padding-left: 8px;
|
|
font-family: "Pixelify Sans", sans-serif;
|
|
font-size: 20px;
|
|
}
|
|
.dotdungeon .panel__header .icon {
|
|
height: 32px;
|
|
width: 32px;
|
|
aspect-ratio: 1/1;
|
|
}
|
|
|
|
@container (max-width: 620px) {
|
|
.dotdungeon .actor--pc {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
grid-template-rows: repeat(15, minmax(0, 1fr));
|
|
grid-template-areas: "avatar sync" "avatar skills" "stats skills" "stats skills" "weapons aspect" "weapons aspect" "backpack aspect" "backpack roles" "backpack roles" "backpack roles" "backpack spells" "summons spells" "summons storage" "mounts storage" "mounts storage";
|
|
}
|
|
.dotdungeon .panel {
|
|
background: yellowgreen;
|
|
}
|
|
.dotdungeon .panel--stats .panel__content {
|
|
flex-wrap: wrap;
|
|
}
|
|
}
|
|
@container (max-width: 400px) {
|
|
.dotdungeon .actor--pc {
|
|
grid-template-columns: 1fr;
|
|
grid-template-rows: repeat(12, min-content);
|
|
grid-template-areas: "avatar" "stats" "sync" "skills" "aspect" "roles" "backpack" "weapons" "spells" "mounts" "summons" "storage";
|
|
}
|
|
.dotdungeon .panel {
|
|
background: blueviolet;
|
|
}
|
|
.dotdungeon .panel__header .icon {
|
|
display: none;
|
|
visibility: hidden;
|
|
}
|
|
}
|
|
.dotdungeon .item--aspect {
|
|
padding: 4px;
|
|
}
|
|
.dotdungeon .item--aspect input[type=text] {
|
|
font-family: sans-serif;
|
|
font-size: 1.5em;
|
|
height: 1.5em;
|
|
width: 100%;
|
|
}
|
|
.dotdungeon .item--aspect textarea {
|
|
font-family: sans-serif;
|
|
width: 100%;
|
|
resize: vertical;
|
|
}
|
|
|
|
/*# sourceMappingURL=data:application/json;charset=utf-8,%7B%22version%22:3,%22sourceRoot%22:%22%22,%22sources%22:%5B%22../styles/root.scss%22,%22../styles/mixins/_foundry.scss%22,%22../styles/_vars.scss%22,%22../styles/mixins/_partials.scss%22,%22../styles/sheets/partials/stat.scss%22,%22../styles/sheets/partials/skill.scss%22,%22../styles/sheets/actor/mvp.scss%22,%22../styles/mixins/_breakpoints.scss%22,%22../styles/sheets/items/aspect.scss%22%5D,%22names%22:%5B%5D,%22mappings%22:%22AAIQ;AAKP;EACC;;AAED;EACC;;AAGD;ECfA;EACA;EACA;EDeC;EACA,aEnBW;EFoBX;;AAGD;EACC;;AAGD;EC1BA;EACA;EACA;ED0BC;EACA;;AAGD;AAAA;AAAA;EChCA;EACA;EACA;EDkCC;EGpCD;EACA;EACA;EACA;EACA;;AAEA;AAAA;AAAA;AAAA;AAAA;EAEC;;AHgCD;EACC;;;AAKF;EACC;;AAEA;EACC;EACA,YElDW;;;AEFb;EACC;EACA;EACA;;ACHD;EACC;EACA;EACA;EACA;EACA;;AAEA;EACC;EACA;EACA;EACA;EACA;;AAEA;EACC;EACA;EACA;EACA;;;ACdF;EACC;EACA,qBACC;EASD;EACA;EACA;EACA;;AAGC;EACC;;AAED;EACC;;AACA;EACC;EACA;EACA;EACA;EACA;;AAGF;EACC;;AAEA;EACC;EACA;EACA;;AAGF;EACC;;AAED;EACC;;AAED;EACC;;AAED;EACC;;AAED;EACC;;AAED;EACC;;AAED;EACC;;AAED;EACC;;AAED;EACC;;AAKH;EACC;EACA;;AAEA;EACC;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACC;EACA;EACA;EACA;EACA,aJ5FS;EI6FT;;AAGD;EAEC,QADO;EAEP,OAFO;EAGP;;;ACnGH;ED4GC;IACC;IACA;IACA,qBACC;;EAiBF;IACC;;EAGC;IACC;;;AChIJ;EDyIC;IACC;IACA;IACA,qBACC;;EAaF;IACC;;EAGC;IACC;IACA;;;AErKL;EACC;;AAEA;EACC,aNLU;EMMV;EACA;EACA;;AAGD;EACC,aNZU;EMaV;EACA%22,%22file%22:%22root.css%22%7D */
|