/* Styles used throughout the frontend */ body { background: $gray; } .initial-loading-text { position: absolute; top: 385px; z-index: -1; text-align: center; width: 100%; padding-top: 10%; color: $dark_gray; } .widget-body .row:not(:last-child) { margin-bottom: 1rem; } .color-picker-col { padding: 0; .bp3-popover-target { float: left; } } .colorpicker-menu { padding: 0; .bp3-popover-arrow-fill { fill: $dark_gray; } .bp3-popover-content { width: 13rem; background: $dark_gray; } .bp3-popover-content, .color-picker-cluster, .color-picker-item-wrapper, .saucer { display: inline-block; padding: 0.4rem; } } .bp3-popover.help { .bp3-popover-arrow { display: none !important; } .bp3-popover-arrow-fill { fill: $dark_gray; } .bp3-popover-content { width: 32rem; color: $white; background: $dark_gray; } } input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button, input[type=date]::-webkit-inner-spin-button, input[type=date]::-webkit-outer-spin-button, input[type=time]::-webkit-inner-spin-button, input[type=time]::-webkit-outer-spin-button, input[type=time] { -webkit-appearance: none; -moz-appearance: textfield; margin: 0; border-radius: 0; } .char-limit { float: right; font-size: 1.4rem; } .markdown { p { display: inline-block; color: $white; text-overflow: ellipsis; overflow: hidden; width: calc(100% - 13rem); white-space: nowrap; text-transform: none; margin-top: 0.3rem; } } fieldset { button { margin: 0.6rem 0 0 0.6rem; } } .saucer { position: relative; z-index: 2; height: 2rem; width: 2rem; background: $dark_gray; border-radius: 50%; cursor: pointer; &.active { border: 2px solid white; } &.hover { border: 2px solid $dark_gray; } p { font-weight: 900; color: $white; margin-left: 0.7rem; margin-top: 0.3rem; } } .icon-saucer { position: relative; z-index: 2; height: 2rem; width: 2rem; color: $dark_gray; cursor: pointer; &.active { border: 2px solid white; } &.hover { border: 2px solid $dark_gray; } } .saucer-connector { position: absolute; z-index: 1; height: 3rem; width: 1rem; margin-left: 0.5rem; margin-top: -1rem; &.last { margin-top: -9rem; height: 8rem; } } .connector-hover-area { visibility: hidden; stroke: white; pointer-events: all; } .connectivity-popover-portal { .bp3-transition-container { z-index: 999; } .connectivity-popover { .connectivity { padding: 1rem; max-width: 600px; .row { margin-bottom: 1rem; } .connectivity-diagram svg { max-height: 200px !important; } .network-info, .fbos-info { @media (max-width:767px) { display: none; } } } } } .connectivity-diagnosis { h4 { margin-left: 3rem; } p { padding-bottom: 1rem; } a { font-size: 1.1rem; } .fa-external-link { margin-right: 0.5rem; } } .chip-temp-display { position: relative; .saucer { position: absolute; top: 2px; right: 1rem; height: 1rem; width: 1rem; cursor: default; } } .voltage-display { display: flex; .saucer { height: 1rem; width: 1rem; cursor: default; margin-left: 0.5rem; margin-top: 0.2rem; } } .throttle-display { .throttle-row { display: flex; .saucer { margin-right: 1rem; } } } .wifi-strength-display { position: relative; .percent-bar { position: absolute; top: 2px; right: 0; height: 1rem; width: 25%; clip-path: polygon(0 85%, 100% 0, 100% 100%, 0% 100%); background-color: $light_gray; .percent-bar-fill { height: 100%; background-color: $green; } } } .network-info, .fbos-info { margin: auto; margin-bottom: 2rem; margin-top: 2rem; background: $white; padding: 1rem; box-shadow: 0px 0px 10px $light_gray; width: 18rem; } .last-seen-row { i { margin-right: 0.5rem; } } .os-release-channel { width: 100%; margin-bottom: 0.5rem; label { vertical-align: bottom; margin-bottom: 0.75rem; margin-right: 1rem; } .filter-search { display: inline; span { width: 40%; } .bp3-popover-wrapper { display: inline; } } } .all-content-wrapper { margin: 0 auto; padding: 11rem 3rem 0; width: 100%; max-width: 160rem; animation: page-transition 0.2s ease-in-out; } a { cursor: pointer !important; outline: none !important; } .input-group { input[type=checkbox] { box-shadow: none; } width: 100% !important; } .fa { cursor: pointer !important; &.fa-gear { color: $white; &.dark { color: $dark_gray; } } } .caution-icon { pointer-events: none; margin-left: 1rem; } .select-search-container { input { cursor: pointer; } &:after { content: "\25BE"; position: absolute; top: 0.2rem; right: 1rem; color: $dark_gray; font-size: 2rem; line-height: initial; pointer-events: none; } } .thin-search-wrapper { .select-search-container:after { content: ""; } } .drag-drop-area { &.visible { margin: 0.75rem 0; margin-right: 25px; margin-left: 10px; border-style: dashed; border-width: 2px; border-color: $light_gray; color: $gray; font-weight: bold; padding: 1.25rem; background: $off_white; text-align: center; color: $gray; font-weight: bold; } } .expandable-header { cursor: pointer; .icon-toggle { font-size: 1.2rem; font-weight: bold; vertical-align: middle; .fa { font-size: 1rem; } } } .centered-button-div { .fb-button { float: none !important; } label { padding: 0; } text-align: center; padding: 0.25rem; } .hardware-widget, .device-widget { .row { margin-bottom: 0.6rem; } label { padding: 0.5rem 0 0 0.5rem; } h4 { margin-bottom: 0; } p { margin-bottom: 1rem !important; } .widget-body-tooltips { .bp3-popover-wrapper { display: inline; float: none; margin-right: 1rem; margin-left: 1rem; } } .fa-download { float: right; color: $dark_gray !important; } .bp3-collapse::-webkit-scrollbar { display:none !important; width: 0px !important; background-color: transparent !important; } .disable_scrollbar::-webkit-scrollbar{ width: 0px; background: transparent; } .bp3-collapse-body::-webkit-scrollbar{ display: none !important; width: 0px !important; background-color: transparent !important; } } .load-progress-bar-wrapper { position: absolute; top: 3.2rem; bottom: 0; right: 0; width: 100%; height: 1px; .load-progress-bar { height: 100%; } } .firmware-setting-export-menu { button { margin-bottom: 1rem; } ul { font-size: 0.75rem; } } .change-ownership-form { p { padding: 1rem; margin-left: 0.5rem; } .row { margin-bottom: 1rem; } label { margin-top: 0.5rem; } button { margin-top: 1rem; margin-right: 1rem; } } .pin-bindings { .fa-exclamation-triangle { color: $orange; margin-left: 1rem; margin-top: 0.75rem; } .fa-th-large { position: absolute; top: 0.75rem; left: 0.5rem; color: $dark_gray; } .fb-button { &.green { margin-top: 0.5rem; } } .bindings-list { margin-bottom: 1rem; margin-left: 1rem; font-size: 1.2rem; } .binding-type-dropdown { margin-bottom: 1.5rem; } .stock-pin-bindings-button { button { margin: 1rem; float: left; margin-left: 2rem; } i { margin-right: 0.5rem; } } .bp3-popover-wrapper { display: inline; float: none !important; margin-left: 1rem; } } .sensor-history-widget { .sensor-selection, .sensor-history-time-selection, .sensor-history-location-selection { margin-bottom: 1rem; } .row { margin-bottom: 0 !important; } label { margin-bottom: 5px; } } .sensor-readings-plot { max-height: 300px; stroke: $black; font-size: 60px; font-weight: 100; } .sensor-history-table { font-size: 1.2rem; th, td { width: 1%; } tr { color: $black; &.previous { color: $medium_gray; } &.selected { background: $gray; } } .sensor-history-table-contents { max-height: 20rem; overflow-y: auto; } } .sensor-history-footer { display: flex; justify-content: space-between; .date { span { white-space: nowrap; } label { margin-right: 0.5rem; } } .location { display: flex; label { margin-left: 1rem; margin-right: 0.5rem; } } } .full-width { width: 100%; } fieldset { border: none; legend { background: transparent; } } .webcam-stream { width: 100%; } .webcam-stream-unavailable { position: relative; width: 100%; } .webcam-stream-unavailable img { width: 100%; opacity: 0.40; } .webcam-stream-valid { img, iframe { display: flex; margin: auto; max-height: 650px; } img { max-width: 100%; min-height: 100px; } iframe { width: 100%; border: none; min-height: 300px; } } .webcam-stream-unavailable p { position: absolute; top: 50%; left: 50%; width: 100%; transform: translate(-50%, -50%); vertical-align: middle; text-align: center; font-size: 1.5rem; } .clear-webcam-url-btn { position: absolute !important; top: 6.2rem; left: 2rem; } h3 { display: inline-block; margin-top: 0; font-size: 2.2rem; } h4 { line-height: 1.1rem; font-size: 1.8rem; color: $darker_gray; } hr { border-top: 1px solid rgba(16, 22, 26, 0.15); } .e-stop { white-space: nowrap; } a { text-decoration: none !important; outline: none !important; cursor: pointer !important; color: $dark_gray; &:link { font-weight: 500; color: $dark_gray; } &:visited { color: $dark_gray; } &:hover { font-weight: bold; color: $dark_gray; } &:active { color: $dark_gray; } } button, select, input { outline: none !important; } input:disabled { background: rgba(0, 0, 0, 0.1) !important; } ul { list-style-type: none !important; padding: 0; } .select { position: relative; input { height: 30px !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 3rem !important; } .select-results-container { position: absolute; left: 0; right: 0; z-index: 2; max-height: 15rem; overflow-y: auto; overflow-x: hidden; &.is-open-false { display: none; } &.is-open-true { display: block; } } .select-result { background: $off_white; padding: 0.2rem 0 0.2rem 1.4rem; border-bottom: 1px solid $gray; cursor: pointer; &:hover { background: $light_gray; } &.is-hidden { display: none; } padding-left: 1rem !important; &.is-heading { pointer-events: none !important; label { font-weight: bold !important; text-transform: uppercase; padding-left: 0 !important; } } label { margin-top: 0 !important; text-transform: none; font-weight: normal; cursor: pointer; } } } .coming-soon { position: relative; opacity: 0.50; width: 100%; height: 100%; } .coming-soon:after { content: "Coming Soon!"; position: absolute; top: 25%; left: 0; background-color: $red; width: 100%; vertical-align: middle; text-align: center; font-size: 2.5rem; } .unavailable { position: relative; z-index: 10; opacity: 0.40; * { pointer-events: none; } &.banner { &:after { content: "Not available when device is offline."; position: absolute; top: 25%; left: -2.5%; z-index: 10; width: 105%; padding: 0.5rem; background-color: $dark_gray; opacity: 0.90; color: $off_white; font-size: 1.8rem; vertical-align: middle; text-align: center; } } } .add { margin-top: -3rem; } .button-group { margin: -2rem 0 2rem; float: right; button:not(:first-of-type) { margin-right: 1rem; } .settings-menu-button { margin-right: 1rem; } } .fb-button-popover-wrapper { float: right; margin-right: 1rem; } .parameter-assignment-menu { .test-button-div { text-align: center; } .fb-button { float: none; } } .parameter-assignment-menu-popover { max-width: 400px; } .note { font-style: italic; font-size: 1.2rem; } .move-settings-menu { label { margin-top: 7px; } p { margin-top: 0.7rem; font-size: 1.4rem; color: $medium_gray; font-weight: 400; } } .motor-position-plot-border { text { font-size: 0.4rem; text-anchor: middle; dominant-baseline: middle; } } .controls-popup, .controls-popup-menu-outer { position: fixed; bottom: 3rem; right: 4rem; z-index: 2; background: $dark_gray; border-radius: 3rem; height: 6rem; width: 6rem; cursor: pointer; } .controls-popup { color: $off_white; @media screen and (max-width: 450px) { &.panel-open { display: none; } } i { position: fixed; bottom: 3rem; z-index: 3; width: 6rem; height: 6rem; border-radius: 3rem; padding: 18px 20px; font-size: 2.4rem; transition: all 0.25s ease-in-out; &:hover { background-color: rgba(0, 0, 0, 0.2); } } &.open { i { transform: rotate(-135deg); &:hover { background-color: rgba(0, 0, 0, 0); } } .controls-popup-menu-outer { transition: all 0.1s 0s ease-in-out; width: 32rem; padding: 0.6rem 5rem 0rem 0rem; } .controls-popup-menu-inner { transition-delay: 0.25s !important; opacity: 1; } } .arrow-button { margin: 5px; box-shadow: none !important; } } .controls-popup-menu-inner { transition: all 0.1s 0s ease-in-out; opacity: 0; } .controls-popup-menu-outer { transition: all 0.1s ease-in-out; transition-delay: 0.2s !important; } @keyframes page-transition { 0% { opacity: 0; } 100% { opacity: 1; } } .empty-state-graphic { display: flex; margin: auto; margin-top: 25%; width: 50%; } .empty-state { text-align: center; h5 { font-weight: bold; } &.plants { p, h5, a { color: $panel_green; } } &.gardens { p, h5, a { color: $panel_navy; } .empty-state-graphic { filter: hue-rotate(135deg) brightness(0.5); color: $panel_navy; } } &.events { p, h5, a { color: $panel_yellow; } } &.points { p, h5, a { color: $panel_teal; } } &.tools { p, h5, a { color: $panel_gray; } } &.groups { p, h5, a { color: $panel_blue; } } &.weeds { p, h5, a { color: $panel_red; } } &.zones { p, h5, a { color: $panel_brown; } } } .farmware-selection-panel { .filter-search { i { top: 38% !important; } } } .farmware-page { button { margin: 0.5rem; } } .farmware-input-panel, .farmware-info-panel { label, h4 { margin-top: 2rem; } } .farmware-info { margin-top: 1rem; } .farmware-list-items { margin-left: -30px; margin-right: -20px; padding: 0.5rem; padding-left: 1.5rem; padding-top: 0.75rem; cursor: pointer; label { cursor: pointer; } &:hover, &.selected { background: $medium_light_gray; p { font-weight: bold; } } } .farmware-settings-menu { position: absolute !important; top: 3rem; right: 3rem; float: right !important; } .farmware-settings-menu { top: 1rem; } .farmware-settings-menu-contents { label { margin-top: 0.5rem; } } .farmware-url { font-size: 1rem; width: 100px; word-wrap: break-word; } .settings-menu-button { float: right; .fa-gear { color: $dark_gray; } } .sequence-settings-menu { .bp3-popover-wrapper { display: inline; margin-right: 1rem; margin-left: 1rem; } .fb-button { margin-top: 0; } } .logs-page { .row { @media screen and (max-width: 974px) { margin-left: 0; margin-right: 0; } } .settings-menu-button { margin-left: 1rem; margin-top: 0.25rem; } .bp3-popover-target { float: right; } @media screen and (max-width: 1075px) { padding-left: 15px !important; } @media screen and (max-width: 974px) { padding-left: 0 !important; } .fa-2x { float: right; font-size: 1rem; color: $dark_gray; } .fa-ban { color: $medium_gray; } .table-responsive{ border: none; } } .logs-settings-menu { label { margin-top: 7px; } .saucer { float: left; margin-right: 10px; } .bp3-popover-wrapper { display: inline-block; margin-left: 1rem; margin-top: 0.5rem; } } .logs-table { background: $white; .log-verbosity-saucer, .saucer { float: left; margin-right: 5px; } button { float: none; } thead { background: $gray; } td { box-shadow: inset 1px 0 0 0 $gray !important; color: $dark_gray !important; word-break: break-word; .markdown { p { display: block; color: $dark_gray; font: inherit; font-size: inherit; text-overflow: inherit; overflow: inherit; width: inherit; white-space: inherit; } } } td:nth-child(1), td:nth-child(4) { min-width: 116px; white-space: nowrap; } td:nth-child(2), td:nth-child(3) { min-width: 120px; } } .messages-page { max-width: 785px; padding-left: 2rem !important; padding-right: 2rem !important; .link-to-logs { margin-top: 2rem; margin-bottom: 4rem; text-align: center; font-style: italic; } } .account-page { label { margin-top: 5px; } input { margin-bottom: 1rem; } } .map-size-setting { margin-top: 1rem; } .release-notes-button { font-weight: bold; cursor: pointer; } .release-notes { max-width: 250px; h1 { font-weight: 300; font-size: 1.4rem; line-height: 2rem; } li:before { content: "• "; } li { font-weight: 300; font-size: 1.1rem; line-height: 1.75rem; margin-bottom: 1rem; } p { display: block; color: $dark_gray; text-overflow: inherit; overflow: inherit; width: inherit; white-space: inherit; } } .tools-widget, .toolbay-widget { .fa-gear { color: $dark_gray; margin-top: 0.5rem; } .fb-button { margin-left: 1rem; } } .toolbay-slot-menu { .direction-icon { color: $dark_gray; margin-left: 1rem; } label { margin-top: 1rem; } .fb-button { margin-top: 1rem; } .filter-search { i { top: 38% !important; } } input[type="checkbox"] { vertical-align: middle; margin-top: 0; margin-left: 0.5rem; } } .sensors-widget { p { margin-top: 0.75rem; } .sensor-reading-display { &.moisture-sensor { background: linear-gradient(to right, rgba($blue, 0) 20%, $blue 80%, rgba($blue, 0) 85%); } &.digital { .indicator { text-align: center; } } border-style: solid; border-color: $dark_gray; border-width: 0.1px; height: 2rem; width: 100%; margin-top: 0.5rem; .indicator { position: relative; background: $dark_gray; height: 2rem; span { position: relative; top: 0.15rem; } } } } .sensors-widget, .webcam-widget, .peripherals-widget, .tools-widget, .toolbay-widget { .del-button { margin-top: 0.5rem; } } .farmware-step-input-fields { label { padding-top: 1rem; } fieldset { width: 95%; padding-left: 1rem; padding-right: 1rem; } button { position: absolute; } } .farmware-name-manual-input { margin-top: 1rem; } .checkbox-row { margin-top: 1rem; label { vertical-align: text-bottom; } .fb-checkbox { display: inline; position: relative; margin-right: 1rem; &.partial:after { content: ""; position: absolute; left: 0.75rem; bottom: 1.2rem; border: solid $dark_gray; border-width: 0 0 3px 0; padding: 0.6rem 0.3rem; } } .bp3-popover-wrapper, .bp3-popover-target { display: inline-block !important; margin-left: 1rem; margin-top: 0.4rem; } } .farmware-input-group { position: relative; margin-left: 3rem; i { position: absolute; top: 0.55rem; right: 1rem; color: $light_gray; &:hover { color: $dark_gray; } } } .boolean-camera-calibration-config { input[type=checkbox] { display: block; } } .tour-list { margin: auto; max-width: 300px; margin-top: 1rem; } .location-form { .row { margin-bottom: 1rem; margin-top: 0.5rem; } } .default-value-form { position: relative; .default-value-tooltip { position: absolute; right: 0; } } .documentation-widget, .input-line-widget { .fa-external-link { margin-left: 1rem; } label { margin-top: 1rem; } a { margin-left: 1rem; } } .error-with-button { margin-top: 1rem; background: $pink; border: 1px solid $red; border-radius: 5px; label, p { margin: 0.5rem; color: $red; } button { margin: 0.5rem !important; } } .status-icon { padding: 0.5rem; float: right !important; font-size: 1.75rem; &.ok { color: $green; } &.no { color: $red; } &.unknown { color: $orange; } } .firmware-hardware-status-details { button { float: none !important; } } .problem-alert { margin: 1rem; margin-bottom: 3rem; padding: 2rem; border-radius: 4px; box-shadow: 0px 2px 5px $medium_gray; background: $off_white; .problem-alert-title { position: relative; margin-bottom: 1rem; line-height: 1rem; .fa-exclamation-triangle, .fa-check-square, .fa-info-circle { font-size: 1.6rem; padding-right: 0.5rem; } .fa-exclamation-triangle { color: $orange; } .fa-check-square { color: $green; } .fa-info-circle { color: $blue; } h3 { color: $dark_gray; font-size: 1.5rem; font-weight: bold; } p { display: inline; color: $medium_gray; font-size: 1.2rem; margin-left: 2rem; white-space: pre; } .fa-times { position: absolute; top: 0; right: 0; color: $medium_light_gray; &:hover { color: $dark_gray; } } } .problem-alert-content { .markdown { p { display: block; color: $dark_gray; text-overflow: inherit; overflow: inherit; width: inherit; white-space: inherit; } ul { list-style-type: disc !important; padding-inline-start: 40px; } } p { margin-bottom: 0.75rem !important; font-size: 1.4rem; line-height: 2rem; } label { margin-top: 0.5rem; } .row { margin-top: 2rem; } .tour-list { margin: 0; label { max-width: 57%; } } .link-button { color: $off_white; font-weight: bold; float: none; margin-bottom: 2rem; } .fb-button { margin-top: 0.5rem; } } } .firmware-alerts { max-width: 600px; } .firmware-hardware-choice-table { margin: 2rem; margin-top: 1rem; width: 93%; border: 1px solid $gray; font-size: 1.2rem; th { background: $light_gray; font-weight: normal; } td { background: $off_white; color: $medium_gray; } code { background: $light_gray; color: $dark_gray; } } .dynamic-column{ display: flex; .location-form, .expandable-header{ padding-left: 15px; } .expandable-header{ padding-right: 15px; } .input-line{ flex: auto; } } textarea { border: 0; padding: 6px 8px; box-shadow: 0 0 10px #ddd; outline: none!important; resize: vertical; } textarea:focus { box-shadow: 0 0 10px rgba(0,0,0,.2); } .sort-option-bar { cursor: pointer; margin-top: 0.25rem; margin-bottom: 0.25rem; border: 2px solid darken($panel_light_blue, 30%); border-radius: 5px; &:hover, &.selected { .sort-path-info-bar { background: darken($panel_light_blue, 40%); } } &:hover { border: 2px solid darken($panel_light_blue, 40%); } &.selected { border: 2px solid $medium_gray; } .sort-path-info-bar { background: darken($panel_light_blue, 30%); font-size: 1.2rem; padding-left: 0.5rem; white-space: nowrap; line-height: 2.5rem; } } .transparent-link-button { font-size: 1rem; border: 1px solid; padding: 0.4rem 1.2rem; font-weight: bold; letter-spacing: 1px; border-radius: 4px; color: $off_white; &:hover { color: $white; } } .os-download-page { text-align: center; .all-content-wrapper { padding-top: 0 !important; min-height: 30rem; } h1 { margin-top: 5rem; font-size: 2rem !important; text-shadow: 0 0 5px rgba(0, 0, 0, 0.1), 0 0 25px rgba(0, 0, 0, 0.1) !important; } p { margin: auto; width: 70%; color: $off_white; } a { white-space: nowrap; font-weight: bold !important; color: $off_white !important; &:hover { color: $white !important; } &:visited { color: $off_white; } &:link { color: $off_white; } &:active { color: $dark_gray !important; } } table { margin: auto; margin-top: 3rem; width: 93%; font-size: 1.2rem; color: $off_white; text-align: left; thead { border-bottom: 2px solid $off_white; } tr:not(:last-child) { border-bottom: 1px solid $gray; } td { padding-top: 1rem; padding-bottom: 1rem; span { display: block; white-space: nowrap; } } } } .section { display: block !important; .bp3-collapse { padding-top: 1rem; } } .highlight { background-color: $light_yellow; box-shadow: 0px 0px 7px 4px $light_yellow; } .unhighlight { transition: background-color 10s linear, box-shadow 10s linear; background-color: transparent; box-shadow: none; } .read-only-icon { margin: 9px 0px 0px 9px; float: right; box-sizing: inherit; }