Implements first stage library management system

This commit is contained in:
BinaryAlley committed 2024-11-03 19:43:46 +02:00
1 parent 5e0f94cd82
commit 36352ea9e8
291 files changed
+3733 -1384

No files matched your search

@@ -7,7 +7,10 @@
--border-color-dark: #000000;
--border-color-dialog: #1E90FF;
--shadow-color: #000000;
--highlight-color: #383838AA;
--text-foreground: #6DCBFE;
--light-row-background: #28292B;
--dark-row-background: #191E21;
}
html,
@@ -45,9 +48,9 @@ body {
background-color: #222;
min-width: 100%;
min-height: 100%;
height: 100%;
height: 100%;
position: relative;
display: flex;
display: flex;
flex-direction: column;
}
@@ -65,7 +68,7 @@ main {
}
main.audio-player-full-height {
bottom: calc(100% - 20px); /* full height minus menu height */
bottom: calc(100% - 22px); /* full height minus menu height */
}
.audio-player-container {
@@ -76,15 +79,27 @@ main {
transition: height 1s ease;
}
.audio-player-container.not-shown {
.audio-player-container.not-shown {
height: 0px;
}
.audio-player-container.full-height {
height: calc(100% - 20px); /* full height minus menu height */
height: calc(100% - 22px); /* full height minus menu height */
}
#modal-background {
#modal-background-menu {
display: none;
z-index: 998;
position: absolute;
top: 0px;
left: 0px;
min-width: 100%;
min-height: 22px;
background-color: #000000;
opacity: 0.6;
}
#modal-background-article {
display: none;
z-index: 998;
position: absolute;
@@ -171,6 +186,135 @@ main {
.no-underline {
text-decoration: none;
}
.form-container {
display: flex;
flex-direction: column;
gap: 0.2rem;
}
.form-row {
display: flex;
flex-wrap: wrap;
justify-content: flex-end;
align-items: center;
gap: 0.5rem;
}
.form-row-align-start {
display: flex;
flex-wrap: wrap;
justify-content: flex-start;
align-items: center;
gap: 0.5rem;
}
.form-label {
flex: 2 0 27%;
min-width: 200px;
display: flex;
align-items: center;
}
.form-field {
flex: 0 0 70%;
min-width: 0;
}
.form-field input[type="text"],
.form-field input[type="number"],
.form-field input[type="date"],
.form-field input[type="datetime"],
.form-field input[type="datetime-local"],
.form-field textarea,
.form-field input[type="password"] {
width: 100%;
}
.form-table {
max-height: 150px;
overflow-y: auto;
}
.form-table > div:nth-child(even) {
background-color: var(--dark-row-background);
}
.form-table > div:nth-child(odd) {
background-color: var(--light-row-background);
}
.form-description {
margin-left: 25px;
}
/*
.text-center {
display: flex;
justify-content: center;
width: 100%;
}
*/
.invalid-feedback {
flex: 0 0 100%;
}
.mandatory-field {
color: red;
}
.engraved-title {
margin: 0px;
font-size: 3rem;
background-color: var(--shadow-color);
background-clip: text;
-webkit-background-clip: text;
color: transparent;
text-shadow: var(--highlight-color) 2px 2px 2px;
}
.engraved-panel {
background-color: #00000033;
border-radius: 5px;
min-height: 70px;
padding: 10px;
-webkit-box-shadow: 0 0 7px 0px var(--shadow-color) inset;
-moz-box-shadow: 0 0 7px 0px var(--shadow-color) inset;
box-shadow: 0 0 7px 0px var(--shadow-color) inset;
flex: 0 0 70%;
}
.form-table-row {
padding: 3px 8px;
gap: 8px;
width: 100%;
display: flex;
align-items: center;
/*justify-content: space-between;*/
border-top: 1px solid var(--border-color-light);
border-left: 1px solid var(--border-color-light);
border-bottom: 1px solid var(--border-color-dark);
border-right: 1px solid var(--border-color-dark);
}
.form-table-row span {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
flex: 1;
min-width: 0;
}
.remove-form-table-row-icon {
width: 15px;
flex-shrink: 0;
cursor: pointer;
}
.add-form-table-row-icon {
width: 15px;
cursor: pointer;
}
/* Margins */
.mt-0 {
margin-top: 0px;
@@ -1281,5 +1425,4 @@ main {
/* For desktop: */
@media only screen and (min-width: 768px) {
}