Design komplett erneuert. Menü einklappbar. Koordinaten werden angezeigt
This commit is contained in:
@@ -4,73 +4,117 @@ html, body {
|
||||
}
|
||||
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
height: 100vh;
|
||||
display: grid;
|
||||
grid-template-rows: 80px 1fr;
|
||||
grid-template-columns: 250px 1fr;
|
||||
grid-template-areas:
|
||||
"header header"
|
||||
"sidebar main";
|
||||
font-family: 'Trebuchet MS';
|
||||
|
||||
body{
|
||||
margin:0;
|
||||
overflow:hidden;
|
||||
font-family: 'Inter', sans-serif;
|
||||
background: var(--bg);
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
|
||||
#header {
|
||||
color: white;
|
||||
grid-area: header;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
position: relative;
|
||||
font-size: 28px;
|
||||
font-weight: bold;
|
||||
background: rgb(42, 119, 252);
|
||||
#main{
|
||||
width:100vw;
|
||||
height:100vh;
|
||||
position:relative;
|
||||
}
|
||||
|
||||
|
||||
.logos {
|
||||
position: absolute;
|
||||
bottom: 20px;
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
#header{
|
||||
position:absolute;
|
||||
top:20px;
|
||||
left:50%;
|
||||
transform:translateX(-50%);
|
||||
z-index:30;
|
||||
padding:14px 28px;
|
||||
border-radius: 20px;
|
||||
background:
|
||||
linear-gradient(
|
||||
135deg,
|
||||
rgba(200, 200, 200, 0.221) 10%,
|
||||
rgba(79, 79, 79, 0.756) 60%,
|
||||
rgba(47, 47, 47, 0.864) 100%
|
||||
),
|
||||
rgba(24,24,27,0.78);
|
||||
backdrop-filter: blur(16px);
|
||||
color:white;
|
||||
font-size:24px;
|
||||
font-weight:600;
|
||||
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.536);
|
||||
}
|
||||
|
||||
.logos img {
|
||||
width: 100px;
|
||||
height: auto;
|
||||
.logos{
|
||||
margin-top:50px;
|
||||
margin-left: 12px;
|
||||
opacity:0.8;
|
||||
}
|
||||
|
||||
.logos img{
|
||||
width:80px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
#location {
|
||||
position: absolute;
|
||||
right: 0%;
|
||||
top: 14vh;
|
||||
width: 2.5vw;
|
||||
height: auto;
|
||||
margin: 0.45%;
|
||||
z-index: 10;
|
||||
.logos img:hover{
|
||||
transform:translateY(-1px);
|
||||
box-shadow: 0 6px 18px rgba(0,0,0,0.12);
|
||||
}
|
||||
|
||||
#location-button{
|
||||
position:absolute;
|
||||
z-index: 30;
|
||||
top:110px;
|
||||
right:10px;
|
||||
width:30px;
|
||||
height:30px;
|
||||
display:flex;
|
||||
align-items:center;
|
||||
justify-content:center;
|
||||
border-radius:8px;
|
||||
background:white;
|
||||
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
|
||||
}
|
||||
|
||||
#location{
|
||||
width:20px;
|
||||
height:20px;
|
||||
object-fit:contain;
|
||||
margin-left: 1px;
|
||||
margin-top: 1px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
|
||||
#sidebar {
|
||||
grid-area: sidebar;
|
||||
padding: 20px;
|
||||
background: #eeeeee;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 15px;
|
||||
#location:hover{
|
||||
transform:scale(1.05);
|
||||
background:rgb(233, 232, 232);
|
||||
}
|
||||
|
||||
|
||||
#location-button:hover{
|
||||
background:rgb(233, 232, 232);
|
||||
}
|
||||
|
||||
#sidebar {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
transform:translateY(-50%);
|
||||
left: 20px;
|
||||
width: 200px;
|
||||
padding: 22px;
|
||||
background: rgba(255, 255, 255, 0.58);
|
||||
backdrop-filter: blur(18px);
|
||||
border: 1px solid rgba(255,255,255,0.3);
|
||||
border-radius: 24px;
|
||||
box-shadow: 0 10px 30px rgba(0,0,0,0.15);
|
||||
z-index: 20;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap:10px;
|
||||
}
|
||||
|
||||
#main {
|
||||
grid-area: main;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
|
||||
#map {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
@@ -88,4 +132,174 @@ body {
|
||||
|
||||
#potree_render_area canvas {
|
||||
background: transparent !important;
|
||||
}
|
||||
|
||||
select{
|
||||
appearance:none;
|
||||
-webkit-appearance:none;
|
||||
-moz-appearance:none;
|
||||
width:100%;
|
||||
padding:14px 16px;
|
||||
border:none;
|
||||
border-radius:14px;
|
||||
background:rgba(255,255,255,0.92);
|
||||
font-size:15px;
|
||||
font-weight:500;
|
||||
color:#0f172a;
|
||||
box-shadow: 0 2px 10px rgba(0,0,0,0.08);
|
||||
cursor:pointer;
|
||||
transition:0.2s;
|
||||
|
||||
}
|
||||
|
||||
#disable{
|
||||
appearance:none;
|
||||
-webkit-appearance:none;
|
||||
-moz-appearance:none;
|
||||
width:100%;
|
||||
padding:14px 16px;
|
||||
border:none;
|
||||
border-radius:14px;
|
||||
background:
|
||||
linear-gradient(
|
||||
135deg,
|
||||
rgba(18, 77, 216, 0.92) 10%,
|
||||
rgba(13, 61, 175, 0.92) 60%,
|
||||
rgba(6, 45, 135, 0.92) 100%
|
||||
),
|
||||
rgba(6, 45, 135, 0.92);
|
||||
font-size:15px;
|
||||
font-weight:500;
|
||||
color:#ffffff;
|
||||
box-shadow: 0 2px 10px rgba(0,0,0,0.08);
|
||||
cursor:pointer;
|
||||
transition:0.2s;
|
||||
margin-top: 8px;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
|
||||
select:hover{
|
||||
transform:translateY(-1px);
|
||||
box-shadow: 0 6px 18px rgba(0,0,0,0.12);
|
||||
}
|
||||
|
||||
select:focus{
|
||||
outline:none;
|
||||
box-shadow:0 0 0 4px rgba(37,99,235,0.15), 0 8px 24px rgba(0,0,0,0.12);
|
||||
}
|
||||
|
||||
|
||||
#disable:hover{
|
||||
transform:translateY(-1px);
|
||||
box-shadow: 0 6px 18px rgba(0,0,0,0.12);
|
||||
}
|
||||
|
||||
|
||||
*{
|
||||
transition:
|
||||
background 0.2s,
|
||||
transform 0.01s,
|
||||
opacity 0.2s;
|
||||
}
|
||||
|
||||
footer{
|
||||
z-index: 30;
|
||||
position: absolute;
|
||||
bottom: 8px;
|
||||
left: 10px;
|
||||
font-size: small;
|
||||
}
|
||||
|
||||
#pointSliderValue, #pointSizeSliderValue{
|
||||
font-size:80%;
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
|
||||
#pointSlider, #pointSizeSlider{
|
||||
width: 100%;
|
||||
|
||||
}
|
||||
|
||||
input[type="range"]{
|
||||
-webkit-appearance: none;
|
||||
width: 100%;
|
||||
height: 6px;
|
||||
background: #d1dbd1;
|
||||
border-radius: 999px;
|
||||
|
||||
outline: none;
|
||||
}
|
||||
|
||||
input[type="range"]::-webkit-slider-thumb{
|
||||
-webkit-appearance: none;
|
||||
width:16px;
|
||||
height:16px;
|
||||
border-radius:50%;
|
||||
background:
|
||||
linear-gradient(
|
||||
135deg,
|
||||
rgba(18, 77, 216, 0.92) 10%,
|
||||
rgba(13, 61, 175, 0.92) 60%,
|
||||
rgba(6, 45, 135, 0.92) 100%
|
||||
),
|
||||
rgba(6, 45, 135, 0.92);
|
||||
cursor:pointer;
|
||||
}
|
||||
|
||||
#title{
|
||||
z-index: 30;
|
||||
position: absolute;
|
||||
top: 75px;
|
||||
left: 50%;
|
||||
transform:translateX(-50%);
|
||||
font-size: small;
|
||||
color: #ffffff;
|
||||
text-shadow: 1px 1.5px #00000059;
|
||||
}
|
||||
|
||||
#coordinates{
|
||||
z-index: 30;
|
||||
position: absolute;
|
||||
bottom: 20px;
|
||||
left: 50%;
|
||||
transform:translateX(-50%);
|
||||
font-size: smaller;
|
||||
color: #000000cf;
|
||||
border: 1px solid rgba(0, 0, 0, 0.547);
|
||||
padding:8px;
|
||||
border-radius: 15px;
|
||||
background-color: rgba(255, 255, 255, 0.751);
|
||||
backdrop-filter: blur(10px);
|
||||
}
|
||||
|
||||
.sideBarButtons{
|
||||
font-family:monospace;
|
||||
border:none;
|
||||
border-radius:10px;
|
||||
background:
|
||||
linear-gradient(
|
||||
135deg,
|
||||
rgba(200, 200, 200, 0.221) 10%,
|
||||
rgba(79, 79, 79, 0.756) 60%,
|
||||
rgba(47, 47, 47, 0.864) 100%
|
||||
),
|
||||
rgba(24,24,27,0.78);
|
||||
font-size:15px;
|
||||
color:#ffffff;
|
||||
box-shadow: 0 2px 10px rgba(0,0,0,0.08);
|
||||
cursor:pointer;
|
||||
transition:0.2s;
|
||||
z-index: 30;
|
||||
}
|
||||
|
||||
#closeSideBarButton{
|
||||
align-self: flex-end;
|
||||
right: 0%;
|
||||
padding:5px 15px;
|
||||
}
|
||||
|
||||
#openSideBarButton{
|
||||
position: absolute;
|
||||
left: 5px;
|
||||
padding:5px 15px;
|
||||
}
|
||||
Reference in New Issue
Block a user