removed green theme

This commit is contained in:
zadam 2021-07-05 17:10:10 +02:00
parent 9adf4d7e8e
commit 05d077ce28
4 changed files with 5 additions and 70 deletions

View File

@ -157,7 +157,6 @@ export default class ApperanceOptions {
async optionsLoaded(options) {
const themes = [
{ val: 'green', title: 'Green' },
{ val: 'white', title: 'White' },
{ val: 'dark', title: 'Dark' }
].concat(await server.get('options/user-themes'));

View File

@ -45,6 +45,10 @@ export default class CalendarMenuWidget extends BasicWidget {
doRender() {
this.$widget = $(TPL);
const $button = this.$widget.find(".calendar-menu-button");
$button.tooltip({ trigger: "hover" });
$button.on("click", () => $button.tooltip("hide"));
this.$month = this.$widget.find('[data-calendar-area="month"]');
this.$next = this.$widget.find('[data-calendar-toggle="next"]');
this.$previous = this.$widget.find('[data-calendar-toggle="previous"]');

View File

@ -97,11 +97,7 @@ export default class GlobalMenuWidget extends BasicWidget {
this.$widget = $(TPL);
const $button = this.$widget.find(".global-menu-button");
$button.tooltip({
trigger: "hover"
});
$button.tooltip({ trigger: "hover" });
$button.on("click", () => $button.tooltip("hide"));
this.$widget.find(".show-about-dialog-button").on('click',

View File

@ -62,70 +62,6 @@
--link-color: blue;
}
body.theme-green {
--main-font-family: MontserratLight;
--main-font-size: normal;
--tree-font-family: MontserratLight;
--tree-font-size: normal;
--detail-font-family: MontserratLight;
--detail-font-size: normal;
--font-family-monospace: JetBrainsLight;
--detail-text-font-family: MontserratLight;
--main-background-color: white;
--main-text-color: black;
--main-border-color: #3F9D38;
--accented-background-color: #51C048;
--more-accented-background-color: #3F9D38;
--button-background-color: transparent;
--button-disabled-background-color: #ddd;
--button-border-color: #3F9D38;
--button-text-color: #3F9D38;
--button-border-radius: 5px;
--primary-button-background-color: #6c757d;
--primary-button-text-color: white;
--primary-button-border-color: #6c757d;
--muted-text-color: #666;
--input-text-color: black;
--input-background-color: transparent;
--hover-item-text-color: black;
--hover-item-background-color: #ddd;
--active-item-text-color: black;
--active-item-background-color: #ddd;
--menu-text-color: black;
--menu-background-color: white;
--modal-background-color: white;
--modal-backdrop-color: black;
--left-pane-background-color: #98DB92;
--left-pane-text-color: #333;
--launcher-pane-background-color: #98DB92;
--launcher-pane-text-color: #333;
--active-tab-background-color: #51C048;
--active-tab-text-color: black;
--inactive-tab-background-color: #98DB92;
--inactive-tab-text-color: #666;
--scrollbar-border-color: #3F9D38;
--tooltip-background-color: #f8f8f8;
--link-color: blue;
}
body.theme-dark {
--main-font-family: MontserratLight;
--main-font-size: normal;