UNPKG

@robotical/roboticaljs

Version:

Javascript/TS library for Robotical products

123 lines (105 loc) 2.25 kB
/* Main.css */ /* General styling for the dark theme */ body, .device-screen, .device-block-heading, .device-attrs-and-actions, .device-attrs-form, .device-actions-form, .device-line-chart { /* Dark background for all components */ color: #fff; /* Light text for better readability */ font-family: 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; background-color: #282c34; color: #ffffff; } code { font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace; } .header { display: flex; align-items: center; justify-content: space-between; padding: 10px 20px; border: 1px solid #666; /* Adjusting border color for dark theme */ border-radius: 8px; margin-bottom: 10px; } h1 { margin: 0; } .always-enabled { pointer-events: auto !important; /* Ensures interactions are always enabled */ } .content-body { display: flex; flex-direction: column; gap: 10px; } .content-row { display: flex; justify-content: space-between; margin-bottom: 10px; flex-direction: col; } .conn-indication { display: flex; align-items: center; justify-content: center; padding: 10px; border-radius: 8px; margin-bottom: 10px; } .action-button { margin-left: 10px; } .info-boxes { display: flex; justify-content: flex-start; margin-bottom: 10px; gap: 10px; } .info-box { display: flex; flex-direction: column; align-items: center; border-radius: 10px; padding: 10px 20px; border: 1px solid #666; } .ip-addr-input { width: 100%; margin-bottom: 10px; } .status-screen { display: flex; flex-direction: column; gap: 10px; border-radius: 10px; padding: 10px 20px; border: 1px solid #666; } .info { display: flex; flex-direction: column; justify-content: space-between; } .info-line { display: flex; justify-content: space-between; margin-bottom: 10px; } .info-label { font-weight: bold; margin-right: 10px; } .info-value { font-weight: normal; }