@import '../global/globalCssVariables.module.scss'; .documentView-effectsWrapper { border-radius: inherit; transition: inherit; } // documentViews have a docView-hack tag which is replaced by this tag when capturing bitmaps (when the dom is converted to an html string) .documentView-hack { display: inline; // this swap is needed because for some reason when capturing bitmaps, things don't appear unless dispay:inline is explicitly set. } .documentView-customBorder { width: 100%; height: 100%; position: absolute; top: 0; } .documentView-node { position: inherit; top: 0; left: 0; width: 100%; height: 100%; border-radius: inherit; // bcz: can't clip the title this way because groups need to be able to render outside of overflow region to support drag/drop-extending the group borders // overflow: hidden; // need this so that title will be clipped when borderRadius is set // transition: outline 0.3s linear; // background: $white; //overflow: hidden; transform-origin: center; &.minimized { width: 30px; height: 30px; } .top { height: 20px; cursor: pointer; } .content { padding: 20px 20px; height: auto; box-sizing: border-box; } .scroll-box { overflow-y: scroll; height: calc(100% - 20px); } .documentView-htmlOverlay { position: absolute; display: flex; top: 0; height: 100%; width: 100%; .documentView-htmlOverlayInner { box-shadow: black 0.2vw 0.2vw 0.8vw; background: rgb(255, 255, 255); position: relative; margin: auto; padding: 20px; } } .documentView-linkAnchorBoxAnchor { display: flex; overflow: hidden; .documentView-node { width: 10px !important; } } .documentView-audioBackground { display: inline-block; width: 25px; height: 25; position: absolute; top: 0; left: 50%; border-radius: 25px; background: white; opacity: 0.3; pointer-events: all; cursor: default; svg { width: 90% !important; height: 70%; position: absolute; left: 5%; top: 15%; } } .documentView-treeView { max-height: 1.5em; text-overflow: ellipsis; display: inline-block; white-space: pre; width: 100%; overflow: hidden; > .documentView-node { position: absolute; } } .documentView-contentsView { border-radius: inherit; width: 100%; height: 100%; transition: inherit; display: flex; justify-content: center; align-items: center; position: relative; // allows contents to be positioned relative/below title > .formattedTextBox { position: absolute; // position a child text box } .sharingIndicator { height: 30px; width: 30px; border-radius: 50%; position: absolute; right: -15; opacity: 0.9; pointer-events: auto; background-color: #9dca96; letter-spacing: 2px; font-size: 10px; transition: transform 0.2s; text-align: center; display: flex; justify-content: center; align-items: center; cursor: pointer; } } .documentView-anchorCont { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: inline-block; pointer-events: none; } .documentView-contentBlocker { pointer-events: all; position: absolute; width: 100%; height: 100%; top: 0; left: 0; } .documentView-styleWrapper { position: absolute; display: inline-block; width: 100%; height: 100%; border-radius: inherit; white-space: normal; overflow: hidden; // so that titles will clip when borderRadius is set .documentView-styleContentWrapper { width: 100%; display: inline-block; position: absolute; } .documentView-titleWrapper, .documentView-titleWrapper-hover { color: $black; transform-origin: top left; top: 0; width: 100%; height: 14; opacity: 0.5; text-align: center; text-overflow: ellipsis; white-space: pre; position: absolute; display: flex; // this allows title field dropdown to be inline with editable title &:hover { opacity: 1; } } .documentView-titleWrapper-hover { display: none; } .documentView-searchHighlight { position: absolute; background: yellow; bottom: -20px; border-radius: 5px; transform-origin: bottom left; } .documentView-captionWrapper { position: absolute; bottom: 0; width: 100%; overflow-y: auto; transform-origin: bottom left; opacity: 0.1; transition: opacity 0.5s; } } } .documentView-node:hover { > .documentView-styleWrapper { > .documentView-titleWrapper-hover { display: flex; } // > .documentView-contentsView { // opacity: 0.5; // } > .documentView-captionWrapper { opacity: 1; } } } .documntViewInternal-dropdown { > div { transform-origin: top left !important; } } .contentFittingDocumentView { position: relative; display: flex; width: 100%; height: 100%; transition: inherit; .contentFittingDocumentView-previewDoc { position: relative; display: inline; transition: inherit; } .contentFittingDocumentView-input { position: absolute; max-width: 150px; width: 100%; bottom: 0px; } .documentView-node:first-child { position: relative; } }