Spaces:
Sleeping
Sleeping
| @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap'); | |
| @import url('tldraw/tldraw.css'); | |
| :root { | |
| --bg-body: #000000; | |
| --bg-panel: #000000; | |
| --bg-surface: #111111; | |
| --primary: #ffffff; | |
| --accent: #0070f3; | |
| --text-main: #ffffff; | |
| --text-muted: #888888; | |
| --border: #333333; | |
| --success: #0070f3; | |
| } | |
| body { | |
| font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; | |
| overscroll-behavior: none; | |
| background-color: var(--bg-body); | |
| color: var(--text-main); | |
| margin: 0; | |
| -webkit-font-smoothing: antialiased; | |
| } | |
| .RoomWrapper { | |
| --background: white; | |
| --text: hsl(0, 0%, 20%); | |
| --gray-light: #f5f5f5; | |
| --gray-dark: #e5e5e5; | |
| --black-transparent-lighter: rgba(0, 0, 0, 0.15); | |
| --black-transparent-light: rgba(0, 0, 0, 0.4); | |
| --black-transparent-dark: rgba(0, 0, 0, 0.6); | |
| --black-transparent-darker: rgba(0, 0, 0, 0.7); | |
| --focus: hsl(217, 89%, 61%); | |
| --whiteboard: hsl(240, 5%, 96%); | |
| color-scheme: light; | |
| } | |
| :root:has(.tl-theme__dark) .RoomWrapper { | |
| --background: black; | |
| --text: hsl(0, 9%, 94%); | |
| --gray-light: #333; | |
| --gray-dark: #444; | |
| --black-transparent-lighter: rgba(255, 255, 255, 0.15); | |
| --black-transparent-light: rgba(255, 255, 255, 0.4); | |
| --black-transparent-dark: rgba(255, 255, 255, 0.6); | |
| --black-transparent-darker: rgba(255, 255, 255, 0.7); | |
| --focus: hsl(217, 89%, 61%); | |
| --whiteboard: hsl(240, 5%, 6.5%); | |
| color-scheme: dark; | |
| } | |
| .RoomWrapper { | |
| display: flex; | |
| flex-direction: column; | |
| position: absolute; | |
| inset: 0px; | |
| } | |
| .RoomWrapper-header { | |
| display: flex; | |
| flex-direction: row; | |
| justify-content: flex-start; | |
| align-items: center; | |
| padding: 8px 16px; | |
| gap: 16px; | |
| background: var(--background); | |
| border-bottom: 1px solid var(--gray-dark); | |
| color: var(--text); | |
| font-size: 14px; | |
| } | |
| .RoomWrapper-copy { | |
| background: var(--black-transparent-lighter); | |
| border: 1px solid var(--gray-dark); | |
| border-radius: 4px; | |
| padding: 4px 12px; | |
| height: 24px; | |
| cursor: pointer; | |
| position: relative; | |
| text-align: center; | |
| } | |
| .RoomWrapper-copy:has(.RoomWrapper-copied) { | |
| color: transparent; | |
| } | |
| .RoomWrapper-copied { | |
| color: var(--text); | |
| position: absolute; | |
| inset: 0; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| } | |
| .RoomWrapper-copy:hover { | |
| border: 1px solid var(--black-transparent-lighter); | |
| } | |
| .RoomWrapper-content { | |
| position: relative; | |
| flex: 1; | |
| } | |
| /* Apply custom colors to geo shapes */ | |
| .custom-geo-colors svg [fill]:not([fill="none"]) { | |
| fill: var(--custom-fill-color) ; | |
| fill-opacity: var(--custom-fill-opacity) ; | |
| } | |
| .custom-geo-colors svg [stroke]:not([stroke="none"]) { | |
| stroke: var(--custom-stroke-color) ; | |
| stroke-opacity: var(--custom-stroke-opacity) ; | |
| } | |
| /* Hide default tldraw fill/stroke when using RoughJS hatch pattern */ | |
| .tl-hatch-active .tl-shape-svg path, | |
| .tl-hatch-active .tl-shape-svg rect, | |
| .tl-hatch-active .tl-shape-svg ellipse, | |
| .tl-hatch-active .tl-shape-svg circle, | |
| .tl-hatch-active .tl-shape-svg polygon, | |
| .tl-hatch-active .tl-shape-svg polyline { | |
| fill: transparent ; | |
| stroke: transparent ; | |
| } | |
| /* Keep text visible */ | |
| .tl-hatch-active text { | |
| fill: inherit ; | |
| stroke: none ; | |
| } | |