mirror of
https://gitgud.io/BondageProjects/Bondage-College.git
synced 2025-04-25 17:59:34 +00:00
287 lines
6.1 KiB
CSS
287 lines
6.1 KiB
CSS
#crafting-screen {
|
|
--button-size: min(9vh, 4.5vw);
|
|
|
|
display: grid;
|
|
grid-template:
|
|
"crafting-top-bar crafting-top-bar crafting-top-bar" var(--button-size)
|
|
"crafting-left-panel crafting-center-panel crafting-right-panel" auto / 3fr 1.75fr 3fr
|
|
;
|
|
gap: calc(var(--button-size) / 6);
|
|
}
|
|
|
|
#crafting-top-bar {
|
|
display: grid;
|
|
grid-template-columns: auto min-content;
|
|
gap: calc(var(--button-size) / 6);
|
|
grid-area: crafting-top-bar;
|
|
}
|
|
|
|
#crafting-header {
|
|
user-select: none;
|
|
font-size: min(5vh, 2.5vw);
|
|
line-height: 0;
|
|
color: white;
|
|
justify-self: center;
|
|
align-self: center;
|
|
padding-left: calc((5 + (4 / 6)) * var(--button-size));
|
|
}
|
|
|
|
#crafting-menu-bar {
|
|
display: grid;
|
|
direction: rtl;
|
|
grid-auto-flow: column;
|
|
gap: calc(var(--button-size) / 6);
|
|
}
|
|
|
|
#crafting-accept-button,
|
|
#crafting-cancel-button,
|
|
#crafting-exit-button,
|
|
#crafting-download-button,
|
|
#crafting-upload-button {
|
|
width: var(--button-size);
|
|
height: var(--button-size);
|
|
}
|
|
|
|
#crafting-accept-button {
|
|
background-image: url("../Icons/Accept.png");
|
|
}
|
|
|
|
#crafting-accept-button[aria-disabled="false"] #crafting-accept-button-tooltip-disabled {
|
|
display: none;
|
|
}
|
|
|
|
#crafting-cancel-button {
|
|
background-image: url("../Icons/Cancel.png");
|
|
}
|
|
|
|
#crafting-exit-button {
|
|
background-image: url("../Icons/Exit.png");
|
|
}
|
|
|
|
#crafting-download-button {
|
|
background-image: url("../Icons/Download.png");
|
|
}
|
|
|
|
#crafting-upload-button {
|
|
background-image: url("../Icons/Upload.png");
|
|
}
|
|
|
|
#crafting-left-panel {
|
|
display: grid;
|
|
grid-area: crafting-left-panel;
|
|
row-gap: 3px;
|
|
padding: 3px;
|
|
overflow-y: hidden;
|
|
height: 100%;
|
|
grid-template:
|
|
"crafting-property-button crafting-left-panel-expanded" calc(2.5 * var(--button-size))
|
|
"crafting-asset-button crafting-left-panel-expanded" calc(2.5 * var(--button-size))
|
|
"crafting-lock-button crafting-left-panel-expanded" auto / calc(1.8 * var(--button-size)) auto;
|
|
}
|
|
|
|
#crafting-left-panel input[type="search"] {
|
|
width: calc(100% - 6px);
|
|
margin: 3px;
|
|
margin-bottom: 0;
|
|
font: inherit;
|
|
}
|
|
|
|
.crafting-panel {
|
|
height: 100%;
|
|
display: none;
|
|
overflow-y: inherit;
|
|
background-color: rgba(0, 0, 0, 0.25);
|
|
grid-template-rows: min-content auto;
|
|
grid-area: crafting-left-panel-expanded;
|
|
}
|
|
|
|
.crafting-panel > .crafting-label > span {
|
|
justify-self: center;
|
|
}
|
|
|
|
#crafting-property-button[aria-checked="true"] ~ #crafting-property-panel,
|
|
#crafting-asset-button[aria-checked="true"] ~ #crafting-asset-panel,
|
|
#crafting-padlock-button[aria-checked="true"] ~ #crafting-padlock-panel {
|
|
display: grid;
|
|
}
|
|
|
|
.crafting-grid {
|
|
display: grid;
|
|
gap: calc(var(--button-size) / 6);
|
|
margin: 3px;
|
|
padding: 3px;
|
|
}
|
|
|
|
#crafting-asset-grid,
|
|
#crafting-padlock-grid {
|
|
grid-template-columns: repeat(3, min-content);
|
|
grid-template-rows: repeat(auto-fill, calc(2.5 * var(--button-size)));
|
|
}
|
|
|
|
#crafting-property-grid {
|
|
grid-template-columns: min-content;
|
|
grid-template-rows: repeat(auto-fill, calc(1.5 * var(--button-size)));
|
|
}
|
|
|
|
#crafting-asset-grid button,
|
|
#crafting-padlock-grid button,
|
|
#crafting-property-button,
|
|
#crafting-asset-button,
|
|
#crafting-padlock-button {
|
|
width: calc(1.8 * var(--button-size));
|
|
height: calc(2.5 * var(--button-size));
|
|
}
|
|
|
|
#crafting-asset-grid button[data-unload]:not([aria-checked="true"]),
|
|
#crafting-asset-grid button[data-unload-group]:not([aria-checked="true"]) {
|
|
display: none;
|
|
}
|
|
|
|
#crafting-property-grid button {
|
|
width: calc(5.7 * var(--button-size));
|
|
height: calc(1.5 * var(--button-size));
|
|
}
|
|
|
|
#crafting-property-grid button > .button-label {
|
|
display: none;
|
|
}
|
|
|
|
#crafting-property-button {
|
|
font-size: min(3vh, 1.5vw);
|
|
grid-area: crafting-property-button;
|
|
}
|
|
|
|
#crafting-property-button > .button-label {
|
|
display: none;
|
|
}
|
|
|
|
#crafting-asset-button {
|
|
grid-area: crafting-asset-button;
|
|
}
|
|
|
|
#crafting-padlock-button {
|
|
grid-area: crafting-lock-button;
|
|
}
|
|
|
|
#crafting-center-panel {
|
|
display: flex;
|
|
align-items: flex-end;
|
|
justify-content: center;
|
|
grid-area: crafting-center-panel;
|
|
}
|
|
|
|
#crafting-undress-button {
|
|
width: var(--button-size);
|
|
height: var(--button-size);
|
|
background-image: url("../Icons/Naked.png");
|
|
}
|
|
|
|
#crafting-right-panel {
|
|
grid-area: crafting-right-panel;
|
|
padding-right: calc(var(--button-size) / 12);
|
|
}
|
|
|
|
#crafting-extended-button,
|
|
#crafting-tighten-button,
|
|
#crafting-layering-button,
|
|
#crafting-colors-button,
|
|
#crafting-private-checkbox,
|
|
#crafting-ascii-description-checkbox {
|
|
height: calc(0.75 * var(--button-size));
|
|
width: calc(0.75 * var(--button-size));
|
|
}
|
|
|
|
#crafting-extended-button {
|
|
background-image: url("../Icons/Use.png");
|
|
}
|
|
|
|
#crafting-tighten-button {
|
|
background-image: url("../Icons/TightenLoosen.png");
|
|
}
|
|
|
|
#crafting-layering-button {
|
|
background-image: url("../Icons/Layering.png");
|
|
}
|
|
|
|
.crafting-label {
|
|
width: calc(100% - 6px);
|
|
display: grid;
|
|
row-gap: calc(var(--button-size) / 12);
|
|
column-gap: calc(var(--button-size) / 6);
|
|
padding-left: 3px;
|
|
padding-right: 3px;
|
|
padding-top: calc(var(--button-size) / 12);
|
|
padding-bottom: calc(var(--button-size) / 12);
|
|
cursor: pointer;
|
|
color: white;
|
|
font: inherit;
|
|
align-items: center;
|
|
user-select: none;
|
|
}
|
|
|
|
.crafting-label input, .crafting-label textarea {
|
|
font: inherit;
|
|
}
|
|
|
|
.crafting-label:not(:has(:disabled)) > span:hover {
|
|
color: yellow;
|
|
}
|
|
|
|
.crafting-label:has(:disabled) {
|
|
cursor: auto;
|
|
color: gray
|
|
}
|
|
|
|
#crafting-name-label, #crafting-description-label {
|
|
grid-template-rows: repeat(2, min-content);
|
|
}
|
|
|
|
#crafting-colors-label {
|
|
grid-template-columns: auto min-content;
|
|
grid-template-rows: min-content min-content;
|
|
}
|
|
|
|
#crafting-colors-label > span {
|
|
grid-column: 1 / 3;
|
|
}
|
|
|
|
#crafting-colors-button {
|
|
background-image: url("../Icons/Color.png");
|
|
}
|
|
|
|
#crafting-name-input, #crafting-colors-input {
|
|
height: calc(0.75 * var(--button-size));
|
|
}
|
|
|
|
#crafting-description-input {
|
|
height: calc(3 * var(--button-size));
|
|
}
|
|
|
|
#crafting-layering-label {
|
|
grid-template-columns: calc(1.5 * var(--button-size)) min-content auto;
|
|
}
|
|
|
|
#crafting-layering-input {
|
|
height: calc(0.75 * var(--button-size));
|
|
}
|
|
|
|
#crafting-private-label,
|
|
#crafting-extended-label,
|
|
#crafting-tighten-label,
|
|
#crafting-ascii-description-label {
|
|
grid-template-columns: min-content auto;
|
|
}
|
|
|
|
@supports (height: 100dvh) {
|
|
#crafting-screen {
|
|
--button-size: min(9dvh, 4.5dvw);
|
|
}
|
|
|
|
#crafting-header {
|
|
font-size: min(5dvh, 2.5dvw);
|
|
}
|
|
|
|
#crafting-property-button {
|
|
font-size: min(3dvh, 1.5dvw);
|
|
}
|
|
}
|