Themes: Code clean-up
This commit is contained in:
parent
a174448a9c
commit
13cfcf6d20
|
@ -2,8 +2,8 @@
|
|||
@import url("themes/vanta.css");
|
||||
@import url("themes/shadow.css");
|
||||
@import url("themes/yellowstone.css");
|
||||
@import url("themes/dark-purple.css");
|
||||
@import url("themes/dark-lavender.css");
|
||||
@import url("themes/abyss.css");
|
||||
@import url("themes/gemstone.css");
|
||||
|
||||
/* General Styles */
|
||||
|
||||
|
|
93
frontend/src/css/themes/abyss.css
Normal file
93
frontend/src/css/themes/abyss.css
Normal file
|
@ -0,0 +1,93 @@
|
|||
/* Abyss Theme */
|
||||
|
||||
.theme-abyss .v-content__wrap,
|
||||
.theme-abyss .p-page,
|
||||
.theme-abyss .form,
|
||||
.theme-abyss .v-content {
|
||||
background: #212121 !important;
|
||||
}
|
||||
|
||||
#photoprism.theme-abyss .theme--light.v-small-dialog__content,
|
||||
#photoprism.theme-abyss .theme--light.v-sheet,
|
||||
#photoprism.theme-abyss .theme--light.v-card {
|
||||
background: #212121;
|
||||
}
|
||||
|
||||
.theme-abyss .application.theme--light {
|
||||
background: #212121;
|
||||
}
|
||||
|
||||
#photoprism.theme-abyss .theme--light .v-table {
|
||||
background: #262626;
|
||||
}
|
||||
|
||||
#photoprism.theme-abyss .theme--light.v-table thead th,
|
||||
#photoprism.theme-abyss .theme--light.v-table tbody td {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#photoprism.theme-abyss .theme--light.v-table tbody tr:hover {
|
||||
background: #333333;
|
||||
}
|
||||
|
||||
#photoprism.theme-abyss .theme--light.v-chip,
|
||||
#photoprism.theme-abyss .v-card__actions .theme--light.v-text-field--solo>.v-input__control>.v-input__slot {
|
||||
background: #333;
|
||||
}
|
||||
|
||||
#photoprism.theme-abyss .theme--light.v-text-field--solo>.v-input__control>.v-input__slot {
|
||||
background: #262626;
|
||||
}
|
||||
|
||||
#photoprism.theme-abyss .theme--light.v-input--selection-controls.v-input--is-disabled .v-icon {
|
||||
color: #999 !important;
|
||||
}
|
||||
|
||||
#photoprism.theme-abyss .theme--light.v-input--selection-controls.v-input--is-disabled .v-icon,
|
||||
#photoprism.theme-abyss .theme--light.v-input--is-disabled .v-label,
|
||||
#photoprism.theme-abyss .theme--light.v-input--is-disabled input,
|
||||
#photoprism.theme-abyss .theme--light.v-input--is-disabled textarea {
|
||||
color: #ccc;
|
||||
}
|
||||
|
||||
#photoprism.theme-abyss,
|
||||
#photoprism.theme-abyss .p-page a,
|
||||
#photoprism.theme-abyss .v-datatable a,
|
||||
#photoprism.theme-abyss .theme--light.v-expansion-panel .v-expansion-panel__container,
|
||||
#photoprism.theme-abyss .theme--light.v-tabs__bar .v-tabs__div,
|
||||
#photoprism.theme-abyss .theme--light {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#photoprism.theme-abyss .theme--light.v-list {
|
||||
background: #262626;
|
||||
}
|
||||
|
||||
#photoprism.theme-abyss a.text-link {
|
||||
color: #c8e3e7 !important;
|
||||
}
|
||||
|
||||
#photoprism.theme-abyss .theme--light.v-select .v-select__selections {
|
||||
color: #eee;
|
||||
}
|
||||
|
||||
#photoprism.theme-abyss .theme--light.v-list .v-list__tile__sub-title,
|
||||
#photoprism.theme-abyss .accent--text {
|
||||
color: #643da9 !important;
|
||||
}
|
||||
|
||||
#photoprism.theme-abyss .theme--light.v-input:not(.v-input--is-disabled) input,
|
||||
#photoprism.theme-abyss .theme--light.v-input:not(.v-input--is-disabled) textarea {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#photoprism.theme-abyss .theme--light.v-btn.v-btn--disabled,
|
||||
#photoprism.theme-abyss .theme--light.v-btn.v-btn--disabled .v-btn__loading,
|
||||
#photoprism.theme-abyss .theme--light.v-btn.v-btn--disabled .v-icon {
|
||||
color: #999 !important;
|
||||
}
|
||||
|
||||
#photoprism.theme-abyss .theme--light.v-list .v-list__tile__mask {
|
||||
color: #cccccc;
|
||||
background: transparent;
|
||||
}
|
|
@ -1,106 +0,0 @@
|
|||
/* Dark Lavender Theme */
|
||||
|
||||
#photoprism.container.theme-dark-lavender {
|
||||
background-image: linear-gradient(160deg, #808080 0%, #262626 100%);
|
||||
}
|
||||
|
||||
#photoprism.container.theme-dark-lavender div.loading-animation {
|
||||
color: #c4f1e5 !important;
|
||||
caret-color: #c4f1e5 !important;
|
||||
}
|
||||
|
||||
#photoprism.container.theme-dark-lavender div.loading-animation .loading-underlay {
|
||||
stroke: rgba(196, 241, 229, 0.3);
|
||||
}
|
||||
|
||||
.theme-dark-lavender .v-content__wrap,
|
||||
.theme-dark-lavender .p-page,
|
||||
.theme-dark-lavender .form,
|
||||
.theme-dark-lavender .v-content {
|
||||
background: #444 !important;
|
||||
}
|
||||
|
||||
#photoprism.theme-dark-lavender .theme--light.v-small-dialog__content,
|
||||
#photoprism.theme-dark-lavender .theme--light.v-sheet,
|
||||
#photoprism.theme-dark-lavender .theme--light.v-card {
|
||||
background: #444;
|
||||
}
|
||||
|
||||
.theme-dark-lavender .application.theme--light {
|
||||
background: #444;
|
||||
}
|
||||
|
||||
#photoprism.theme-dark-lavender .theme--light .v-table {
|
||||
background: #4E4E4E;
|
||||
}
|
||||
|
||||
#photoprism.theme-dark-lavender .theme--light.v-table thead th,
|
||||
#photoprism.theme-dark-lavender .theme--light.v-table tbody td {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#photoprism.theme-dark-lavender .theme--light.v-table tbody tr:hover {
|
||||
background: #666;
|
||||
}
|
||||
|
||||
#photoprism.theme-dark-lavender .theme--light.v-chip,
|
||||
#photoprism.theme-dark-lavender .v-card__actions .theme--light.v-text-field--solo>.v-input__control>.v-input__slot {
|
||||
background: #333;
|
||||
}
|
||||
|
||||
#photoprism.theme-dark-lavender .theme--light.v-text-field--solo>.v-input__control>.v-input__slot {
|
||||
background: #4E4E4E;
|
||||
}
|
||||
|
||||
#photoprism.theme-dark-lavender .theme--light.v-input--selection-controls.v-input--is-disabled .v-icon {
|
||||
color: #999 !important;
|
||||
}
|
||||
|
||||
#photoprism.theme-dark-lavender .theme--light.v-input--selection-controls.v-input--is-disabled .v-icon,
|
||||
#photoprism.theme-dark-lavender .theme--light.v-input--is-disabled .v-label,
|
||||
#photoprism.theme-dark-lavender .theme--light.v-input--is-disabled input,
|
||||
#photoprism.theme-dark-lavender .theme--light.v-input--is-disabled textarea {
|
||||
color: #ccc;
|
||||
}
|
||||
|
||||
#photoprism.theme-dark-lavender,
|
||||
#photoprism.theme-dark-lavender .p-page a,
|
||||
#photoprism.theme-dark-lavender .v-datatable a,
|
||||
#photoprism.theme-dark-lavender .theme--light.v-expansion-panel .v-expansion-panel__container,
|
||||
#photoprism.theme-dark-lavender .theme--light.v-tabs__bar .v-tabs__div,
|
||||
#photoprism.theme-dark-lavender .theme--light {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#photoprism.theme-dark-lavender .theme--light.v-list {
|
||||
background: #555;
|
||||
}
|
||||
|
||||
#photoprism.theme-dark-lavender a.text-link {
|
||||
color: #c8e3e7 !important;
|
||||
}
|
||||
|
||||
#photoprism.theme-dark-lavender .theme--light.v-select .v-select__selections {
|
||||
color: #eee;
|
||||
}
|
||||
|
||||
#photoprism.theme-dark-lavender .theme--light.v-list .v-list__tile__sub-title,
|
||||
#photoprism.theme-dark-lavender .accent--text {
|
||||
color: #7a83b8 !important;
|
||||
}
|
||||
|
||||
#photoprism.theme-dark-lavender .theme--light.v-input:not(.v-input--is-disabled) input,
|
||||
#photoprism.theme-dark-lavender .theme--light.v-input:not(.v-input--is-disabled) textarea {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#photoprism.theme-dark-lavender .theme--light.v-btn.v-btn--disabled,
|
||||
#photoprism.theme-dark-lavender .theme--light.v-btn.v-btn--disabled .v-btn__loading,
|
||||
#photoprism.theme-dark-lavender .theme--light.v-btn.v-btn--disabled .v-icon {
|
||||
color: #999 !important;
|
||||
}
|
||||
|
||||
#photoprism.theme-dark-lavender .theme--light.v-list .v-list__tile__mask {
|
||||
color: #cccccc;
|
||||
background: transparent;
|
||||
}
|
|
@ -1,93 +0,0 @@
|
|||
/* Dark Purple Theme */
|
||||
|
||||
.theme-dark-purple .v-content__wrap,
|
||||
.theme-dark-purple .p-page,
|
||||
.theme-dark-purple .form,
|
||||
.theme-dark-purple .v-content {
|
||||
background: #212121 !important;
|
||||
}
|
||||
|
||||
#photoprism.theme-dark-purple .theme--light.v-small-dialog__content,
|
||||
#photoprism.theme-dark-purple .theme--light.v-sheet,
|
||||
#photoprism.theme-dark-purple .theme--light.v-card {
|
||||
background: #212121;
|
||||
}
|
||||
|
||||
.theme-dark-purple .application.theme--light {
|
||||
background: #212121;
|
||||
}
|
||||
|
||||
#photoprism.theme-dark-purple .theme--light .v-table {
|
||||
background: #262626;
|
||||
}
|
||||
|
||||
#photoprism.theme-dark-purple .theme--light.v-table thead th,
|
||||
#photoprism.theme-dark-purple .theme--light.v-table tbody td {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#photoprism.theme-dark-purple .theme--light.v-table tbody tr:hover {
|
||||
background: #333333;
|
||||
}
|
||||
|
||||
#photoprism.theme-dark-purple .theme--light.v-chip,
|
||||
#photoprism.theme-dark-purple .v-card__actions .theme--light.v-text-field--solo>.v-input__control>.v-input__slot {
|
||||
background: #333;
|
||||
}
|
||||
|
||||
#photoprism.theme-dark-purple .theme--light.v-text-field--solo>.v-input__control>.v-input__slot {
|
||||
background: #262626;
|
||||
}
|
||||
|
||||
#photoprism.theme-dark-purple .theme--light.v-input--selection-controls.v-input--is-disabled .v-icon {
|
||||
color: #999 !important;
|
||||
}
|
||||
|
||||
#photoprism.theme-dark-purple .theme--light.v-input--selection-controls.v-input--is-disabled .v-icon,
|
||||
#photoprism.theme-dark-purple .theme--light.v-input--is-disabled .v-label,
|
||||
#photoprism.theme-dark-purple .theme--light.v-input--is-disabled input,
|
||||
#photoprism.theme-dark-purple .theme--light.v-input--is-disabled textarea {
|
||||
color: #ccc;
|
||||
}
|
||||
|
||||
#photoprism.theme-dark-purple,
|
||||
#photoprism.theme-dark-purple .p-page a,
|
||||
#photoprism.theme-dark-purple .v-datatable a,
|
||||
#photoprism.theme-dark-purple .theme--light.v-expansion-panel .v-expansion-panel__container,
|
||||
#photoprism.theme-dark-purple .theme--light.v-tabs__bar .v-tabs__div,
|
||||
#photoprism.theme-dark-purple .theme--light {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#photoprism.theme-dark-purple .theme--light.v-list {
|
||||
background: #262626;
|
||||
}
|
||||
|
||||
#photoprism.theme-dark-purple a.text-link {
|
||||
color: #c8e3e7 !important;
|
||||
}
|
||||
|
||||
#photoprism.theme-dark-purple .theme--light.v-select .v-select__selections {
|
||||
color: #eee;
|
||||
}
|
||||
|
||||
#photoprism.theme-dark-purple .theme--light.v-list .v-list__tile__sub-title,
|
||||
#photoprism.theme-dark-purple .accent--text {
|
||||
color: #643da9 !important;
|
||||
}
|
||||
|
||||
#photoprism.theme-dark-purple .theme--light.v-input:not(.v-input--is-disabled) input,
|
||||
#photoprism.theme-dark-purple .theme--light.v-input:not(.v-input--is-disabled) textarea {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#photoprism.theme-dark-purple .theme--light.v-btn.v-btn--disabled,
|
||||
#photoprism.theme-dark-purple .theme--light.v-btn.v-btn--disabled .v-btn__loading,
|
||||
#photoprism.theme-dark-purple .theme--light.v-btn.v-btn--disabled .v-icon {
|
||||
color: #999 !important;
|
||||
}
|
||||
|
||||
#photoprism.theme-dark-purple .theme--light.v-list .v-list__tile__mask {
|
||||
color: #cccccc;
|
||||
background: transparent;
|
||||
}
|
106
frontend/src/css/themes/gemstone.css
Normal file
106
frontend/src/css/themes/gemstone.css
Normal file
|
@ -0,0 +1,106 @@
|
|||
/* Gemstone Theme */
|
||||
|
||||
#photoprism.container.theme-gemstone {
|
||||
background-image: linear-gradient(160deg, #808080 0%, #262626 100%);
|
||||
}
|
||||
|
||||
#photoprism.container.theme-gemstone div.loading-animation {
|
||||
color: #c4f1e5 !important;
|
||||
caret-color: #c4f1e5 !important;
|
||||
}
|
||||
|
||||
#photoprism.container.theme-gemstone div.loading-animation .loading-underlay {
|
||||
stroke: rgba(196, 241, 229, 0.3);
|
||||
}
|
||||
|
||||
.theme-gemstone .v-content__wrap,
|
||||
.theme-gemstone .p-page,
|
||||
.theme-gemstone .form,
|
||||
.theme-gemstone .v-content {
|
||||
background: #444 !important;
|
||||
}
|
||||
|
||||
#photoprism.theme-gemstone .theme--light.v-small-dialog__content,
|
||||
#photoprism.theme-gemstone .theme--light.v-sheet,
|
||||
#photoprism.theme-gemstone .theme--light.v-card {
|
||||
background: #444;
|
||||
}
|
||||
|
||||
.theme-gemstone .application.theme--light {
|
||||
background: #444;
|
||||
}
|
||||
|
||||
#photoprism.theme-gemstone .theme--light .v-table {
|
||||
background: #4E4E4E;
|
||||
}
|
||||
|
||||
#photoprism.theme-gemstone .theme--light.v-table thead th,
|
||||
#photoprism.theme-gemstone .theme--light.v-table tbody td {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#photoprism.theme-gemstone .theme--light.v-table tbody tr:hover {
|
||||
background: #666;
|
||||
}
|
||||
|
||||
#photoprism.theme-gemstone .theme--light.v-chip,
|
||||
#photoprism.theme-gemstone .v-card__actions .theme--light.v-text-field--solo>.v-input__control>.v-input__slot {
|
||||
background: #333;
|
||||
}
|
||||
|
||||
#photoprism.theme-gemstone .theme--light.v-text-field--solo>.v-input__control>.v-input__slot {
|
||||
background: #4E4E4E;
|
||||
}
|
||||
|
||||
#photoprism.theme-gemstone .theme--light.v-input--selection-controls.v-input--is-disabled .v-icon {
|
||||
color: #999 !important;
|
||||
}
|
||||
|
||||
#photoprism.theme-gemstone .theme--light.v-input--selection-controls.v-input--is-disabled .v-icon,
|
||||
#photoprism.theme-gemstone .theme--light.v-input--is-disabled .v-label,
|
||||
#photoprism.theme-gemstone .theme--light.v-input--is-disabled input,
|
||||
#photoprism.theme-gemstone .theme--light.v-input--is-disabled textarea {
|
||||
color: #ccc;
|
||||
}
|
||||
|
||||
#photoprism.theme-gemstone,
|
||||
#photoprism.theme-gemstone .p-page a,
|
||||
#photoprism.theme-gemstone .v-datatable a,
|
||||
#photoprism.theme-gemstone .theme--light.v-expansion-panel .v-expansion-panel__container,
|
||||
#photoprism.theme-gemstone .theme--light.v-tabs__bar .v-tabs__div,
|
||||
#photoprism.theme-gemstone .theme--light {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#photoprism.theme-gemstone .theme--light.v-list {
|
||||
background: #555;
|
||||
}
|
||||
|
||||
#photoprism.theme-gemstone a.text-link {
|
||||
color: #c8e3e7 !important;
|
||||
}
|
||||
|
||||
#photoprism.theme-gemstone .theme--light.v-select .v-select__selections {
|
||||
color: #eee;
|
||||
}
|
||||
|
||||
#photoprism.theme-gemstone .theme--light.v-list .v-list__tile__sub-title,
|
||||
#photoprism.theme-gemstone .accent--text {
|
||||
color: #7a83b8 !important;
|
||||
}
|
||||
|
||||
#photoprism.theme-gemstone .theme--light.v-input:not(.v-input--is-disabled) input,
|
||||
#photoprism.theme-gemstone .theme--light.v-input:not(.v-input--is-disabled) textarea {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#photoprism.theme-gemstone .theme--light.v-btn.v-btn--disabled,
|
||||
#photoprism.theme-gemstone .theme--light.v-btn.v-btn--disabled .v-btn__loading,
|
||||
#photoprism.theme-gemstone .theme--light.v-btn.v-btn--disabled .v-icon {
|
||||
color: #999 !important;
|
||||
}
|
||||
|
||||
#photoprism.theme-gemstone .theme--light.v-list .v-list__tile__mask {
|
||||
color: #cccccc;
|
||||
background: transparent;
|
||||
}
|
|
@ -217,7 +217,7 @@ export const Themes = () => [
|
|||
},
|
||||
{
|
||||
text: $gettext("Abyss"),
|
||||
value: "dark-purple",
|
||||
value: "abyss",
|
||||
disabled: false,
|
||||
},
|
||||
{
|
||||
|
@ -241,8 +241,8 @@ export const Themes = () => [
|
|||
disabled: false,
|
||||
},
|
||||
{
|
||||
text: $gettext("Lavender Dark"),
|
||||
value: "dark-lavender",
|
||||
text: $gettext("Gemstone"),
|
||||
value: "gemstone",
|
||||
disabled: false,
|
||||
},
|
||||
{
|
||||
|
|
|
@ -318,7 +318,7 @@
|
|||
"navigation-home": "#000000"
|
||||
}
|
||||
},
|
||||
"dark-purple": {
|
||||
"abyss": {
|
||||
"dark": true,
|
||||
"sponsor": true,
|
||||
"colors": {
|
||||
|
@ -347,7 +347,7 @@
|
|||
"navigation-home": "#000000"
|
||||
}
|
||||
},
|
||||
"dark-lavender": {
|
||||
"gemstone": {
|
||||
"dark": true,
|
||||
"sponsor": true,
|
||||
"colors": {
|
||||
|
|
Loading…
Reference in a new issue