@import '../global/globalCssVariables'; .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, .documentView-node-topmost { position: inherit; top: 0; left: 0; width: 100%; height: 100%; border-radius: inherit; transition: outline 0.3s linear; // background: $white; //overflow: hidden; transform-origin: left top; &.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-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; .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; .documentView-styleContentWrapper { width: 100%; display: inline-block; position: absolute; } .documentView-titleWrapper, .documentView-titleWrapper-hover { overflow: hidden; color: $black; transform-origin: top left; top: 0; width: 100%; height: 14; background: rgba(0, 0, 0, 0.4); text-align: center; text-overflow: ellipsis; white-space: pre; position: absolute; } .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-node-topmost:hover { > .documentView-styleWrapper { > .documentView-titleWrapper-hover { display: inline-block; } // > .documentView-contentsView { // opacity: 0.5; // } > .documentView-captionWrapper { opacity: 1; } } } .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; background: '#B59B66'; //$white; } }