mirror of
https://github.com/gilbN/theme.park.git
synced 2024-09-17 14:22:24 +02:00
commit
aad1e1b8e4
@ -19,7 +19,9 @@ img.logo {
|
|||||||
}
|
}
|
||||||
|
|
||||||
body.layout_frontend,
|
body.layout_frontend,
|
||||||
body {
|
html[class*="theme_"] body,
|
||||||
|
html[class*="theme_"] body.layout_frontend,
|
||||||
|
html {
|
||||||
background: var(--main-bg-color);
|
background: var(--main-bg-color);
|
||||||
background-repeat: repeat, no-repeat;
|
background-repeat: repeat, no-repeat;
|
||||||
background-attachment: fixed, fixed;
|
background-attachment: fixed, fixed;
|
||||||
@ -39,17 +41,22 @@ app-org-vault-groupings .card .card-body a,
|
|||||||
color: var(--link-color);
|
color: var(--link-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
a:hover,
|
a:hover:not(.btn-secondary):not(.btn-outline-primary),
|
||||||
app-vault-groupings .card li.active>a:first-of-type,
|
app-vault-groupings .card li.active>a:first-of-type,
|
||||||
app-vault-groupings .card li.active>div a:first-of-type,
|
app-vault-groupings .card li.active>div a:first-of-type,
|
||||||
app-org-vault-groupings .card li.active>a:first-of-type,
|
app-org-vault-groupings .card li.active>a:first-of-type,
|
||||||
app-org-vault-groupings .card li.active>div a:first-of-type,
|
app-org-vault-groupings .card li.active>div a:first-of-type,
|
||||||
.groupings .card li.active>a:first-of-type,
|
.groupings .card li.active>a:first-of-type,
|
||||||
.groupings .card li.active>div a:first-of-type {
|
.groupings .card li.active>div a:first-of-type,
|
||||||
|
html[class*="theme_"] a {
|
||||||
color: var(--link-color-hover) !important;
|
color: var(--link-color-hover) !important;
|
||||||
}
|
}
|
||||||
|
html[class*="theme_"] #totpImage {
|
||||||
|
background: lightgray;
|
||||||
|
}
|
||||||
|
|
||||||
/* TEXT */
|
/* TEXT */
|
||||||
|
html[class*="theme_"] .text-muted,
|
||||||
.text-muted,
|
.text-muted,
|
||||||
.form-check-block .form-check-label>small,
|
.form-check-block .form-check-label>small,
|
||||||
.modal-header small,
|
.modal-header small,
|
||||||
@ -75,10 +82,10 @@ h6,
|
|||||||
.h4,
|
.h4,
|
||||||
.h5,
|
.h5,
|
||||||
.h6,
|
.h6,
|
||||||
label,
|
label:not(#g_advanced > div:nth-child(13) > label):not(#g_advanced > div:nth-child(12) > div.col-sm-8 > div > label),
|
||||||
label:not(.form-check-label):not(.btn),
|
label:not(.form-check-label):not(.btn):not(#g_advanced > div:nth-child(13) > label),
|
||||||
label.bold .card-header:first-child,
|
label.bold .card-header:first-child,
|
||||||
.card-header,
|
html[class*="theme_"] .card-header,
|
||||||
.modal-header {
|
.modal-header {
|
||||||
color: var(--text-hover) !important;
|
color: var(--text-hover) !important;
|
||||||
}
|
}
|
||||||
@ -96,8 +103,21 @@ label.bold .card-header:first-child,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* CARDS */
|
/* CARDS */
|
||||||
|
|
||||||
|
html[class*="theme_"] .card-header {
|
||||||
|
background-color: rgb(0 0 0 / 45%);
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
.card {
|
.card {
|
||||||
background-color: rgba(255, 255, 255, 0.07);
|
background-color: rgba(255, 255, 255, 0.07) !important;
|
||||||
|
border-color: rgba(255, 255, 255, 0.1) !important;
|
||||||
|
color: var(--text) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
html[class*="theme_"] .card-body:not(.bg-light>.card-body) {
|
||||||
|
background-color: transparent;
|
||||||
|
color: var(--text);
|
||||||
}
|
}
|
||||||
|
|
||||||
app-vault-groupings .card li.active>a:first-of-type,
|
app-vault-groupings .card li.active>a:first-of-type,
|
||||||
@ -106,17 +126,31 @@ app-vault-groupings .card li.active>div>.fa {
|
|||||||
color: rgb(var(--accent-color));
|
color: rgb(var(--accent-color));
|
||||||
}
|
}
|
||||||
|
|
||||||
body>app-root>app-user-layout>app-tools>div>div>div.col-9>app-password-generator>div.card.card-password.bg-light.my-4 {
|
body>app-root>app-user-layout>app-tools>div>div>div.col-9>app-password-generator>div.card.card-password.bg-light.my-4,
|
||||||
|
body > app-root > app-user-layout > app-tools > div > div > div.col-9 > app-password-generator > div.card.card-password.bg-light.my-4 > div {
|
||||||
background-color: rgb(0 0 0 / 15%) !important;
|
background-color: rgb(0 0 0 / 15%) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.password-number {
|
html[class*="theme_"] .password-number {
|
||||||
color: rgb(var(--accent-color));
|
color: rgb(var(--accent-color));
|
||||||
}
|
}
|
||||||
|
html[class*="theme_"] .password-letter {
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
/* MODALS */
|
/* MODALS */
|
||||||
.modal-content,
|
html[class*="theme_"] .modal-header {
|
||||||
.modal-footer {
|
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
|
||||||
|
background: var(--modal-header-color);
|
||||||
|
background-repeat: repeat, no-repeat;
|
||||||
|
background-attachment: fixed, fixed;
|
||||||
|
background-position: center center, center center;
|
||||||
|
background-size: auto, cover;
|
||||||
|
-webkit-background-size: auto, cover;
|
||||||
|
-moz-background-size: auto, cover;
|
||||||
|
-o-background-size: auto, cover;
|
||||||
|
}
|
||||||
|
html[class*="theme_"] .modal-body {
|
||||||
background: var(--modal-bg-color);
|
background: var(--modal-bg-color);
|
||||||
background-repeat: repeat, no-repeat;
|
background-repeat: repeat, no-repeat;
|
||||||
background-attachment: fixed, fixed;
|
background-attachment: fixed, fixed;
|
||||||
@ -126,6 +160,17 @@ body>app-root>app-user-layout>app-tools>div>div>div.col-9>app-password-generator
|
|||||||
-moz-background-size: auto, cover;
|
-moz-background-size: auto, cover;
|
||||||
-o-background-size: auto, cover;
|
-o-background-size: auto, cover;
|
||||||
}
|
}
|
||||||
|
html[class*="theme_"] .modal-footer {
|
||||||
|
border-top: 1px solid rgba(255, 255, 255, 0.1);
|
||||||
|
background: var(--modal-footer-color);
|
||||||
|
background-repeat: repeat, no-repeat;
|
||||||
|
background-attachment: fixed, fixed;
|
||||||
|
background-position: center center, center center;
|
||||||
|
background-size: auto, cover;
|
||||||
|
-webkit-background-size: auto, cover;
|
||||||
|
-moz-background-size: auto, cover;
|
||||||
|
-o-background-size: auto, cover;
|
||||||
|
}
|
||||||
|
|
||||||
.close,
|
.close,
|
||||||
.close:hover {
|
.close:hover {
|
||||||
@ -183,26 +228,35 @@ body>app-root>app-user-layout>app-tools>div>div>div.col-9>app-password-generator
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* FORMS */
|
/* FORMS */
|
||||||
.form-control:focus {
|
html[class*="theme_"] label.form-check-label, html[class*="theme_"] .form-control-file {
|
||||||
box-shadow: none;
|
color: var(--text);
|
||||||
border-color: transparent;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.form-control {
|
html[class*="theme_"] .form-control:focus {
|
||||||
|
box-shadow: none;
|
||||||
|
border-color: transparent;
|
||||||
|
background: rgb(253 253 253 / 15%);
|
||||||
|
}
|
||||||
|
|
||||||
|
html[class*="theme_"] .form-control {
|
||||||
color: var(--text);
|
color: var(--text);
|
||||||
background-color: rgb(0 0 0 / 0.25);
|
background-color: rgb(0 0 0 / 0.25);
|
||||||
border: 1px solid transparent;
|
border: 1px solid transparent;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.form-control:disabled,
|
html[class*="theme_"] .form-control:disabled,
|
||||||
.form-control[readonly] {
|
.form-control[readonly] {
|
||||||
background-color: rgb(255 255 255 / 25%);
|
background-color: rgb(255 255 255 / 25%);
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
select:focus {
|
||||||
|
background: #1f1f1f !important;
|
||||||
|
}
|
||||||
|
|
||||||
/* DROPDOWN MENU */
|
/* DROPDOWN MENU */
|
||||||
.dropdown-menu {
|
/* html[class*="theme_"] .dropdown-menu {
|
||||||
background: var(--modal-bg-color);
|
background: var(--modal-bg-color);
|
||||||
background-repeat: repeat, no-repeat;
|
background-repeat: repeat, no-repeat;
|
||||||
background-attachment: fixed, fixed;
|
background-attachment: fixed, fixed;
|
||||||
@ -213,15 +267,20 @@ body>app-root>app-user-layout>app-tools>div>div>div.col-9>app-password-generator
|
|||||||
-o-background-size: auto, cover;
|
-o-background-size: auto, cover;
|
||||||
border: 1px solid transparent;
|
border: 1px solid transparent;
|
||||||
box-shadow: 3px 3px 10px rgba(0, 0, 0, .2);
|
box-shadow: 3px 3px 10px rgba(0, 0, 0, .2);
|
||||||
|
} */
|
||||||
|
|
||||||
|
html[class*="theme_"] .dropdown-menu, html[class*="theme_"] .dropdown-item {
|
||||||
|
background: #1f1f1f;
|
||||||
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.dropdown-item,
|
html[class*="theme_"] .dropdown-item,
|
||||||
.dropdown-item-text {
|
html[class*="theme_"] .dropdown-item-text {
|
||||||
color: var(--text);
|
color: var(--text);
|
||||||
}
|
}
|
||||||
|
|
||||||
.dropdown-item:hover,
|
html[class*="theme_"] .dropdown-item:hover,
|
||||||
.dropdown-item:focus {
|
html[class*="theme_"] .dropdown-item:focus {
|
||||||
color: var(--text-hover);
|
color: var(--text-hover);
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
background-color: rgb(255 255 255 / 0.08);
|
background-color: rgb(255 255 255 / 0.08);
|
||||||
@ -239,19 +298,32 @@ a.text-danger:focus {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* SETTINGS */
|
/* SETTINGS */
|
||||||
.list-group-item.active {
|
|
||||||
|
html[class*="theme_"] .page-header, html[class*="theme_"] .secondary-header {
|
||||||
|
border-bottom: 1px solid rgb(255 255 255 / 30%);
|
||||||
|
}
|
||||||
|
|
||||||
|
html[class*="theme_"] .list-group-item.active {
|
||||||
color: var(--text);
|
color: var(--text);
|
||||||
background-color: rgb(255 255 255 / 10%);
|
background-color: rgb(255 255 255 / 10%);
|
||||||
border-left: 3px solid rgb(var(--accent-color));
|
border-left: 3px solid rgb(var(--accent-color));
|
||||||
|
border-color: rgba(255, 255, 255, 0.1);
|
||||||
}
|
}
|
||||||
|
|
||||||
.callout {
|
html[class*="theme_"] .callout {
|
||||||
background-color: rgb(255 255 255 / 15%);
|
background-color: rgb(255 255 255 / 15%);
|
||||||
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
||||||
|
color: var(--text);
|
||||||
}
|
}
|
||||||
|
|
||||||
.list-group-item {
|
html[class*="theme_"] .list-group-item {
|
||||||
background-color: rgb(0 0 0 / 25%);
|
background-color: rgb(0 0 0 / 25%);
|
||||||
border: 1px solid rgb(255 255 255 / 8%);
|
border: 1px solid rgb(255 255 255 / 8%);
|
||||||
|
color: var(--text);
|
||||||
|
}
|
||||||
|
|
||||||
|
html[class*="theme_"] .progress {
|
||||||
|
background-color: rgba(0, 0, 0, 0.25);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* BUTTONS */
|
/* BUTTONS */
|
||||||
@ -295,17 +367,21 @@ a.text-danger:focus {
|
|||||||
|
|
||||||
.btn[class*="btn-outline-"]:not(:hover),
|
.btn[class*="btn-outline-"]:not(:hover),
|
||||||
.swal2-popup .swal2-actions button[class*="btn-outline-"]:not(:hover),
|
.swal2-popup .swal2-actions button[class*="btn-outline-"]:not(:hover),
|
||||||
.swal2-popup .swal2-actions button.swal2-cancel {
|
.swal2-popup .swal2-actions button.swal2-cancel,
|
||||||
border-color: var(--button-color);
|
html[class*="theme_"] .btn-primary,
|
||||||
background-color: var(--button-color);
|
html[class*="theme_"] .swal2-confirm {
|
||||||
color: var(--button-text);
|
border-color: var(--button-color) !important;
|
||||||
|
background-color: var(--button-color) !important;
|
||||||
|
color: var(--button-text) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-outline-secondary:hover,
|
.btn-outline-secondary:hover,
|
||||||
.swal2-popup .swal2-actions button.swal2-cancel:hover {
|
.swal2-popup .swal2-actions button.swal2-cancel:hover,
|
||||||
color: var(--button-text-hover);
|
html[class*="theme_"] .btn-primary,
|
||||||
background-color: var(--button-color-hover);
|
html[class*="theme_"] .swal2-confirm {
|
||||||
border-color: var(--button-color-hover);
|
color: var(--button-text-hover) !important;
|
||||||
|
background-color: var(--button-color-hover) !important;
|
||||||
|
border-color: var(--button-color-hover) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-outline-secondary:hover:not(:disabled),
|
.btn-outline-secondary:hover:not(:disabled),
|
||||||
@ -315,8 +391,8 @@ a.text-danger:focus {
|
|||||||
|
|
||||||
.btn-outline-primary:hover {
|
.btn-outline-primary:hover {
|
||||||
color: var(--button-text-hover) !important;
|
color: var(--button-text-hover) !important;
|
||||||
background-color: var(--button-color-hover);
|
background-color: var(--button-color-hover) !important;
|
||||||
border-color: var(--button-color-hover);
|
border-color: var(--button-color-hover) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-outline-primary:not(:disabled):not(.disabled):active,
|
.btn-outline-primary:not(:disabled):not(.disabled):active,
|
||||||
@ -335,7 +411,9 @@ a.text-danger:focus {
|
|||||||
.btn-outline-secondary.focus,
|
.btn-outline-secondary.focus,
|
||||||
.swal2-popup .swal2-actions button.focus.swal2-cancel,
|
.swal2-popup .swal2-actions button.focus.swal2-cancel,
|
||||||
.btn-outline-primary:focus,
|
.btn-outline-primary:focus,
|
||||||
.btn-outline-primary.focus {
|
.btn-outline-primary.focus,
|
||||||
|
.btn-check:focus+.btn,
|
||||||
|
.btn:focus {
|
||||||
box-shadow: 0 0 0 0.2rem rgb(var(--accent-color), .5);
|
box-shadow: 0 0 0 0.2rem rgb(var(--accent-color), .5);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -344,12 +422,15 @@ a.text-danger:focus {
|
|||||||
.btn-outline-secondary:not(:disabled):not(.disabled).active,
|
.btn-outline-secondary:not(:disabled):not(.disabled).active,
|
||||||
.swal2-popup .swal2-actions button.swal2-cancel:not(:disabled):not(.disabled).active,
|
.swal2-popup .swal2-actions button.swal2-cancel:not(:disabled):not(.disabled).active,
|
||||||
.show>.btn-outline-secondary.dropdown-toggle,
|
.show>.btn-outline-secondary.dropdown-toggle,
|
||||||
.swal2-popup .swal2-actions .show>button.dropdown-toggle.swal2-cancel {
|
.swal2-popup .swal2-actions .show>button.dropdown-toggle.swal2-cancel,
|
||||||
color: var(--button-text-hover);
|
html[class*="theme_"] .btn-outline-secondary:hover:not(:disabled),
|
||||||
background-color: var(--button-color-hover);
|
html[class*="theme_"] .btn-outline-secondary:active {
|
||||||
border-color: var(--button-color-hover);
|
color: var(--button-text-hover) !important;
|
||||||
|
background-color: var(--button-color-hover) !important;
|
||||||
|
border-color: var(--button-color-hover) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.btn-outline-secondary:not(:disabled):not(.disabled):active:focus,
|
.btn-outline-secondary:not(:disabled):not(.disabled):active:focus,
|
||||||
.swal2-popup .swal2-actions button.swal2-cancel:not(:disabled):not(.disabled):active:focus,
|
.swal2-popup .swal2-actions button.swal2-cancel:not(:disabled):not(.disabled):active:focus,
|
||||||
.btn-outline-secondary:not(:disabled):not(.disabled).active:focus,
|
.btn-outline-secondary:not(:disabled):not(.disabled).active:focus,
|
||||||
@ -500,3 +581,12 @@ input:focus:-ms-input-placeholder {
|
|||||||
.modal-header small {
|
.modal-header small {
|
||||||
color: var(--text-muted) !important;
|
color: var(--text-muted) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Table */
|
||||||
|
.table-striped>tbody>tr:nth-of-type(odd)>* {
|
||||||
|
--bs-table-accent-bg: var(--bs-table-striped-bg);
|
||||||
|
color: var(--text-hover);
|
||||||
|
}
|
||||||
|
html[class*="theme_"] .table td {
|
||||||
|
color: var(--text);
|
||||||
|
}
|
@ -251,8 +251,10 @@ a:hover {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* ADD NEW */
|
/* ADD NEW */
|
||||||
[class*="EnhancedSelectInput-options-"] {
|
[class*="EnhancedSelectInput-options-"],
|
||||||
border: 1px solid rgba(255, 255, 255, 0.2);
|
[class*="EnhancedSelectInputOption-option-"],
|
||||||
|
[class*="EnhancedSelectInput-optionsContainer-"] {
|
||||||
|
border: 0px solid rgba(255, 255, 255, 0.2);
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
background: var(--drop-down-menu-bg);
|
background: var(--drop-down-menu-bg);
|
||||||
background-repeat: repeat, no-repeat;
|
background-repeat: repeat, no-repeat;
|
||||||
@ -275,11 +277,37 @@ a:hover {
|
|||||||
background-color: rgba(255, 255, 255, 0.08);
|
background-color: rgba(255, 255, 255, 0.08);
|
||||||
}
|
}
|
||||||
|
|
||||||
[class*="HintedSelectInputOption-hintText-"],
|
[class*="HintedSelectInputOption-hintText-"] {
|
||||||
[class*="RootFolderSelectInputOption-freeSpace-"] {
|
|
||||||
color: var(--text);
|
color: var(--text);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[class*="EnhancedSelectInput-optionsModalScroller-"] {
|
||||||
|
border: 1px solid var(--drop-down-menu-bg);
|
||||||
|
border-radius: 4px;
|
||||||
|
background: var(--drop-down-menu-bg);
|
||||||
|
background-repeat: repeat, no-repeat;
|
||||||
|
background-attachment: fixed, fixed;
|
||||||
|
background-position: center center, center center;
|
||||||
|
background-size: auto, cover;
|
||||||
|
-webkit-background-size: auto, cover;
|
||||||
|
-moz-background-size: auto, cover;
|
||||||
|
-o-background-size: auto, cover;
|
||||||
|
color: var(--text);
|
||||||
|
}
|
||||||
|
|
||||||
|
[class*="EnhancedSelectInput-mobileCloseButton-"] {
|
||||||
|
color: var(--button-text);
|
||||||
|
}
|
||||||
|
|
||||||
|
[class*="EnhancedSelectInput-mobileCloseButton-"]:hover {
|
||||||
|
color: var(--button-text-hover);
|
||||||
|
}
|
||||||
|
|
||||||
|
[class*="EnhancedSelectInput-mobileCloseButtonContainer-"] {
|
||||||
|
|
||||||
|
border-bottom: 1px solid rgba(255, 255, 255, 0.25);
|
||||||
|
}
|
||||||
|
|
||||||
/* SIDE MENU */
|
/* SIDE MENU */
|
||||||
[class*="PageSidebar-sidebarContainer-"] {
|
[class*="PageSidebar-sidebarContainer-"] {
|
||||||
background-color: rgba(0, 0, 0, .25);
|
background-color: rgba(0, 0, 0, .25);
|
||||||
|
@ -36,6 +36,12 @@ html, body, .wizard-background, .content-container, #main-container\ dark > mat-
|
|||||||
background: transparent !important;
|
background: transparent !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.container-alert {
|
||||||
|
color: #fff;
|
||||||
|
background-color: rgb(0 0 0 / 50%) !important;
|
||||||
|
border-color: rgb(var(--accent-color)) !important;
|
||||||
|
}
|
||||||
|
|
||||||
.h1,
|
.h1,
|
||||||
.h2,
|
.h2,
|
||||||
.h3,
|
.h3,
|
||||||
@ -549,8 +555,26 @@ button.admin-cog {
|
|||||||
color: rgb(var(--accent-color)) !important;
|
color: rgb(var(--accent-color)) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.mat-toolbar .mat-form-field-underline,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-focused .mat-form-field-ripple {
|
||||||
|
background-color: rgb(var(--accent-color));
|
||||||
|
}
|
||||||
|
|
||||||
|
.mat-input-element,.login-card .mat-input-element {
|
||||||
|
caret-color: rgb(var(--accent-color)) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
input:-internal-autofill-selected {
|
||||||
|
appearance: menulist-button;
|
||||||
|
background-image: none !important;
|
||||||
|
background-color: -internal-light-dark(rgba(232, 240, 254, 0), rgba(70, 90, 126, 0.4)) !important;
|
||||||
|
color: -internal-light-dark(black, white) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mat-form-field.mat-focused .mat-form-field-ripple,
|
||||||
.mat-checkbox-checked.mat-accent .mat-checkbox-background,
|
.mat-checkbox-checked.mat-accent .mat-checkbox-background,
|
||||||
.mat-checkbox-indeterminate.mat-accent .mat-checkbox-background {
|
.mat-checkbox-indeterminate.mat-accent .mat-checkbox-background,
|
||||||
|
.mat-toolbar .mat-form-field-underline,.mat-toolbar .mat-form-field-ripple,
|
||||||
|
.mat-toolbar .mat-focused .mat-form-field-ripple {
|
||||||
background-color: rgb(var(--accent-color));
|
background-color: rgb(var(--accent-color));
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -599,6 +623,10 @@ button.admin-cog {
|
|||||||
|
|
||||||
/* TABLES */
|
/* TABLES */
|
||||||
|
|
||||||
|
.table {
|
||||||
|
color: var(--text);
|
||||||
|
}
|
||||||
|
|
||||||
.mat-table-sticky,
|
.mat-table-sticky,
|
||||||
.mat-table tbody,
|
.mat-table tbody,
|
||||||
.mat-table tfoot,
|
.mat-table tfoot,
|
||||||
|
@ -644,7 +644,7 @@ th.fc-day-header.fc-widget-header.fc-today {
|
|||||||
|
|
||||||
/* logo */
|
/* logo */
|
||||||
.white-box .visible-xs {
|
.white-box .visible-xs {
|
||||||
display: block !important;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.loginLogo {
|
.loginLogo {
|
||||||
@ -1154,7 +1154,7 @@ label[for="checkbox-login"]:hover {
|
|||||||
.nav-tabs>li.active>a:hover {
|
.nav-tabs>li.active>a:hover {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
background: rgba(0, 0, 0, 0.25) !important;
|
background: rgb(var(--accent-color) , .15) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
#homepageOrderdownloader .nav-tabs>li.active>a,
|
#homepageOrderdownloader .nav-tabs>li.active>a,
|
||||||
@ -1164,12 +1164,6 @@ label[for="checkbox-login"]:hover {
|
|||||||
padding: 10px 12.5px;
|
padding: 10px 12.5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#homepageOrderdownloader .nav-tabs>li.active>a,
|
|
||||||
.nav-tabs>li.active .nav>li>a .customtab,
|
|
||||||
#homepageOrderdownloader .nav-tabs {
|
|
||||||
padding: 10px 12.5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#homepageOrderdownloader ul.nav.customtab.nav-tabs.m-t-5.nav-tabs>li.active>a,
|
#homepageOrderdownloader ul.nav.customtab.nav-tabs.m-t-5.nav-tabs>li.active>a,
|
||||||
#homepageOrderdownloader ul.nav.customtab.nav-tabs.m-t-5.nav-tabs>li>a {
|
#homepageOrderdownloader ul.nav.customtab.nav-tabs.m-t-5.nav-tabs>li>a {
|
||||||
padding: 10px 11.5px !important;
|
padding: 10px 11.5px !important;
|
||||||
|
@ -192,6 +192,7 @@ a:hover {
|
|||||||
|
|
||||||
[class*="CheckInput-input-"][class*="CheckInput-isNotChecked-"] {
|
[class*="CheckInput-input-"][class*="CheckInput-isNotChecked-"] {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
|
border: 1px solid #ccc;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* HEADER */
|
/* HEADER */
|
||||||
@ -470,6 +471,10 @@ a:hover {
|
|||||||
color: #000;
|
color: #000;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[class*="Label-disabled-"][class*="Label-outline-"] {
|
||||||
|
color: #000;
|
||||||
|
}
|
||||||
|
|
||||||
[class*="PageSidebarItem-status-"][class*="Label-info-"] {
|
[class*="PageSidebarItem-status-"][class*="Label-info-"] {
|
||||||
border-color: var(--arr-queue-color);
|
border-color: var(--arr-queue-color);
|
||||||
background-color: var(--arr-queue-color);
|
background-color: var(--arr-queue-color);
|
||||||
@ -597,8 +602,10 @@ a:hover {
|
|||||||
|
|
||||||
/* ADD NEW */
|
/* ADD NEW */
|
||||||
|
|
||||||
[class*="EnhancedSelectInput-options-"] {
|
[class*="EnhancedSelectInput-options-"],
|
||||||
border: 1px solid rgba(255, 255, 255, 0.2);
|
[class*="EnhancedSelectInputOption-option-"],
|
||||||
|
[class*="EnhancedSelectInput-optionsContainer-"] {
|
||||||
|
border: 0px solid rgba(255, 255, 255, 0.2);
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
background: var(--drop-down-menu-bg);
|
background: var(--drop-down-menu-bg);
|
||||||
background-repeat: repeat, no-repeat;
|
background-repeat: repeat, no-repeat;
|
||||||
@ -625,6 +632,32 @@ a:hover {
|
|||||||
color: var(--text);
|
color: var(--text);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[class*="EnhancedSelectInput-optionsModalScroller-"] {
|
||||||
|
border: 1px solid var(--drop-down-menu-bg);
|
||||||
|
border-radius: 4px;
|
||||||
|
background: var(--drop-down-menu-bg);
|
||||||
|
background-repeat: repeat, no-repeat;
|
||||||
|
background-attachment: fixed, fixed;
|
||||||
|
background-position: center center, center center;
|
||||||
|
background-size: auto, cover;
|
||||||
|
-webkit-background-size: auto, cover;
|
||||||
|
-moz-background-size: auto, cover;
|
||||||
|
-o-background-size: auto, cover;
|
||||||
|
color: var(--text);
|
||||||
|
}
|
||||||
|
|
||||||
|
[class*="EnhancedSelectInput-mobileCloseButton-"] {
|
||||||
|
color: var(--button-text);
|
||||||
|
}
|
||||||
|
|
||||||
|
[class*="EnhancedSelectInput-mobileCloseButton-"]:hover {
|
||||||
|
color: var(--button-text-hover);
|
||||||
|
}
|
||||||
|
|
||||||
|
[class*="EnhancedSelectInput-mobileCloseButtonContainer-"] {
|
||||||
|
|
||||||
|
border-bottom: 1px solid rgba(255, 255, 255, 0.25);
|
||||||
|
}
|
||||||
/* SEARCH BAR */
|
/* SEARCH BAR */
|
||||||
[class*="Input-input-"],
|
[class*="Input-input-"],
|
||||||
[class*="AddNewMovie-searchIconContainer-"],
|
[class*="AddNewMovie-searchIconContainer-"],
|
||||||
|
@ -10,11 +10,12 @@
|
|||||||
/* Made by @gilbN */
|
/* Made by @gilbN */
|
||||||
/* https://github.com/gilbN/theme.park */
|
/* https://github.com/gilbN/theme.park */
|
||||||
:root {
|
:root {
|
||||||
--calendar-in-cinemas: 53, 197, 244;
|
--calendar-in-cinemas: 53 197 244;
|
||||||
--calendar-downloading: 122 67 182;
|
--calendar-downloading: 122 67 182;
|
||||||
--calendar-unmonitored: 173 173 173;
|
--calendar-unmonitored: 173 173 173;
|
||||||
--calendar-unaired: 93 156 236;
|
--calendar-unaired: 93 156 236;
|
||||||
--calendar-missing: 240 80 80;
|
--calendar-missing: 240 80 80;
|
||||||
|
--calendar-missing-unmonitored: 255 165 0;
|
||||||
--calendar-available: 39 194 76;
|
--calendar-available: 39 194 76;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -41,7 +42,7 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* LINKS */
|
/* LINKS */
|
||||||
[class*="Link-to-"]:not([class*="PageSidebarItem-link-"]):not([class*="Button-"]) {
|
[class*="Link-to-"]:not([class*="PageSidebarItem-link-"]):not([class*="Button-"]):not([class*="AgendaEvent"]) {
|
||||||
color: var(--link-color);
|
color: var(--link-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -342,6 +343,10 @@ a:hover {
|
|||||||
color: var(--text) !important;
|
color: var(--text) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[class*="MovieFileStatus-missing"].colorImpaired {
|
||||||
|
background: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
.fa-search:hover {
|
.fa-search:hover {
|
||||||
color: var(--text-hover) !important;
|
color: var(--text-hover) !important;
|
||||||
}
|
}
|
||||||
@ -607,8 +612,10 @@ a:hover {
|
|||||||
|
|
||||||
/* ADD NEW */
|
/* ADD NEW */
|
||||||
|
|
||||||
[class*="EnhancedSelectInput-options-"] {
|
[class*="EnhancedSelectInput-options-"],
|
||||||
border: 1px solid rgba(255, 255, 255, 0.2);
|
[class*="EnhancedSelectInputOption-option-"],
|
||||||
|
[class*="EnhancedSelectInput-optionsContainer-"] {
|
||||||
|
border: 0px solid rgba(255, 255, 255, 0.2);
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
background: var(--drop-down-menu-bg);
|
background: var(--drop-down-menu-bg);
|
||||||
background-repeat: repeat, no-repeat;
|
background-repeat: repeat, no-repeat;
|
||||||
@ -635,6 +642,33 @@ a:hover {
|
|||||||
color: var(--text);
|
color: var(--text);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[class*="EnhancedSelectInput-optionsModalScroller-"] {
|
||||||
|
border: 1px solid var(--drop-down-menu-bg);
|
||||||
|
border-radius: 4px;
|
||||||
|
background: var(--drop-down-menu-bg);
|
||||||
|
background-repeat: repeat, no-repeat;
|
||||||
|
background-attachment: fixed, fixed;
|
||||||
|
background-position: center center, center center;
|
||||||
|
background-size: auto, cover;
|
||||||
|
-webkit-background-size: auto, cover;
|
||||||
|
-moz-background-size: auto, cover;
|
||||||
|
-o-background-size: auto, cover;
|
||||||
|
color: var(--text);
|
||||||
|
}
|
||||||
|
|
||||||
|
[class*="EnhancedSelectInput-mobileCloseButton-"] {
|
||||||
|
color: var(--button-text);
|
||||||
|
}
|
||||||
|
|
||||||
|
[class*="EnhancedSelectInput-mobileCloseButton-"]:hover {
|
||||||
|
color: var(--button-text-hover);
|
||||||
|
}
|
||||||
|
|
||||||
|
[class*="EnhancedSelectInput-mobileCloseButtonContainer-"] {
|
||||||
|
|
||||||
|
border-bottom: 1px solid rgba(255, 255, 255, 0.25);
|
||||||
|
}
|
||||||
|
|
||||||
/* SEARCH BAR */
|
/* SEARCH BAR */
|
||||||
[class*="Input-input-"],
|
[class*="Input-input-"],
|
||||||
[class*="AddNewMovie-searchIconContainer-"],
|
[class*="AddNewMovie-searchIconContainer-"],
|
||||||
@ -843,16 +877,28 @@ input:focus:-ms-input-placeholder {
|
|||||||
border-left-color: transparent !important;
|
border-left-color: transparent !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
[class*="CalendarEvent-missing-"] {
|
[class*="CalendarEvent-missing-"],
|
||||||
|
[class*="CalendarEvent-missingMonitored"] {
|
||||||
background: rgb(var(--calendar-missing) / .7) !important;
|
background: rgb(var(--calendar-missing) / .7) !important;
|
||||||
border-left-color: transparent !important;
|
border-left-color: transparent !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
[class*="Calendar-calendar-"] [class*="CalendarEvent-missing-"]:hover {
|
[class*="Calendar-calendar-"] [class*="CalendarEvent-missing-"]:hover,
|
||||||
|
[class*="Calendar-calendar-"] [class*="CalendarEvent-missingMonitored"]:hover {
|
||||||
background: rgba(var(--calendar-missing) / .5) !important;
|
background: rgba(var(--calendar-missing) / .5) !important;
|
||||||
border-left-color: transparent !important;
|
border-left-color: transparent !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[class*="CalendarEvent-missingUnmonitored-"] {
|
||||||
|
background: rgb(var(--calendar-missing-unmonitored) / .7) !important;
|
||||||
|
border-left-color: transparent !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
[class*="CalendarEvent-missingUnmonitored-"]:hover {
|
||||||
|
background: rgb(var(--calendar-missing-unmonitored) / .5) !important;
|
||||||
|
border-left-color: transparent !important;
|
||||||
|
}
|
||||||
|
|
||||||
[class*="CalendarEvent-unreleased-"] {
|
[class*="CalendarEvent-unreleased-"] {
|
||||||
background: rgb(var(--calendar-unaired) / .7) !important;
|
background: rgb(var(--calendar-unaired) / .7) !important;
|
||||||
border-left-color: transparent !important;
|
border-left-color: transparent !important;
|
||||||
@ -863,6 +909,16 @@ input:focus:-ms-input-placeholder {
|
|||||||
border-left-color: transparent !important;
|
border-left-color: transparent !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[class*="CalendarEvent-event-"] {
|
||||||
|
background: rgb(var(--calendar-unmonitored) / .7);
|
||||||
|
border-left-color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
[class*="Calendar-calendar-"] [class*="CalendarEvent-event-"]:hover {
|
||||||
|
background: rgb(var(--calendar-unmonitored) / .5);
|
||||||
|
border-left-color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
[class*="CalendarEvent-unmonitored-"] {
|
[class*="CalendarEvent-unmonitored-"] {
|
||||||
background: rgb(var(--calendar-unmonitored) / .7) !important;
|
background: rgb(var(--calendar-unmonitored) / .7) !important;
|
||||||
border-left-color: transparent !important;
|
border-left-color: transparent !important;
|
||||||
@ -912,7 +968,8 @@ input:focus:-ms-input-placeholder {
|
|||||||
[class*="CalendarEvent-movieTitle-"],
|
[class*="CalendarEvent-movieTitle-"],
|
||||||
[class*="CalendarEvent-movieInfo-"],
|
[class*="CalendarEvent-movieInfo-"],
|
||||||
[class*="CalendarEvent-episodeInfo-"],
|
[class*="CalendarEvent-episodeInfo-"],
|
||||||
[class*="CalendarEvent-airTime-"] {
|
[class*="CalendarEvent-airTime-"],
|
||||||
|
[class*="CalendarEvent-link-"] {
|
||||||
color: #fff !important;
|
color: #fff !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -936,6 +993,11 @@ input:focus:-ms-input-placeholder {
|
|||||||
color: var(--text);
|
color: var(--text);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[class*="LegendItem-missingMonitoredColorImpaired-"],
|
||||||
|
[class*="LegendItem-missingUnmonitoredColorImpaired-"] {
|
||||||
|
background: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
/* calendar agenda */
|
/* calendar agenda */
|
||||||
[class*="AgendaEvent-event-"]:hover {
|
[class*="AgendaEvent-event-"]:hover {
|
||||||
background-color: hsla(0, 0%, 100%, .08) !important;
|
background-color: hsla(0, 0%, 100%, .08) !important;
|
||||||
|
@ -250,8 +250,10 @@ a:hover {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* ADD NEW */
|
/* ADD NEW */
|
||||||
[class*="EnhancedSelectInput-options-"] {
|
[class*="EnhancedSelectInput-options-"],
|
||||||
border: 1px solid rgba(255, 255, 255, 0.2);
|
[class*="EnhancedSelectInputOption-option-"],
|
||||||
|
[class*="EnhancedSelectInput-optionsContainer-"] {
|
||||||
|
border: 0px solid rgba(255, 255, 255, 0.2);
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
background: var(--drop-down-menu-bg);
|
background: var(--drop-down-menu-bg);
|
||||||
background-repeat: repeat, no-repeat;
|
background-repeat: repeat, no-repeat;
|
||||||
@ -274,11 +276,37 @@ a:hover {
|
|||||||
background-color: rgba(255, 255, 255, 0.08);
|
background-color: rgba(255, 255, 255, 0.08);
|
||||||
}
|
}
|
||||||
|
|
||||||
[class*="HintedSelectInputOption-hintText-"],
|
[class*="HintedSelectInputOption-hintText-"] {
|
||||||
[class*="RootFolderSelectInputOption-freeSpace-"] {
|
|
||||||
color: var(--text);
|
color: var(--text);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[class*="EnhancedSelectInput-optionsModalScroller-"] {
|
||||||
|
border: 1px solid var(--drop-down-menu-bg);
|
||||||
|
border-radius: 4px;
|
||||||
|
background: var(--drop-down-menu-bg);
|
||||||
|
background-repeat: repeat, no-repeat;
|
||||||
|
background-attachment: fixed, fixed;
|
||||||
|
background-position: center center, center center;
|
||||||
|
background-size: auto, cover;
|
||||||
|
-webkit-background-size: auto, cover;
|
||||||
|
-moz-background-size: auto, cover;
|
||||||
|
-o-background-size: auto, cover;
|
||||||
|
color: var(--text);
|
||||||
|
}
|
||||||
|
|
||||||
|
[class*="EnhancedSelectInput-mobileCloseButton-"] {
|
||||||
|
color: var(--button-text);
|
||||||
|
}
|
||||||
|
|
||||||
|
[class*="EnhancedSelectInput-mobileCloseButton-"]:hover {
|
||||||
|
color: var(--button-text-hover);
|
||||||
|
}
|
||||||
|
|
||||||
|
[class*="EnhancedSelectInput-mobileCloseButtonContainer-"] {
|
||||||
|
|
||||||
|
border-bottom: 1px solid rgba(255, 255, 255, 0.25);
|
||||||
|
}
|
||||||
|
|
||||||
/* SIDE MENU */
|
/* SIDE MENU */
|
||||||
[class*="PageSidebar-sidebarContainer-"] {
|
[class*="PageSidebar-sidebarContainer-"] {
|
||||||
background-color: rgba(0, 0, 0, .25);
|
background-color: rgba(0, 0, 0, .25);
|
||||||
@ -603,7 +631,9 @@ a:hover {
|
|||||||
|
|
||||||
/* POSTERS */
|
/* POSTERS */
|
||||||
[class*="AuthorIndexPoster-title-"],
|
[class*="AuthorIndexPoster-title-"],
|
||||||
[class*="AuthorIndexPosterInfo-info-"] {
|
[class*="AuthorIndexPosterInfo-info-"],
|
||||||
|
[class*="BookIndexPoster-title-"],
|
||||||
|
[class*="BookIndexPosterInfo-info-"] {
|
||||||
background-color: rgba(255, 255, 255, 0.08);
|
background-color: rgba(255, 255, 255, 0.08);
|
||||||
color: var(--text-hover);
|
color: var(--text-hover);
|
||||||
}
|
}
|
||||||
|
@ -611,8 +611,10 @@ a:hover {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* ADD NEW */
|
/* ADD NEW */
|
||||||
[class*="EnhancedSelectInput-options-"] {
|
[class*="EnhancedSelectInput-options-"],
|
||||||
border: 1px solid rgba(255, 255, 255, 0.2);
|
[class*="EnhancedSelectInputOption-option-"],
|
||||||
|
[class*="EnhancedSelectInput-optionsContainer-"] {
|
||||||
|
border: 0px solid rgba(255, 255, 255, 0.2);
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
background: var(--drop-down-menu-bg);
|
background: var(--drop-down-menu-bg);
|
||||||
background-repeat: repeat, no-repeat;
|
background-repeat: repeat, no-repeat;
|
||||||
@ -635,11 +637,37 @@ a:hover {
|
|||||||
background-color: rgba(255, 255, 255, 0.08);
|
background-color: rgba(255, 255, 255, 0.08);
|
||||||
}
|
}
|
||||||
|
|
||||||
[class*="HintedSelectInputOption-hintText-"],
|
[class*="HintedSelectInputOption-hintText-"] {
|
||||||
[class*="RootFolderSelectInputOption-freeSpace-"] {
|
|
||||||
color: var(--text);
|
color: var(--text);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[class*="EnhancedSelectInput-optionsModalScroller-"] {
|
||||||
|
border: 1px solid var(--drop-down-menu-bg);
|
||||||
|
border-radius: 4px;
|
||||||
|
background: var(--drop-down-menu-bg);
|
||||||
|
background-repeat: repeat, no-repeat;
|
||||||
|
background-attachment: fixed, fixed;
|
||||||
|
background-position: center center, center center;
|
||||||
|
background-size: auto, cover;
|
||||||
|
-webkit-background-size: auto, cover;
|
||||||
|
-moz-background-size: auto, cover;
|
||||||
|
-o-background-size: auto, cover;
|
||||||
|
color: var(--text);
|
||||||
|
}
|
||||||
|
|
||||||
|
[class*="EnhancedSelectInput-mobileCloseButton-"] {
|
||||||
|
color: var(--button-text);
|
||||||
|
}
|
||||||
|
|
||||||
|
[class*="EnhancedSelectInput-mobileCloseButton-"]:hover {
|
||||||
|
color: var(--button-text-hover);
|
||||||
|
}
|
||||||
|
|
||||||
|
[class*="EnhancedSelectInput-mobileCloseButtonContainer-"] {
|
||||||
|
|
||||||
|
border-bottom: 1px solid rgba(255, 255, 255, 0.25);
|
||||||
|
}
|
||||||
|
|
||||||
/* SEARCH BAR */
|
/* SEARCH BAR */
|
||||||
[class*="Input-input-"],
|
[class*="Input-input-"],
|
||||||
[class*="AddNewSeries-searchIconContainer-"],
|
[class*="AddNewSeries-searchIconContainer-"],
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
--text:#ddd;
|
--text:#ddd;
|
||||||
--text-hover: #fff;
|
--text-hover: #fff;
|
||||||
--text-muted: #999;
|
--text-muted: #8dcfc9;
|
||||||
|
|
||||||
/*Specials*/
|
/*Specials*/
|
||||||
--arr-queue-color: #009688; /* Servarr apps + Bazarr*/
|
--arr-queue-color: #009688; /* Servarr apps + Bazarr*/
|
||||||
|
39
themes.py
39
themes.py
@ -114,24 +114,24 @@ def create_json(app_folders: list = None, themes: list = None, community_themes:
|
|||||||
APPS.update(THEMES)
|
APPS.update(THEMES)
|
||||||
return dumps(APPS)
|
return dumps(APPS)
|
||||||
|
|
||||||
def temporary_copy_files():
|
# def temporary_copy_files():
|
||||||
shutil.rmtree("./CSS", ignore_errors=True)
|
# shutil.rmtree("./CSS", ignore_errors=True)
|
||||||
shutil.rmtree("./Resources", ignore_errors=True)
|
# shutil.rmtree("./Resources", ignore_errors=True)
|
||||||
src_dst = {
|
# src_dst = {
|
||||||
"./css/base/": "./CSS/themes",
|
# "./css/base/": "./CSS/themes",
|
||||||
"./css/theme-options": "./CSS/variables",
|
# "./css/theme-options": "./CSS/variables",
|
||||||
"./css/community-theme-options": "./CSS/variables",
|
# "./css/community-theme-options": "./CSS/variables",
|
||||||
"./resources/": "./Resources/",
|
# "./resources/": "./Resources/",
|
||||||
"./css/addons/": "./CSS/addons",
|
# "./css/addons/": "./CSS/addons",
|
||||||
"./css/defaults/": "./CSS/defaults",
|
# "./css/defaults/": "./CSS/defaults",
|
||||||
"./css/theme-options/organizr.css": "./CSS/variables/organizr-dark.css",
|
# "./css/theme-options/organizr.css": "./CSS/variables/organizr-dark.css",
|
||||||
"./css/theme-options/organizr.css": "./css/theme-options/organizr-dark.css"
|
# "./css/theme-options/organizr.css": "./css/theme-options/organizr-dark.css"
|
||||||
}
|
# }
|
||||||
for src in src_dst:
|
# for src in src_dst:
|
||||||
if ".css" in src:
|
# if ".css" in src:
|
||||||
shutil.copy(src,src_dst[src])
|
# shutil.copy(src,src_dst[src])
|
||||||
continue
|
# continue
|
||||||
shutil.copytree(src,src_dst[src],dirs_exist_ok=True)
|
# shutil.copytree(src,src_dst[src],dirs_exist_ok=True)
|
||||||
|
|
||||||
def create_theme_options():
|
def create_theme_options():
|
||||||
def create_css(folder):
|
def create_css(folder):
|
||||||
@ -144,7 +144,7 @@ def create_theme_options():
|
|||||||
applications = data["applications"]
|
applications = data["applications"]
|
||||||
for app in applications:
|
for app in applications:
|
||||||
for theme in themes:
|
for theme in themes:
|
||||||
folders = ["./CSS/themes","./css/base"]
|
folders = ["./css/base"]
|
||||||
for folder in folders:
|
for folder in folders:
|
||||||
create_css(folder)
|
create_css(folder)
|
||||||
|
|
||||||
@ -160,5 +160,4 @@ if __name__ == "__main__":
|
|||||||
apps = loads(create_json(app_folders=app_folders, themes=themes, community_themes=community_themes))
|
apps = loads(create_json(app_folders=app_folders, themes=themes, community_themes=community_themes))
|
||||||
with open("themes.json", "w") as outfile:
|
with open("themes.json", "w") as outfile:
|
||||||
dump(apps, outfile, indent=2, sort_keys=True)
|
dump(apps, outfile, indent=2, sort_keys=True)
|
||||||
temporary_copy_files()
|
|
||||||
create_theme_options()
|
create_theme_options()
|
Loading…
Reference in New Issue
Block a user