/* * OpenBills - Self hosted browser app to generate and keep track of simple invoices * Version - 0 * Licensed under the MIT license - https://opensource.org/licenses/MIT * * Copyright (c) 2021 Vidhu Kant Sharma */ @import "theme"; /* TODO: check if full width elements show properly on other browsers also style scrollbars */ /* scrollbar styling */ ::-webkit-scrollbar { width: 1vw; } * { scrollbar-width: 1vw; /* Firefox */ } body { background-color: $background1; color: $foreground1; margin: 0; } * { font-family: $defFont; } .root-content { width: 95%; margin: auto; margin-bottom: 3rem; max-width: 1920px; } .BillingPageFlex { display: flex; flex-direction: row; justify-content: space-between; height: 27rem; } .BillingPageFlex div { box-sizing: border-box; border: 1px solid $border1; } .floatingMenuBG { height: 100%; width: 100%; position: fixed; top: 0; left: 0; background-color: $background0; } .floatingMenu { position: absolute; width: 95%; max-width: 1920px; height: 32rem; box-sizing: border-box; top: 0; bottom: 0; left: 0; right: 0; margin: auto; background-color: $background3; box-shadow: $floatingShadow; border: 1px solid $border2; padding: 1.5rem; } @media only screen and (max-device-width: 480px) { .floatingMenu { width: 95%; height: 80vh; padding: 0.5rem; } .BillingPageFlex { flex-direction: column; height: 35rem; } }