UNPKG

threed-garden

Version:

ThreeD Garden: WebGL 3D Environment Interface for Next.JS React TypeScript Three.JS React-Three Physics, 2D Paper.JS; APIs: Apollo GraphQL, WordPress; CSS: Tailwind, Radix-UI; Libraries: FarmBot 3D; AI: OpenAI, DeepSeek

675 lines (560 loc) 11 kB
#planView { /* background-color: white; */ } #planCanvas { /* top: 0px; bottom: 50px; left: 30px; right: 0px; */ /* background-color: #09090D; */ background-color: transparent; } #rulerLeft { /* position: absolute; */ background-color: #636363; /* border: 1px solid darkred; */ } #rulerBottom { /* position: absolute; */ background-color: #636363; } /* Scrollbar */ /* ::-webkit-scrollbar { width: 10px; } */ /* Track */ /* ::-webkit-scrollbar-track { background: #f1f1f1; } */ /* Handle */ /* ::-webkit-scrollbar-thumb { background: #888; } */ /* Handle on hover */ /* ::-webkit-scrollbar-thumb:hover { background: #787878; } */ #toolBar { position: absolute; top: 0px; left: 0px; right: 0px; height: 30px; background-color: #131418; } #progressBar { width: 500px; height: 24px; position: absolute; left: 50%; top: 10px; margin-left: -250px; } #catalogFilters { /* position: absolute; */ top: 0px; left: 0px; width: 100%; /* height: 32px; */ background-color: #09090D } #catalogTextFilter { font-size: 14px; /* margin-top: 4px; */ /* margin-left: 4px; */ width: 164px; padding: 0 4px; color: white; border: 1px solid #2a2a2a; background-color: #131418; } #catalogItems { position: absolute; /* top: 30px; */ top: 0px; bottom: 0px; overflow-y: auto; overflow-x: auto; cursor: default; /* border-top: 1px solid gray; */ /* border-bottom: 1px solid gray; */ background-color: #09090D; } #catalogView { /* position: absolute; */ position: relative; height: 100%; background-color: #131418; } #propertiesView { /* display: none; */ display: block; /* position: absolute; */ /* position: relative; */ /* bottom: 0; */ overflow-y: auto; overflow-x: auto; background-color: #09090D; color: white; font-size: 12px; } #propertiesView input { font-size: 12px; color: white; background-color: #131418; padding: 2px 4px 2px 4px; width: 32px; } #propertiesView a { color: white; } #view3d { /* position: absolute; */ cursor: default; } #model3dView { width: 1024px; height: 520px; margin-left: -16px; position: relative; } #modalModelDescription { position: absolute; top: 80px; left: 16px; width: 350px; height: 400px; } #modalModel3dObjHeader { width: 390px; height: 300px; font-size: 12px; overflow: auto; color: white; background-color: #131418; } #modalLoadingDataInfo { width: 760px; height: 180px; font-size: 12px; overflow: auto; color: white; background-color: #131418; } #verticalSlider { position: absolute; background-color: #2a2a2a; cursor: ew-resize; } #horizontalSliderLeft { position: absolute; background-color: #2a2a2a; cursor: ns-resize; } #horizontalSliderRight { position: absolute; background-color: #2a2a2a; cursor: ns-resize; } #threedDragDiv { display: none; position: absolute; /* top: 0px; */ /* left: 0px; */ width: 100px; height: 100px; opacity: 0.80; border: 1px solid darkgreen; } .disableSelection { -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; outline: 0; } #mouseIndicatorX { /* display: none; */ position: absolute; background-color: rgba(128, 128, 128, .5); text-align: center; pointer-events: none; z-index: 98; } #mouseIndicatorY { /* display: none; */ position: absolute; background-color: rgba(128, 128, 128, 0.5); text-align: center; pointer-events: none; z-index: 98; } #compass { /* display: none; */ /* position: absolute; right: 70px; top: 140px; */ opacity: 0.5; pointer-events: none; transform-origin: bottom center; } #compass:after { /* content: url('/media/compass_140.png'); */ /* position: absolute; margin-top: -70px; margin-left: -21px; */ pointer-events: none; } #toolBar ul { /* list-style-type: none; margin: 0; padding: 0; overflow: hidden; background-color: #131418; */ } #toolBar li { /* float: left; */ } .dropbtn { display: inline-block; color: white; text-align: center; padding-top: 16px; padding-left: 24px; padding-right: 24px; padding-bottom: 16px; text-decoration: none; font-size: 19px; transition: 0.15s; cursor: pointer; } .toolButton { padding-top: 4px; padding-left: 24px; padding-right: 24px; padding-bottom: 2px; margin: 0px; transition: 0.15s; } .activeTool { background-color: #787878; } /* li a:hover, .dropdown:hover .dropbtn { background-color: #787878; } */ /* li a:focus, .dropdown:hover .dropbtn { background-color: #bbbbbb; } */ /* li.dropdown { display: inline-block; } */ .dropdown-content { display: none; position: absolute; background-color: #131418; min-width: 160px; box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2); z-index: 99; } .dropdown-content a { color: white; padding: 12px 24px; text-decoration: none; display: block; text-align: left; } .dropdown-content a:hover { background-color: #787878; } .dropdown:hover .dropdown-content { display: block; } .threedItem { /* display: none; */ width: 64px; height: 64px; border: 1px solid #2a2a2a; float: left; margin: 2px; background-color: #131418; text-align: center; } .threedItem:hover { background-color: #787878; cursor: pointer; } .threedName { font-size: 12px; color: #09090D; } .threedThumb { /* display: none; */ height: 48px; pointer-events: none; margin-top: 8px; } .modal { display: none; position: fixed; z-index: 1; left: 64px; top: 64px; width: 100%; height: 100%; overflow: auto; background-color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0.4); } .modal-close { color: white; float: right; font-size: 28px; font-weight: 100; letter-spacing: 1em; } .modal-close:hover, .modal-close:focus { color: gray; text-decoration: none; cursor: pointer; } .modal-header { padding: 2px 16px; background-color: #131418; color: white; } .modal-body { padding: 2px 16px; height: 100%; color: white; } .modal-body a { color: white; } .modal-footer { padding: 2px 16px; font-weight: 100; font-size: 14px; background-color: #131418; color: #333333; } .modal-footer a { color: #333333; } .modal-content { position: relative; background-color: #09090D; margin: auto; padding: 0; border: 1px solid #333333; /* top: 15%; */ /* width: 100%; */ box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); animation-name: animatetop; animation-duration: 0.4s; } .modal-small { display: none; position: fixed; z-index: 1; left: 0px; top: 0px; width: 100%; height: 100%; overflow: auto; background-color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0.4); } .modal-small-header { padding: 2px 16px; background-color: #131418; color: white; } .modal-small-body { padding: 2px 16px; height: 266px; color: white; } .modal-small-body a { color: white; } .modal-small-footer { font-size: 14px; font-weight: 100; padding: 2px 16px; background-color: #131418; color: #bebebe; } .modal-small-footer a { color: #bebebe; } .modal-small-content { position: relative; background-color: #09090D; margin: auto; padding: 0; border: 1px solid #333333; top: 25%; width: 800px; box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); } /* Add Animation */ /* @keyframes animatetop { from { top: -300px; opacity: 0 } to { top: 15%; opacity: 1 } } */ #fullscreenPlanViewBtn { position: absolute; cursor: pointer; } #fullscreen3dViewBtn { position: absolute; cursor: pointer; } .moreInfoBtn { font-size: 12px; cursor: pointer; padding: 4px 16px 4px 16px; border: 1px solid #2a2a2a; color: white; background-color: #131418; } #model3dLargeThumb { width: 128px; height: 128px; pointer-events: none; } #localStoragePlanDiv { display: none; background-color: #09090D; } #localStoragePlanImage { border: 2px solid #2a2a2a; background-color: #2a2a2a; cursor: pointer; } #localStoragePlanImage:hover { background-color: #09090D; } #loadLocalStoragePlanBtn { margin-top: 10px; font-size: 19px; cursor: pointer; border: 1px solid #2a2a2a; color: white; padding: 12px 24px; background-color: #131418; } #loadLocalStoragePlanBtn:hover { background-color: #787878; } #featuredPlanImage { border: 2px solid #2a2a2a; background-color: #2a2a2a; cursor: pointer; } #featuredPlanImage:hover { background-color: #09090D; } #localStoragePlanLastSavedDate { font-size: 12px; color: #bebebe; } .largeButton { margin-top: 10px; font-size: 18px; cursor: pointer; border: 1px solid #2a2a2a; color: white; padding: 12px 24px; background-color: #131418; text-decoration: none; } .largeButton:hover { background-color: #787878; } .smallButton { font-size: 12px; cursor: pointer; border: 1px solid #2a2a2a; color: white; padding: 1px 12px 1px 12px; background-color: #131418; text-decoration: none; } .smallButton:hover { background-color: #787878; } .mediumButton { font-size: 16px; cursor: pointer; border: 1px solid #2a2a2a; color: white; padding: 4px 24px 4px 24px; background-color: #131418; } .mediumButton:hover { background-color: #787878; } .levelBtn { display: none; position: absolute; left: 0px; width: 100px; height: 20px; border: 1px solid #2a2a2a; color: white; background-color: #131418; cursor: pointer; font-size: 12px; } .propertiesViewBtn { font-size: 16px; cursor: pointer; border: 1px solid #2a2a2a; color: white; padding: 12px 24px; background-color: #131418; } .propertiesViewBtn:hover{ background-color: #787878; } #overlayLogoPlanView { display: none; } #overlayLogo3dView { display: none; } .overlayLogo { display: block; position: absolute; top: 50px; left: 40px; } .overlayLogo a { color: white; } .overlayLogo img { margin-top: -20px; } #overlayMenu3dView { display: none; position: absolute; bottom: 10px; left: 10px; } #overlayMenuPlanView { display: none; position: absolute; bottom: 30px; left: 40px; }