197 lines
3.7 KiB
CSS
197 lines
3.7 KiB
CSS
|
|
/*
|
|
header {
|
|
background: white;
|
|
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
|
|
/ * position: fixed;
|
|
top: 0; * /
|
|
width: 100%;
|
|
z-index: 1000;
|
|
}
|
|
|
|
.navbar {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 1rem 0;
|
|
}
|
|
|
|
.logo {
|
|
font-size: 1.5rem;
|
|
font-weight: bold;
|
|
color: var(--primary);
|
|
}
|
|
|
|
.nav-links {
|
|
display: flex;
|
|
gap: 2rem;
|
|
}
|
|
|
|
.nav-links a {
|
|
text-decoration: none;
|
|
color: var(--text);
|
|
font-weight: 500;
|
|
align-content: center;
|
|
}
|
|
.nav-links a.button {
|
|
color: white;
|
|
}
|
|
*/
|
|
|
|
|
|
/* 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;
|
|
text-align: center;
|
|
text-decoration: none;
|
|
width: 100%;
|
|
max-height: 15vh;
|
|
font-weight: normal;
|
|
justify-content: center;
|
|
}
|
|
.topnav a:hover {
|
|
background-color: var(--colour-page-background);
|
|
}
|
|
|
|
.topnav > .container {
|
|
max-width: 50%;
|
|
height: 100%;
|
|
align-items: center;
|
|
align-self: center;
|
|
display: flex;
|
|
}
|
|
.topnav > .container.header-logo {
|
|
min-width: 15vh;
|
|
max-width: 15vh;
|
|
}
|
|
.topnav > .container.company-name {
|
|
min-width: calc(100vw - 30vh);
|
|
max-width: calc(100vw - 30vh);
|
|
}
|
|
.topnav select {
|
|
padding: 1vh;
|
|
margin: 1vh;
|
|
border-radius: 1vh;
|
|
border: 2px solid var(--border-colour);
|
|
font-weight: bold;
|
|
text-align: center;
|
|
width: 25vw;
|
|
}
|
|
.topnav select .is_collapsed {
|
|
width: 5vw;
|
|
}
|
|
.company-name {
|
|
font-size: min(28px, calc(1vh * 7));
|
|
}
|
|
/*
|
|
@media screen and (max-width: 450px) {
|
|
.company-name {
|
|
font-size: 18px; / * min(24px, calc(1vh * 7)); * /
|
|
}
|
|
}
|
|
*/
|
|
/* Page Filters */
|
|
#formFilters {
|
|
width: fit-content;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
|
|
}
|
|
#formFilters * {
|
|
font-size: 12px;
|
|
}
|
|
|
|
#formFilters .container {
|
|
}
|
|
#formFilters .container-input {
|
|
max-width: fit-content;
|
|
padding: 0 0.5vh;
|
|
}
|
|
#formFilters .container-input:has(.dirty) {
|
|
background-color: var(--colour-accent);
|
|
}
|
|
|
|
#formFilters .container-input input {
|
|
width: 10vh;
|
|
max-width: 10vh;
|
|
height: 20px;
|
|
}
|
|
/*
|
|
#formFilters .container-input input {
|
|
height: 1.7vh;
|
|
}
|
|
#formFilters .container-input select {
|
|
height: 2vh;
|
|
}
|
|
*/
|
|
|
|
#formFilters .container-input.filter.active_only {
|
|
width: 8vh;
|
|
}
|
|
#formFilters .container-input.filter.active_only input {
|
|
display: none;
|
|
}
|
|
#formFilters .container-input.filter.active_only svg.active_only {
|
|
height: 25px;
|
|
fill: var(--colour-text-background);
|
|
background-color: var(--colour-accent);
|
|
/* border: 1px solid var(--colour-accent);
|
|
border-radius: 0.5vh; */
|
|
width: 25px;
|
|
}
|
|
#formFilters .container-input.filter.active_only svg.active_only.is_checked {
|
|
fill: var(--colour-accent);
|
|
background-color: var(--colour-text-background);
|
|
}
|
|
#formFilters .container-input.filter.is_not_empty {
|
|
width: 12vh;
|
|
}
|
|
|
|
/*
|
|
#formFilters button {
|
|
padding: 0.5vh 0.75vh;
|
|
background-color: var(--colour-accent);
|
|
color: var(--colour-primary);
|
|
font-weight: bold;
|
|
border-radius: 0.75vh;
|
|
border: 2px solid var(--colour-primary);
|
|
}
|
|
|
|
#formFilters button.is_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;
|
|
}
|
|
|
|
|
|
@media screen and (max-width: 400px) {
|
|
#formFilters .container-input select {
|
|
/* height: 3vh; */
|
|
}
|
|
.topnav h1 {
|
|
font-size: 16px;
|
|
}
|
|
} |