// Item List .item-list { flex: 100%; .item { .item-header { display: flex; .item-img { flex: 0 0 32px; padding-right: 0.25rem; img { border: 1px solid rgba(0, 0, 0, 0.1); } } .item-name { flex: 1 1 auto; font-size: 1rem; line-height: 1rem; color: $l5r5e-bold; } .item-edit, .item-delete, .item-equip, .technique-edit, .technique-delete, .peculiarity-edit, .peculiarity-delete, .property-edit, .property-delete { line-height: 1rem; font-size: 0.75rem; flex: 0 0 1rem; padding: 0 0.1rem; color: $black-light; } .icon-stat-container { line-height: 1rem; font-size: 0.75rem; padding: 0 0.25rem; color: $black-light; } .item-edit, .item-delete, .item-equip, .technique-edit, .technique-delete, .peculiarity-edit, .peculiarity-delete, .property-edit, .property-delete { &:hover { text-shadow: 0 0 3px $red; color: $black; } } } .item-properties { display: flex; flex-direction: row; > li { margin: 0.25rem 0.1rem; padding: 0.1rem 0.5rem; background-color: $l5r5e-white; border: 1px solid $white-light; border-radius: 1rem; width: auto; font-size: 0.75rem; color: $black-light; &:first-child { margin-left: 0; } &:last-child { margin-right: 0; } } .equip-readied-control { &:hover { color: $l5r5e-red; background: $white; } } } p { font-size: 0.85rem; margin: 0; padding: 0 0.5rem; max-width: 100%; &:first-child { padding-top: 0.5rem; } &:last-child { padding-bottom: 0.5rem; } } } } // Advancement Sheet, Armor Sheet, Item Sheet, Peculiarity Sheet, Property Sheet, Technique Sheet, Weapon Sheet &.advancement, &.armor, &.bond, &.item, &.item-pattern, &.peculiarity, &.property, &.signature-scroll, &.technique, &.title, &.weapon { .sheet-header { margin-bottom: 0.5rem; img { flex: 0 0 90px; height: 90px; width: 90px; background: rgba(255, 255, 255, 0.25); } h1 { input { height: 5.5rem; } } } fieldset { input[name="data.effects"] { text-align: left; } } .sheet-body { flex: 100%; height: calc(100% - 90px - 0.25rem); align-self: stretch; display: flex; flex-wrap: wrap; } article { display: flex; flex-wrap: wrap; min-height: auto; label { color: $l5r5e-label; margin: 0.25rem; line-height: 1.5rem; } &.attributes { align-self: flex-start; width: 100%; height: 6.5rem; #advancement_type, #advancement_skill { flex: 0 0 calc(40% - 2rem); margin: 0.25rem; } select[name="data.skill"], select[name="data.ring"], select[name="data.peculiarity_type"], select[name="data.technique_type"] { flex: 0 0 calc(40% - 0.5rem); margin: 0.25rem; } .attribute-value, .attribute, .value { flex: 1 1 auto; margin: 0.5rem 0.25rem 0.25rem; } select[name="data.advancement_type"], select[name="data.skill"] { text-transform: capitalize; } .type { display: block; label { width: calc(50% - 0.5rem); float: left; } } .properties { flex: 0 0 calc(50% - 0.5rem); margin: 0.25rem; } .equipped { flex: 100%; margin: 0; text-align: right; } input[type="text"], input[type="number"] { width: 2rem; &.grip { width: 100%; margin-bottom: 0.25rem; } } input[name="data.zeni"] { width: 7rem; float: right; } fieldset { input[type="text"], input[type="number"] { float: right; } } .attribute { &.full { flex: 100%; input { float: right; width: 70%; } } } } &.infos { display: flex; align-self: stretch; height: calc(100% - 7.5rem); width: 100%; padding-bottom: 1.25rem; .reference { flex: 0 0 calc(100% - 0.5rem); margin: 0.5rem 0.25rem; input[name="data.book_reference"] { float: right; width: 70%; } } fieldset { align-self: stretch; height: calc(100% - 2rem); box-sizing: content-box; } } &.properties { fieldset { margin-bottom: 0.5rem; } } } } &.advancement { article { &.attributes { .attribute-value, .attribute, .value { flex: 0 0 calc(33% - 0.5rem); } .cursus { flex: 0 0 calc(19% - 0.5rem); line-height: 0.75rem; text-align: right; margin: 0 0.25rem; input { margin-top: 0.25rem; } } } } } &.peculiarity, &.technique { article { &.attributes { .cursus { flex: 0 0 calc(20% - 0.5rem); line-height: 0.75rem; text-align: right; margin: 0 0.25rem; input { margin-top: 0.25rem; } } } } } &.peculiarity { article { &.attributes { height: 8.5rem; } &.infos { height: calc(100% - 9.5rem); } } } &.item { article { &.attributes { height: 4.5rem; .properties { flex: 100%; } } &.infos { flex: 0 0 60%; height: calc(100% - 5.5rem); } &.properties { flex: 0 0 40%; height: calc(100% - 5.5rem); } } } &.property { article { &.infos { height: calc(100% - 0.5rem); } } } &.armor { article { &.attributes { height: 9.5rem; } &.infos { flex: 0 0 60%; height: calc(100% - 10.5rem); } &.properties { flex: 0 0 40%; height: calc(100% - 10.5rem); } } } &.weapon { article { &.attributes { height: 18.5rem; .stats, .attribute-value { flex: 0 0 calc(50% - 0.5rem); flex-wrap: wrap; margin: 0.25rem; label { width: 100%; } } .value { flex: 0 0 calc(25% - 0.5rem); } .category, .skillType { flex: 0 0 calc(50% - 0.5rem); input, .attribute-dtype { width: 100%; margin: 0.25rem; } } } &.infos { flex: 0 0 60%; height: calc(100% - 19.5rem); } &.properties { flex: 0 0 40%; height: calc(100% - 19.5rem); } } } .item-list { > li { .item-description { flex: unset; height: 0; margin: 0; padding: 0; font-size: 0.75rem; color: rgba(0, 0, 0, 0.75); overflow: hidden; background: rgba(0, 0, 0, 0.05); border: 0 none; transition: height 0.25s ease-in; } div.item-description { padding: 0; &:hover, &:active { padding: 0; } } .toggle-active { height: 6rem; overflow-y: auto; scrollbar-width: thin; border: 1px solid $l5r5e-title; } p { &.toggle-active { padding: 0.25rem; } } &:hover, &:active { .item-description { height: 6rem; overflow-y: auto; scrollbar-width: thin; border: 1px solid $l5r5e-title; } p { .item-description { padding: 0.25rem; } } } } .stance-content { .item-description { display: none; height: auto; } .toggle-active { display: block; height: auto; border: 0 none; } &:hover { .item-description { height: auto; border: 0 none; } .toggle-active { display: block; } } } }