1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-15 14:24:51 +00:00
Commit Graph

343 Commits

Author SHA1 Message Date
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
3fb8d9b848 Fix tab border radius
The default button border radius was showing through
2017-08-15 15:48:54 +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
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
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
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
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
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
Jermolene
b51603f3e2 Introduce fluid story/fixed sidebar mode
A new mode where the sidebar width is fixed and the story river expands
to fill the remaining space.
2015-05-04 19:19:40 +01:00
Jermolene
ef971bb521 Correct tiddler background colour
Bitmap backgrounds won’t get overridden unless we override the entire
background property.
2015-05-03 17:05:34 +01:00
Jermolene
3f26492ac8 Close subwindows when closing main window 2015-05-03 16:24:02 +01:00
Jermolene
d23f174d01 Add a margin for single tiddler windows 2015-05-03 15:05:26 +01:00
Jermolene
28050fb488 Palette tweaks 2015-04-28 09:12:04 +01:00
Jermolene
16301532bf Add button palette colours
We leave them blank by default so that we get the browser default
button colours
2015-04-27 21:46:07 +01:00
Jermolene
8d231f4a9f Give link panels rounded corners
The idea is that the rounded corners help the video preview to look
like a video preview.
2015-04-16 18:34:42 +01:00
Jermolene
0b4ed3c72d Use palette colours for text areas and text inputs 2015-04-10 17:04:41 +01:00
Jermolene
b2cb992538 Fix thumbnail flex properties for Safari 2015-04-10 17:01:18 +01:00
Jermolene
301bc4988d Ensure static banner is above the story river 2015-04-09 19:56:54 +01:00
Jermolene
2dabb6a1fc Fix modal scroll behaviour
The previous behaviour didn’t allow scrolling of the modal itself
through the scroll bar because the scrollbar was hidden behind the
backdrop.

Fixes #1642
2015-04-09 11:03:06 +01:00
Jermolene
42debd489d Fix problem with overflowing content in vertical tabs
Fixes #1632
2015-04-02 17:53:40 +01:00
Jermolene
22f4f07a16 Theme tweaks docs update 2015-04-02 14:02:58 +01:00
Jermolene
816363408e Introduce site-title-foreground to palette 2015-04-02 12:39:08 +01:00
Jermolene
a3f4221008 Tweaks to background image support
And some demo images for use as backgrounds
2015-04-02 12:11:13 +01:00
Jermolene
5101ae4ce6 Add background image size theme tweak
Makes it possible to create a background image that fully covers the
window, as well as the tiled images that were working before.
2015-04-01 21:08:42 +01:00
Jermolene
987bfcfd5b Add background image to Vanilla theme tweaks
Now one can choose an image tiddler from a dropdown and choose how the
image is attached.
2015-04-01 18:28:33 +01:00
Jermolene
4f8982f44d Link panel styling tweaks 2015-04-01 14:08:16 +01:00
Jermolene
b9a2150f4e Tweaks for big green buttons
Make the images larger, and switch to display: inline-block so that we
get better behaviour with line wrapping.
2015-03-31 09:00:27 +01:00
Jermolene
2186a393a7 Simplify the link panels 2015-03-25 11:11:18 +00:00
Jermolene
c18e9d170b Add GitHub and Twitter buttons 2015-03-25 08:38:06 +00:00