style.css
ASCII text
1@import "/static/efficient-ui/MASTER.css"; 2 3:root { 4--gap-navbar: 1rem; 5--width-navbar-button: 0; 6--text-soft: #000000C0; 7--text-softer: #0000009A; 8--text-faint: #00000066; 9} 10 11p { 12color: var(--text-soft); 13} 14 15iconify-icon { 16display: inline-block; 17width: 1em; 18height: 1em; 19} 20 21:is(#shape-selector, #shape-options) > button > iconify-icon { 22font-size: 2rem; 23} 24 25#annotation-zone { 26position: relative; 27user-select: none; 28} 29 30#annotation-image { 31user-drag: none; 32-webkit-user-drag: none; 33} 34 35#annotation-zone > svg { 36z-index: 1; 37position: absolute; 38top: 0; 39left: 0; 40width: 100%; 41height: 100%; 42} 43 44.annotation-ruler { 45z-index: 2; 46position: absolute; 47top: 0; 48left: 0; 49background: var(--color-accent); 50display: none; 51} 52 53#annotation-ruler-horizontal, #annotation-ruler-horizontal-secondary { 54height: 1px; 55width: 100%; 56} 57 58#annotation-ruler-vertical, #annotation-ruler-vertical-secondary { 59width: 1px; 60height: 100%; 61} 62 63.shape { 64stroke: var(--color-accent); 65fill: var(--color-accent); 66fill-opacity: 0.1; 67stroke-width: 2px; 68vector-effect: non-scaling-stroke; 69pointer-events: auto; 70transition: filter 0.25s cubic-bezier(0.61, 1, 0.88, 1), 71fill-opacity 0.25s cubic-bezier(0.61, 1, 0.88, 1), 72stroke-width 0.25s cubic-bezier(0.61, 1, 0.88, 1); 73stroke-linecap: square; 74stroke-linejoin: miter; 75} 76 77.shape-polyline { 78fill: none; 79} 80 81.shape-point { 82stroke: var(--color-accent); 83stroke-width: 2px; 84fill-opacity: 1; 85r: 2; 86transition: r 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), 87stroke-width 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), 88filter 0.25s cubic-bezier(0.61, 1, 0.88, 1); 89} 90 91.shape.selected { 92fill-opacity: 0.2; 93stroke-width: 4px; 94filter: drop-shadow(0 0 2px var(--text-soft)); 95} 96 97.shape-point.selected { 98fill-opacity: 1; 99r: 6; 100stroke-width: 6px; 101} 102 103.shape-container { 104pointer-events: none; 105} 106 107#annotation-helper-message { 108min-height: 2lh; 109} 110