/* Position components */ .pos-topleft { position: absolute; --distance: 8px; --size: 8px; --cornermap: 0 0 var(--size) 0; top: var(--distance); left: var(--distance); } .pos-topright { position: absolute; --distance: 8px; --size: 8px; --cornermap: 0 0 0 var(--size); top: var(--distance); right: var(--distance); } .pos-botleft { position: absolute; --distance: 8px; --size: 8px; --cornermap: 0 var(--size) 0 0; bottom: var(--distance); left: var(--distance); } .pos-botright { position: absolute; --distance: 8px; --size: 8px; --cornermap: var(--size) 0 0 0; bottom: var(--distance); right: var(--distance); } .pos-flush { --distance: 0; } /* Size components */ .size-fullwidth { overflow: hidden; width: 100%; } .size-halfgap { --size: 4px; } /* Default components */ .style-sidebar { display: inline-block; box-sizing: border-box; padding: 8px; background-color: #fff4; border-radius: var(--cornermap); } .style-box { display: inline-block; box-sizing: border-box; pointer-events: all; padding: 8px; background-color: #202020; color: #fff; box-shadow: 0 0 8px 0 #0008; border-radius: 4px; } .style-element-header { margin-top: 4px; margin-bottom: -8px; } .style-inner { display: inline-block; box-sizing: border-box; width: 100%; max-height: 100%; padding: 8px; overflow-y: auto; overflow-x: hidden; background-color: #0004; color: #fff; border-radius: 4px; } .style-container { width: 100%; height: 100%; z-index: 2; } .style-scrim { pointer-events: none; z-index: 8; background-color: #0008; opacity: 0; transition: opacity 0.125s; } .style-scrim.open { pointer-events: all; opacity: 1; } /* Legacy components */ .search-tag { flex-shrink: 0; height: 28px; padding: 0 8px; white-space: nowrap; } /* Flags */ .flag-no-pointer { pointer-events: inherit; } /* Display components */ .display-flex-row { display: flex; flex-direction: row; gap: 8px; } .display-flex-column { display: flex; flex-direction: column; gap: 8px; } .display-flex-center { display: flex; align-items: center; justify-content: center; } .display-flex-row-scroll { display: flex; flex-direction: row; align-items: center; gap: 8px; overflow-x: auto; overflow-y: hidden; padding: 4px 0; } .display-flex-header { display: flex; flex-direction: row; justify-content: space-between; gap: 8px; overflow: clip; }