Fossil SCM

In the Refined skins, stop iOS Safari zooming into the chat field and other form fields, draw the compact chat border around the field alone, space the chat buttons, and darken links in light-mode chat messages.

dmestas 2026-11-23 10:53 UTC trunk
Commit 6c4b6096438a8e65016212ef222190d0b744f3bf28774e7856c6c02f65358269
--- skins/refined-dark/css.txt
+++ skins/refined-dark/css.txt
@@ -1009,5 +1009,33 @@
10091009
}
10101010
10111011
/* A message's header line (sender, number, time) may wrap. Fossil keeps it
10121012
on one line, so a long login made the message list scroll sideways. */
10131013
body.chat div.message-widget .message-widget-tab { white-space: normal; overflow-wrap: anywhere; max-width: 100%; }
1014
+
1015
+/* iOS Safari zooms into a focused field whose text is under 16px. Phones
1016
+ get .content at 0.95em, so the chat field (15.2px) zoomed the page and
1017
+ left it scrolling sideways; other fields default to about 13px. */
1018
+@media (pointer: coarse), (max-width: 600px) {
1019
+ body.chat .chat-input-field { font-size: max(16px, 1em) !important; }
1020
+ textarea, select,
1021
+ input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]):not([type=reset]):not([type=file]) {
1022
+ font-size: max(16px, 1em);
1023
+ }
1024
+}
1025
+/* The input wrapper's border already shows focus; the field's own
1026
+ :focus-visible outline was drawn outside it. */
1027
+body.chat .chat-input-field:focus-visible { outline: none; }
1028
+/* In compact mode fossil stacks the field over the button row, so a border
1029
+ on the wrapper enclosed the buttons and the blank space beside them.
1030
+ Draw it on the field instead. */
1031
+body.chat #chat-input-line-wrapper.compact { border: none !important; background: transparent !important; gap: 4px; }
1032
+body.chat #chat-input-line-wrapper.compact .chat-input-field {
1033
+ border: 1px solid var(--border) !important; border-radius: 6px !important;
1034
+ background: var(--input-bg) !important; padding: 0.3em 0.45em !important;
1035
+}
1036
+body.chat #chat-input-line-wrapper.compact .chat-input-field:focus { border-color: var(--link) !important; }
1037
+/* Space the buttons so neighboring borders do not double up. */
1038
+body.chat #chat-buttons-wrapper { gap: 4px; }
1039
+/* Light-mode bubbles keep the sender's own color, on which the page link
1040
+ blue measured 4.0:1. Links in messages use the darker on-tint blue. */
1041
+body.chat .message-widget-content a, body.chat .message-widget-content a:visited { color: var(--link-on-tint) !important; }
10141042
--- skins/refined-dark/css.txt
+++ skins/refined-dark/css.txt
@@ -1009,5 +1009,33 @@
1009 }
1010
1011 /* A message's header line (sender, number, time) may wrap. Fossil keeps it
1012 on one line, so a long login made the message list scroll sideways. */
1013 body.chat div.message-widget .message-widget-tab { white-space: normal; overflow-wrap: anywhere; max-width: 100%; }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1014
--- skins/refined-dark/css.txt
+++ skins/refined-dark/css.txt
@@ -1009,5 +1009,33 @@
1009 }
1010
1011 /* A message's header line (sender, number, time) may wrap. Fossil keeps it
1012 on one line, so a long login made the message list scroll sideways. */
1013 body.chat div.message-widget .message-widget-tab { white-space: normal; overflow-wrap: anywhere; max-width: 100%; }
1014
1015 /* iOS Safari zooms into a focused field whose text is under 16px. Phones
1016 get .content at 0.95em, so the chat field (15.2px) zoomed the page and
1017 left it scrolling sideways; other fields default to about 13px. */
1018 @media (pointer: coarse), (max-width: 600px) {
1019 body.chat .chat-input-field { font-size: max(16px, 1em) !important; }
1020 textarea, select,
1021 input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]):not([type=reset]):not([type=file]) {
1022 font-size: max(16px, 1em);
1023 }
1024 }
1025 /* The input wrapper's border already shows focus; the field's own
1026 :focus-visible outline was drawn outside it. */
1027 body.chat .chat-input-field:focus-visible { outline: none; }
1028 /* In compact mode fossil stacks the field over the button row, so a border
1029 on the wrapper enclosed the buttons and the blank space beside them.
1030 Draw it on the field instead. */
1031 body.chat #chat-input-line-wrapper.compact { border: none !important; background: transparent !important; gap: 4px; }
1032 body.chat #chat-input-line-wrapper.compact .chat-input-field {
1033 border: 1px solid var(--border) !important; border-radius: 6px !important;
1034 background: var(--input-bg) !important; padding: 0.3em 0.45em !important;
1035 }
1036 body.chat #chat-input-line-wrapper.compact .chat-input-field:focus { border-color: var(--link) !important; }
1037 /* Space the buttons so neighboring borders do not double up. */
1038 body.chat #chat-buttons-wrapper { gap: 4px; }
1039 /* Light-mode bubbles keep the sender's own color, on which the page link
1040 blue measured 4.0:1. Links in messages use the darker on-tint blue. */
1041 body.chat .message-widget-content a, body.chat .message-widget-content a:visited { color: var(--link-on-tint) !important; }
1042
--- skins/refined-light/css.txt
+++ skins/refined-light/css.txt
@@ -996,5 +996,33 @@
996996
}
997997
998998
/* A message's header line (sender, number, time) may wrap. Fossil keeps it
999999
on one line, so a long login made the message list scroll sideways. */
10001000
body.chat div.message-widget .message-widget-tab { white-space: normal; overflow-wrap: anywhere; max-width: 100%; }
1001
+
1002
+/* iOS Safari zooms into a focused field whose text is under 16px. Phones
1003
+ get .content at 0.95em, so the chat field (15.2px) zoomed the page and
1004
+ left it scrolling sideways; other fields default to about 13px. */
1005
+@media (pointer: coarse), (max-width: 600px) {
1006
+ body.chat .chat-input-field { font-size: max(16px, 1em) !important; }
1007
+ textarea, select,
1008
+ input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]):not([type=reset]):not([type=file]) {
1009
+ font-size: max(16px, 1em);
1010
+ }
1011
+}
1012
+/* The input wrapper's border already shows focus; the field's own
1013
+ :focus-visible outline was drawn outside it. */
1014
+body.chat .chat-input-field:focus-visible { outline: none; }
1015
+/* In compact mode fossil stacks the field over the button row, so a border
1016
+ on the wrapper enclosed the buttons and the blank space beside them.
1017
+ Draw it on the field instead. */
1018
+body.chat #chat-input-line-wrapper.compact { border: none !important; background: transparent !important; gap: 4px; }
1019
+body.chat #chat-input-line-wrapper.compact .chat-input-field {
1020
+ border: 1px solid var(--border) !important; border-radius: 6px !important;
1021
+ background: var(--input-bg) !important; padding: 0.3em 0.45em !important;
1022
+}
1023
+body.chat #chat-input-line-wrapper.compact .chat-input-field:focus { border-color: var(--link) !important; }
1024
+/* Space the buttons so neighboring borders do not double up. */
1025
+body.chat #chat-buttons-wrapper { gap: 4px; }
1026
+/* Light-mode bubbles keep the sender's own color, on which the page link
1027
+ blue measured 4.0:1. Links in messages use the darker on-tint blue. */
1028
+body.chat .message-widget-content a, body.chat .message-widget-content a:visited { color: var(--link-on-tint) !important; }
10011029
--- skins/refined-light/css.txt
+++ skins/refined-light/css.txt
@@ -996,5 +996,33 @@
996 }
997
998 /* A message's header line (sender, number, time) may wrap. Fossil keeps it
999 on one line, so a long login made the message list scroll sideways. */
1000 body.chat div.message-widget .message-widget-tab { white-space: normal; overflow-wrap: anywhere; max-width: 100%; }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1001
--- skins/refined-light/css.txt
+++ skins/refined-light/css.txt
@@ -996,5 +996,33 @@
996 }
997
998 /* A message's header line (sender, number, time) may wrap. Fossil keeps it
999 on one line, so a long login made the message list scroll sideways. */
1000 body.chat div.message-widget .message-widget-tab { white-space: normal; overflow-wrap: anywhere; max-width: 100%; }
1001
1002 /* iOS Safari zooms into a focused field whose text is under 16px. Phones
1003 get .content at 0.95em, so the chat field (15.2px) zoomed the page and
1004 left it scrolling sideways; other fields default to about 13px. */
1005 @media (pointer: coarse), (max-width: 600px) {
1006 body.chat .chat-input-field { font-size: max(16px, 1em) !important; }
1007 textarea, select,
1008 input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]):not([type=reset]):not([type=file]) {
1009 font-size: max(16px, 1em);
1010 }
1011 }
1012 /* The input wrapper's border already shows focus; the field's own
1013 :focus-visible outline was drawn outside it. */
1014 body.chat .chat-input-field:focus-visible { outline: none; }
1015 /* In compact mode fossil stacks the field over the button row, so a border
1016 on the wrapper enclosed the buttons and the blank space beside them.
1017 Draw it on the field instead. */
1018 body.chat #chat-input-line-wrapper.compact { border: none !important; background: transparent !important; gap: 4px; }
1019 body.chat #chat-input-line-wrapper.compact .chat-input-field {
1020 border: 1px solid var(--border) !important; border-radius: 6px !important;
1021 background: var(--input-bg) !important; padding: 0.3em 0.45em !important;
1022 }
1023 body.chat #chat-input-line-wrapper.compact .chat-input-field:focus { border-color: var(--link) !important; }
1024 /* Space the buttons so neighboring borders do not double up. */
1025 body.chat #chat-buttons-wrapper { gap: 4px; }
1026 /* Light-mode bubbles keep the sender's own color, on which the page link
1027 blue measured 4.0:1. Links in messages use the darker on-tint blue. */
1028 body.chat .message-widget-content a, body.chat .message-widget-content a:visited { color: var(--link-on-tint) !important; }
1029

Keyboard Shortcuts

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