.no-margin { margin-top: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; } .docCreatorMenu-cont { position: absolute; z-index: 100000; // 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: 30px; height: 30px; background: whitesmoke; background-color: rgb(34, 34, 37); border-radius: 5px; border: 1px solid rgb(180, 180, 180); padding: 0px; font-size: 14px; //box-shadow: 3px 3px rgb(29, 29, 31); &:hover { box-shadow: none; } &.right{ margin-left: 0px; font-size: 12px; } &.close-menu { font-size: 12px; width: 18px; height: 18px; border-radius: 2px; font-size: 12px; margin-left: auto; } &.options { margin-left: 0px; } &:hover { background-color: rgb(60, 60, 65); } &.top-bar { border-bottom: 25px solid #555; border-left: 12px solid transparent; border-right: 12px solid transparent; // border-top-left-radius: 5px; // border-top-right-radius: 5px; border-radius: 0px; height: 0; width: 50px; } &.preview-toggle { margin: 0px; border-top-left-radius: 0px; border-bottom-left-radius: 0px; border-left: 0px; } } .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: 225px; margin-top: 10px; margin-bottom: 10px; } //------------------------------------------------------------------------------------------------------------------------------------------ // 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-preview-container { display: grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: 140px; grid-auto-rows: 141px; 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; } .docCreatorMenu-preview-window { display: flex; justify-content: center; align-items: center; width: 125px; height: 125px; margin-top: 10px; margin-left: 10px; 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); } .docCreatorMenu-preview-image{ width: 105px; height: 105px; border-radius: 5px; } &.empty { font-size: 35px; } } //------------------------------------------------------------------------------------------------------------------------------------------ // 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-top-right-radius: 0px; border-bottom-right-radius: 0px; 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; .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; } } } } } } .docCreatorMenu-layout-preview-window-wrapper { display: flex; justify-content: center; align-items: center; width: 85%; height: auto; position: relative; padding: 0px; &: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.23; //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; } }