From: Dominik Csapak <d.csapak@proxmox.com>
To: yew-devel@lists.proxmox.com
Subject: [yew-devel] [PATCH yew-widget-toolkit-assets] crisp: override style of sorted datatable headers
Date: Wed, 29 Jan 2025 15:54:49 +0100 [thread overview]
Message-ID: <20250129145449.3079568-1-d.csapak@proxmox.com> (raw)
to better match original extjs theme
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
---
scss/crisp/_theme_post_crisp.scss | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/scss/crisp/_theme_post_crisp.scss b/scss/crisp/_theme_post_crisp.scss
index ac4e6d3..bcb03ce 100644
--- a/scss/crisp/_theme_post_crisp.scss
+++ b/scss/crisp/_theme_post_crisp.scss
@@ -7,3 +7,16 @@
.pwt-content-spacer {
@include color-scheme-vars("neutral");
}
+
+/// .pwt-datatable-header-item.sorted``
+/// : add color to the whole header elment instead of just the text, like in extjs
+.pwt-datatable-header-item.sorted {
+ color: initial;
+ @include elevation-background-color($level: 3, $state: none);
+ &:hover {
+ @include elevation-background-color($level: 3, $state: hover);
+ }
+ &:active {
+ @include elevation-background-color($level: 3, $state: press);
+ }
+}
--
2.39.5
_______________________________________________
yew-devel mailing list
yew-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/yew-devel
reply other threads:[~2025-01-29 14:54 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250129145449.3079568-1-d.csapak@proxmox.com \
--to=d.csapak@proxmox.com \
--cc=yew-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.