.no-margin { margin-top: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; } .docCreatorMenu-cont { position: absolute; z-index: 1000; // box-shadow: 0px 3px 4px rgba(0, 0, 0, 30%); // background: whitesmoke; // color: black; border-radius: 3px; } .docCreatorMenu-menu { display: flex; flex-direction: row; height: 25px; align-items: flex-end; } .docCreatorMenu-menu-button { width: 25px; height: 25px; background: whitesmoke; background-color: rgb(50, 50, 50); border-radius: 5px; padding: 0px; font-size: 13px; //box-shadow: 3px 3px rgb(29, 29, 31); &:hover { box-shadow: none; background-color: rgb(60, 60, 65); } &.no-margin { margin: 0px; } &.border { border: 1px solid rgb(180, 180, 180); } &.float-right { float: right; margin-left: auto; } &.absolute-right { position: absolute; right: 0px; } &.right{ margin-left: 0px; font-size: 12px; } } .docCreatorMenu-top-buttons-container { position: relative; margin-top: 5px; margin-left: 7px; display: flex; flex-direction: row; align-items: flex-end; width: 150px; height: auto; } .top-button-container { position: relative; width: 52px; height: 20px; display: flex; align-items: center; justify-content: center; &.left { z-index: 3; } &.middle { position: absolute; left: 40px; z-index: 2; &.selected { z-index: 4; } } &.right { position: absolute; left: 80px; z-index: 1; &.selected { z-index: 4; } } &:hover::before{ border-bottom: 20px solid rgb(82, 82, 82); } &::before { content: ""; position: absolute; top: 0; left: 0; border-bottom: 20px solid rgb(50, 50, 50); border-left: 12px solid transparent; border-right: 12px solid transparent; height: 0; width: 50px; } &::after { content: ""; position: absolute; top: -1px; left: -1px; border-bottom: 22px solid rgb(180, 180, 180); border-left: 12px solid transparent; border-right: 12px solid transparent; height: 0; width: 52px; z-index: -1; } &.selected::before { border-bottom-color: rgb(67, 119, 214); } } .top-button-content { position: relative; z-index: 1; color: white; } .docCreatorMenu-menu-hr{ margin-top: 0px; margin-bottom: 0px; color: rgb(180, 180, 180); } .docCreatorMenu-placement-indicator { position: absolute; z-index: 100000; border-left: solid 3px #9fd7fb; border-top: solid 3px #9fd7fb; width: 25px; height: 25px; } .docCreatorMenu-general-options-container { display: flex; justify-content: center; align-items: center; margin: 0px; padding: 0px; gap: 5px; } .docCreatorMenu-save-layout-button { display: flex; justify-content: center; align-items: center; width: 40px; height: 40px; background-color: rgb(99, 148, 238); border: 2px solid rgb(80, 107, 152); border-radius: 5px; margin-bottom: 20px; font-size: 25px; &:hover{ background-color: rgb(59, 128, 255); border: 2px solid rgb(53, 80, 127); } } .docCreatorMenu-create-docs-button { width: 40px; height: 40px; background-color: rgb(176, 229, 149); border: 2px solid rgb(126, 219, 80); border-radius: 5px; padding: 0px; font-size: 25px; color: white; flex: 0 0 auto; margin-bottom: 20px; //remove later !!! &:hover { background-color: rgb(129, 223, 83); border: 2px solid rgb(80, 185, 28); } } .docCreatorMenu-option-divider { border-top: 1px solid rgb(180, 180, 180); width: 95%; margin-top: 10px; margin-bottom: 10px; &.full { width: 100%; } &.no-margin-bottom { margin-bottom: 0px; } &.no-margin-top { margin-top: 0px; } } //------------------------------------------------------------------------------------------------------------------------------------------ // Resizers CSS //-------------------------------------------------------------------------------------------------------------------------------------------- .docCreatorMenu-resizer { position: absolute; background-color: none; &.top, &.bottom { height: 10px; cursor: ns-resize; } &.right, &.left { width: 10px; cursor: ew-resize; } &.topRight, &.topLeft, &.bottomRight, &.bottomLeft { height: 15px; width: 15px; background-color: none; } } //------------------------------------------------------------------------------------------------------------------------------------------ // DocCreatorMenu templates preview CSS //-------------------------------------------------------------------------------------------------------------------------------------------- .docCreatorMenu-templates-view { display: flex; flex-direction: column; justify-content: flex-start; overflow-y: scroll; //align-items: flex-start; margin: 5px; margin-top: 0px; width: calc(100% - 10px); height: calc(100% - 30px); border: 1px solid rgb(180, 180, 180); border-radius: 5px; -ms-overflow-style: none; scrollbar-width: none; } .docCreatorMenu-expanded-template-preview { display: flex; flex-direction: column; justify-content: flex-start; color: black; position: relative; width: 100%; height: 100%; flex-grow: 1; .top-panel{ width: 100%; height: 10px; } .right-buttons-panel { display: flex; flex-direction: column; justify-content: flex-start; height: fit-content; position: absolute; right: 0px; top: 0px; width: 40px; padding: 5px; gap: 2px; } } .docCreatorMenu-preview-window { position: relative; display: flex; justify-content: center; align-items: center; height: 100%; aspect-ratio: 1; color: none; border: 1px solid rgb(163, 163, 163); border-radius: 5px; box-shadow: 5px 5px rgb(29, 29, 31); &:hover{ background-color: rgb(72, 72, 73); } &.empty { font-size: 35px; &.GPT { margin-top: 0px; } } .option-button { display: none; height: 25px; width: 25px; margin: 0px; background: none; border: 0px; padding: 0px; font-size: 15px; z-index: 1000; &.right { position: absolute; bottom: 0px; right: 0px; } &.left { position: absolute; bottom: 0px; left: 0px; } &.top-left { position: absolute; top: 0px; left: 0px; } } &:hover .option-button { display: block; } } .docCreatorMenu-preview-image{ background-color: transparent; height: 100%; display: block; object-fit: contain; border-radius: 5px; } .docCreatorMenu-variations-tab { flex-grow: .5; } .docCreatorMenu-section { display: flex; flex-direction: column; align-items: center; position: relative; flex-grow: 1; height: 100%; width: 100%; margin: 0px; margin-top: 0px; margin-bottom: 0px; } .docCreatorMenu-GPT-options-container { display: flex; flex-direction: row; justify-content: center; align-items: center; position: absolute; left: 50%; bottom: 0px; margin: 0px; margin-bottom: 10px; margin-top: 5px; padding: 0px; } .docCreatorMenu-templates-preview-window { display: grid; justify-content: space-evenly; row-gap: 2rem; grid-template-columns: repeat(auto-fill, minmax(225px, 30%)); margin: 5px; width: calc(100% - 10px); height: 100%; padding-bottom: 40px; &.scrolling { overflow-y: scroll; max-height: 300px; padding-bottom: 0px; } } .divvv{ width: 200; height: 200; border: solid 1px white; } .docCreatorMenu-section-topbar { position: relative; display: flex; flex-direction: row; color: whitesmoke; width: 100%; } .docCreatorMenu-templates-displays { display: flex; flex-direction: column; height: 100%; } .docCreatorMenu-section-title { border: 1px solid rgb(163, 163, 163); border-top: 0px; border-left: 0px; border-bottom-right-radius: 5px; font-size: 12px; padding: 2px; padding-left: 3px; padding-right: 3px; margin-bottom: 3px; } .docCreatorMenu-GPT-generate { height: 30px; width: 30px; background-color: rgb(176, 229, 149); border: 1px solid rgb(126, 219, 80); border-radius: 5px; padding: 0px; font-size: 14px; color: white; letter-spacing: 1px; flex: 0 0 auto; &:hover { background-color: rgb(129, 223, 83); border: 2px solid rgb(80, 185, 28); } } .docCreatorMenu-GPT-prompt-input { width: 140px; height: 25px; overflow-y: scroll; border: 1px solid rgb(180, 180, 180); background-color: rgb(35, 35, 35); border-radius: 3px; padding-left: 4px; } //------------------------------------------------------------------------------------------------------------------------------------------ // DocCreatorMenu options CSS //-------------------------------------------------------------------------------------------------------------------------------------------- .docCreatorMenu-option-container{ display: flex; width: 180px; height: 30px; flex-direction: row; justify-content: center; align-items: center; margin-top: 10px; margin-bottom: 10px; &.layout{ z-index: 5; } } .docCreatorMenu-option-title{ display: flex; width: 140px; height: 30px; background: whitesmoke; background-color: rgb(34, 34, 37); border-radius: 5px; border: 1px solid rgb(180, 180, 180); padding: 0px; font-size: 12px; align-items: center; justify-content: center; text-transform: uppercase; cursor: pointer; &.spacer { border-left: none; border-right: none; border-radius: 0px; width: auto; text-transform: none; &.small { height: 20px; transform: translateY(-5px); } } &.config { border-radius: 4px; border-top-right-radius: 0px; border-bottom-right-radius: 0px; width: 30px; border-right: 0px; gap: 3px; &.layout-config { height: 20px; transform: translateY(-5px); text-transform: none; padding-left: 2px; } &.dimensions { text-transform: none; height: 20px; transform: translateY(-5px); width: 70px; } } } .docCreatorMenu-input { display: flex; height: 30px; background-color: rgb(34, 34, 37); border: 1px solid rgb(180, 180, 180); align-items: center; justify-content: center; &.config { border-radius: 4px; margin: 0px; border-top-left-radius: 0px; border-bottom-left-radius: 0px; border-left: 0px; width: 25px; &.layout-config { height: 20px; transform: translateY(-5px); } &.dimensions { height: 20px; width: 30px; transform: translateY(-5px); &.right { border-top-left-radius: 0px; border-bottom-left-radius: 0px; } &.left { border-radius: 0px; border-right: 0px; } } } } .docCreatorMenu-configuration-bar { width: 200; gap: 5px; display: flex; flex-direction: row; align-items: center; justify-content: center; &.no-gap { gap: 0px; } } .docCreatorMenu-menu-container { display: flex; flex-direction: column; align-items: center; overflow-y: scroll; margin: 5px; margin-top: 0px; width: calc(100% - 10px); height: calc(100% - 30px); border: 1px solid rgb(180, 180, 180); border-radius: 5px; -ms-overflow-style: none; scrollbar-width: none; .docCreatorMenu-option-container{ width: 180px; height: 30px; .docCreatorMenu-dropdown-hoverable { width: 140px; height: 30px; &:hover .docCreatorMenu-dropdown-content { display: block; } &:hover .docCreatorMenu-option-title { border-bottom-left-radius: 0px; border-bottom-right-radius: 0px; } .docCreatorMenu-dropdown-content { display: none; min-width: 100px; height: 75px; overflow-y: scroll; -ms-overflow-style: none; scrollbar-width: none; border-bottom: 1px solid rgb(180, 180, 180); border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; .docCreatorMenu-dropdown-option{ display: flex; background-color: rgb(42, 42, 46); border-left: 1px solid rgb(180, 180, 180); border-right: 1px solid rgb(180, 180, 180); border-bottom: 1px solid rgb(180, 180, 180); width: 140px; height: 25px; justify-content: center; justify-items: center; padding-top: 3px; &:hover { background-color: rgb(68, 68, 74); cursor: pointer; } } } } } } .loading-spinner { position: absolute; display: flex; justify-content: center; align-items: center; height: 100%; width: 100%; z-index: 200; font-size: 20px; font-weight: bold; color: #17175e; } .docCreatorMenu-layout-preview-window-wrapper { flex: 0 0 auto; display: flex; justify-content: center; align-items: center; color: black; width: calc(100% - 50px); height: calc(100% - 50px); position: relative; border: 1px solid rgb(180, 180, 180); padding: 10px; margin-left: 20px; margin-right: 20px; &.loading { width: 100px; height: 100px; border: none; } &:hover .docCreatorMenu-zoom-button-container { display: block; } .docCreatorMenu-layout-preview-window { padding: 5px; flex: 0 0 auto; overflow: scroll; display: grid; width: 100%; aspect-ratio: 1; //height: auto; // max-width: 240; // max-height: 240; border: 1px solid rgb(180, 180, 180); border-radius: 5px; background-color: rgb(34, 34, 37); -ms-overflow-style: none; scrollbar-width: none; &.small { max-width: 100; max-height: 100; } .docCreatorMenu-layout-preview-item { display: flex; justify-content: center; align-items: center; border-radius: 3px; border: solid 1px lightblue; &:hover { border: solid 2px rgb(68, 153, 233); z-index: 2; } } } .docCreatorMenu-zoom-button-container { position: absolute; top: 0px; display: flex; justify-content: center; align-items: center; display: none; z-index: 999; } .docCreatorMenu-zoom-button{ width: 15px; height: 15px; background: whitesmoke; background-color: rgb(34, 34, 37); border-radius: 3px; border: 1px solid rgb(180, 180, 180); padding: 0px; font-size: 10px; z-index: 6; margin-left: 0px; margin-top: 0px; margin-right: 0px; //225px margin-bottom: 0px; } } //------------------------------------------------------------------------------------------------------------------------------------------ // DocCreatorMenu dashboard CSS //-------------------------------------------------------------------------------------------------------------------------------------------- .docCreatorMenu-dashboard-view { position: relative; display: flex; flex-direction: column; justify-content: flex-start; overflow-y: hidden; //align-items: flex-start; margin: 5px; margin-top: 0px; width: calc(100% - 10px); height: calc(100% - 30px); border: 1px solid rgb(180, 180, 180); border-radius: 5px; -ms-overflow-style: none; scrollbar-width: none; .panels-container { display: flex; height: 100%; width: 100%; flex-direction: column; justify-content: flex-start; overflow-y: scroll; } .topbar { height: 30px; width: 100%; background-color: rgb(50, 50, 50); } .field-panel { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; height: fit-content; width: calc(100% - 10px); border: 1px solid rgb(180, 180, 180); margin: 5px; margin-top: 0px; margin-bottom: 10px; border-radius: 3px; flex: 0 0 auto; gap: 25px; background-color: rgb(60, 60, 60); .top-bar { position: relative; display: flex; flex-direction: row; align-items: center; justify-content: center; border-bottom: 1px solid rgb(180, 180, 180); border-top-right-radius: 5px; border-top-left-radius: 5px; width: 100%; height: fit-content; background-color: rgb(50, 50, 50); color: rgb(168, 167, 167); font-size: medium; .field-title { color: whitesmoke; font-size: large; } &:hover { background-color: rgb(72, 72, 72); cursor: pointer; } } .opts-bar { display: flex; flex-direction: row; align-items: center; justify-content: center; width: 100%; .opt-box { border: 1px solid rgb(180, 180, 180); border-radius: 5px; width: 40%; height: 50px; margin-right: 4%; margin-left: 4%; box-shadow: 5px 5px rgb(29, 29, 31); } .content { display: flex; flex-direction: row; justify-content: center; align-items: center; height: calc(100% - 20px); width: 100%; background-color: rgb(50, 50, 50); border-bottom-right-radius: 5px; border-bottom-left-radius: 5px; resize: none; .bubbles { display: none; } .text { margin-right: 5px; } &:hover .bubbles { display: flex; flex-direction: row; align-items: flex-start; } &:hover .type-display { display: none; } .bubble { margin: 3px; } } } .sizes-box { width: 88%; height: 60px; border: 1px solid rgb(180, 180, 180); border-radius: 5px; background-color: rgb(50, 50, 50); box-shadow: 5px 5px rgb(29, 29, 31); .content { display: flex; flex-direction: row; justify-content: center; align-items: center; height: calc(100% - 20px); width: 100%; background-color: rgb(50, 50, 50); border-bottom-right-radius: 5px; border-bottom-left-radius: 5px; .text { margin-right: 9px; } .bubbles { display: flex; flex-direction: row; align-items: center; } .bubble { margin: 3px; margin-right: 4px; } } } .desc-box { width: 88%; height: fit-content; border: 1px solid rgb(180, 180, 180); border-radius: 5px; background-color: rgb(50, 50, 50); box-shadow: 5px 5px rgb(29, 29, 31); .content { height: fit-content; width: 100%; background-color: rgb(50, 50, 50); border-bottom-right-radius: 5px; border-bottom-left-radius: 5px; resize: none; } } } .conditionals-section { display: flex; flex-direction: column; justify-content: flex-start; align-items: center; width: 100%; .conditionals-title { display: flex; flex-direction: row; width: 100%; justify-content: center; align-items: center; margin: 5px; margin-bottom: 20px; font-size: large; } } .form-row { display: flex; flex-direction: row; justify-content: flex-start; align-items: flex-start; color: whitesmoke; width: 100%; height: fit-content; margin-bottom: 15px; flex-wrap: wrap; gap: 5px; .form-row-plain-text { display: flex; justify-content: center; align-items: center; height: 100%; width: fit-content; padding-top: 2px; padding-bottom: 2px; } .operator-options-dropdown { display: flex; flex-direction: column; height: fit-content; .operator-dropdown-option { display: none; } .operator-dropdown-current { border-radius: 5px; background-color: rgb(50, 50, 50); border: 1px solid rgb(180, 180, 180); text-align: center; padding: 2.25px; padding-left: 4px; padding-right: 4px; } &:hover .operator-dropdown-current { border-bottom-right-radius: 0; border-bottom-left-radius: 0; } &:hover .operator-dropdown-option { display: flex; height: fit-content; align-items: center; border: 1px solid rgb(180, 180, 180); background-color: rgb(50, 50, 50); padding: 2.25px; padding-left: 8px; padding-right: 8px; text-align: center; &:hover { background-color: rgb(70, 70, 70); cursor: pointer; } } } .form-row-textarea { height: 24px; width: 70px; border-radius: 5px; background-color: rgb(50, 50, 50); border: 1px solid rgb(180, 180, 180); resize: none; overflow-y: scroll; white-space: nowrap; } } .form { display: flex; flex-direction: row; justify-content: space-between; align-items: flex-start; width: 80%; .form-action-button { display: flex; justify-content: center; align-items: center; margin: 3px; cursor: pointer; } } } //------------------------------------------------------------------------------------------------------------------------------------------ // EditingWindow CSS //-------------------------------------------------------------------------------------------------------------------------------------------- .docCreatorMenu-editing-firefly-section { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; width: 100%; padding: 5px; } .docCreatorMenu-firefly-options { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: fit-content; width: 100%; } .docCreatorMenu-variation-prompt-row { display: flex; flex-direction: row; justify-content: flex-start; align-items: center; gap: 15px; height: fit-content; width: 100%; } .docCreatorMenu-variation-prompt-input-textbox { height: 40px; width: 80%; color: white; margin-top: 1%; margin-bottom: 1%; margin-left: 5%; background-color: rgb(50, 50, 50); border-radius: 5px; overflow: hidden; resize: none; } .options‑menu { display: flex; align-items: center; justify-content: center; gap: 2rem; padding: 0.5rem 1rem; background: rgb(50, 50, 50); color: whitesmoke; font-family: system-ui, sans-serif; font-size: 0.9rem; flex-wrap: wrap; } .menu‑item { display: flex; align-items: center; gap: 0.5rem; white-space: nowrap; } .menu‑item input[type="range"] { width: 7rem; accent-color: whitesmoke; } .value { min-width: 2ch; text-align: right; } .switch { gap: 0.75rem; margin-bottom: 0px; } .switch .slider { position: relative; width: 2.2rem; height: 1.1rem; background: whitesmoke; border-radius: 1rem; cursor: pointer; transition: background 0.2s; } .switch .slider::before { content: ''; position: absolute; top: 0.1rem; left: 0.1rem; width: 0.9rem; height: 0.9rem; background: rgb(50, 50, 50); border-radius: 50%; transition: transform 0.2s; } .switch input { display: none; } .switch input:checked + .slider { background: #78c2f1; } .switch input:checked + .slider::before { transform: translateX(1.1rem); } .firefly-option-label { padding: .2em .6em .3em; font-size: 100%; color: whitesmoke; text-align: center; margin-bottom: 0px; font-weight: 500; }