:root { /* Declare global variables */ /* --c_purple: #5B29FF; --c_purple_pastel: #D1D1FF; --c_purple_lighter: #E8E1FF; --c_purple_light: #C6BDFF; --c_purple_dark: #4700B3; */ /* purple theme - light https://coolors.co/palette/a172fd-a77afe-ac82fe-b691fe-c1a0fe-cbaffe-d6bffe-e0cefe-ebddfe-f5ecfe - dark https://coolors.co/palette/310055-3c0663-4a0a77-5a108f-6818a5-8b2fc9-ab51e3-bd68ee-d283ff-dc97ff */ --c_purple_darker: #310055; --c_purple_dark: #4A0A77; --c_purple: #6818A5; --c_purple_light: #CBAFFE; --c_purple_lighter: #F5ECFE; --c_blue: #0044FF; --c_blue_pastel: #B8E0FF; --c_blue_light: #73E8FF; --c_blue_dark: #003ADB; /* --c_red: */ --c-red: #FF0000; --c_red_pastel: #FAE0E2; --c_red_lighter: #FAE0E2; } html { height: 100%; } body { background-color: var(--background-colour); color: var(--text-colour); font-family: var(--font-family-base); font-family: Arial; padding: 0; margin: 0; border: 0; background: linear-gradient(to bottom right, var(--c_purple_lighter), var(--c_red_lighter)); /* var(--c_purple); */ height: 100vh; max-height: 100%; } * { margin: 0; } script, link { display: none !important; } #pageBody { height: 69vh !important; padding: 1vh; padding-left: 1vw; padding-right: 1vw; margin: 1vh; margin-left: 0; margin-right: 0; border: 0; align-content: center; justify-content: flex-start; display: flex; flex-direction: column; align-items: flex-start; overflow-y: auto; overflow-x: hidden; position: absolute; width: 98vw; color: var(--text-colour); } .page-body > * { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; text-align: center; width: 100%; align-self: center; font-size: min(16px, calc(1vh * 4)); } #pageBody > * > * { align-self: center; padding-top: 0.5vh; padding-bottom: 0.5vh; /* color: var(--c_purple_dark); */ } #pageBody > .card { height: fit-content; margin-top: 1vh; } #pageBody > .card:first-of-type{ margin-top: 0vh; top: 0; } /* Create two unequal columns that floats next to each other * /* Left column * .leftcolumn { float: left; width: 70%; display: flex; flex-wrap: wrap; /* min-width: fit-content; * align-items: center; justify-content: center; } /* Right column * .rightcolumn { float: left; width: 30%; display: flex; flex-wrap: wrap; /* min-width: fit-content; only on store?? * /* background-color: #f1f1f1; * padding-left: 20px; height: fit-content; align-items: center; justify-content: center; } */ /* Fake image .fakeimg { background-color: var(--c_purple_light); width: 100%; padding: 20px; } */ /* header image */ img.header-logo { max-height: 15vh; max-width: 20vw; cursor: pointer; border-radius: 5vh !important; } /* icon images */ .img-icon { max-width: 16vh; max-height: 8vh; border-radius: 0; } /* .container-icon-label { padding: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; text-align: center; } .container-icon-label > * { display: inline-flex; margin-left: 1vh; margin-right: 1vh; } .header > .container:first-of-type { max-width: 25%; justify-self: left; } .header > .container:last-of-type { max-width: 75%; justify-self: left; } */ /* Add a card effect for articles */ .card { background-color: white; padding: 1vh; margin: 1vh; display: flex !important; flex-wrap: wrap; align-items: center; justify-content: center; text-align: center; border-radius: 4vh; /* min-width: fit-content; */ position: relative; height: fit-content; max-width: 80vw; padding-left: 2.5vw; padding-right: 2.5vw; } .header.card { border-radius: 2.5vh; border-bottom-left-radius: 0; border-bottom-right-radius: 0; } .container { flex: 1; margin: 0px; align-items: flex-start; justify-content: flex-start; text-align: flex-start; /* max-width: 100%; */ /* min-width: fit-content; */ } .column { display: flex; flex-direction: column; align-items: center; margin: auto 0; } .row { display: flex; flex-direction: row; width: 100%; /* min-width: fit-content; */ } .container > .card:first-of-type { margin-top: none; } /* /* Responsive layout - when the screen is less than 800px wide, make the two columns stack on top of each other instead of next to each other * @media screen and (max-width: 800px) { .leftcolumn, .rightcolumn { width: 100%; /* padding: 0; * } } /* Responsive layout - when the screen is less than 400px wide, make the navigation links stack on top of each other instead of next to each other * @media screen and (max-width: 400px) { .topnav a { float: none; width: 100%; } } */ .container-input { padding: 1vh; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; text-align: center; } .container-input > label { width: 100%; margin-bottom: 1vh; margin-top: 0; } .container-input:not(:nth-child(3)) > label { margin-top: 1vh; } .container-input > input, .container-input > textarea { border: 2px solid var(--border-colour); padding: 1vh; } .label-title { width: 100%; } ul { max-width: 90%; padding: 5px 0 10px 0; } li { text-align: left; font-size: 18px; } :not(input,textarea,select,button).dirty { background-color: var(--accent-colour); } input.dirty, textarea.dirty, select.dirty { border-color: var(--border-colour); } #pageBody > *, button { font-size: min(12px, calc(1vh * 3)); } button, .button-submit, input[type="submit"] { font-size: 20px; font-weight: bold; border: 4px solid; border-radius: 2vh; padding: 1vh 2vh 1vh 2vh; margin: 0.5vh; background-color: var(--background-colour); color: var(--primary-colour); border-color: var(--border-colour); } button.navContactUs { border: 4px solid var(--border-colour); background-color: var(--c_purple_pastel); /* color: var(--c_purple_dark) !important; */ border-radius: 2vh; width: 180px !important; } button:hover, input[type="submit"]:hover { text-decoration: underline; } img, video { border-radius: 3vh; } h1 { font-size: min(24px, calc(1vh * 6)); } h2 { font-size: min(20px, calc(1vh * 5)); } h3 { font-size: min(16px, calc(1vh * 4)); margin-top: 1vh; } h4 { font-size: 13px; margin: 1vh; text-align: center; margin-left: auto; margin-right: auto; } h5 { font-size: 11px; margin: 1vh; } /* Overlay modal */ .overlay { /* display: none; */ position: fixed; top: 15vh; right: 0; width: 100px; /* height: 50%; */ background: var(--background-colour); justify-content: right; align-items: right; align-self: right; z-index: 999; } .overlay.expanded { display: block; } .collapsed { display: none; } /* Hamburger menu overlay */ #buttonHamburger:hover { text-decoration: none; } #overlayHamburger { overflow-x: hidden; overflow-y: auto; max-height: 80%; } .hamburger { border: 2px solid var(--border-colour); border-radius: 4px; } .hamburger:first-child { border-top-left-radius: 12px; border-top-right-radius: 12px; } .hamburger:last-child { border-bottom-left-radius: 12px; border-bottom-right-radius: 12px; } .hamburger > * { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; text-align: center; width: 100%; /* color: var(--text-colour); */ font-weight: bold; font-size: 18px; /* height: 18px; */ } .hamburger > :hover { color: var(--background-colour); background-color: var(--primary-colour); } .hamburger > * > * { width: 100%; /* margin-top: 4.5px; margin-bottom: 4.5px; */ } .hamburger > .container { padding-top: 4.5px; padding-bottom: 4.5px; } /* Confirm overlay */ #overlayConfirm { position: absolute; left: 25vw; width: 50vw; height: 50vh; } #formFilters .container { max-width: fit-content; } thead, tbody { padding-top: 0px !important; padding-bottom: 0px !important; } th { background-color: transparent; } td { font-size: min(12px, calc(1vh * 3)); } th, td { min-width: fit-content; } tr:not(:last-child) > td { border-bottom: 1px dashed var(--border-colour); } td > table > tbody > tr > td { border: none !important; } th.collapsed, td.collapsed { display: table-cell !important; } td.dirty { background-color: var(--primary-colour); } td:not(.dirty) { /* color: var(--c_purple_dark); */ background-color: transparent; } tr { min-height: 1px; border-bottom: 1px solid; border-top: 1px solid; border-color: var(--border-colour); background-color: transparent; } /* .row-new { visibility: hidden; } */ table button { margin: 0.25vh; padding: 0.5vh 1vh; } table button.active { background-color: var(--background-colour); } tr.delete, tr.delete > td { background-color: var(--c-red); } table div { align-content: center; } /* Navigation */ .topnav { border-bottom-left-radius: 2.5vh; border-bottom-right-radius: 2.5vh; display: flex; flex-wrap: wrap; flex: 1; flex-direction: row; font-weight: bold; font-size: 1vh; max-height: 15vh; height: 15vh; align-items: flex-start; } .topnav a, .topnav label, .topnav p, .topnav h1 { float: left; display: flex; /* color: white; */ text-align: center; text-decoration: none; width: 100%; max-height: 15vh; font-weight: normal; justify-content: center; } .topnav a:hover { background-color: var(--background-colour); /* color: var(--c_purple_dark); */ } .topnav > .container { max-width: 50%; height: 100%; align-items: center; align-self: center; /* align-content: center; */ /* width: fit-content; */ display: flex; } .topnav select { padding: 1vh; margin: 1vh; border-radius: 1vh; /* background-color: var(--c_purple_light); color: var(--c_purple_dark); */ border: 2px solid var(--border-colour); font-weight: bold; text-align: center; } .topnav select .collapsed { width: 5vw; } .topnav select .expanded { width: 25vw; } .company-name { font-size: min(28px, calc(1vh * 7)); } @media screen and (max-width: 450px) { .company-name { font-size: min(24px, calc(1vh * 7)); } } /* Page Filters */ #formFilters { width: fit-content; } #formFilters * { font-size: 12px; } #formFilters .container { max-width: fit-content; } #formFilters .container-input { padding: 0 0.5vh; } #formFilters .container-input input { max-width: 5vh; } #formFilters .container-input.filter.active { width: 8vh; } #formFilters .container-input.filter.is_not_empty { width: 12vh; } button.collapsed { display: block; opacity: 0; } form.filter button.save, form.filter button.button-cancel { margin-top: 0; margin-bottom: 0; } form.filter button.save, form.filter button.button-cancel { margin-top: 0; margin-bottom: 1px; } /* Footer */ .footer { padding: 1vh; padding-left: 1vw; padding-right: 1vw; text-align: center; margin: 0; height: 8vh !important; overflow-y: auto; background-color: var(--accent-colour); /* border-top-left-radius: 2.5vh; border-top-right-radius: 2.5vh; */ position: absolute; /* top: 2.5vh; */ bottom: 0; width: 98vw; } .footer > h4, h5 { padding: 0; margin: 0; } #tableMain { overflow-x: auto; padding: 1vh; max-width: 95vw; /* min(calc(1vh * 80), calc(1vw * 90)); */ width: min-content; margin: 1vh 2vh; align-items: normal; justify-content: normal; } #tableMain * { padding: 0.25vh 0.5vh; } #tableMain select, #tableMain input:not([type="checkbox"]), #tableMain textarea, #tableMain div { box-sizing: border-box; width: 100%; height: 100%; } #tableMain thead tr th, #tableMain tbody tr td { width: 20vh; min-width: 20vh; padding: 0 0.5vh; } #tableMain tbody tr td { height: 5vh; padding-top: 0.5vh; } #tableMain tbody tr:not(:last-of-type) td { padding-bottom: 0.5vh; } #tableMain thead tr th.active, #tableMain tbody tr td.active { width: 6vh; min-width: 6vh; } #tableMain tbody tr td.display_order, #tableMain thead tr th.display_order { width: 5vh; min-width: 5vh; } :root { /* --background-colour: #ffffff; */ --text-colour: var(--c_purple_darker); --primary-colour: var(--c_purple_dark); --secondary-colour: var(--c_purple); --accent-colour: var(--c_purple_light); --background-colour: var(--c_purple_lighter); --success-colour: #28a745; --danger-colour: #dc3545; --warning-colour: #ffc107; --info-colour: #17a2b8; --light-colour: var(--c_purple_light); --dark-colour: var(--c_purple_dark); --border-colour: var(--c_purple_dark); --shadow-colour: rgba(0, 0, 0, 0.1); /* Header * / --header-bg: #f8f9fa; --header-text: #333333; /* Footer * / --footer-bg: #f8f9fa; --footer-text: #6c757d; /* Navigation * / --nav-bg: #ffffff; --nav-text: #333333; --nav-hover-bg: #f1f3f5; --nav-hover-text: #007bff; /* Buttons * / --Button-primary-bg: #007bff; --Button-primary-text: #ffffff; --Button-secondary-bg: #6c757d; --Button-secondary-text: #ffffff; /* Forms * / --input-bg: #ffffff; --input-border: #ced4da; --input-text: #495057; --input-focus-border: #80bdff; /* Cards * / --card-bg: #ffffff; --card-border: #dee2e6; --card-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075); */ } /*# sourceMappingURL=main.bundle.css.map*/