Files

122 lines
2.1 KiB
CSS

/* Railtrack Pro - Main Styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
color: #ffffff;
overflow: hidden;
}
#app {
display: flex;
flex-direction: column;
height: 100vh;
}
header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 15px 20px;
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
header h1 {
font-size: 1.8rem;
color: #fb5607;
text-shadow: 0 0 10px rgba(251, 86, 7, 0.5);
}
#controls {
display: flex;
gap: 10px;
}
button {
padding: 10px 20px;
border: none;
border-radius: 8px;
background: rgba(251, 86, 7, 0.3);
color: #ffffff;
cursor: pointer;
font-size: 1rem;
transition: all 0.3s ease;
border: 2px solid rgba(251, 86, 7, 0.5);
}
button:hover {
background: rgba(251, 86, 7, 0.6);
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(251, 86, 7, 0.3);
}
button.active {
background: #fb5607;
box-shadow: 0 0 15px rgba(251, 86, 7, 0.7);
}
#viewport {
flex: 1;
position: relative;
cursor: crosshair;
}
#viewport canvas {
display: block;
}
#info-panel {
width: 250px;
background: rgba(0, 0, 0, 0.3);
padding: 15px;
margin: 10px;
border-radius: 10px;
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.1);
}
#stats {
margin-bottom: 15px;
}
#stats h3 {
color: #fb5607;
margin-bottom: 5px;
}
#stats p {
font-size: 0.9rem;
color: #cccccc;
}
#selected-info {
padding-top: 15px;
border-top: 1px solid rgba(255, 255, 255, 0.1);
}
#selected-info h4 {
color: #fb5607;
margin-bottom: 10px;
}
#selected-info p {
font-size: 0.85rem;
color: #cccccc;
}
.tooltip {
position: absolute;
background: rgba(0, 0, 0, 0.8);
padding: 5px 10px;
border-radius: 5px;
pointer-events: none;
font-size: 0.85rem;
}