1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-23 18:17:20 +00:00
Commit Graph

506 Commits

Author SHA1 Message Date
BurningTreeC
6e59d2597a Style the framed editor (#3596)
* style the framed editor

this makes the framed editor look a bit less ugly 😎

* Update framed.js

* Update base.tid

* Update base.tid
2018-12-01 14:21:43 +00:00
BurningTreeC
7502ef875e Remove bad outline style from remove-tag-button (#3602) 2018-12-01 13:59:39 +00:00
BurningTreeC
01407fa8f9 Make tag-icons use the tag-pill-styles (#3448)
this line inherits the `fill: $(foregroundColor)$` from `<<tag-pill-styles>>` in `$:/core/macros/tags`
deleting the line makes the tag-icons fill with the computed color
2018-11-25 10:42:47 +00:00
Jermolene
78f5465a47 Fix hover colour for textual editor toolbar buttons 2018-10-24 10:33:16 +01:00
Jermolene
3bfa9c6f10 Experimental "persistent draft indicators"
Fixes #3409
2018-08-23 18:02:39 +01:00
Talha Mansoor
e0be9a3d09 Add <select> color setting to the palette (#3360)
* Add <select> color setting to the palette

* Signing the CLA
2018-07-19 17:25:35 +01:00
Jermolene
7f2ad15464 Make links a little bolder
To make them more prominent, to compensate for the blue colour
2018-04-24 23:04:10 +01:00
Mario Pietsch
19085a1277 Add data attributes to ViewTemplate (#3209)
* change 3 set-widgets to 1 var-widget call. Add data-tags and userClass.

* add new documentation and change the existing one accordingly.
2018-04-24 22:08:20 +01:00
Tobias Beer
02529a51d0 Improve styling and reusability of palette, language, and theme switchers (#1954)
allows to override styles more easily via new class tc-chosen

----

updated all of storyview, theme, palette, language

» both in ControlPanel as well as PageControls
» removed "current ..." form switchers as it's redundant
» streamlined toolbar buttons in ControlPanel, especially less spacing

----

fixed dropdown hover colour override

if I wouldn't then it would go blank owed to default drop-down styles

----

polished styles

» chosen items now more emphasized while curspor not indicating a link
» removed underline when hovering, used highlighted border colours instead

----

use snippets languageswitcher for pagecontrols button, after all

----

wrap all switchers in tc-chooser

----

apply big font only to buttons, not reveals in pagecontrols

----

moved language switcher wrapper class to snippet

improved language switcher image alignment

----

make tiddler and ControlPanel view behave the same. add generic tc-check-list setting. add generic input type checklist, vertical alignment.

now using css rem to address drop-downs for pagecontrols

thanks @pmario

removed css artefacts in vanilla/base from before merging @pmario's PR

with comments being baked-in I don't think we want these in the code

css simplification for .tc-chosen and tc-chooser-item
2018-04-06 17:26:54 +01:00
Jermolene
9e03264ebe Add pluggable previews to the import listing 2018-04-03 17:50:57 +01:00
Matt Lauber
1dc7647640 Add plugin-priority fields for core plugins (#3113)
* Bug in plugin Ordering

Comparing plugin A without a `plugin-priority` field to plugin B with a `plugin-priority= 1` results in the plugins being ordered B, A when it seems like they should be ordered A, B.

* Switch to setting a plugin-priority on the built in themes to allow overriding parts of them.
2018-03-20 21:05:07 +00:00
Jeremy Ruston
aa7b18427f
Incorporate “diff” engine to show visual differences (#3112) 2018-03-16 20:38:35 +00:00
Jermolene
da0ffce2d6 Fix Snow White default fonts according to GitHub's advice
Does indeed seem to look better, at least on my Mac. In particular, the title of "HelloThere" is now properly kerned.

http://markdotto.com/2018/02/07/github-system-fonts/
2018-02-28 11:42:08 +00:00
BurningTreeC
c194cec520 tc-body background transparent if background attachment (#3100)
* tc-body transparent if background attachment

if you go fullscreen with the fullscreen button, the tc-body background color hides the background attachments - so make it transparent if $:/themes/tiddlywiki/vanilla/settings/backgroundimage isn't empty

* if background attachment macro

macro to make tc-body background transparent
2018-01-23 16:49:24 +00:00
Jermolene
7e71fcfab8 Stop content area of vertical tabs overflowing on the right 2017-12-21 15:46:34 +00:00
twMat
be4c108ed9 Remove ToC 3d level boldness (#3035)
Ref issue #1627
2017-12-03 18:47:15 +00:00
Jermolene
f366a74f68 Fix problem with SVG background images that include parenthesis
See discussion https://groups.google.com/d/topic/tiddlywiki/GEmh0rwAHcY/discussion
2017-11-10 17:29:28 +00:00
Jermolene
7e88dd788c Improve read-only logic
We also need to hide buttons from the “more” dropdowns
2017-08-15 15:49:25 +01:00
Jermolene
3fb8d9b848 Fix tab border radius
The default button border radius was showing through
2017-08-15 15:48:54 +01:00
Jermolene
523280362b Use UI button tiddler titles as CSS classes
Which enables us to do a cleaner readonly theme
2017-08-08 18:25:45 +01:00
Jermolene
41b6c5c088 Fix some toolbar margin issues
Some toolbar buttons are nested inside more than one span
2017-07-11 14:42:05 +01:00
Mario Pietsch
cee7baa183 Make editor font configurable, so user can easily change it to eg monospace font (#2867) 2017-06-29 16:55:49 +01:00
Adrian Morosanu
f75e97f308 Create the new "tree" global macro (#2925)
* Create the "tree" global macro file (tree.tid)

* Added styles for the new "tree" global macro

* Update Explorer tab

* Cleaning the macro of unneeded code

I have chosen to keep the slash suffix in the branch node titles to go along with the rest (e.g. root node), so the "clean-chunk" macro isn't needed anymore.

* Minor fix
2017-06-28 17:44:15 +01:00
Jermolene
202ffd9c51 Add big block quote style 2017-04-17 17:53:19 +01:00
Jermolene
3a00d2eea3 Allow drag and drop in toolbar layout in control panel 2017-03-20 22:29:03 +00:00
Jermolene
eba1c3c160 Improve support for drag and drop
Documentation TBD
2017-03-19 19:33:56 +00:00
Jermolene
66d5e2650e Fix problem with dragger image in Chrome
Fixes #2800
2017-03-12 18:07:59 +00:00
Jermolene
f0ff1f993e Fix problem with textarea background colour
Fixes #2772
2017-02-17 17:39:01 +00:00
Jermolene
dbcda815fa Add tight-heavier theme that combines "tight" and "heavier" 2017-01-09 12:46:20 +00:00
Tobias Beer
15c7d24eaa Allows adding a new tag name by typing enter (#2592)
* allows to add a new tagname hitting enter

see: https://groups.google.com/forum/#!topic/tiddlywiki/wqQ8jPYG-X4

* revert changes to vanilla/base

* added "Special Keys" to KeyboardShortcuts

* added info to Creating and editing tiddlers

did not add current version of <<.from-version "5.1.14">>  because it
would interrupt the flow. When changed from a noisy "New in 5.1.14" to
"(new in 5.1.14)" we might add the version info here

* revert setText & added inline styles to vanilla base

* remove fieldmangler

* commit initial edittemplate tags to merge master

* ok, now really revert to initial edittemplate tags

* move add tag via enter into tag-picker macro(s)
2016-12-18 20:43:26 +00:00
Jermolene
e8bb897e26 Add support for relinking when renaming tiddlers
When renaming an existing tiddler, the edit template now shows a
checkbox that determines whether or not to relink references to the
tiddler in the list or tags fields of other tiddlers.
2016-12-15 17:13:32 +00:00
Jermolene
16bb65d17f Introduce tiddler manager 2016-11-29 08:36:07 +00:00
Jeremy Ruston
a9b54d6fce Revert "Add provisional version of new tagger manager" 2016-11-28 10:40:55 +00:00
Jermolene
96708ecf65 Manager styling tweaks
* Make expand/collapse state be global across all tiddlers
* Remove “Show raw text” option, now that we’ve got the two expandable
areas for raw and wikified text
* Hide raw text by default
* Accentuate currently open tiddler
2016-11-28 10:01:30 +00:00
Jermolene
f67777161d Make manager sections be expandable 2016-11-27 23:04:54 +00:00
Jermolene
117bf0a0de Refactor the sidebar items into separate tiddlers
With some better styling too
2016-11-27 22:34:46 +00:00
Jermolene
e98d324e66 Add provisional version of new tagger manager
For discussion
2016-11-26 12:48:47 +00:00
Jermolene
5bf238fc86 Use slightly bolder text for tag pills 2016-11-23 18:14:49 +00:00
Jermolene
0e57ce4090 Vanilla theme: ensure cursor is a pointer for invisible buttons 2016-11-23 18:14:25 +00:00
Jermolene
f7d81a00c2 Make "Heavier" theme heavier 2016-11-14 15:14:47 +00:00
Jermolene
0d0764b6ce Tweaks to "Heavier" theme 2016-11-03 22:27:14 +00:00
Jermolene
975d5346fb Introduce "Heavier" theme, with thicker fonts
Partly prompted by this piece:

https://backchannel.com/how-the-web-became-unreadable-a781ddc711b6
2016-11-03 19:11:24 +00:00
Jermolene
7a6d7e2a15 Refactor user interface for plugin tiddlers
* Refactored control panel “Plugins” tab to make the elements more
reusable
* Refactored the display of plugin tiddlers to use the same format as
the control panel (as suggested, I think by @danielo515), adding the
shadow tiddler listing as an overridable extension tab
* Added a new tab in the “More” sidebar providing quick access to all
installed plugins
2016-10-18 09:23:19 +01:00
Jermolene
8fbcfaa79b Make the editor preview scrollable in fixed height mode
Fixes #2616
2016-10-18 08:46:48 +01:00
nameanyone
e1cc285151 Align the right edge of the preview (#2583)
Currently it's 3px off to the left compared to the above element.
2016-09-22 12:37:22 +02:00
Jermolene
2d9aa12aa8 Increase size of icons in Advanced Search/Filter
An easy one.

Fixes #2464
2016-09-13 19:26:37 +01:00
Jermolene
e20bce5450 Add experimental support for RTL languages
This commit permits language plugins to carry the field
“text-direction” with the value “rtl” to trigger right-to-left layout
of the entire page. We also adjust the sidebar layout to work in RTL
mode.

There are still a number of problems to be addressed:

* Brackets and other punctuation incorrectly placed within en-GB UI text
* System tiddler titles are rendered semi-back-to-front (eg
`languages/ca-ES/:$`)

Starting to address #1845 and the discussion in #2523.
2016-08-15 19:47:26 +01:00
Jermolene
8b60dbb81d Ensure page background colour takes shows through transparent background images
Fixes #2529
2016-08-09 09:36:17 +01:00
Jermolene
8f6178acfc Remove tiddler frame padding in print view
It was wasting a border around each page.
2016-07-20 22:09:41 +01:00
nameanyone
2a4a3d9fe9 Replace spaces with margins in editor toolbar (#2429) (#2435) 2016-05-11 11:09:54 -06:00
Myeongjin
71111550d6 Add localisable strings for vanilla (#2422)
* Add localisable strings for vanilla

* Remove system tiddler for theme tweaks from fr-FR edition
2016-05-05 10:11:06 +01:00
Jermolene
037cfb7cc7 Fix problem with modals in zoomin storyview 2016-05-01 15:41:36 +01:00
Jermolene
3bd5d49933 Increase editor toolbar button group spacing 2016-04-30 12:35:32 +01:00
Jermolene
7224fea961 Introduce "link" editor toolbar button
As proposed by Alex Hough
2016-04-29 18:54:44 +01:00
Jermolene
3156d3d7ce Add spacers to formatting toolbar 2016-04-29 18:54:44 +01:00
Jermolene
f470c54fc5 Convert spaces to tabs 2016-04-29 18:54:44 +01:00
Jeremy Ruston
2adf09129d Introduce text editor toolbar (#2315)
Tada!
2016-04-22 08:36:29 +01:00
Devin Weaver
de3adf905a Fix word wrapping in code blocks
* Fix word wrapping in code blocks

When you create a code block with the three back ticks any thing that
was wider then the pre block would be word wrapped. That causes code
snippets to look odd.

* Make code wrapping a theme tweek option
2016-04-04 17:27:55 +01:00
Jermolene
fdbc62dc11 Fix story river width with non-zero storyleft
Fixes #1640
2016-03-22 12:05:18 +00:00
Jermolene
8d4341a02d Mend positioning of vertical sidebar tabs
Fixes #2305
2016-02-22 12:37:52 +01:00
Jermolene
adf45b3468 Add a bulk delete button
I needed this in my day job, but think we need to do better on bulk
operations
2016-02-05 18:44:43 +00:00
Jermolene
a1079270a2 Don't mark the centralised theme as experimental 2016-01-07 16:49:14 +00:00
nameanyone
2a26ca53c2 Add margin to horizontal tabs 2015-12-29 00:12:06 -08:00
Jermolene
07ac75b084 Fix search dropdown positioning
This fixes a problem introduced in
72941f3e9a whereby the change to
tc-drop-down affected other dropdowns.
2015-12-20 08:53:29 +00:00
Jermolene
acc44c6f67 Tweaks to "Tight" theme 2015-10-12 17:54:17 +01:00
Jermolene
69b4f174c3 Introduce new "tight" theme
Fixing #2008
2015-10-09 17:59:56 +01:00
Jermolene
7e9f7afa94 Tweak the sidebar tabs gradient 2015-10-08 15:10:54 +01:00
Jermolene
8a763e9d83 Re-establish gradient for sidebar tab divider 2015-10-07 20:45:14 +01:00
Jermolene
0035a00463 Switch to transparent colours for "more" sidebar tabs
Although falling short of the proposal in #1976, this change makes the
sidebar tabs work much better with different colour page backgrounds
and background images.
2015-10-05 09:53:18 +01:00
Jermolene
72941f3e9a Addresses #1066 by moving the search results into a dropdown.
The dropdown can be summoned by clicking on the search field. It will
only appear if the search field is not empty. When the search field is
not empty the dropdown can be also be summoned by clicking on the arrow
or search result count.

There are still some wrinkles where the dropdown doesn’t appear when
expected; I’d appreciate feedback to help reproduce those cases.

This change should still work with custom search result tabs.
2015-09-27 22:53:46 +01:00
Tobias Beer
6b1e6b7545 clears tiddler body for when one adds right-floating element to subtitle
otherwise has no effect
2015-09-26 12:22:17 +02:00
Jermolene
cf00658ddf Add full-width "unfold" button for folded tiddlers
And also a full-height “fold” button for unfolded tiddlers.

Trying to address #1908
2015-09-18 19:45:34 +01:00
Jermolene
b641cb402d Add banner for unfolding tiddlers 2015-09-18 19:45:34 +01:00
Jermolene
79132a1797 Revert incomplete experimental change to narrow screen layout
Fixes #1911
2015-09-09 17:12:36 +01:00
Jermolene
0d55f2c46b Observe storyleft position in fluid-fixed mode 2015-08-30 19:12:34 +01:00
Jermolene
5d43cd7408 Add fold tiddler toolbar button
Addressing this tweet:
https://twitter.com/s_stryjecki/status/629349768280604672
2015-08-09 11:10:04 +01:00
Jermolene
6c6b723a0d Tweak sidebar height for narrow screens 2015-08-08 13:08:10 +01:00
Jermolene
4f5cf4597a Remove blur effect from modals
Fixes #1893
2015-08-08 13:08:10 +01:00
Jermolene
cac6d3b4d9 Improve sidebar behaviour on narrow screens
Now the sidebar is a fixed overlay. It is scrollable, taking up 50% of
the height of the screen, so that the underlying page can be partially
seen.

There’s more to be done: on narrow screens we probably want the sidebar
to be hidden by default.
2015-08-08 08:39:37 +01:00
Jermolene
1e25de984b More specificity for plugin listing CSS rules
This is to enable us to use nested SVGs as icons (see next commit)
2015-08-02 11:38:25 +01:00
Jermolene
3fbf29093b Use tiddler control colour for search icons
Fixes #1787
2015-07-18 12:22:35 +01:00
Jermolene
db0d95afcd Style tweaks for toolbar buttons 2015-07-02 16:59:35 +01:00
Jermolene
f3b5dc530e First pass at selectable toolbar button styles
There’s not much to making the toolbar button styles switchable: the
change to the PageTemplate introduces a new configuration tiddler that
controls the button styling. Most of this commit is the user interface
for changing that setting, including the translatable text. I think
this again demonstrates that we need to be very selective about which
configuration options have a UI included in the core. Otherwise, a few
dozen more of these settings will start to become a significant
fraction of the core.
2015-07-02 08:57:06 +01:00
Jermolene
497a7ebf81 Revert e2d4e41e96
There were unintended sideeffects on the toolbar dropdown menus
2015-07-01 09:24:12 +01:00
Jermolene
e2d4e41e96 Update font size of text toolbar buttons 2015-06-30 18:58:13 +01:00
Jermolene
62846ca745 Fix vertical tabs overflow problem
Fixes #1772 by reverting #1632
2015-06-07 12:51:25 +01:00
Jermolene
230f40c3bd Fix static banner on mobile
Fixes #1736
2015-05-18 18:48:36 +01:00
Jermolene
6942efa628 Add styling for <kbd> elements 2015-05-14 10:16:33 +01:00
Jermolene
f88402b195 Don't set colour of SVG elements
Instead set the default colour on the body element so that it will be
inherited
2015-05-13 23:59:55 +01:00
Jeremy Ruston
1a09a38f66 Merge pull request #1729 from pmario/fix-thumbnail-icon-css
fix youtube icon cut of in FF win.
2015-05-13 23:55:54 +01:00
Mario Pietsch
e8ab4a9687 fix palette switcher popup overflow 2015-05-13 13:26:11 +02:00
Mario Pietsch
79caa56ae1 fix youtube icon cut of in FF win. also see: 28050fb488 (commitcomment-11170096) 2015-05-13 09:22:52 +02:00
Jeremy Ruston
142770c248 Merge pull request #1720 from pmario/fix-thumbnail-icon-css
fix HelloThere video link icon for FF
2015-05-12 11:22:21 +01:00
Jermolene
eb1bce2ff2 Switch to fluid-fixed just for the prerelease edition
Fixes #1719
2015-05-11 22:04:31 +01:00
Jermolene
af1096f6fc Adjust zoomin tiddler width for narrow screens
Fixes #1725

@felixhayashi could you verify that this works for you?
2015-05-11 20:57:02 +01:00
Mario Pietsch
b070bd6bde fix HelloThere video link icon for FF 2015-05-10 10:25:37 +02:00
Jermolene
65a3a89746 Size single tiddler window content to fit 2015-05-06 18:09:22 +01:00
Jermolene
789069bb6b Add palette page control button 2015-05-05 18:53:35 +01:00
Jermolene
5528906a6b Fixes for zoomin storyview and fluid-fixed mode 2015-05-04 21:35:11 +01:00
Jermolene
1e2514f0a8 Default to fluid-fixed for the prerelease
Maybe we should change the default for tiddlywiki.com, but let’s hear
some views on that.
2015-05-04 21:34:42 +01:00