fix(migadu-webmail): compose message modal, buttons (#568)

This commit is contained in:
uncenter authored and GitHub committed 2024-02-27 08:34:13 -05:00
1 parent 6cf28af8d3
commit 1bbdfb3d0a
1 file changed
+53 -26
+53 -26
View File
@@ -2,7 +2,7 @@
@name Migadu Webmail Catppuccin @name Migadu Webmail Catppuccin
@namespace github.com/catppuccin/userstyles/styles/migadu-webmail @namespace github.com/catppuccin/userstyles/styles/migadu-webmail
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/migadu-webmail @homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/migadu-webmail
@version 0.0.1 @version 0.0.2
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/migadu-webmail/catppuccin.user.css @updateURL https://github.com/catppuccin/userstyles/raw/main/styles/migadu-webmail/catppuccin.user.css
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Amigadu-webmail @supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Amigadu-webmail
@description Soothing pastel theme for Migadu Webmail @description Soothing pastel theme for Migadu Webmail
@@ -120,18 +120,42 @@
--btn-clr: @text; --btn-clr: @text;
--btn-border-clr: @overlay0; --btn-border-clr: @overlay0;
.btn.btn-success {
&,
[class^="icon-"] {
color: @green !important;
}
background-color: fade(@green, 20%);
&:hover,
&:active {
background-color: fade(@green, 40%);
}
}
.btn.btn-warning {
&,
[class^="icon-"] {
color: @yellow !important;
}
background-color: fade(@yellow, 20%);
&:hover,
&:active {
background-color: fade(@yellow, 40%);
}
}
.btn.btn-danger {
&,
[class^="icon-"] {
color: @red !important;
}
background-color: fade(@red, 20%);
&:hover,
&:active {
background-color: fade(@red, 40%);
}
}
.btn.disabled { .btn.disabled {
color: @surface0; color: @surface0;
} }
.btn.btn-success:hover,
.btn.btn-success:active {
background-color: desaturate(lighten(fade(@green, 40%), 10%), 10%);
}
.btn.btn-success,
.btn.btn-success [class*=" icon-"],
.btn.btn-success [class^="icon-"] {
color: @green;
}
.btn.disabled.fontastic, .btn.disabled.fontastic,
.btn.disabled .fontastic { .btn.disabled .fontastic {
color: @surface0; color: @surface0;
@@ -145,6 +169,9 @@
text-shadow: none !important; text-shadow: none !important;
background-color: @base; background-color: @base;
} }
.btn:hover {
background-color: @mantle;
}
/* Links */ /* Links */
@@ -236,12 +263,6 @@
} }
/* stylelint-enable property-disallowed-list */ /* stylelint-enable property-disallowed-list */
#V-PopupsCompose header .close,
#V-PopupsCompose header .minimize-custom {
color: @surface2;
border-color: @surface0;
}
/* Nothing selected */ /* Nothing selected */
.messageView .b-message-view-desc, .messageView .b-message-view-desc,
#V-PopupsContacts .b-view-content .b-contact-view-desc { #V-PopupsContacts .b-view-content .b-contact-view-desc {
@@ -283,16 +304,6 @@
.messageListItem.msgflag-\\flagged .flagParent::after { .messageListItem.msgflag-\\flagged .flagParent::after {
color: @orange; color: @orange;
} }
.btn.btn-danger,
.btn.btn-info,
.btn.btn-inverse,
.btn.btn-primary,
.btn.btn-success,
.btn.btn-warning,
.btn [class*=" icon-"],
.btn [class^="icon-"] {
color: @text;
}
/* Tags */ /* Tags */
@@ -405,6 +416,22 @@
border-color: @surface0; border-color: @surface0;
} }
} }
/* Send mail modal */
.squire-toolbar,
#V-PopupsCompose .attachmentAreaParent {
border-color: @surface0;
}
#V-PopupsCompose header {
color: @text;
}
/* Minimize and close icons */
#V-PopupsCompose header div.pull-right a.minimize-custom,
#V-PopupsCompose .close,
.close {
border-color: @text;
color: @text;
}
} }
@media (prefers-color-scheme: light) { @media (prefers-color-scheme: light) {