@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: 1; } .documentDecorations-radius { pointer-events: auto; background: black; opacity: 1; transform: translate(10px, 10px); grid-row: 4; } #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-borderRadius { grid-column-start: 5; grid-column-end: 7; border-radius: 100%; .borderRadiusTooltip { width: 10px; height: 10px; position: absolute; } } #documentDecorations-topLeftResizer, #documentDecorations-bottomRightResizer { cursor: nwse-resize; } #documentDecorations-bottomRightResizer { grid-row: 4; } #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; opacity: 1; grid-column-start: 3; grid-column-end: 4; pointer-events: auto; overflow: hidden; text-align: center; display:inline-block; } .publishBox { width: 20px; height: 22px; grid-column-start: 3; grid-column-end: 4; pointer-events: all; background: darkgray; display: inline-block; position: absolute; right: 0; } } .documentDecorations-closeButton { background: $alt-accent; opacity: 1; grid-column-start: 4; grid-column-end: 6; pointer-events: all; text-align: center; cursor: pointer; padding-right: 10px; } .documentDecorations-minimizeButton { background: $alt-accent; opacity: 1; grid-column-start: 1; grid-column-end: 3; pointer-events: all; text-align: center; cursor: pointer; position: absolute; left: 0px; top: 0px; padding-top: 5px; width: $MINIMIZED_ICON_SIZE; height: $MINIMIZED_ICON_SIZE; } .documentDecorations-background { background: lightblue; position: absolute; opacity: 0.1; } .linkFlyout { grid-column: 2/4; } .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 { margin-top: $linkGap; width: max-content; height: auto; display: flex; flex-direction: row; z-index: 5; position: absolute; } .linkButtonWrapper { pointer-events: auto; padding-right: 5px; width: 25px; } .linkButton-linker { 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; 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; } .documentdecorations-icon { margin-top: 3px; } .documentdecorations-times { margin-top: 3px; padding-right: 3px; } .templating-button, .docDecs-tagButton { 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: 25px; left: 0px; width: max-content; font-family: $sans-serif; font-size: 12px; background-color: $light-color-secondary; padding: 2px 12px; list-style: none; .templateToggle, .chromeToggle { text-align: left; } input { margin-right: 10px; } } @-moz-keyframes spin { 100% { -moz-transform: rotate(360deg); } } @-webkit-keyframes spin { 100% { -webkit-transform: rotate(360deg); } } @keyframes spin { 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } @keyframes shadow-pulse { 0% { box-shadow: 0 0 0 0px rgba(0, 0, 0, 0.8); } 100% { box-shadow: 0 0 0 10px rgba(0, 255, 0, 0); } }