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

@@ -10,6 +10,16 @@
display: none;
}
.enlightenment-toggle-checkbox:checked + .enlightenment-toggle + .enlightenment-dropdown {
display: block;
}
.enlightenment-toggle-checkbox:checked + .enlightenment-toggle .enlightenment-arrow {
background-size: 9px 11px;
background-position: 3px -2px;
transform: rotate(90deg);
}
.enlightenment-toggle {
display: flex;
align-items: center;
@@ -44,6 +54,21 @@
background-size: 12px 6px, 3px auto, 100%;
}
.enlightenment-arrow {
display: inline-block;
width: 12px;
height: 9px;
background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%22545%20-32.5%2027.5%2065%22%3E%3Cpath%20fill%3D%22%23FFF%22%20d%3D%22M568.254,-7.43524%20568.159,-7.34277%20567.977,-7.52246%20546.559,-28.9417%20525.484,-28.9417%20549.787,-4.63446%20557.439,3.01532%20557.619,3.19629%20550.067,10.7549%20525.758,35.0583%20546.834,35.0583%20568.254,13.6429%20578.792,3.10254%20568.254,-7.43524z%22%2F%3E%3C%2Fsvg%3E');
background-size: 10px 9px;
background-repeat: no-repeat;
background-position: 3px -0px;
transition: transform 0.3s ease;
}
.enlightenment-toggle-checkbox:checked + .enlightenment-toggle .enlightenment-arrow {
transform: rotate(90deg);
}
.enlightenment-selected-text {
flex: 1;
text-align: right;
@@ -66,15 +91,9 @@
border-right: #202020 1px solid;
padding: 3px;
z-index: 999;
max-height: none;
overflow-y: auto;
}
.enlightenment-dropdown > .shine-effect:first-child {
top: -4px;
}
.enlightenment-item {
.enlightenment-option {
display: block;
border-left: 1px solid #232323;
border-right: 1px solid #777777;
@@ -88,32 +107,30 @@
cursor: pointer;
}
.enlightenment-item.first-item {
.enlightenment-option.first-option {
border-top: 1px solid #232323;
margin-top: -1px;
}
.enlightenment-item.last-item {
.enlightenment-option.last-option {
border-bottom: 1px solid #777777;
}
.enlightenment-item.disabled {
color: #AAAAAA;
.enlightenment-option.disabled {
color: #AAAAAA; /* Gray color */
}
.enlightenment-item:hover {
.enlightenment-option:hover {
background-image: none;
background: linear-gradient(to bottom, #505050, #464646, #404040, #363636);
color: #1D8AF9;
box-shadow: inset 1px 0 0 0 #777777, inset -1px 0 0 0 #232323, inset 0 1px 0 0 #989898, inset 0 -1px 0 0 #151515;
box-shadow: inset 1px 0 0 0 #777777, /* left */
inset -1px 0 0 0 #232323, /* right */
inset 0 1px 0 0 #989898, /* top */
inset 0 -1px 0 0 #151515; /* bottom */
}
.enlightenment-combobox.open .enlightenment-dropdown {
display: block;
}
.enlightenment-combobox > .shine-effect:first-child {
top: 1px;
opacity: 0;
transition: opacity 0.5s;
}
@@ -1,6 +1,6 @@
#file-system-browser-dialog {
display: none;
position: absolute;
position: fixed;
top: 12.5%;
bottom: 12.5%;
left: 8%;
@@ -893,10 +893,6 @@ div[id^="file-system-browser-file-system-explorer"]:not([id*="container"]) {
overflow-y: auto;
}
.navigator-dropdown.opened {
display: block;
}
.navigator-option {
display: block;
border-left: 1px solid #232323;
@@ -923,7 +919,7 @@ div[id^="file-system-browser-file-system-explorer"]:not([id*="container"]) {
}
.navigator-option.disabled {
color: #AAAAAA; /* Gray color */
color: #AAAAAA;
}
.navigator-option:hover {
@@ -1013,8 +1009,8 @@ div[id^="file-system-browser-file-system-explorer"]:not([id*="container"]) {
@media screen and (max-width: 768px) {
#file-system-browser-dialog {
top: 0;
bottom: 0;
top: 65px;
bottom: 50px;
left: 0;
right: 0;
}
@@ -29,7 +29,7 @@
width: 46px;
height: 46px;
display: none;
z-index: 2;
z-index: 999;
padding: 5px 0;
margin: 0px;
font-family: 'Cabin', Sans-serif;
@@ -185,6 +185,7 @@
position: fixed;
top: 0px;
left: 0px;
max-height: 22px;
width: 100%;
z-index: 900;
}
@@ -21,7 +21,7 @@
border-right: 1px solid #000 !important;
border-bottom: 1px solid #000 !important;
box-shadow: 5px 5px 5px var(--shadow-color);
animation: fadeIn 0.3s, fadeOut 0.3s 4.7s;
animation: fadeIn 0.3s, fadeOut 0.3s 9.7s; /* animation for notifications fade out effect */
flex-direction: column;
flex-wrap: nowrap;
align-items: stretch;
@@ -60,7 +60,7 @@
flex-shrink: 0; /* prevent button from shrinking */
}
.shine-effect {
.notification-shine-effect {
background: linear-gradient(to right, transparent, #fff, transparent);
width: 100%;
top: -1px;
@@ -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) {
}
@@ -52,5 +52,5 @@
}
textarea {
resize: none;
resize: vertical;
}