@import "globalCssVariables"; $linkGap : 3px; .documentDecorations { position: absolute; } .documentDecorations-container { z-index: $docDecorations-zindex; position: absolute; top: 0; left: 0; display: grid; grid-template-rows: 20px 8px 1fr 8px; grid-template-columns: 8px 16px 1fr 8px 8px; pointer-events: none; #documentDecorations-centerCont { grid-column: 3; background: none; } .documentDecorations-resizer { pointer-events: auto; background: $alt-accent; opacity: 0.8; } #documentDecorations-topLeftResizer, #documentDecorations-leftResizer, #documentDecorations-bottomLeftResizer { grid-column: 1 } #documentDecorations-topResizer, #documentDecorations-bottomResizer { grid-column-start: 2; grid-column-end: 5; } #documentDecorations-bottomRightResizer, #documentDecorations-topRightResizer, #documentDecorations-rightResizer { grid-column-start: 5; grid-column-end: 7; } #documentDecorations-topLeftResizer, #documentDecorations-bottomRightResizer { cursor: nwse-resize; } #documentDecorations-topRightResizer, #documentDecorations-bottomLeftResizer { cursor: nesw-resize; } #documentDecorations-topResizer, #documentDecorations-bottomResizer { cursor: ns-resize; } #documentDecorations-leftResizer, #documentDecorations-rightResizer { cursor: ew-resize; } .title{ background: $alt-accent; grid-column-start: 3; grid-column-end: 4; pointer-events: auto; overflow: hidden; } } .documentDecorations-closeButton { background: $alt-accent; opacity: 0.8; grid-column-start: 4; grid-column-end: 6; pointer-events: all; text-align: center; cursor: pointer; } .documentDecorations-minimizeButton { background: $alt-accent; opacity: 0.8; grid-column-start: 1; grid-column-end: 3; pointer-events: all; text-align: center; cursor: pointer; position: absolute; left: 0px; top: 0px; width: $MINIMIZED_ICON_SIZE; height: $MINIMIZED_ICON_SIZE; } .documentDecorations-background { background: lightblue; position: absolute; opacity: 0.1; } .linkFlyout { grid-column: 2/4; margin-top: $linkGap; } .linkButton-empty:hover { background: $main-accent; transform: scale(1.05); cursor: pointer; } .linkButton-nonempty:hover { background: $main-accent; transform: scale(1.05); cursor: pointer; } .link-button-container { grid-column: 1/4; width: auto; height: auto; display: flex; flex-direction: row; } .linkButton-linker { margin-left: 5px; margin-top: $linkGap; height: 20px; width: 20px; text-align: center; border-radius: 50%; pointer-events: auto; color: $dark-color; border: $dark-color 1px solid; } .linkButton-linker:hover { cursor: pointer; transform: scale(1.05); } .linkButton-empty, .linkButton-nonempty { height: 20px; width: 20px; border-radius: 50%; opacity: 0.9; pointer-events: auto; background-color: $dark-color; color: $light-color; text-transform: uppercase; letter-spacing: 2px; font-size: 75%; transition: transform 0.2s; text-align: center; display: flex; justify-content: center; align-items: center; &:hover { background: $main-accent; transform: scale(1.05); cursor: pointer; } } .templating-menu { position: absolute; bottom: 0; left: 50px; pointer-events: auto; text-transform: uppercase; letter-spacing: 2px; font-size: 75%; transition: transform 0.2s; text-align: center; display: flex; justify-content: center; align-items: center; } .fa-icon-link { margin-top: 3px; } .templating-button { width: 20px; height: 20px; border-radius: 50%; opacity: 0.9; font-size:14; background-color: $dark-color; color: $light-color; text-align: center; cursor: pointer; &:hover { background: $main-accent; transform: scale(1.05); } } #template-list { position: absolute; top: 0; left: 30px; width: max-content; font-family: $sans-serif; font-size: 12px; background-color: $light-color-secondary; padding: 2px 12px; list-style: none; .templateToggle { text-align: left; } input { margin-right: 10px; } }