Fossil

Check-in [c9ca5198be]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Removed some dead CSS.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | chat-widget-rework
Files: files | file ages | folders
SHA3-256: c9ca5198be3a2b9d4239a3b9af05dae35fa01fce16fab640d344a49e5b85caa8
User & Date: stephan 2020-12-25 22:37:56.850
Context
2020-12-25
23:02
Do not use <fieldset> and <legend> as Safari does not allow one to bind 'click' events. ... (check-in: 6849bb0b6b user: drh tags: trunk)
22:37
Removed some dead CSS. ... (Closed-Leaf check-in: c9ca5198be user: stephan tags: chat-widget-rework)
22:35
chat: refactored the messages from fieldsets to a custom widget. ... (check-in: 852bda77bd user: stephan tags: chat-widget-rework)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/chat.js.
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
          // perfectly safe to use in this context.
          contentTarget.innerHTML = m.xmsg;
        }
        return this;
      }
    };
    return cf;
  })();
  
  const BlobXferState = (function(){/*drag/drop bits...*/
    /* State for paste and drag/drop */
    const bxs = {
      dropDetails: document.querySelector('#chat-drop-details'),
      blob: undefined,
      clear: function(){
        this.blob = undefined;







|
|







304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
          // perfectly safe to use in this context.
          contentTarget.innerHTML = m.xmsg;
        }
        return this;
      }
    };
    return cf;
  })()/*MessageWidget*/;

  const BlobXferState = (function(){/*drag/drop bits...*/
    /* State for paste and drag/drop */
    const bxs = {
      dropDetails: document.querySelector('#chat-drop-details'),
      blob: undefined,
      clear: function(){
        this.blob = undefined;
Changes to src/default.css.
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
  border-radius: 0.25em 0.25em 0 0;
  padding: 0 0.5em;
  /*text-align: left; Firefox requires the 'align' attribute */
  margin: 0 0.25em 0em 0.15em;
  padding: 0 0.5em 0.15em 0.5em;
  cursor: pointer;
}
/*body.chat.my-messages-right .message-widget-tab {
}*/
body.chat .message-widget .message-widget-tab a {
  text-decoration: none;
  color: inherit;
}

body.chat .fossil-tooltip.help-buttonlet-content {
  font-size: 80%;
}

body.chat .chat-message-popup {
  font-family: monospace;







<
<
<
<
<
<







1508
1509
1510
1511
1512
1513
1514






1515
1516
1517
1518
1519
1520
1521
  border-radius: 0.25em 0.25em 0 0;
  padding: 0 0.5em;
  /*text-align: left; Firefox requires the 'align' attribute */
  margin: 0 0.25em 0em 0.15em;
  padding: 0 0.5em 0.15em 0.5em;
  cursor: pointer;
}







body.chat .fossil-tooltip.help-buttonlet-content {
  font-size: 80%;
}

body.chat .chat-message-popup {
  font-family: monospace;