Commit Graph
570 Commits
Author SHA1 Message Date
Mario PietschandGitHub 23e0eeb556 Add default settings for styled inline SPANs (#6877)
* add default settings for styled inline SPANs

* change color names in palettes and vanilla-base

* change parser behaviour if custom class is used

* tc-inline-style will only be set if no other custom setting is appliead

* Add tests for inline-styles

* add one more test

* remove space after if
2022-10-07 18:05:49 +01:00
jeremy@jermolene.com d62a16ee46 iPhone/iPad: Prevent long presses on tiddlylinks from triggering a preview 2022-08-31 17:44:31 +01:00
Mario PietschandGitHub 953b89fd6b CSS: Make input and button elements consistent for all browsers (#6910) 2022-08-17 14:54:15 +01:00
Mario PietschandGitHub d7b9e6fb02 Getting started new table layout (#6894)
* change core GettingStarted tiddler table layout

* rename tc-table-no-grid to tc-table-no-border
2022-08-09 18:42:01 +02:00
jeremy@jermolene.com 28070f847c Ensure dirty indicator has higher CSS specificity than menu bar
Fixes #6832
2022-07-28 16:20:47 +01:00
Mario PietschandGitHub 0112d04033 Fix 6731 tag and field name trim (#6740)
* this commit should fix #6731. It trims field and tag whitespace

* this commit increases tag space visibility as mentioned in 002d47b4d9

* fix a missing HTML end tag

* fix $:/Manager select element max width
2022-07-09 08:35:38 +01:00
jeremy@jermolene.com a29889a741 Fix layout bug introduced in d5030eb87b
Thanks @pmario
2022-06-17 14:03:36 +01:00
Simon HuberandGitHub 9bcbb9131e Add :root { color-sheme: ...; } to vanilla base (#6659) 2022-04-25 09:56:34 +01:00
FlashSystemsandGitHub 73a9625b81 Fix regressions cause by PR #6511 (#6567)
* Fix field edit bug

This fixes the field edit bug mentioned in
https://talk.tiddlywiki.org/t/possible-field-editing-bug-in-5-2-2/2884 .

* Revert "Fix visual regression in #6511"

This reverts commit c920960942.

* Add new class `tc-edit-fieldeditor`

This class must be added to input and select elements that are used as
field editors. This class reduces the line height of the input element
if it is displayed within the `tc-edit-fields` part of the edit
template.

This allows the same input and select elements to be used for editing
and adding fields.

* Add the new class `tc-edit-field` to the docs

The example in `Customizing EditTemplate Field Rendering` now uses the
new CSS classes.
2022-04-01 11:42:16 +01:00
Saq ImtiazandGitHub 25b2e708c9 Fix typo in CSS for drafts list (#6552)
Fixed typo in CSS for drafts list
2022-03-23 13:06:08 +00:00
FlashSystemsandGitHub b529e69289 Add a cascade for rendering fields within the Edit Template (#6511)
* Allow the rendering of fields to be extended

This commit extends the `$:/core/ui/EditTemplate/fields` tiddler to
use a new cascade (Field Editor Cascade) to allow customizing the
rendering of the field editor.
It provides a default element for the cascade that displays the standard
EditTextWidget as a fallback. That way, the implementation is completely
backwards compatible. The `currentTiddler` and `currentField` variables
are available in the transcluded tiddler. This has the additional
benefit, that not only the `EditTextWidget` can be used. The user can
use a dropdown-list or even something completely crazy. As long as it
can be put into a tiddler that updates the field, it will be fine.

* Make `select` Tags in Fields look like the rest

This patch updates the CSS to make `tc-edit-texteditor` usable on
`select`-tags as well.

I'm not sure what `-webkit-appearance: none;` is for, but it hides the
DropDown-arrow in Chrome and makes the select-tag hard to discover. I've
changed the css to only apply it to the input tag. Maybe it can be
removed altogether.

* Add documentation for the Field Editor Cascade
2022-03-17 17:06:24 +00:00
jeremy@jermolene.com 33f40c47c6 Use code-body: yes for more templates
Fixes #6444
2022-02-07 16:53:36 +00:00
jeremy@jermolene.com 853a899c77 Avoid wraping field names in field viewers
Also avoid wikifying field names
2021-12-08 19:29:02 +00:00
jeremy@jermolene.com 492bfbebe9 Sidebar plugin listing
Fix text colour in DarkPhotos and Muted palettes

Thanks @kookma

See https://github.com/Jermolene/TiddlyWiki5/discussions/6167#discussioncomment-1768298
2021-12-07 21:30:38 +00:00
jeremy@jermolene.com b0f72d0690 Improve sidebar plugin listing
Fixes #6167
2021-12-07 13:17:15 +00:00
Cameron FischerandGitHub a6feb6dd66 Changed vanilla/reset.tid to be a css file (#6242) 2021-11-18 18:01:13 +00:00
Simon HuberandGitHub 6890952357 Make image-picker in theme tweaks not dismiss popup ... (#6015)
when clicking the system-images checkbox
2021-10-27 14:13:49 +01:00
jeremy@jermolene.com 33a82e395e Revert tiddlylink font weight to match v5.1.23
Otherwise links to missing tiddlers are too skinny
2021-09-17 15:11:29 +01:00
Simon HuberandGitHub c9f178ec87 Make Stamp-Dropdown sortable by Drag&Drop (#5981)
* Make stamp-dropdown reorderable by list-tagged-draggable macro

* Add stamp-dropdown ItemTemplate tiddler

* Make stamp-entries editable by ctrl-click

* Update stamp-dropdown-item-template.tid

* Add `tc-editortoolbar-stamp-button` class to stamp button

* Make stamp-dropdown look like before

* Update base.tid
2021-08-29 17:48:32 +01:00
jeremy@jermolene.com 6ae78a770f Fix erroneous bolding of links
An accident from f97850dd05
2021-07-19 14:03:12 +01:00
jeremy@jermolene.com f97850dd05 Update "Snow White" font-family and font-weight
Fixes #5896
2021-07-19 12:54:57 +01:00
Mario PietschandGitHub a409536ad0 Prevent scrolling of the page when modals are displayed (#5816)
* prevent scroll-chaining in modals

* make body overflow hidden to prevent background scrolling
2021-06-27 16:24:06 +01:00
Simon HuberandGitHub 3cd80de5bb Revert #5720 and fix #5770 by removing :root { color-scheme: ... } 2021-06-14 11:01:00 +01:00
felixhayashiandGitHub 960160b3a2 word break property when viewing field values (#1661) 2021-06-14 10:37:04 +01:00
Simon HuberandGitHub eaf1da66b6 Add color-scheme: dark/light to the root element ... (#5720) 2021-05-25 22:22:21 +01:00
BlueGreenMagickandGitHub c30ce544d1 Fix ViewToolbar items inconsistent spacing (#5473) 2021-05-24 19:24:37 +01:00
Mohammad RahmaniandGitHub dcba17fc5f Correct pointer shape and color for disabled button (#5692)
* Update base.tid

this PR addresses the #5625

* Update base.tid

The extra space has been removed!
2021-05-23 18:13:04 +01:00
Saq ImtiazandGitHub 05d38054c8 Drag and drop images in the editor to import and insert (#5699)
* Merge

* Clean up

* More clean up

* Ensure image import works when type is not set, clean up post import actions

* Removed spurious new line

* For non image files insert a tiddler link

* Added documentation for new settings and features
2021-05-19 21:52:43 +01:00
Mario PietschandGitHub ec1df7edf0 Fix whitespace in themes (#5700) 2021-05-19 14:12:12 +01:00
Mario PietschandGitHub ac15334bb0 Add support for disabled editor toolbar buttons & docs (#5294)
* add dynamic toolbar buttons + HowTo

* remove some whitespace.

* move howto and improve shortcut logic

* move howto

* add whitespace so it can be removed in an other PR.
2021-04-25 16:17:32 +01:00
Mario PietschandGitHub 55e44a9554 This PR add tc-tiny-gap-xxx to the vanilla theme. It is similar to   and should replace it. (#5574) 2021-03-29 16:45:12 +01:00
Nicolas PettonandGitHub 6a55069609 Fix the right margin of tags used outside of the tags wrapper (#5440) 2021-01-29 18:16:41 +00:00
jeremy@jermolene.com a360adbba9 Ensure dropzone is full size even if story river is empty
Thanks @jeremyredhead

Fixes #5446
2021-01-29 15:22:43 +00:00
Mario PietschandGitHub 010158db81 Fix tiddler info area content bleeding on close animation (#5453) 2021-01-29 14:34:06 +00:00
jeremy@jermolene.com 7cb6dc0e4f Override crazy browser defaults for h1 fontsize
Fixes #5311
2020-12-24 10:37:54 +00:00
Simon HuberandGitHub dc83ee411d Fix problem with tc-btn-invisible not correct fill color (#5288) 2020-12-16 16:20:14 +00:00
Simon HuberandGitHub 78c2beb640 Add fill: <<colour button-foreground>> to html button in vanilla/base (#5250) 2020-12-10 17:33:42 +00:00
Simon HuberandGitHub 1af1f6621a cursor:pointer on input[type=file] doesn't work in webkit browsers... (#5244) 2020-12-10 17:09:03 +00:00
Simon HuberandGitHub 4334de88a0 Make search-matches button discoverable on dark palettes (#5232) 2020-12-07 17:29:42 +00:00
Simon HuberandGitHub 62a2a0e579 Fix typo in vanilla/base (#5135) 2020-11-28 21:13:18 +00:00
Simon HuberandGitHub 7d2703bffb Make tiddler-editor iframe same color as tiddler background (#5132) 2020-11-28 14:07:46 +00:00
Mario PietschandGitHub 8320a55fef fix titlebar line-height for chrome (#5122) 2020-11-25 16:27:31 +00:00
Simon HuberandGitHub 5769cf9784 Fix #5108 - vanilla/reset overrides system fonts (#5118) 2020-11-24 21:15:37 +00:00
Simon HuberandGitHub 3d93790573 Fix StaticRiver exporter width of static tiddlers (#5099)
* Add tc-static-story-river class to StaticRiver exporter

* Update base.tid
2020-11-23 18:06:46 +00:00
saqimtiazandGitHub aa6f152d35 Add Switcher modal (#5089)
* Alternative switcher using a parameter via tm-show-switcher

* Add CSS class for centered modals

* Changed keyboardshortcut and removed transition CSS

* Resolved wording issues
2020-11-23 17:06:24 +00:00
Simon HuberandGitHub 530b4308e3 Make type input field min-width the highest character length of selectable types (#5090)
* Make type input field min-width the highest character length of selectable types

* Update base.tid

* Update base.tid
2020-11-22 21:12:19 +00:00
Simon HuberandGitHub 5945506169 Revert line-height of 3em on tiddler-edit-title (#5083) 2020-11-20 18:21:30 +00:00
Simon HuberandGitHub 1339c23b3a Adjustments for narrow screens (#5079) 2020-11-20 14:00:56 +00:00
Simon HuberandGitHub da66323dc5 Remove 2em of whitespace from EditTemplate when there are no visible fields (#5063)
* Remove 2em of whitespace from EditTemplate when there are no visible fields

* Update base.tid

* Update fields.tid

* Update fields.tid

* Update base.tid
2020-11-18 18:02:40 +00:00
saqimtiazandGitHub 6f8dca956b Colour code ImportListing rows (#5067) 2020-11-18 15:50:40 +00:00