Fossil SCM

Increase the size of the /chat attach button image and fix it to be rescaled in non-dark themes.

stephan 2024-07-01 11:24 fts5-chat-search
Commit ae0940db8213cde8f339e301dc329b78be669cbfb62efbbecb56b2c2d467a797
1 file changed +3 -1
--- src/style.chat.css
+++ src/style.chat.css
@@ -617,11 +617,13 @@
617617
618618
body.chat.fossil-dark-style #chat-button-attach > svg {
619619
/* The black paperclip is barely visible in dark-mode
620620
skins when they have dark buttons */
621621
filter: invert(0.8);
622
- transform: scale(130%);
622
+}
623
+body.chat #chat-button-attach > svg {
624
+ transform: scale(170%);
623625
}
624626
625627
body.cpage-chat-search .searchForm {
626628
margin-top: 1em;
627629
}
628630
--- src/style.chat.css
+++ src/style.chat.css
@@ -617,11 +617,13 @@
617
618 body.chat.fossil-dark-style #chat-button-attach > svg {
619 /* The black paperclip is barely visible in dark-mode
620 skins when they have dark buttons */
621 filter: invert(0.8);
622 transform: scale(130%);
 
 
623 }
624
625 body.cpage-chat-search .searchForm {
626 margin-top: 1em;
627 }
628
--- src/style.chat.css
+++ src/style.chat.css
@@ -617,11 +617,13 @@
617
618 body.chat.fossil-dark-style #chat-button-attach > svg {
619 /* The black paperclip is barely visible in dark-mode
620 skins when they have dark buttons */
621 filter: invert(0.8);
622 }
623 body.chat #chat-button-attach > svg {
624 transform: scale(170%);
625 }
626
627 body.cpage-chat-search .searchForm {
628 margin-top: 1em;
629 }
630

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button