Skip to content

Instantly share code, notes, and snippets.

@xhluca
Created September 21, 2020 20:20
Show Gist options
  • Save xhluca/940d75b96bbaf4f1f983ced1e23894a4 to your computer and use it in GitHub Desktop.
Save xhluca/940d75b96bbaf4f1f983ced1e23894a4 to your computer and use it in GitHub Desktop.
/* monochrome theme */
/* Colors */
/* Typography */
/* Borders */
/* Shadows */
/* Layout */
body {
user-select: none;
background: #000;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
font-weight: 200;
font-size: 14px;
line-height: 24px;
}
#container {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
overflow: hidden;
}
#control-panel {
position: fixed;
width: 348px;
height: calc(100vh - 150px);
border-bottom: solid 1px #000;
}
#timeline {
position: fixed;
left: 348px;
right: 0;
bottom: 0;
border-left: solid 1px #000;
}
#hud {
position: fixed;
width: 348px;
height: 149px;
left: 0;
bottom: 0;
}
#toolbar {
position: fixed;
top: calc(50vh - 74px);
right: 0;
transform: translateY(-50%);
}
.mapboxgl-ctrl-logo {
margin-left: 350px !important;
margin-bottom: 2px !important;
opacity: 0.4;
}
#control-panel {
display: flex;
flex-direction: column;
background: #333333;
color: #F8F8F9;
opacity: 0.9;
}
#control-panel #logo {
text-align: left;
margin: 20px 0;
}
#control-panel #logo img {
width: 120px;
}
#control-panel #help-btn {
position: absolute;
top: 30px;
right: 12px;
}
#control-panel header, #control-panel footer {
flex: 0 0 auto;
text-align: center;
}
#control-panel header {
padding: 12px;
}
#control-panel header #tabs {
display: flex;
width: 100%;
}
#control-panel header .tab {
flex-grow: 1;
background: #000;
cursor: pointer;
display: inline-block;
line-height: 0;
border: solid 1px transparent;
padding: 12px;
margin: -4px 0;
color: #A5A5A6;
text-transform: capitalize;
}
#control-panel header .tab:hover {
color: #F8F8F9;
}
#control-panel header .tab.active {
border-color: #000;
background: #404042;
color: #fff;
}
#control-panel main {
flex: 1 1 auto;
padding: 12px;
overflow-y: auto;
overflow-x: hidden;
}
#control-panel main::-webkit-scrollbar {
width: 8px;
background: none;
}
#control-panel main::-webkit-scrollbar-thumb {
background: #222222;
}
#control-panel h4 {
text-transform: uppercase;
opacity: 0.4;
font-weight: 500;
font-size: 12px;
margin-top: 16px;
margin-bottom: 0;
}
#control-panel #log-info {
margin-top: -12px;
}
#control-panel #log-info a {
text-decoration: none;
color: #5B91F4;
}
#control-panel #help {
margin-top: -12px;
}
#control-panel #help table {
width: 100%;
}
#control-panel #help td {
width: 50%;
}
#toolbar {
background: #222222;
display: flex;
flex-direction: column;
align-items: center;
z-index: 9999;
}
#toolbar .active {
background: #5B91F4 !important;
color: #F8F8F9 !important;
}
#toolbar .selected .path1:before {
color: #5B91F4 !important;
}
#toolbar .selected .path2:before {
color: #fff !important;
}
#toolbar .menu {
width: 168px;
display: flex;
}
#hud {
display: flex;
background: #333333;
opacity: 0.9;
box-sizing: border-box;
padding: 12px 8px;
}
#hud .hud-column {
width: 108px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
}
#hud .autonomy-state {
font-size: 12px;
width: 92px;
text-align: center;
text-transform: capitalize;
padding: 4px 0;
}
/*# sourceMappingURL=dark.css.map */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment