Skip to content

Modular logistics and supply chain operating system (LSOS)

6.8 KB
Raw Blame
.two-fa-enforcement-alert svg.fa-triangle-exclamation {
    font-size: 2.25rem;
    padding-right: 0.5rem;
    color: rgb(202 138 4);
}

.btn.btn-warning-alert.btn-warning,
.two-fa-enforcement-alert button#two-fa-setup-button.btn.btn-warning body[data-theme='dark'] .btn.btn-warning-alert.btn-warning,
body[data-theme='dark'] .two-fa-enforcement-alert button#two-fa-setup-button.btn.btn-warning {
    background-color: rgb(202 138 4);
    border-color: rgb(161 98 7);
    color: rgb(254 249 195);
    cursor: default;
}

.fleetbase-pagination-meta-info-wrapper.within-layout-section-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: right;
    flex: 1;
}

.without-padding {
    padding: 0 !important;
}

.without-padding-y {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.without-padding-x {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.console-admin-organizations-index-index .next-table-wrapper > table {
    table-layout: auto;
}

.admin-organization-resource-header {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.admin-organization-resource-actions .admin-organization-resource-search {
    min-width: 16rem;
    height: 2.25rem;
    min-height: 2.25rem;
}

@media (width >= 1024px) {
    .admin-organization-resource-header {
        align-items: center;
        flex-direction: row;
        justify-content: space-between;
    }
}

#boot-loader {
    position: absolute;
    z-index: 9999999999;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#boot-loader > .loader-container {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#boot-loader > .loader-container > .loading-message {
    margin-left: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
}

body[data-theme='dark'] #boot-loader > .loader-container > .loading-message {
    color: #fff;
}

body.fleetbase-console .snm-dropdown-search-input {
    font-size: 1rem;
    line-height: 1rem;
    padding: 0.75rem 0;
}

body.fleetbase-console .snm-dropdown-card-wrap {
    display: flex;
    height: 100%;
}

body.fleetbase-console .snm-dropdown-card {
    height: 100%;
    min-height: 84px;
}

.console-dashboard-page {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: 0.625rem 2.5rem;
    border-bottom: 1px solid #e5e7eb;
    background-color: #fff;
    box-shadow: 0 1px 2px rgb(15 23 42 / 5%);
    z-index: 700;
}

.console-dashboard-create-wrapper .leaflet-control,
.console-dashboard-create-wrapper .leaflet-top.leaflet-left,
.console-dashboard-create-wrapper .leaflet-top.leaflet-left > .leaflet-control-zoom {
    z-index: 600;
}

body[data-theme='dark'] .console-dashboard-page {
    border-bottom-color: #1f2937;
    background-color: #111827;
    box-shadow: 0 1px 2px rgb(2 6 23 / 30%);
}

.console-dashboard-title h1 {
    color: #111827;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

body[data-theme='dark'] .console-dashboard-title h1 {
    color: #f9fafb;
}

.fleetbase-invite-shell {
    min-height: 100vh;
}

.console-dashboard-actions {
    justify-content: flex-end;
}

.console-dashboard-create-wrapper {
    padding: 1rem 2.5rem;
}

@media (width <= 767px) {
    .console-dashboard-page {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.75rem;
        padding: 0.625rem 1rem;
    }

    .console-dashboard-actions {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .console-dashboard-create-wrapper {
        padding: 1rem;
    }
}

/*
 * Sign-in provider buttons: each provider's logo and light-mode colours on Fleetbase's
 * own button shape, size, shadow and icon position.
 *
 *   Light  Google and Microsoft: white with Fleetbase's usual button border, the
 *          full-colour logo (Google forbids a single-colour "G"; Microsoft forbids
 *          altering its logo). Apple: black (Apple HIG). GitHub: #24292F — its mark
 *          is only ever shown in black or white.
 *   Dark   Every provider on Fleetbase's gray-900, so the page reads as one set of
 *          buttons. Apple and GitHub marks turn white with the text; the Google "G"
 *          keeps a white disc, since Google requires it on white.
 *
 * Only these providers are listed, so one added later keeps the default button.
 * `body` in each selector outranks ember-ui's `body[data-theme='dark'] .btn.btn-default`
 * rules, hover included.
 */
.oauth-provider-google,
.oauth-provider-microsoft {
    --oauth-bg: #fff;
    --oauth-bg-hover: #f3f4f6; /* gray-100 */
    --oauth-border: #d1d5db; /* gray-300, Fleetbase's default button border */
    --oauth-border-hover: #9ca3af; /* gray-400 */
    --oauth-text: #1f2937; /* gray-800 */
}

.oauth-provider-apple {
    --oauth-bg: #000;
    --oauth-bg-hover: #262626;
    --oauth-border: #000;
    --oauth-border-hover: #262626;
    --oauth-text: #fff;
}

.oauth-provider-github {
    --oauth-bg: #24292f;
    --oauth-bg-hover: #3a4149;
    --oauth-border: #24292f;
    --oauth-border-hover: #3a4149;
    --oauth-text: #fff;
}

body[data-theme='dark'] :is(.oauth-provider-google, .oauth-provider-microsoft, .oauth-provider-apple, .oauth-provider-github) {
    --oauth-bg: #111827; /* gray-900 */
    --oauth-bg-hover: #1f2937; /* gray-800 */
    --oauth-border: #374151; /* gray-700 */
    --oauth-border-hover: #4b5563; /* gray-600 */
    --oauth-text: #f3f4f6; /* gray-100 */
}

body :is(.oauth-provider-google, .oauth-provider-microsoft, .oauth-provider-apple, .oauth-provider-github) > button.btn.btn-default {
    background-color: var(--oauth-bg);
    border: 1px solid var(--oauth-border);
    color: var(--oauth-text);
    transition:
        background-color 150ms ease,
        border-color 150ms ease;
}

body :is(.oauth-provider-google, .oauth-provider-microsoft, .oauth-provider-apple, .oauth-provider-github) > button.btn.btn-default:focus {
    border-color: var(--oauth-border-hover);
    color: var(--oauth-text);
}

body :is(.oauth-provider-google, .oauth-provider-microsoft, .oauth-provider-apple, .oauth-provider-github) > button.btn.btn-default:hover:not(:disabled) {
    background-color: var(--oauth-bg-hover);
    border-color: var(--oauth-border-hover);
    color: var(--oauth-text);
}

.oauth-provider-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.oauth-provider-logo svg {
    width: 16px;
    height: 16px;
}

body[data-theme='dark'] .oauth-provider-google .oauth-provider-logo-google {
    background-color: #fff;
    border-radius: 9999px;
    padding: 2px;
}

body[data-theme='dark'] .oauth-provider-google .oauth-provider-logo-google svg {
    width: 14px;
    height: 14px;
}