diff --git a/docs/technical/theming/Theming.md b/docs/technical/theming/Theming.md
index 3a206beb..eb45aaae 100644
--- a/docs/technical/theming/Theming.md
+++ b/docs/technical/theming/Theming.md
@@ -40,7 +40,7 @@ my-theme/
theme.json
assets/
preview.svg
- theme.css
+ site.css
templates/
index.html
shared/
@@ -90,7 +90,7 @@ The manifest is a JSON object describing the theme. The example below is the man
| `author` | yes | Author of the theme, up to 80 characters. |
| `version` | yes | Semantic version form, for example `1.0.0`. Up to 40 characters. |
| `preview` | no | Path to a preview image, relative to the pack root and under `assets/`. Shown on the administration page. |
-| `templates` | yes | A mapping from template key to a file under `templates/`, with 1 to 32 entries. Must include the `default` key. |
+| `templates` | no | An optional mapping from template key to a file under `templates/`, with up to 32 entries. Templates can also be provided as mirrored files under `templates/` without a manifest entry. |
All text fields must be non-empty and must not contain control characters. Template keys follow the same lowercase kebab-case rule as the theme id and are at most 40 characters. Template paths are normalized and must point to an existing file under `templates/`.
@@ -149,9 +149,10 @@ Every themed page is identified by a page key that mirrors the path of the corre
1. An explicit mapping in `templates` when the manifest declares the page key.
2. A mirrored template file at `templates/{pageKey}.html`, walking up the scope of the path when the exact mirror does not exist.
-3. The `default` template from the manifest.
-For example, the books index page has the page key `library/written-content-library/book-library/books/index`. The engine tries, in order: the explicit `templates` entry for that key, `templates/library/written-content-library/book-library/books/index.html`, then the parent scopes such as `templates/library/written-content-library/book-library/books.html`, and finally the `default` template.
+When neither an explicit mapping nor a mirrored file exists, the theme has no template for that page, and the application renders its own fallback unstylied Razor view instead.
+
+For example, the books index page has the page key `library/written-content-library/book-library/books/index`. The engine tries, in order: the explicit `templates` entry for that key, `templates/library/written-content-library/book-library/books/index.html`, then the parent scopes such as `templates/library/written-content-library/book-library/books.html`. When none exists, the application renders the books page view itself.
Known page keys:
@@ -188,7 +189,7 @@ The layout template of the bundled theme shows the intended shape:
@@ -262,10 +263,24 @@ JavaScript is always allowed in themes: script elements in templates are served
## Assets
-Static files under `assets/` are served to the browser. The asset base URL is available to the layout and page templates as `assetBase`, so a stylesheet is referenced as `{{assetBase}}/theme.css`. Assets are served only from within the pack, and paths that would escape the pack are rejected.
+Static files under `assets/` are served to the browser. The asset base URL is available to the layout and page templates as `assetBase`, so a stylesheet is referenced as `{{assetBase}}/site.css`. Assets are served only from within the pack, and paths that would escape the pack are rejected.
+
+A theme owns its behavior as much as its look: the theme script, for example `{{assetBase}}/theme.js`, carries the behavior of the theme chrome, such as the desktop menu bar.
+
+A theme ships the images its stylesheets use as assets too, referenced with paths relative to the stylesheet. For example a stylesheet at `assets/combobox.css` references `images/ui/metal-plate.png`, which is served from `assets/images/ui/metal-plate.png`.
The `preview` field of the manifest points at an asset that is shown as the theme thumbnail on the administration page.
+### The top offset contract
+
+The application translates page coordinates into the content coordinate space of some widgets (for example the selection rectangle of the file system browser) by subtracting the height of the fixed top bar of the theme. A theme that renders a fixed top bar declares that height on the root element as the `--theme-top-offset` custom property, for example in its theme script:
+
+```js
+document.documentElement.style.setProperty('--theme-top-offset', window.getComputedStyle(menubar).height);
+```
+
+When the property is absent it is treated as `0`, which is correct for a theme without a fixed top bar.
+
## Configuration Options
The theme engine is configured through the `ThemeEngine` section of the API configuration (`appsettings.shared.json`):
@@ -284,7 +299,7 @@ The theme engine is configured through the `ThemeEngine` section of the API conf
1. Create a directory for the theme with `theme.json`, a `templates/` directory and an `assets/` directory, following the layout of `editorial-paper`.
2. Write the manifest following the field rules in [The Manifest (theme.json)](#the-manifest-themejson).
-3. Author the templates. Start with `templates/shared/layout.html` and `templates/shared/nav-menu.html`, then add page templates and the `default` template.
+3. Author the templates. Start with `templates/shared/layout.html` and `templates/shared/nav-menu.html`, then add page templates.
4. Add the static files under `assets/`, for example a stylesheet referenced from the layout.
5. Keep the pack within the size limits: the archive at most 8 MB, the extracted pack at most 24 MB, no single file larger than 6 MB and at most 250 entries.
6. Compress the directory into a ZIP archive with `theme.json` at the root of the archive, not nested inside an extra folder.
diff --git a/src/Lumina.Presentation.Api/Core/Themes/Bundled/editorial-paper.zip b/src/Lumina.Presentation.Api/Core/Themes/Bundled/editorial-paper.zip
index 9aefc9ce..a858bbdc 100644
Binary files a/src/Lumina.Presentation.Api/Core/Themes/Bundled/editorial-paper.zip and b/src/Lumina.Presentation.Api/Core/Themes/Bundled/editorial-paper.zip differ
diff --git a/src/Lumina.Presentation.Api/Core/Themes/Bundled/lumina-default.zip b/src/Lumina.Presentation.Api/Core/Themes/Bundled/lumina-default.zip
new file mode 100644
index 00000000..e9b1df3e
Binary files /dev/null and b/src/Lumina.Presentation.Api/Core/Themes/Bundled/lumina-default.zip differ
diff --git a/src/Lumina.Presentation.Web/Core/Views/Admin/ManagePermissions.cshtml.css b/src/Lumina.Presentation.Web/Core/Views/Admin/ManagePermissions.cshtml.css
deleted file mode 100644
index 812d5578..00000000
--- a/src/Lumina.Presentation.Web/Core/Views/Admin/ManagePermissions.cshtml.css
+++ /dev/null
@@ -1,46 +0,0 @@
-#authorization-permissions-container {
- display: flex;
- margin: auto;
- width: 100%;
- height: 100%;
- flex-direction: column;
- flex-wrap: nowrap;
-}
-
-#authorization-permissions-permissions-container {
- flex-grow: 1;
- min-width: 135px;
- min-height: 0px;
-}
-
-#authorization-permissions-permissions {
- border: 1px solid var(--border-color-light-high);
- border-top: 1px solid var(--border-color-dark);
- border-left: 1px solid var(--border-color-dark);
- margin: auto;
- padding-left: 5px;
- width: 100%;
- height: 100%;
- display: flex;
- flex-direction: row;
- flex-wrap: nowrap;
- justify-content: left;
- align-items: stretch;
-}
-
-#authorization-permissions-permissions-scroll {
- background-color: #232323;
- margin: auto;
- width: 100%;
- height: 100%;
-}
-
-#authorization-permissions-permissions-list {
- margin: 1px;
- display: flex;
- flex-direction: column;
- flex-wrap: wrap;
- border: 0px solid black;
- padding: 0px;
- gap: 0px 10px;
-}
diff --git a/src/Lumina.Presentation.Web/Core/Views/Admin/ManageRoles.cshtml.css b/src/Lumina.Presentation.Web/Core/Views/Admin/ManageRoles.cshtml.css
deleted file mode 100644
index 8703767a..00000000
--- a/src/Lumina.Presentation.Web/Core/Views/Admin/ManageRoles.cshtml.css
+++ /dev/null
@@ -1,46 +0,0 @@
-#authorization-roles-container {
- display: flex;
- margin: auto;
- width: 100%;
- height: 100%;
- flex-direction: column;
- flex-wrap: nowrap;
-}
-
-#authorization-roles-permissions-container {
- flex-grow: 1;
- min-width: 135px;
- min-height: 0px;
-}
-
-#authorization-roles-permissions {
- border: 1px solid var(--border-color-light-high);
- border-top: 1px solid var(--border-color-dark);
- border-left: 1px solid var(--border-color-dark);
- margin: auto;
- padding-left: 5px;
- width: 100%;
- height: 100%;
- display: flex;
- flex-direction: row;
- flex-wrap: nowrap;
- justify-content: left;
- align-items: stretch;
-}
-
-#authorization-roles-permissions-scroll {
- background-color: #232323;
- margin: auto;
- width: 100%;
- height: 100%;
-}
-
-#authorization-roles-permissions-list {
- margin: 1px;
- display: flex;
- flex-direction: column;
- flex-wrap: wrap;
- border: 0px solid black;
- padding: 0px;
- gap: 0px 10px;
-}
diff --git a/src/Lumina.Presentation.Web/Core/Views/Library/Management/Index.cshtml.css b/src/Lumina.Presentation.Web/Core/Views/Library/Management/Index.cshtml.css
deleted file mode 100644
index 5f282702..00000000
--- a/src/Lumina.Presentation.Web/Core/Views/Library/Management/Index.cshtml.css
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/src/Lumina.Presentation.Web/Core/Views/Shared/_Layout.cshtml.css b/src/Lumina.Presentation.Web/Core/Views/Shared/_Layout.cshtml.css
deleted file mode 100644
index 5f282702..00000000
--- a/src/Lumina.Presentation.Web/Core/Views/Shared/_Layout.cshtml.css
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/src/Lumina.Presentation.Web/Core/Views/Shared/_ThemeLayoutHead.cshtml b/src/Lumina.Presentation.Web/Core/Views/Shared/_ThemeLayoutHead.cshtml
index e31d4926..4d6fb1b7 100644
--- a/src/Lumina.Presentation.Web/Core/Views/Shared/_ThemeLayoutHead.cshtml
+++ b/src/Lumina.Presentation.Web/Core/Views/Shared/_ThemeLayoutHead.cshtml
@@ -1,12 +1 @@
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/Lumina.Presentation.Web/wwwroot/css/button.css b/src/Lumina.Presentation.Web/wwwroot/css/button.css
deleted file mode 100644
index f74643a3..00000000
--- a/src/Lumina.Presentation.Web/wwwroot/css/button.css
+++ /dev/null
@@ -1,161 +0,0 @@
-.abort-button {
- text-decoration: none;
- border-radius: 4px;
- border: solid 1px;
- border-color: #006666 #004030 #003020 #006666;
- background: linear-gradient(to bottom, #90AEA6 0%, #336659 50%, #004030 50%, #004030 100%);
- color: #999999;
- position: relative;
- overflow: hidden;
- transition: all 0.3s;
- cursor: pointer;
- outline: none;
- box-shadow: 0 4px 4px rgba(0, 0, 0, 0.5);
- z-index: 1;
-}
-
- .abort-button:before {
- content: "";
- position: absolute;
- bottom: 0;
- left: 0;
- right: 0;
- height: 50%;
- background: radial-gradient(circle at center, #00FF00, transparent);
- background-size: 120% 100%;
- transform: translateY(100%);
- background-position: center;
- transition: transform 0.3s, opacity 0.8s;
- pointer-events: none;
- opacity: 0;
- filter: blur(8px);
- }
-
- .abort-button:hover {
- color: #fff;
- }
-
- .abort-button:hover:before {
- transform: translateY(50%);
- opacity: 1;
- }
-
- .abort-button:active {
- background: #CC009F58;
- font-style: italic;
- }
-
- .abort-button:disabled {
- background: #333333;
- border-color: #333333;
- color: #777;
- cursor: not-allowed;
- }
-
- .abort-button:disabled:hover:before {
- transform: translateY(100%);
- opacity: 0;
- }
-
- .abort-button:disabled:active {
- font-style: normal;
- }
-
- .abort-button[disabled] {
- background: #333333;
- border-color: #333333;
- color: #777;
- cursor: not-allowed;
- pointer-events: none;
- text-decoration: none;
- }
-
- .abort-button[disabled]:hover:before {
- transform: translateY(100%);
- opacity: 0;
- }
-
- .abort-button[disabled]:active {
- font-style: normal;
- }
-
-.confirm-button {
- text-decoration: none;
- border-radius: 4px;
- border: solid 1px;
- border-color: #363636 #000 #000 #363636;
- background: linear-gradient(to bottom, #AAAAAA 0%, #363636 50%, #000 50%, #000 100%);
- color: #AAAAAA;
- position: relative;
- overflow: hidden;
- transition: all 0.3s;
- cursor: pointer;
- outline: none;
- box-shadow: 0 4px 4px rgba(0, 0, 0, 0.5);
- z-index: 1;
-}
-
- .confirm-button:before {
- content: "";
- position: absolute;
- bottom: 0;
- left: 0;
- right: 0;
- height: 50%;
- background: radial-gradient(circle at center, #00FF8B, transparent);
- background-size: 120% 100%;
- transform: translateY(100%);
- background-position: center;
- transition: transform 0.3s, opacity 0.8s;
- pointer-events: none;
- opacity: 0;
- filter: blur(8px);
- }
-
- .confirm-button:hover {
- color: #fff;
- }
-
- .confirm-button:hover:before {
- transform: translateY(50%);
- opacity: 1;
- }
-
- .confirm-button:active {
- background: #CC000000;
- font-style: italic;
- }
-
- .confirm-button:disabled {
- background: #333333;
- border-color: #333333;
- color: #777;
- cursor: not-allowed;
- }
-
- .confirm-button:disabled:hover:before {
- transform: translateY(100%);
- opacity: 0;
- }
-
- .confirm-button:disabled:active {
- font-style: normal;
- }
-
-confirm-button[disabled] {
- background: #333333;
- border-color: #333333;
- color: #777;
- cursor: not-allowed;
- pointer-events: none;
- text-decoration: none;
-}
-
-.confirm-button[disabled]:hover:before {
- transform: translateY(100%);
- opacity: 0;
-}
-
-.confirm-button[disabled]:active {
- font-style: normal;
-}
diff --git a/src/Lumina.Presentation.Web/wwwroot/css/checkbox.css b/src/Lumina.Presentation.Web/wwwroot/css/checkbox.css
deleted file mode 100644
index fe31c67a..00000000
--- a/src/Lumina.Presentation.Web/wwwroot/css/checkbox.css
+++ /dev/null
@@ -1,36 +0,0 @@
-/* Basic styles for the label and the hidden checkbox */
-.enlightenment-checkbox-label {
- display: flex;
- align-items: center;
- cursor: pointer;
- font-size: 14px;
- color: #6DCBFE;
- user-select: none;
-}
-
-.enlightenment-checkbox-hidden {
- display: none;
-}
-
-/* Custom checkbox appearance */
-.enlightenment-checkbox {
- width: 14px;
- height: 14px;
- border-top: #000000 1px solid;
- border-bottom: #333333 1px solid;
- border-left: #000000 1px solid;
- border-right: #333333 1px solid;
- border-radius: 0;
- margin-right: 10px;
- position: relative;
- background: linear-gradient(to bottom, #111, #222 50%, #333);
-}
-
-/* Update the custom checkbox appearance when checked */
-.enlightenment-checkbox-hidden:checked + .enlightenment-checkbox {
- background-image: linear-gradient(180deg, #5E5D5D, #505050, #424343);
- border-top: #888888 1px solid;
- border-bottom: #333333 1px solid;
- border-left: #666666 1px solid;
- border-right: #444444 1px solid;
-}
diff --git a/src/Lumina.Presentation.Web/wwwroot/css/combobox.css b/src/Lumina.Presentation.Web/wwwroot/css/combobox.css
deleted file mode 100644
index 4ba1e5e1..00000000
--- a/src/Lumina.Presentation.Web/wwwroot/css/combobox.css
+++ /dev/null
@@ -1,171 +0,0 @@
-.enlightenment-combobox {
- position: relative;
- font-family: Arial, sans-serif;
- padding: 0;
- margin: 0;
- box-sizing: border-box;
-}
-
-.enlightenment-toggle-checkbox {
- 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;
- justify-content: space-between;
- cursor: pointer;
- font-family: Arial, sans-serif;
- font-size: 14px;
- border-radius: 3px;
- box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
- color: #6DCBFE;
- padding: 3px 24px 3px 18px;
- width: 100%;
- border: none;
- outline: none;
- appearance: none;
- border-top: #989898 1px solid;
- border-bottom: #151515 1px solid;
- border-left: #878787 1px solid;
- border-right: #202020 1px solid;
- background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%225%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-width%3D%222%22%20d%3D%22M2%2C0L6%2C4L10%2C0%22%2F%3E%3C%2Fsvg%3E'), url('../images/ui/scrollbar_dots_v.png'), linear-gradient(180deg, #606060, #555555, #4C4C4C, #414141);
- background-repeat: no-repeat, no-repeat, repeat;
- background-position: right 10px top 50%, left 7px top 50%, 0 0;
- background-size: 12px 6px, 3px auto, 100%;
- user-select: none;
- box-sizing: border-box;
-}
-
- .enlightenment-toggle:hover {
- background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%225%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-width%3D%222%22%20d%3D%22M2%2C0L6%2C4L10%2C0%22%2F%3E%3C%2Fsvg%3E'), url('../images/ui/scrollbar_dots_lit_v.png'), linear-gradient(180deg, #606060, #555555, #4C4C4C, #414141);
- background-repeat: no-repeat, no-repeat, repeat;
- background-position: right 10px top 50%, left 7px top 50%, 0 0;
- 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;
-}
-
-.enlightenment-dropdown {
- display: none;
- position: absolute;
- top: 100%;
- left: 0;
- width: 100%;
- box-sizing: border-box;
- background-image: url('../images/ui/metal-plate.png'), linear-gradient(180deg, #505050, #464646, #404040, #363636);
- background-repeat: repeat, no-repeat;
- background-position: 3px 3px, 0 0; /* offset the metal-plate image by 3 pixels from the top and left */
- background-clip: content-box, border-box; /* clip the metal-plate image to the content box */
- border-top: #989898 1px solid;
- border-bottom: #151515 1px solid;
- border-left: #878787 1px solid;
- border-right: #202020 1px solid;
- padding: 3px;
- z-index: 999;
-}
-
-.enlightenment-option {
- display: block;
- border-left: 1px solid #232323;
- border-right: 1px solid #777777;
- border-top: 1px solid #232323;
- border-bottom: 1px solid #777777;
- color: #FFFFFF;
- padding: 5px 10px;
- width: 100%;
- box-sizing: border-box;
- user-select: none;
- cursor: pointer;
-}
-
- .enlightenment-option.first-option {
- border-top: 1px solid #232323;
- margin-top: -1px;
- }
-
- .enlightenment-option.last-option {
- border-bottom: 1px solid #777777;
- }
-
- .enlightenment-option.disabled {
- color: #AAAAAA; /* Gray color */
- }
-
- .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, /* left */
- inset -1px 0 0 0 #232323, /* right */
- inset 0 1px 0 0 #989898, /* top */
- inset 0 -1px 0 0 #151515; /* bottom */
- }
-
-.enlightenment-combobox > .shine-effect:first-child {
- opacity: 0;
- transition: opacity 0.5s;
-}
-
-.enlightenment-combobox:hover > .shine-effect:first-child {
- opacity: 1;
-}
-
-.enlightenment-combobox > .shine-effect::before,
-.enlightenment-combobox > .shine-effect::after {
- content: "";
- position: absolute;
- top: -1px;
- left: 50%;
- transform: translateX(-50%);
- opacity: 0;
- transition: opacity 0.5s;
-}
-
-.enlightenment-combobox > .shine-effect::before {
- width: 3px;
- height: 2px;
- border-radius: 5px 5px 0 0;
- background-color: #FFFFFF;
-}
-
-.enlightenment-combobox > .shine-effect::after {
- width: 10px;
- height: 3px;
- border-radius: 5px 5px 0 0;
- background-color: #FFFFFF;
- filter: blur(3px);
-}
-
-.enlightenment-combobox:hover > .shine-effect::before,
-.enlightenment-combobox:hover > .shine-effect::after {
- opacity: 1;
-}
diff --git a/src/Lumina.Presentation.Web/wwwroot/css/dialog.css b/src/Lumina.Presentation.Web/wwwroot/css/dialog.css
deleted file mode 100644
index 1a5fc905..00000000
--- a/src/Lumina.Presentation.Web/wwwroot/css/dialog.css
+++ /dev/null
@@ -1,127 +0,0 @@
-.dialog-modal-background {
- display: none;
- position: fixed;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- background-color: #000000;
- opacity: 0.6;
- z-index: 998;
-}
-
-.dialog-container {
- display: none;
- position: fixed;
- top: 50%;
- left: 50%;
- transform: translate(-50%, -50%);
- z-index: 999;
- width: 400px;
- max-width: 90%;
-}
-
-.dialog {
- background: linear-gradient(135deg, #404040, #232323);
- border-radius: 4px;
- border-top: 1px solid #505050;
- border-left: 1px solid #505050;
- border-right: 1px solid #000;
- border-bottom: 1px solid #000;
- box-shadow: 5px 5px 5px var(--shadow-color);
- overflow: hidden;
- animation: fadeIn 0.3s ease-out;
- position: relative;
-}
-
-.dialog-content {
- padding: 20px;
- display: flex;
- flex-direction: column;
-}
-
-.dialog-header {
- padding-bottom: 15px;
- position: relative;
-}
-
- .dialog-header h2 {
- margin: 0;
- color: var(--text-foreground);
- font-family: monospace;
- font-size: 1.1rem;
- }
-
-.dialog-shine-effect {
- background: linear-gradient(to right, transparent, #fff, transparent);
- width: 100%;
- top: -1px;
- height: 1px;
- position: absolute;
- pointer-events: none;
-}
-
-.dialog-body {
- border-top: 1px solid #000;
- border-left: 1px solid #000;
- border-right: 1px solid #505050;
- border-bottom: 1px solid #505050;
- padding: 5px;
- color: var(--text-foreground);
- font-family: monospace;
- display: block;
- position: relative;
- overflow-y: auto;
- padding-left: 34px;
-}
-
-.dialog-icon {
- position: sticky;
- top: 5px;
- float: left;
- margin-bottom: 5px;
- width: 24px;
- height: 24px;
- margin-left: -29px;
-}
-
- .dialog-icon.info {
- background-image: url('../images/ui/information.svg');
- }
-
- .dialog-icon.warning {
- background-image: url('../images/ui/warning.svg');
- }
-
- .dialog-icon.error {
- background-image: url('../images/ui/error.svg');
- }
-
- .dialog-icon.question {
- background-image: url('../images/ui/question.svg');
- }
-
-.dialog-message {
- overflow-wrap: break-word;
- word-break: break-word;
- white-space: pre-wrap;
-}
-
-.dialog-buttons {
- display: flex;
- justify-content: flex-end;
- padding-top: 15px;
- gap: 10px;
-}
-
-.dialog-button {
- padding: 2px 16px;
- font-weight: 500;
-}
-
-@keyframes dialogAppear {
- to {
- opacity: 1;
- transform: translateY(0);
- }
-}
diff --git a/src/Lumina.Presentation.Web/wwwroot/css/file-system-browser.css b/src/Lumina.Presentation.Web/wwwroot/css/file-system-browser.css
deleted file mode 100644
index b48cd133..00000000
--- a/src/Lumina.Presentation.Web/wwwroot/css/file-system-browser.css
+++ /dev/null
@@ -1,1145 +0,0 @@
-#file-system-browser-dialog {
- display: none;
- position: fixed;
- top: 12.5%;
- bottom: 12.5%;
- left: 8%;
- right: 8%;
- padding: 10px;
- border: 1px solid var(--border-color-dialog);
- box-shadow: 30px 30px 25px var(--shadow-color);
- user-select: none;
-}
-
-#file-system-browser-content {
- margin: 0px;
- height: 100%;
- display: flex;
- flex-direction: column;
- flex-wrap: nowrap;
- align-items: center;
- align-content: center;
- gap: 0px;
- flex-grow: 1;
- min-height: 0;
-}
-
-#file-system-browser-header {
- border-radius: 5px 5px 0 0;
- border: 1px solid;
- background: linear-gradient(to bottom, #505050 0%, #464646 35%, #404040 55%, #363636 100%);
- border-color: var(--border-color-light) var(--border-color-dark) var(--border-color-dark) var(--border-color-light);
- height: 40px;
- display: flex;
- flex-direction: column;
- flex-wrap: nowrap;
- align-items: stretch;
- justify-content: flex-start;
- position: relative;
- width: 100%;
-}
-
-#file-system-browser-header-navigation-container {
- display: flex;
- flex-direction: row;
- flex-wrap: nowrap;
- align-items: center;
- align-content: center;
- gap: 5px;
- flex-grow: 1;
- margin: 5px;
-}
-
-#file-system-browser-header-address-bar-container {
- display: flex;
- flex-direction: row;
- flex-wrap: nowrap;
- align-items: center;
- align-content: center;
- gap: 5px;
- flex-grow: 1;
-}
-
-.file-system-browser-header-address-bar-url {
- flex-grow: 1;
- flex-shrink: 1;
- min-width: 0;
-}
-
-.file-system-browser-content-new-directory {
- min-width: 35px;
- flex-basis: 35px;
- flex-shrink: 0;
- margin-left: 5px;
-}
-
-.navigation-icon {
- width: 20px;
- cursor: pointer;
- transition: background-color 0.3s;
-}
-
- .navigation-icon.disabled {
- opacity: 0.7;
- cursor: not-allowed;
- }
-
-.file-system-browser-header-navigation {
- display: flex;
- gap: 5px;
-}
-
-.file-system-browser-header-address-bar-actions {
- display: flex;
- align-items: center;
- gap: 5px;
-}
-
-.favorite-unselected {
- filter: grayscale(100%) opacity(50%);
-}
-
-.favorite-unselected, .favorite-selected {
- width: 20px;
- height: 20px;
- transition: filter 0.3s ease;
-}
-
-#file-system-browser-file-system-container {
- width: 100%;
- flex-grow: 1;
- display: flex;
- flex-direction: row;
- flex-wrap: nowrap;
- align-items: stretch;
- overflow: hidden;
- gap: 0px;
- min-height: 0;
-}
-
-#file-system-browser-file-system-treeview-container {
- background-color: #131313;
- border-top: 1px solid var(--border-color-light);
- border-left: 1px solid var(--border-color-light);
- border-right: 1px solid var(--border-color-dark);
- min-width: 170px;
- max-width: 400px;
- width: 400px;
- height: 100%;
- max-height: 100%;
- flex-shrink: 0;
- display: flex;
- flex-direction: column;
- flex-wrap: nowrap;
- align-items: center;
- gap: 0px;
- padding: 10px;
- overflow: hidden;
- min-height: 0;
-}
-
- #file-system-browser-file-system-treeview-container.collapsed {
- max-width: 0px;
- min-width: 0px;
- border: 0px;
- padding: 0px;
- }
-
-#file-system-browser-file-system-treeview {
- background-color: #131313;
- border: 1px solid var(--border-color-light);
- border-top: 1px solid var(--border-color-dark);
- border-left: 1px solid var(--border-color-dark);
- margin-bottom: 10px;
- flex-grow: 1;
- width: 100%;
- box-shadow: inset 2px 2px 5px var(--shadow-color);
- overflow: auto;
- max-height: 100%;
- min-height: 0;
-}
-
-.file-system-browser-file-system-sources {
- flex-grow: 0;
-}
-
-#file-system-browser-file-system-directories-container {
- background-color: #131313;
- border-top: 1px solid var(--border-color-light);
- border-left: 1px solid var(--border-color-light-medium);
- flex-grow: 1;
- min-width: 135px;
- padding: 10px;
-}
-
-#file-system-browser-file-system-directories {
- background-color: #262626;
- border: 1px solid var(--border-color-light);
- border-top: 1px solid var(--border-color-dark);
- border-left: 1px solid var(--border-color-dark);
- width: 100%;
- height: 100%;
- box-shadow: inset 2px 2px 5px var(--shadow-color);
- margin: auto;
- width: 100%;
- height: 100%;
- display: flex;
- flex-direction: row;
- flex-wrap: nowrap;
- justify-content: left;
- align-items: stretch;
-}
-
-#file-system-browser-file-system-explorer-container {
- background-color: #232323;
- margin: auto;
- width: 100%;
- height: 100%;
-}
-
-#file-system-browser-file-system-explorer-details-header {
- color: deepskyblue;
- background-color: #232323;
-}
-
-#file-system-browser-file-system-explorer {
-}
-
-div[id^="file-system-browser-file-system-explorer"]:not([id*="container"]) {
- margin: 1px;
- display: flex;
- flex-direction: column;
- flex-wrap: wrap;
- border: 0px solid black;
- padding: 0px;
- gap: 0px 10px;
-}
-
-.details {
- width: 100% !important;
- overflow-x: hidden;
- height: auto !important;
-}
-
-.list {
- width: auto !important;
- overflow-x: auto;
- height: 100% !important;
-}
-
-/*filesystem element*/
-.e {
- font-family: monospace;
- min-height: 16px;
- white-space: nowrap;
- padding: 1px 5px 1px 1px;
- background-color: #191E21;
- border-bottom-color: #000000;
- border-bottom-style: solid;
- border-bottom-width: 1px;
- border-top-color: #444444;
- border-top-style: solid;
- border-top-width: 1px;
- border-right-color: #000000;
- border-right-style: solid;
- border-right-width: 1px;
- border-left-color: #444444;
- border-left-style: solid;
- border-left-width: 1px;
- display: flex;
- align-items: center;
- user-select: none;
- box-sizing: content-box;
-}
-
- .e.details-icons {
- width: 100%;
- display: flex;
- align-items: center;
- }
-
- .e.small-icons {
- width: 320px;
- align-items: center;
- }
-
- .e.medium-icons {
- width: 74px;
- height: 115px;
- flex-direction: column;
- align-items: center;
- padding: 5px;
- }
-
- .e.large-icons {
- width: 105px;
- height: 161px;
- flex-direction: column;
- align-items: center;
- padding: 5px;
- }
-
- .e.extra-large-icons {
- width: 270px;
- height: 290px;
- flex-direction: column;
- align-items: center;
- padding: 5px;
- }
-
- .e.list-icons .icon {
- width: 16px;
- height: 16px;
- display: flex;
- align-items: center;
- margin-right: 3px;
- }
-
- .e.details-icons .icon {
- width: 16px;
- height: 16px;
- display: flex;
- align-items: center;
- margin-right: 3px;
- display: flex;
- justify-content: center;
- }
-
- .e.small-icons .icon {
- width: 16px;
- height: 16px;
- display: flex;
- align-items: center;
- margin-right: 3px;
- }
-
- .e.medium-icons .icon {
- width: 100%;
- height: 48px;
- display: flex;
- justify-content: center;
- align-items: center;
- padding-bottom: 5px;
- }
-
- .e.large-icons .icon {
- width: 100%;
- height: 90px;
- display: flex;
- justify-content: center;
- align-items: center;
- padding-bottom: 5px;
- }
-
- .e.extra-large-icons .icon {
- width: 100%;
- height: 240px;
- display: flex;
- justify-content: center;
- align-items: center;
- padding-bottom: 5px;
- }
-
- .e.list-icons .icon img {
- height: 16px;
- width: 16px;
- }
-
- .e.details-icons .icon img {
- height: 16px;
- width: 16px;
- }
-
- .e.small-icons .icon img {
- height: 16px;
- width: 16px;
- }
-
- .e.medium-icons .icon img {
- height: 48px;
- width: auto;
- max-width: 100%;
- }
-
- .e.large-icons .icon img {
- height: 90px;
- width: auto;
- max-width: 100%;
- }
-
- .e.extra-large-icons .icon img {
- height: 240px;
- width: auto;
- max-width: 100%;
- }
-
- .e.small-icons .text {
- width: 293px;
- display: flex;
- align-items: center;
- }
-
- .e.medium-icons .text {
- width: 74px;
- height: 67px;
- display: flex;
- justify-content: center;
- align-items: center;
- overflow: hidden;
- white-space: nowrap;
- text-overflow: ellipsis;
- }
-
- .e.large-icons .text {
- width: 94px;
- height: 66px;
- display: flex;
- justify-content: center;
- align-items: center;
- overflow: hidden;
- white-space: nowrap;
- text-overflow: ellipsis;
- }
-
- .e.extra-large-icons .text {
- width: 256px;
- height: 36px;
- display: flex;
- justify-content: center;
- align-items: center;
- overflow: hidden;
- white-space: nowrap;
- text-overflow: ellipsis;
- }
-
- .e.details-icons .text span {
- overflow: hidden;
- text-overflow: ellipsis;
- }
-
- .e.small-icons .text span {
- overflow: hidden;
- text-overflow: ellipsis;
- }
-
- .e.medium-icons .text span {
- max-width: 74px;
- max-height: 67px;
- display: block;
- white-space: pre-wrap;
- word-wrap: break-word;
- }
-
- .e.large-icons .text span {
- max-width: 94px;
- max-height: 66px;
- display: block;
- white-space: pre-wrap;
- word-wrap: break-word;
- }
-
- .e.extra-large-icons .text span {
- max-width: 256px;
- max-height: 36px;
- display: block;
- white-space: pre-wrap;
- word-wrap: break-word;
- }
-
- .e.details-icons .date-modified,
- .e.details-icons .type,
- .e.details-icons .size {
- display: flex;
- align-items: center;
- padding-left: 10px;
- overflow: hidden;
- text-overflow: ellipsis;
- text-align: right;
- white-space: nowrap;
- }
-
- .e.details-icons .text {
- flex-grow: 1;
- display: flex;
- align-items: center;
- padding-left: 1px;
- }
-
- .e.details-icons .date-modified {
- width: 180px;
- padding-left: 10px;
- }
-
- .e.details-icons .type {
- width: 200px;
- padding-left: 10px;
- }
-
- .e.details-icons .size {
- width: 100px;
- padding-left: 10px;
- padding-right: 10px;
- display: flex;
- justify-content: flex-end;
- }
-
- .e:nth-child(even) {
- background-color: #28292B;
- }
-
- .e:hover {
- background-color: #404040;
- border-top-color: #999999;
- border-left-color: #999999;
- }
-
- .e.selected {
- background-color: #4D4D4D;
- border-top-color: #999999;
- border-left-color: #999999;
- }
-
- .e.selection-hover {
- background-color: #0048D7;
- }
-
- .e.cut {
- background-color: #19233b;
- }
-
- .e.cut img {
- opacity: 30%;
- }
-
-/*directory*/
-.d {
- color: #6DCBFE;
-}
-
-/*file*/
-.f {
- color: #BBBBBB;
-}
-
-/*filesystem item text*/
-.t {
- user-select: none;
-}
-
-#file-system-browser-actions-container {
- flex-grow: 0;
- display: flex;
- flex-direction: column;
- flex-wrap: nowrap;
- align-items: flex-start;
- align-content: center;
- gap: 5px;
- width: 100%;
-}
-
-#file-system-browser-actions {
- flex-grow: 0;
- display: flex;
- flex-direction: row;
- flex-wrap: nowrap;
- justify-content: flex-end;
- gap: 5px;
- width: 100%;
-}
-
-#file-system-browser-actions-path-container {
- margin-top: 5px;
- display: flex;
- flex-direction: row;
- flex-wrap: nowrap;
- align-items: center;
- gap: 5px;
- width: 100%;
-}
-
-#file-system-browser-shine-effect {
- background: linear-gradient(to right, transparent, #fff, transparent);
- width: 100%;
- height: 1px;
- flex-shrink: 0;
- pointer-events: none; /* ensure it doesn't interfere with interactions */
-}
-
-#file-system-browser-shine-spark {
- position: absolute;
- top: -2px;
- left: -20px; /* start off-screen */
- width: 20px;
- height: 5px;
- background: radial-gradient(ellipse at center, rgba(255,255,255,1) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0) 100%);
- border-radius: 50%;
- filter: blur(1px);
- opacity: 0;
- animation: spark-animation 30s cubic-bezier(0.25, 0.9, 0.9, 0.1) infinite;
-}
-
- #file-system-browser-shine-spark::before {
- content: '';
- position: absolute;
- top: 50%;
- left: 50%;
- width: 10px;
- height: 10px;
- background: white;
- clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
- transform: translate(-50%, -50%);
- filter: blur(0.5px);
- animation: star-rotation 5s linear infinite;
- }
-
- #file-system-browser-shine-spark::after {
- content: '';
- position: absolute;
- top: 50%;
- left: 50%;
- width: 6px;
- height: 6px;
- background: #FFFFFF;
- border-radius: 50%;
- transform: translate(-50%, -50%);
- }
-
-@keyframes spark-animation {
- 40% {
- left: -20px;
- opacity: 0;
- }
-
- 50% {
- opacity: 1;
- }
-
- 60% {
- left: 100%;
- opacity: 0;
- }
-}
-
-@keyframes star-rotation {
- from {
- transform: translate(-50%, -50%) rotate(0deg);
- }
-
- to {
- transform: translate(-50%, -50%) rotate(360deg);
- }
-}
-
-/*File System Navigator*/
-#navigator-navigation-controls-container {
- width: 225px;
- display: flex;
- align-items: center;
-}
-
-#navigator-history {
- display: flex;
- align-items: center;
- margin-right: 10px;
-}
-
-#navigator-history, .navigator-navigate-button, .navigator-edit-path-button {
- flex-shrink: 0; /* don't let them shrink */
-}
-
- #navigator-history img {
- width: 26px;
- height: 26px;
- margin-left: 5px;
- }
-
-.navigator-icon {
- width: 30px;
- height: 30px;
- cursor: pointer;
-}
-
-.navigator-icon-fill {
- color: #039bfc;
-}
-
- .navigator-icon-fill.enabled {
- color: #f00;
- }
-
-#navigator-new-directory-icon {
- width: 22px;
- height: 22px;
-}
-
-#navigator-navigate-icon,
-#navigator-edit-icon {
- width: 24px;
- height: 24px;
-}
-
-.navigator-navigate-button, .navigator-edit-path-button {
- text-align: end !important;
- flex-shrink: 0;
-}
-
-.navigator-navigate-button,
-.file-system-browser-content-new-directory {
- margin: 0px 10px 2px 0px;
- flex-shrink: 0;
-}
-
-.file-system-browser-content-favorite-directory {
- margin: 0px 2px 2px 0px;
- flex-shrink: 0;
-}
-
-.navigator-edit-path-button {
- margin: 0px 10px 2px 12px;
- flex-shrink: 0;
-}
-
-#navigator-address-bar-container {
- flex-grow: 1;
- display: flex;
- height: 28px;
- align-items: center;
- overflow-x: hidden;
- margin-right: 5px;
-}
-
-
- #navigator-address-bar-container::-webkit-scrollbar,
- #navigator-address-bar-group::-webkit-scrollbar {
- display: none;
- width: 0;
- }
-
-#navigator-address-bar-container,
-#navigator-address-bar-group {
- scrollbar-width: none; /* Firefox 64+ */
-}
-
-#navigator-address-bar-container,
-#navigator-address-bar-group {
- -ms-overflow-style: none; /* IE 10+ */
-}
-
-
-/* for Webkit browsers like Chrome, Safari */
-#navigator-address-bar::-webkit-scrollbar {
- height: 0;
-}
-
-/* for Internet Explorer and Edge */
-#navigator-address-bar {
- -ms-overflow-style: none; /*IE and Edge */
-}
-
- /* for Firefox */
- #navigator-address-bar ::-moz-scrollbar {
- width: 0;
- display: none;
- }
-
-
-#navigator-address-bar-group {
- flex-grow: 1; /* let it take the remaining space */
- display: flex; /* use flex for its children */
- flex-wrap: nowrap;
- align-items: center; /* vertically center its children */
- height: 30px;
- overflow-x: hidden;
-}
-
-
-#navigator-view-mode-container {
- display: flex;
- margin-right: 0px;
- align-items: center;
- width: 175px;
- margin-left: 5px;
-}
-
- #navigator-view-mode-container img {
- margin-right: 5px;
- width: 16px;
- height: 16px;
- cursor: pointer;
- }
-
-
-.navigator-address-bar-input {
- width: 100%;
-}
-
-
-#navigator-address-bar {
- background-color: #23232355;
- margin-top: -2px;
- padding-left: 2px;
- vertical-align: middle;
- height: 30px;
- flex-grow: 1;
- overflow-x: auto;
- overflow-y: hidden;
- -webkit-overflow-scrolling: touch;
-}
-
- #navigator-address-bar ul {
- height: 100%;
- list-style-type: none;
- padding: 0;
- display: flex;
- align-items: center;
- }
-
-#navigator-path-segments {
- margin: 0px !important;
-}
-
-.navigator-combobox {
- position: relative;
- font-family: Arial, sans-serif;
- padding: 0;
- margin: 0;
- box-sizing: border-box;
-}
-
-.navigator-toggle-checkbox {
- display: none;
-}
-
- .navigator-toggle-checkbox:checked + .navigator-toggle + .navigator-dropdown {
- display: block;
- }
-
- .navigator-toggle-checkbox:checked + .navigator-toggle .navigator-arrow {
- background-size: 9px 11px;
- background-position: 3px -2px;
- transform: rotate(90deg);
- }
-
-.navigator-toggle {
- display: flex;
- align-items: center;
- justify-content: space-between;
- cursor: pointer;
- font-family: Arial, sans-serif;
- font-size: 14px;
- border-top-left-radius: 2px;
- border-top-right-radius: 4px;
- border-bottom-right-radius: 3px;
- border-bottom-left-radius: 3px;
- box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
- color: #6DCBFE;
- padding: 3px 8px 3px 8px;
- width: 100%;
- border: none;
- outline: none;
- appearance: none;
- border-top: #989898 1px solid;
- border-bottom: #151515 1px solid;
- border-left: #878787 1px solid;
- border-right: #202020 1px solid;
- background-image: linear-gradient(180deg, #606060, #555555, #4C4C4C, #414141);
- background-repeat: repeat;
- background-position: 0 0;
- background-size: 100%;
- user-select: none;
- box-sizing: border-box;
-}
-
-.navigator-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;
-}
-
-.navigator-toggle-checkbox:checked + .navigator-toggle .navigator-arrow {
- transform: rotate(90deg);
-}
-
-.navigator-selected-text {
- flex-grow: 1;
- text-align: right;
- white-space: nowrap;
-}
-
-.navigator-dropdown {
- display: none;
- position: absolute;
- top: 0;
- left: 0;
- min-width: 150px;
- max-width: 800px;
- box-sizing: border-box;
- background-image: url('../images/ui/metal-plate.png'), linear-gradient(180deg, #505050, #464646, #404040, #363636);
- background-repeat: repeat, no-repeat;
- background-position: 3px 3px, 0 0; /* offset the metal-plate image by 3 pixels from the top and left */
- background-clip: content-box, border-box; /* clip the metal-plate image to the content box */
- border-top: #989898 1px solid;
- border-bottom: #151515 1px solid;
- border-left: #878787 1px solid;
- border-right: #202020 1px solid;
- padding: 3px;
- z-index: 999;
- max-height: calc(100vh - 12.5vh - 60px); /* subtracting a small value ensures a little space is left on top and bottom; -12.5% because parent has "top: 12.5%;" */
- overflow-y: auto;
-}
-
-.navigator-option {
- display: block;
- border-left: 1px solid #232323;
- border-right: 1px solid #777777;
- border-top: 1px solid #232323;
- border-bottom: 1px solid #777777;
- color: #FFFFFF;
- padding: 5px 10px;
- min-width: 100%;
- box-sizing: border-box;
- user-select: none;
- cursor: pointer;
- text-align: start;
- white-space: nowrap;
-}
-
- .navigator-option.first-option {
- border-top: 1px solid #232323;
- margin-top: -1px;
- }
-
- .navigator-option.last-option {
- border-bottom: 1px solid #777777;
- }
-
- .navigator-option.disabled {
- color: #AAAAAA;
- }
-
- .navigator-option:hover {
- background-image: none;
- background: linear-gradient(to bottom, #505050, #464646, #404040, #363636);
- color: #1D8AF9;
- 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 */
- }
-
-.navigator-combobox > .shine-effect:first-child {
- opacity: 0;
- transition: opacity 0.5s;
-}
-
-.navigator-combobox:hover > .shine-effect:first-child {
- opacity: 1;
-}
-
-.navigator-combobox > .shine-effect::before,
-.navigator-combobox > .shine-effect::after {
- content: "";
- position: absolute;
- top: -1px;
- left: 50%;
- transform: translateX(-50%);
- opacity: 0;
- transition: opacity 0.5s;
-}
-
-.navigator-combobox > .shine-effect::before {
- width: 3px;
- height: 2px;
- border-radius: 5px 5px 0 0;
- background-color: #FFFFFF;
-}
-
-.navigator-combobox > .shine-effect::after {
- width: 10px;
- height: 3px;
- border-radius: 5px 5px 0 0;
- background-color: #FFFFFF;
- filter: blur(3px);
-}
-
-.navigator-combobox:hover > .shine-effect::before,
-.navigator-combobox:hover > .shine-effect::after {
- opacity: 1;
-}
-
-
-#selection-rectangle {
- background-color: transparent;
- border: 0px;
- pointer-events: none;
- position: absolute;
- top: 0px;
- left: 0px;
- width: 0px;
- height: 0px;
-}
-
-#visible-selection-rectangle {
- background-color: #0078D777;
- border: 1px solid #0078D7;
- pointer-events: none; /* so it doesn't interfere with the mouse events */
- position: absolute;
- top: 0px;
- left: 0px;
- width: 0px;
- height: 0px;
- visibility: hidden;
- z-index: 1000;
-}
-
-.scroll-vertical {
- overflow-x: hidden;
- overflow-y: auto;
-}
-
-.scroll-horizontal {
- overflow-x: auto;
- overflow-y: hidden;
-}
-
-@media screen and (max-width: 768px) {
- #file-system-browser-dialog {
- top: 65px;
- bottom: 50px;
- left: 0;
- right: 0;
- }
-
- #file-system-browser-header {
- height: auto;
- }
-
- #file-system-browser-header-navigation-container {
- flex-wrap: wrap;
- align-items: flex-start;
- }
-
- #navigator-view-mode-container {
- flex-grow: 1;
- order: 1;
- }
-
- #navigator-navigation-controls-container {
- flex-grow: 1;
- order: 2;
- /*text-align: right;*/
- justify-content: flex-end;
- width: auto;
- }
-
- #navigator-address-bar-container {
- flex-basis: 100%;
- order: 3;
- }
-
- #file-system-browser-header-address-bar-container {
- flex-direction: column;
- align-items: stretch;
- width: 100%;
- }
-
- .file-system-browser-header-address-bar-url {
- width: 100%;
- margin-bottom: 5px;
- }
-
- .file-system-browser-header-navigation {
- display: flex;
- gap: 5px;
- margin-bottom: 5px;
- }
-
- .file-system-browser-header-address-bar-actions {
- display: flex;
- justify-content: space-between;
- align-items: center;
- width: 100%;
- }
-
- .file-system-browser-content-new-directory {
- min-width: 0;
- flex-basis: auto;
- margin-right: 10px;
- margin-left: 0px;
- }
-
- /*File System Navigator*/
- #navigator-view-mode-container {
- height: 26px;
- margin-left: 11px;
- }
-
- #navigator-address-bar-container {
- width: 100%;
- flex-basis: 100%;
- }
-
- #navigator-address-bar-group {
- margin-left: 10px;
- }
-
- #navigator-toggle-selection-button {
- margin-right: 4px;
- }
-
- #navigator-history {
- margin-right: 2px;
- }
-
- #file-system-browser-file-system-treeview-container {
- flex-shrink: 1;
- }
-}
-
-
-@media screen and (max-width: 449px) {
- #file-system-browser-dialog {
- min-width: 450px
- }
-
- .e.extra-large-icons {
- width: 100%;
- }
-
- .e.extra-large-icons .text {
- width: calc(100% - 14px);
- }
-
- .e.extra-large-icons .text span {
- max-width: 450px;
- }
-
- .e.large-icons {
- width: 164px;
- }
-
- .e.large-icons .text {
- width: calc(100% - 14px);
- }
-
- .e.large-icons .text span {
- width: calc(100% - 14px);
- }
-
- .e.medium-icons {
- width: 102px;
- }
-
- .e.medium-icons .text {
- width: calc(100% - 14px);
- }
-
- .e.medium-icons .text span {
- width: calc(100% - 14px);
- }
-}
diff --git a/src/Lumina.Presentation.Web/wwwroot/css/file-system-tree-view-node.css b/src/Lumina.Presentation.Web/wwwroot/css/file-system-tree-view-node.css
deleted file mode 100644
index 206d88d4..00000000
--- a/src/Lumina.Presentation.Web/wwwroot/css/file-system-tree-view-node.css
+++ /dev/null
@@ -1,78 +0,0 @@
-.tree-node {
- padding: 2px 0;
-}
-
-.node-content {
- display: flex;
- align-items: flex-start;
- cursor: pointer;
- padding: 0px;
- border-radius: 2px;
- border: 1px solid transparent;
- flex-wrap: wrap;
- min-width: 100%;
- display: inline-block;
- white-space: nowrap;
-}
-
- .node-content:hover {
- background-color: #131313;
- border-top: 1px solid var(--border-color-light);
- border-left: 1px solid var(--border-color-light);
- border-right: 1px solid var(--border-color-dark);
- background-color: var(--container-background);
- }
-
- .node-content.selected {
- background-color: #131313;
- border-bottom: 1px solid var(--border-color-light);
- border-right: 1px solid var(--border-color-light);
- border-left: 1px solid var(--border-color-dark);
- background-color: var(--container-background);
- }
-
-.node-icon {
- margin-right: 5px;
- width: 16px;
- text-align: center;
- flex-shrink: 0;
-}
-
-.node-icon, .expand-button {
- flex-shrink: 0;
- align-self: center;
-}
-
-.child-nodes {
- padding-left: 20px;
- border-left: 1px dotted #ccc;
- margin-left: 7px;
-}
-
-.expand-button {
- display: inline-flex;
- width: 10px;
- height: 10px;
- margin-right: 5px;
- background-image: url("data:image/svg+xml;utf8,
");
- background-size: contain;
- transition: transform 0.2s ease;
-}
-
- .expand-button.expanded {
- background-image: url("data:image/svg+xml;utf8,
");
- transform: rotate(90deg);
- }
-
-.spacer {
- display: inline-block;
- width: 15px;
-}
-
-.node-name {
- margin-left: 3px;
- overflow-wrap: break-word;
- word-break: break-all;
- flex: 1;
- align-self: end;
-}
diff --git a/src/Lumina.Presentation.Web/wwwroot/css/image-viewer.css b/src/Lumina.Presentation.Web/wwwroot/css/image-viewer.css
deleted file mode 100644
index efa578fe..00000000
--- a/src/Lumina.Presentation.Web/wwwroot/css/image-viewer.css
+++ /dev/null
@@ -1,146 +0,0 @@
-.image-viewer-overlay {
- display: none;
- position: fixed;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- z-index: 1001;
- background-color: rgba(0, 0, 0, 0.85);
- align-items: center;
- justify-content: center;
-}
-
-.image-viewer-overlay.open {
- display: flex;
- animation: fadeIn 0.3s ease-out;
-}
-
-.image-viewer-stage {
- position: relative;
- display: flex;
- flex-direction: column;
- align-items: center;
- max-width: 92%;
- max-height: 92%;
-}
-
-.image-viewer-image {
- max-width: 100%;
- max-height: 88vh;
- object-fit: contain;
- opacity: 0;
- border: 1px solid #505050;
- background-color: #000;
- box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
-}
-
-.image-viewer-image.loaded {
- opacity: 1;
- transition: opacity 0.2s ease-out;
-}
-
-.image-viewer-caption {
- margin-top: 12px;
- color: var(--text-foreground);
- font-family: monospace;
- font-size: 0.95rem;
- text-align: center;
- text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
-}
-
-.image-viewer-spinner {
- position: absolute;
- top: 50%;
- left: 50%;
- width: 40px;
- height: 40px;
- margin: -20px 0 0 -20px;
- border: 4px solid rgba(255, 255, 255, 0.25);
- border-top-color: #fff;
- border-radius: 50%;
- animation: image-viewer-spin 0.8s linear infinite;
-}
-
-@keyframes image-viewer-spin {
- to {
- transform: rotate(360deg);
- }
-}
-
-.image-viewer-button {
- position: absolute;
- width: 44px;
- height: 44px;
- border: 1px solid #505050;
- border-radius: 50%;
- background-color: rgba(0, 0, 0, 0.5);
- cursor: pointer;
- display: flex;
- align-items: center;
- justify-content: center;
-}
-
-.image-viewer-button:hover {
- border-color: var(--text-foreground);
- background-color: rgba(0, 0, 0, 0.75);
-}
-
-.image-viewer-button:disabled {
- opacity: 0.35;
- cursor: default;
-}
-
-.image-viewer-close {
- top: 18px;
- right: 18px;
-}
-
-.image-viewer-close::before,
-.image-viewer-close::after {
- content: '';
- position: absolute;
- width: 20px;
- height: 2px;
- background-color: var(--text-foreground);
-}
-
-.image-viewer-close::before {
- transform: rotate(45deg);
-}
-
-.image-viewer-close::after {
- transform: rotate(-45deg);
-}
-
-.image-viewer-prev {
- left: 18px;
- top: 50%;
- transform: translateY(-50%);
-}
-
-.image-viewer-prev::before {
- content: '';
- width: 12px;
- height: 12px;
- margin-left: 5px;
- border-left: 3px solid var(--text-foreground);
- border-bottom: 3px solid var(--text-foreground);
- transform: rotate(45deg);
-}
-
-.image-viewer-next {
- right: 18px;
- top: 50%;
- transform: translateY(-50%);
-}
-
-.image-viewer-next::before {
- content: '';
- width: 12px;
- height: 12px;
- margin-right: 5px;
- border-right: 3px solid var(--text-foreground);
- border-top: 3px solid var(--text-foreground);
- transform: rotate(45deg);
-}
diff --git a/src/Lumina.Presentation.Web/wwwroot/css/navigation-menu.css b/src/Lumina.Presentation.Web/wwwroot/css/navigation-menu.css
deleted file mode 100644
index 64b44b13..00000000
--- a/src/Lumina.Presentation.Web/wwwroot/css/navigation-menu.css
+++ /dev/null
@@ -1,356 +0,0 @@
-.overlay {
- position: fixed;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- opacity: 0;
- visibility: hidden;
- transition: opacity 0.50s, visibility 0.50s, height 0.50s;
- -webkit-transition: opacity 0.50s, visibility 0.50s, height 0.50s;
- overflow: hidden;
- background: black;
- z-index: -1;
-}
-
-#hamburger-input {
- display: none;
-}
-
-#hamburger-menu {
- cursor: pointer;
- position: fixed;
- border-radius: 4px;
- border: 1px solid #777777;
- border-bottom-color: #000000;
- border-right-color: #000000;
- top: 10px;
- left: 10px;
- width: 46px;
- height: 46px;
- display: none;
- z-index: 999;
- padding: 5px 0;
- margin: 0px;
- font-family: 'Cabin', Sans-serif;
- background: linear-gradient(to top, #424343 0%, #505050 50%, #5E5D5D 100%);
-}
-
- #hamburger-menu > span {
- display: block;
- width: 30px;
- height: 4px;
- margin: 6px auto;
- background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
- border-radius: 2px;
- box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.2), 0 1px 0 rgba(255, 255, 255, 0.2);
- }
-
- #hamburger-menu:hover {
- background: linear-gradient(to top, #505050 0%, #5E5D5D 50%, #6A6969 100%);
- }
-
- #hamburger-menu:hover > span {
- background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
- box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.3), 0 1px 0 rgba(255, 255, 255, 0.3);
- }
-
- #hamburger-menu #mobile-menu {
- visibility: hidden;
- position: fixed;
- margin: 0px;
- top: 0;
- left: -100%;
- width: 100%;
- border: 1px solid #777777;
- border-bottom-color: #000000;
- border-right-color: #000000;
- overflow: auto;
- color: #6DCBFE;
- text-align: center;
- background: #4F4F4F;
- transition: 0.50s;
- -webkit-transition: 0.50s;
- padding: 0px 10px;
- box-sizing: border-box;
- }
-
-#mobile-menu-content {
- border: 1px solid #777777;
- border-top-color: #000000;
- border-left-color: #000000;
- margin-top: 4px;
- margin-left: -6px;
- margin-right: -5px;
- margin-bottom: 3px;
- color: #6DCBFE;
- text-align: center;
- font-size: 18px;
- font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
- font-weight: bold;
- text-shadow: 0px 0px 2px rgba(0,0,0,1);
- /*background: #000 url(../images/metal-plate.png);*/
-}
-
-.mobile-menu-heading {
- height: 35px;
- font-size: 28px;
- background: rgb(10, 11, 11);
- border: 1px solid #777777;
- border-bottom-color: #000000;
- border-right-color: #000000;
- width: 100%;
- background-image: linear-gradient(180deg, #505050, #464646, #404040, #363636);
-}
-
-#hamburger-menu ul {
- margin-left: 0px;
- margin-top: 0px;
- margin-bottom: 0px;
- padding: 0px;
- width: 100%;
-}
-
-#hamburger-menu li {
- width: 100%;
- list-style-type: none;
- line-height: 2rem;
- display: flex;
- font-weight: normal;
- font-size: 10px;
- text-shadow: none;
- text-align: left;
- border: 1px solid #333333;
- border-bottom-color: #000000;
- border-right-color: #000000;
-}
-
- #hamburger-menu li:nth-child(even) {
- background-color: #191E21;
- }
-
- #hamburger-menu li:nth-child(odd) {
- background-color: #28292B;
- }
-
-#hamburger-menu a {
- padding-left: 5px;
- width: 100%;
- color: #6DCBFE;
- font-weight: normal;
- font-size: 18px;
- font-family: 'Arial';
- text-decoration: none;
- display: inline-block;
- margin-left: 0.3em;
-}
-
- #hamburger-menu a:focus,
- #hamburger-menu a:active {
- color: #7CACF8;
- }
-
- #hamburger-menu a:hover {
- color: #FFFFFF;
- background: rgb(10, 11, 11);
- background-image: linear-gradient(180deg, #505050, #464646, #404040, #363636);
- }
-
-#hamburger-input:checked + #hamburger-menu {
- background: linear-gradient(to bottom, #424343 0%, #505050 50%, #5E5D5D 100%);
- border: 1px solid #777777;
- border-top: 1px solid #000000;
- border-left: 1px solid #000000;
-}
-
- #hamburger-input:checked + #hamburger-menu #mobile-menu {
- visibility: visible;
- left: 0;
- top: 71px;
- }
-
-#hamburger-input:checked + #hamburger-menu {
- z-index: 2;
-}
-
-#hamburger-input:checked ~ .overlay {
- visibility: visible;
- opacity: 0.5;
- z-index: 1;
-}
-
-.menubar {
- background: linear-gradient( to bottom, #505050 0%, #464646 35%, #404040 55%, #363636 100% );
- padding: 0;
- position: fixed;
- top: 0px;
- left: 0px;
- max-height: 22px;
- width: 100%;
- z-index: 900;
-}
-
- .menubar li.open > ul {
- display: block; /* show submenu when parent has 'open' class */
- }
-
- .menubar ul {
- list-style-type: none;
- margin: 0;
- padding: 0;
- }
-
- .menubar > ul > li {
- display: inline-block;
- position: relative;
- }
-
- .menubar label,
- .menubar a {
- display: block;
- padding: 2px 10px;
- text-decoration: none;
- cursor: default;
- color: #6DCBFE;
- position: relative;
- user-select: none;
- border: 1px solid transparent;
- }
-
- .menubar > ul > li > label:hover,
- .menubar > ul > li > a:hover {
- background: linear-gradient( to bottom, #505050 0%, #464646 35%, #404040 55%, #363636 100% );
- border-left: 1px solid #777777;
- border-right: 1px solid #000000;
- border-top: 1px solid #505050;
- border-bottom: 1px solid #222222;
- color: #FFFFFF;
- }
-
- .menubar input[type="checkbox"] {
- display: none;
- }
-
- .menubar ul ul {
- display: none;
- position: absolute;
- top: 100%;
- left: 0;
- min-width: 150px;
- background: #4F4F4F;
- border: 1px solid #777777;
- border-bottom-color: #000000;
- border-right-color: #000000;
- padding-top: 4px;
- padding-left: 4px;
- padding-bottom: 4px;
- padding-right: 4px;
- }
-
- .menubar ul ul li {
- background: #232323;
- border-left: 1px solid #000000;
- border-right: 1px solid #777777;
- position: relative;
- }
-
- /* show submenus on hover */
- .menubar ul ul li.open > ul {
- display: block;
- }
-
- .menubar ul ul li:first-child {
- border-top: 1px solid #000000;
- }
-
- .menubar ul ul li:last-child {
- border-bottom: 1px solid #777777;
- }
-
- .menubar ul ul li > label:hover,
- .menubar ul ul li > a:hover {
- background: linear-gradient( to bottom, #505050 0%, #464646 35%, #404040 55%, #363636 100% );
- border: 1px solid #777777;
- border-right-color: #000000;
- border-bottom-color: #000000;
- color: #FFFFFF;
- }
-
- .menubar ul ul ul {
- left: 100%;
- top: 0;
- }
-
- .menubar > ul > li.hovered > label,
- .menubar > ul > li.hovered > a {
- background-color: #28292B;
- background: radial-gradient( 115% 115% at 68% 70%, #30303088 0%, #20202044 50%, #101010 100% );
- border: 1px solid #777777;
- border-top: 1px solid #000000;
- border-left: 1px solid #000000;
- color: #FFFFFF;
- }
-
- .menubar .has-submenu > label::after,
- .menubar .has-submenu > a::after {
- content: " ▶";
- font-size: 0.6em;
- position: absolute;
- right: 5px;
- top: 50%;
- transform: translateY(-50%);
- transition: transform 0.3s ease;
- }
-
- .menubar .has-submenu:focus-within > label,
- .menubar .has-submenu:focus-within,
- .menubar .has-submenu:hover > label,
- .menubar .has-submenu:hover > a {
- background: linear-gradient( to bottom, #505050 0%, #464646 35%, #404040 55%, #363636 100% );
- border: 1px solid #777777;
- border-right-color: #000000;
- border-bottom-color: #000000;
- }
-
- .menubar .has-submenu:focus-within > label::after,
- .menubar .has-submenu:focus-within > a::after,
- .menubar .has-submenu:hover > label::after,
- .menubar .has-submenu:hover > a::after {
- content: " ▼";
- color: #FF0000;
- transform: translateY(-50%) rotate(0deg);
- }
-
- .menubar .has-submenu:focus-within > label,
- .menubar .has-submenu:focus-within > a,
- .menubar .has-submenu:hover > label,
- .menubar .has-submenu:hover > a {
- color: #7CACF8;
- }
-
-/* For phones */
-@media only screen and (max-width: 768px) {
- .menubar {
- visibility: hidden;
- max-height: 0px;
- }
-
- #hamburger-menu {
- display: block;
- }
-
- #mobile-menu {
- height: calc(100% - 70px);
- }
-}
-
-/* For desktop: */
-@media only screen and (min-width: 768px) {
- .menubar {
- visibility: visible;
- }
-
- .overlay {
- visibility: hidden !important;
- }
-}
diff --git a/src/Lumina.Presentation.Web/wwwroot/css/notification.css b/src/Lumina.Presentation.Web/wwwroot/css/notification.css
deleted file mode 100644
index 327155d2..00000000
--- a/src/Lumina.Presentation.Web/wwwroot/css/notification.css
+++ /dev/null
@@ -1,106 +0,0 @@
-.notification-container {
- position: fixed;
- bottom: 10px;
- left: 20px;
- z-index: 1000;
- width: 300px;
- max-height: calc(100vh - 40px); /* full viewport height minus 40px */
- overflow-y: auto; /* add vertical scrollbar if content exceeds max-height */
-}
-
-.notification {
- border-radius: 4px;
- margin-bottom: 10px;
- margin-right: 10px;
- display: flex;
- flex-direction: row; /* stack content horizontally */
- align-items: flex-start; /* align items to the top */
- background: linear-gradient(135deg, #404040, #232323) !important;
- border-top: 1px solid #505050 !important;
- border-left: 1px solid #505050 !important;
- 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 9.7s; /* animation for notifications fade out effect */
- flex-direction: column;
- flex-wrap: nowrap;
- align-items: stretch;
- justify-content: flex-start;
- position: relative;
-}
-
-.notification-body {
- padding: 15px;
- display: flex;
- flex-direction: row; /* stack content horizontally */
- align-items: flex-start; /* align items to the top */
- word-wrap: break-word; /* allow long words to break and wrap */
- overflow-wrap: break-word; /* modern browsers */
- word-break: break-word; /* for very long words or URLs */
-}
-
-.notification-message {
- flex-grow: 1; /* allow message to take up available space */
- margin-right: 3px; /* add some space between message and close button */
- overflow-wrap: break-word; /* modern browsers */
- word-break: break-word; /* for very long words or URLs */
- hyphens: auto; /* enable automatic hyphenation */
- white-space: pre-wrap; /* preserve line breaks */
- font-family: monospace;
-}
-
-.close-button {
- background: none;
- color: var(--text-foreground);
- border: none;
- font-size: 20px;
- cursor: pointer;
- padding: 0;
- line-height: 1;
- flex-shrink: 0; /* prevent button from shrinking */
-}
-
-.notification-shine-effect {
- background: linear-gradient(to right, transparent, #fff, transparent);
- width: 100%;
- top: -1px;
- height: 1px;
- flex-shrink: 0;
- pointer-events: none; /* ensure it doesn't interfere with interactions */
-}
-
-.info {
- color: #2196F3;
-}
-
-.success {
- color: #4CAF50;
-}
-
-.warning {
- color: #FFC107;
-}
-
-.error {
- color: #F44336;
-}
-
-@keyframes fadeIn {
- from {
- opacity: 0;
- }
-
- to {
- opacity: 1;
- }
-}
-
-@keyframes fadeOut {
- from {
- opacity: 1;
- }
-
- to {
- opacity: 0;
- }
-}
diff --git a/src/Lumina.Presentation.Web/wwwroot/css/site.css b/src/Lumina.Presentation.Web/wwwroot/css/site.css
index a3df496f..26caf607 100644
--- a/src/Lumina.Presentation.Web/wwwroot/css/site.css
+++ b/src/Lumina.Presentation.Web/wwwroot/css/site.css
@@ -1,213 +1,11 @@
-:root {
- --background-color: #222;
- --container-background: #232323;
- --border-color-light: #363636;
- --border-color-light-medium: #555555;
- --border-color-light-high: #777777;
- --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,
body {
margin: 0px;
padding: 0px;
- min-height: 100%;
- height: 100%;
- font-family: 'Arial';
}
-
-body {
- font-size: 14px;
- background-color: var(--background-color);
- color: #6DCBFE;
- margin: 0px;
-}
-
* {
box-sizing: border-box;
}
-
-#app {
- margin: auto;
- min-width: 399px;
- min-height: 100vh;
- height: 100vh;
- background-color: var(--background-color);
-}
-
-#page {
- border-style: solid;
- border-width: 1px;
- border-color: var(--border-color-light-high) var(--border-color-dark) var(--border-color-dark) var(--border-color-light-high);
- background-color: #222;
- min-width: 100%;
- min-height: 100%;
- height: 100%;
- position: relative;
- display: flex;
- flex-direction: column;
-}
-
-main {
- position: fixed;
- top: 20px;
- bottom: 50px;
- width: 100%;
- overflow-y: auto;
- transition: bottom 1s ease, height 1s ease;
-}
-
- main.audio-player-not-shown {
- bottom: 0;
- }
-
- main.audio-player-full-height {
- bottom: calc(100% - 22px); /* full height minus menu height */
- }
-
-.cotton-candy {
- min-height: 100%;
- background-image: radial-gradient(ellipse at 10% 90%, #3c2d83 0%, transparent 55%), radial-gradient(ellipse at 90% 90%, #c33c65 0%, transparent 55%), radial-gradient(ellipse at 90% 10%, #4a74dc 0%, transparent 55%), radial-gradient(ellipse at 10% 10%, #35244f 0%, transparent 55%);
-}
-
-.audio-player-container {
- position: fixed;
- bottom: 0;
- width: 100%;
- height: 50px;
- transition: height 1s ease;
-}
-
- .audio-player-container.not-shown {
- height: 0px;
- }
-
- .audio-player-container.full-height {
- height: calc(100% - 22px); /* full height minus menu height */
- }
-
-#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: fixed;
- top: 0px;
- left: 0px;
- min-width: 100%;
- min-height: 100%;
- background-color: #000000;
- opacity: 0.6;
-}
-
-.above-modal {
- z-index: 999;
-}
-
-.shine-effect {
- position: relative;
- top: -11px;
- left: 0;
- right: 0;
- height: 1px;
- background: linear-gradient(to right, transparent, #fff, transparent);
- z-index: 1;
-}
-
-.shadow-effect {
- box-shadow: 3px 3px 5px 0 rgba(0, 0, 0, 0.5);
-}
-
-.enlightenment-panel {
- border-radius: 5px;
- background: linear-gradient(135deg, #404040, var(--container-background));
- border-top: 1px solid #505050;
- border-left: 1px solid #505050;
- border-right: 1px solid #000;
- border-bottom: 1px solid #000;
- padding: 10px;
-}
-
-.container-background {
- background-color: var(--container-background);
-}
-
-.panel {
- background-color: #00000033;
- border-radius: 5px;
- padding: 10px;
-}
-
-.media-panel {
- border-radius: 5px;
- background-color: #00000033;
- width: 300px;
- height: 200px;
- display: flex;
- flex-direction: column;
- gap: 0.2rem;
- cursor: pointer;
- user-select: none;
-}
-
- .media-panel:hover {
- background-color: #00000066;
- }
-
- .media-panel img {
- width: 100%;
- flex-grow: 1;
- }
-
- .media-panel span {
- height: 26px;
- display: flex;
- align-items: center;
- justify-content: center;
- }
-
-#audio-player-full-height-toggle, #audio-player-close {
- cursor: pointer;
-}
-
-.text-light-one {
- color: #6DCBFE;
-}
-
-.text-light-two {
- color: #FFFFFF;
-}
-
-.text-light-three {
- color: #FFD764;
-}
-
-.text-disabled {
- color: #777777;
-}
-
-.invalid-feedback {
- margin-top: 0.25rem;
- font-size: 0.875em;
- color: #FF0000;
-}
-
.transparent {
background-color: transparent !important;
}
@@ -219,163 +17,6 @@ main {
.no-underline {
text-decoration: none !important;
}
-
-.cards-container {
- display: flex;
- flex-wrap: wrap;
- flex-direction: row;
- gap: 0.5rem;
-}
-
-.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;
-}
-
-.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;
-}
-
-.inset-panel {
- border-top: #000 1px solid;
- border-left: #000 1px solid;
- border-right: #777 1px solid;
- border-bottom: #999 1px solid;
-}
-
-.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;
- 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;
-}
-
-table {
- border-spacing: 0px;
- width: 100%;
-}
-
-th, td {
- 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);
- padding: 3px 8px;
-}
-
- tr:nth-child(even) {
- background-color: var(--dark-row-background);
- }
-
- tr:nth-child(odd) {
- background-color: var(--light-row-background);
- }
-
/* Margins */
.mt-0 {
margin-top: 0px;
@@ -552,7 +193,6 @@ th, td {
.ml-10 {
margin-left: 10px;
}
-
/* Paddings */
.pt-0 {
padding-top: 0px;
@@ -729,7 +369,6 @@ th, td {
.pl-10 {
padding-left: 10px;
}
-
/* Widths (1 to 10, then 5 by 5 until 100) */
.w-0px {
width: 0px;
@@ -1252,7 +891,6 @@ th, td {
.w-100 {
width: 100%;
}
-
/* Heights (1 to 10, then 5 by 5 until 100) */
.h-1 {
height: 1%;
@@ -1365,7 +1003,6 @@ th, td {
.h-100 {
height: 100%;
}
-
.f-8 {
font-size: 8px !important;
}
@@ -1409,7 +1046,6 @@ th, td {
.f-24 {
font-size: 24px !important;
}
-
.bold {
font-weight: bold;
}
@@ -1433,7 +1069,6 @@ th, td {
.inline-block {
display: inline-block !important;
}
-
.mx-auto {
margin-left: auto;
margin-right: auto;
@@ -1487,37 +1122,3 @@ th, td {
.h-align-r {
margin-left: auto !important;
}
-
-.alpha-picker {
- display: flex;
- flex-direction: column;
- gap: 0.1rem;
- overflow-y: auto;
-}
-
-.alpha-key {
- padding: 0 0.6rem;
- cursor: pointer;
- text-align: center;
- user-select: none;
-}
-
- .alpha-key:hover,
- .alpha-key.alpha-key-active {
- background-color: #00000066;
- }
-
-/* For phones */
-@media only screen and (max-width: 768px) {
- main {
- top: 0px;
- }
- #app {
- max-width: 100%;
- width: 99.5%;
- }
-}
-
-/* For desktop: */
-@media only screen and (min-width: 768px) {
-}
diff --git a/src/Lumina.Presentation.Web/wwwroot/css/textbox.css b/src/Lumina.Presentation.Web/wwwroot/css/textbox.css
deleted file mode 100644
index 670e88a0..00000000
--- a/src/Lumina.Presentation.Web/wwwroot/css/textbox.css
+++ /dev/null
@@ -1,56 +0,0 @@
-.enlightenment-input {
- font-size: 14px;
- padding: 5px;
- border: 1px solid;
- border-color: var(--border-color-dark) var(--border-color-light) var(--border-color-light) var(--border-color-dark);
- border-radius: 3px;
- background: linear-gradient(0deg, #90c247, #509c00);
- transition: background 0.3s, color 0.3s;
- color: #000;
- outline: none;
- position: relative;
- box-sizing: border-box;
-}
-
- .enlightenment-input:hover {
- background: var(--window-button-over-color);
- }
-
- .enlightenment-input:not(:focus) {
- background: linear-gradient(0deg, #6b7579, #576b65);
- color: #000;
- }
-
- .enlightenment-input:focus {
- font-style: italic;
- color: #333;
- background: linear-gradient(0deg, #6AAFF8, #82E9F7);
- box-shadow: inset 4px 6px 8px rgba(0,0,0,0.6);
- border-color: var(--border-color-dark) var(--border-color-light) var(--border-color-light) var(--border-color-dark);
- outline: none;
- }
-
- .enlightenment-input::placeholder {
- color: #999;
- }
-
- .enlightenment-input:disabled {
- color: #999;
- background: var(--container-background);
- }
-
- .enlightenment-input[readonly] {
- color: #999;
- background: var(--container-background);
- border-color: var(--border-color-light) var(--border-color-dark) var(--border-color-dark) var(--border-color-light);
- }
-
- .enlightenment-input[data-has-error="true"] {
- border-color: #f00;
- color: #FFF;
- background: #700;
- }
-
-textarea {
- resize: vertical;
-}
diff --git a/src/Lumina.Presentation.Web/wwwroot/images/ui/error.svg b/src/Lumina.Presentation.Web/wwwroot/images/ui/error.svg
deleted file mode 100644
index 68f2cd52..00000000
--- a/src/Lumina.Presentation.Web/wwwroot/images/ui/error.svg
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
- error-filled
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/Lumina.Presentation.Web/wwwroot/images/ui/information.svg b/src/Lumina.Presentation.Web/wwwroot/images/ui/information.svg
deleted file mode 100644
index 14694160..00000000
--- a/src/Lumina.Presentation.Web/wwwroot/images/ui/information.svg
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/src/Lumina.Presentation.Web/wwwroot/images/ui/metal-plate.png b/src/Lumina.Presentation.Web/wwwroot/images/ui/metal-plate.png
deleted file mode 100644
index 5de7481d..00000000
Binary files a/src/Lumina.Presentation.Web/wwwroot/images/ui/metal-plate.png and /dev/null differ
diff --git a/src/Lumina.Presentation.Web/wwwroot/images/ui/question.svg b/src/Lumina.Presentation.Web/wwwroot/images/ui/question.svg
deleted file mode 100644
index 349ac4ba..00000000
--- a/src/Lumina.Presentation.Web/wwwroot/images/ui/question.svg
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
- question-filled
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar_dots_lit_v.png b/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar_dots_lit_v.png
deleted file mode 100644
index 3de334e8..00000000
Binary files a/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar_dots_lit_v.png and /dev/null differ
diff --git a/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar_dots_v.png b/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar_dots_v.png
deleted file mode 100644
index 9551ccc1..00000000
Binary files a/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar_dots_v.png and /dev/null differ
diff --git a/src/Lumina.Presentation.Web/wwwroot/js/file-system-browser-dialog.js b/src/Lumina.Presentation.Web/wwwroot/js/file-system-browser-dialog.js
index 6d76f29b..5edbc59d 100644
--- a/src/Lumina.Presentation.Web/wwwroot/js/file-system-browser-dialog.js
+++ b/src/Lumina.Presentation.Web/wwwroot/js/file-system-browser-dialog.js
@@ -13,7 +13,6 @@
const fileSystemBrowserTreeview = document.getElementById('file-system-browser-treeview');
const pathSegmentsContainer = document.getElementById('navigator-path-segments');
const article = document.querySelector('article');
- const menubar = document.getElementsByClassName('menubar')[0];
const fileSystemTreeViewContainer = document.getElementById('file-system-browser-file-system-treeview-container');
const fileSystemExplorerContainer = document.getElementById('file-system-browser-file-system-explorer-container');
@@ -1075,6 +1074,14 @@
//| Selection |
//+======================================================================================+
+ /**
+ * Gets the height of the fixed top bar of the active theme, declared by the theme script, used to translate
+ * page coordinates into the content coordinate space of the file system browser.
+ */
+ function getThemeTopOffset() {
+ return parseInt(window.getComputedStyle(document.documentElement).getPropertyValue('--theme-top-offset')) || 0;
+ }
+
/**
* Handler for the file system browser dialog selection start.
* @param {MouseEvent} e - The mousedown event object.
@@ -1092,16 +1099,16 @@
document.body.style.overflowY = 'hidden'; // needed in order to not put a vertical scrollbar on the document, while in vertical layout selection
document.documentElement.style.overflowY = 'hidden';
selectionStartPosition.x = e.pageX + fileSystemExplorer.scrollLeft;
- selectionStartPosition.y = (e.pageY - parseInt(window.getComputedStyle(menubar).height)) + fileSystemExplorerContainer.scrollTop; // not a mistake - in vertical mode, this is the overflow container!
+ selectionStartPosition.y = (e.pageY - getThemeTopOffset()) + fileSystemExplorerContainer.scrollTop; // not a mistake - in vertical mode, this is the overflow container!
// place the selection rectangle at the clicked location (relative to the whole page, and taking into account scroll offset), with 0 size
visibleSelectionRectangle.style.left = e.pageX + 'px';
- visibleSelectionRectangle.style.top = (e.pageY - parseInt(window.getComputedStyle(menubar).height)) + 'px';
+ visibleSelectionRectangle.style.top = (e.pageY - getThemeTopOffset()) + 'px';
visibleSelectionRectangle.style.width = '0px';
visibleSelectionRectangle.style.height = '0px';
visibleSelectionRectangle.style.visibility = 'visible';
selectionRectangle.style.left = e.pageX + 'px';
- selectionRectangle.style.top = (e.pageY - parseInt(window.getComputedStyle(menubar).height)) + 'px';
+ selectionRectangle.style.top = (e.pageY - getThemeTopOffset()) + 'px';
selectionRectangle.style.width = '0px';
selectionRectangle.style.height = '0px';
}
@@ -1114,7 +1121,7 @@
if (!isSelecting)
return;
currentMousePosition.x = e.pageX;
- currentMousePosition.y = e.pageY - parseInt(window.getComputedStyle(menubar).height);
+ currentMousePosition.y = e.pageY - getThemeTopOffset();
handleSelection();
}
@@ -1205,10 +1212,10 @@
if (right > containerRect.right)
visibleSelectionRectangle.style.width = (containerRect.right - left) + 'px';
- if (top < containerRect.top - parseInt(window.getComputedStyle(menubar).height)) {
- const difference = containerRect.top - top - parseInt(window.getComputedStyle(menubar).height);
+ if (top < containerRect.top - getThemeTopOffset()) {
+ const difference = containerRect.top - top - getThemeTopOffset();
visibleSelectionRectangle.style.height = (parseFloat(visibleSelectionRectangle.style.height) - difference) + 'px';
- visibleSelectionRectangle.style.top = (containerRect.top - parseInt(window.getComputedStyle(menubar).height)) + 'px';
+ visibleSelectionRectangle.style.top = (containerRect.top - getThemeTopOffset()) + 'px';
}
if (bottom > containerRect.bottom)
visibleSelectionRectangle.style.height = (containerRect.bottom - top) + 'px';
diff --git a/src/Lumina.Presentation.Web/wwwroot/js/site.js b/src/Lumina.Presentation.Web/wwwroot/js/site.js
index d55eae78..bc579319 100644
--- a/src/Lumina.Presentation.Web/wwwroot/js/site.js
+++ b/src/Lumina.Presentation.Web/wwwroot/js/site.js
@@ -440,109 +440,6 @@ function updateLanguageUrls() {
});
}
-//+======================================================================================+
-//| Website menu |
-//+======================================================================================+
-/**
- * Handles the navigation through the website desktop menu bar
- */
-function handleWebsiteDesktopMenu() {
- const menuBar = document.querySelector('.menubar');
- const topLevelItems = menuBar.querySelectorAll('.menubar > ul > li');
- const hasSubmenuItems = menuBar.querySelectorAll('.has-submenu');
- const submenuNavigationItems = menuBar.querySelectorAll('li:not(.has-submenu):not(.top-level-menuitem)');
-
- function closeAllDropdowns() { // close all top level or submenu dropdowns
- topLevelItems.forEach(item => {
- item.classList.remove('open');
- item.classList.remove('hovered');
- });
- hasSubmenuItems.forEach(submenu => {
- submenu.classList.remove('open');
- });
- }
-
- // handle clicks on top-level menu items
- topLevelItems.forEach(item => {
- const labelOrAnchor = item.querySelector('label, a');
- labelOrAnchor.addEventListener('click', function (event) {
- event.stopPropagation();
- // close all menu drop down
- const isOpen = item.classList.contains('open');
- closeAllDropdowns();
- // if the item was not already opened, toggle it (mark it as opened)
- if (!isOpen) {
- item.classList.add('open');
- // immediately add 'hovered' class on click to maintain visual feedback
- item.classList.add('hovered');
- }
- });
-
- // Handle hover on top-level menu items
- item.addEventListener('mouseenter', function () {
- if (Array.from(topLevelItems).some(li => li.classList.contains('open') && li !== this)) {
- closeAllDropdowns();
- this.classList.add('open');
- this.classList.add('hovered');
- }
- });
-
- item.addEventListener('mouseleave', function () {
- // Remove 'hovered' only if the dropdown is not open
- if (!this.classList.contains('open')) {
- this.classList.remove('hovered');
- }
- });
- });
-
- // handle hover on submenu items
- hasSubmenuItems.forEach(item => {
- item.addEventListener('mouseenter', function () {
- const parentUl = this.closest('ul');
- if (parentUl) {
- // if the current menu item has multiple items with subemnus, close them if they are not the hovered one
- const otherSubmenus = parentUl.querySelectorAll('.has-submenu.open');
- otherSubmenus.forEach(submenu => {
- if (submenu !== this && !this.contains(submenu))
- submenu.classList.remove('open');
- });
- }
- this.classList.add('open'); // show the current menu item as opened
- });
-
- item.addEventListener('mouseleave', function (event) {
- // on mouse exit, simplu close menu items
- if (!this.contains(event.relatedTarget))
- this.classList.remove('open');
- });
- });
-
- submenuNavigationItems.forEach(item => {
- item.addEventListener('click', function (event) {
- if (!item.classList.contains('has-submenu'))
- closeAllDropdowns();
- });
- });
- // close all menus when clicking outside the menubar
- document.addEventListener('click', function (event) {
- if (!menuBar.contains(event.target))
- closeAllDropdowns();
- });
-
- // keep the 'hovered' class on the open menu item, if no other item is hovered
- menuBar.addEventListener('mouseleave', function(event) {
- if (!menuBar.contains(event.relatedTarget)) {
- // if there is an item with a visible drop down, mark it as opened, but not if its the last hovered item
- topLevelItems.forEach(item => {
- if (item.classList.contains('open'))
- item.classList.add('hovered');
- else
- item.classList.remove('hovered');
- });
- }
- });
-}
-
//+======================================================================================+
//| Common Helper Functions |
//+======================================================================================+
@@ -861,4 +758,3 @@ document.addEventListener('click', function (e) {
});
document.addEventListener('DOMContentLoaded', initializeNavigation);
-document.addEventListener('DOMContentLoaded', handleWebsiteDesktopMenu);