.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; } .docCreatorMenu-menu-button { width: 30px; height: 30px; background: whitesmoke; background-color: rgb(34, 34, 37); border-radius: 5px; border: 1px solid whitesmoke; padding: 0px; font-size: 14px; &.right{ margin-left: 0px; font-size: 12px; } &.close-menu { font-size: 12px; margin-left: auto; } &.options { margin-left: 0px; } &:hover { background-color: rgb(60, 60, 65); } } .docCreatorMenu-menu-hr{ margin-top: 0px; margin-bottom: 0px; } //------------------------------------------------------------------------------------------------------------------------------------------ //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; width: calc(100% - 10px); height: calc(100% - 51px); border: 1px solid whitesmoke; 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; } } } //------------------------------------------------------------------------------------------------------------------------------------------ //DocCreatorMenu options CSS //-------------------------------------------------------------------------------------------------------------------------------------------- .docCreatorMenu-option-container{ display: flex; width: 180px; height: 30px; flex-direction: row; justify-content: center; align-items: center; margin-top: 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 whitesmoke; 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-top-right-radius: 0px; border-bottom-right-radius: 0px; width: 60px; border-right: 0px; &.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-radius: 5px; border: 1px solid whitesmoke; align-items: center; justify-content: center; &.config { margin: 0px; border-top-left-radius: 0px; border-bottom-left-radius: 0px; border-left: 0px; width: 40px; &.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; width: calc(100% - 10px); height: calc(100% - 51px); border: 1px solid whitesmoke; 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: solid 1px whitesmoke; 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 whitesmoke; border-right: 1px solid whitesmoke; border-bottom: 1px solid whitesmoke; 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 { display: block; } .docCreatorMenu-layout-preview-window { padding: 5px; flex: 0 0 auto; overflow: scroll; display: grid; width: auto; height: auto; max-width: 240; max-height: 240; border: 1px solid whitesmoke; border-radius: 5px; background-color: rgb(34, 34, 37); -ms-overflow-style: none; scrollbar-width: none; .docCreatorMenu-layout-preview-item { display: flex; justify-content: center; align-items: center; border-radius: 3px; border: solid 1px lightblue; } } .docCreatorMenu-zoom-button{ display: none; width: 15px; height: 15px; background: whitesmoke; background-color: rgb(34, 34, 37); border-radius: 3px; border: 1px solid whitesmoke; padding: 0px; font-size: 10px; position: absolute; top: 0px; z-index: 6; margin-left: 0px; margin-top: 0px; margin-right: 225px; margin-bottom: 0px; &.zoom-in{ top: 15px; } } } }