Commit graph

172 commits

Author SHA1 Message Date
ʇɹǝqƃǝᴉs puɐloɹ
465e46a9a1 Remove emotion from newtab.md 2018-03-20 20:35:15 +01:00
ʇɹǝqƃǝᴉs puɐloɹ
e1b59f9e96
Update newtab.md
This newtab.md reflects the most recent changes, as of release 1.8.2.

Meanfeatures are:
* Friendly :-).
* More newbie friendliness.
* Link the FAQ.
* Resort highlighted features in such a way, that the ramp up with Tridactyl is eased for newcomers.
* Move the more techie stuff (new tab override) down, as only the really annoyed/interested techs will grind through.
2018-03-19 22:28:41 +01:00
ʇɹǝqƃǝᴉs puɐloɹ
c6b276aa26
wip: update newtab.md 2018-03-19 21:29:23 +01:00
glacambre
a163eaa732
excmds.ts,viewsource.css: Make :viewsource respect color scheme 2018-03-17 12:42:13 +01:00
glacambre
f17385e42a
viewsource.css: Make bg white, fix bg not covering whole page 2018-03-17 12:42:10 +01:00
glacambre
5be209f100
Implement tridactyl-viewsource
The problem with the current :viewsource is that it loads a page in
which Tridactyl is not loaded. This commit fixes this by enabling a new
setting, "viewsource" which can be set to either "default" or
"tridactyl". If "tridactyl" is selected, then :viewsource will load the
source code of the HTML page in the current page instead of redirecting
the user to the view-source:// version of the page.
2018-03-17 12:42:03 +01:00
Colin Caine
f07ccd3402 Fix CSS 2018-03-08 22:19:22 +00:00
Fabian Furger
9a19d872b1 WIP: Attempt to apply theme to hints
CSS adapted from here:
https://gist.github.com/KrazyCavin/a2fcda9d0e2980ab9a3caf5576081397
2018-03-08 21:57:21 +00:00
Fabian Furger
7ceaf84358 Apply theme to command line
Use dark theme from
https://gist.github.com/KrazyCavin/cebb807e961a4a32bb04aa0c1757bab8
Relates to #230.
2018-03-08 21:57:21 +00:00
Oliver Blanthorn
f1dcea1ed1
Release 1.8.1
Changes summarised in doc/changelog.md. Additionally, change version
excmd to stop copying to clipboard as it was causing the command line to
be hidden, and add version number to the new tab page.
2018-03-07 14:50:50 +00:00
glacambre
119758454f
Add cleanslate.css 2018-03-04 14:15:26 +01:00
John Beard
309dafaa7b Fix floating commandline iframe on some sites #289
This is caused (at least in this instance) by sites setting a CSS
min-height rule for `iframe` elements, which is then applied to the
Tridactyl iframe too.

Fix this by adding `min-height: 0` to the CSS for `#cmdline_iframe`.
Because this is an ID, it will always have higher specificity than any
CSS the site sets (unless we collide the ID, maybe), so it doesn't need
important.

Also add `max-height: none` in case anyone tries to cramp our iframe
style.

Perhaps there will be more styles that can mess up the iframe styling
but this seems to fix all the sites reported in #289 and #282. Using
cleanslate might help if it turns out there are very many more ways for
the outer site to ruin our day, but since it's only the iframe that the
site CSS can touch (inner HTML is safe), maybe this will be enough and
save a lot of !important'ing.
2018-02-14 01:15:06 +00:00
John Beard
c493c06e55 Add SVG logo - useful for higher resolutions and inline use 2017-12-29 18:27:05 +00:00
Colin Caine
4ed2031d69 Small readme updates
Change to ircs:// link
Mention channels on newtab
2017-12-04 15:41:48 +00:00
John Beard
0d6405f498 Help preface text: minor tweaks and add chat badges
- Reflowed text
- Added Matrix/Gitter chat badges
- Added Freenode badge and link
- Used static images for badges on help page to avoid external loads
- Inlined some links, rather than using [1] suffixes
2017-12-04 13:32:21 +00:00
Oliver Blanthorn
9fc0e9c0cf
Fix #167: Add bmarks command for searching through bookmarks 2017-11-30 17:02:31 +00:00
Colin Caine
51d7258273 completions: improve css
Stop long titles appearing after URLs
2017-11-30 00:24:00 +00:00
Oliver Blanthorn
e42a173762
Revert to Vimperator colours, reduce opacity 2017-11-29 11:33:33 +00:00
John Beard
dc7b5717db Hint CSS: make easier to see stacked hints
This has two major aspects:

 - Add a border so the extent of a hint is clear
 - Make hint BG translucent, so stacked hints can be discerned

 Also used more Tango-ish colours to soften the intense yellow.
2017-11-29 03:03:58 +00:00
Colin Caine
4a3a25751c hinting: Fix #136.
Hints still don't work for images, but I don't see any way we can detect that they're clickable, besides special casing instagram.
2017-11-28 17:19:50 +00:00
Oliver Blanthorn
cdad491e5f
Add padding to tab decorations on :buffer 2017-11-25 12:10:16 +00:00
Oliver Blanthorn
535c79532b
Merge branch 'master' of github.com:cmcaine/tridactyl into historycompletions 2017-11-24 18:53:36 +00:00
Oliver Blanthorn
340ff45e86
Make commandline look more like Vimperator's 2017-11-24 18:47:16 +00:00
Bzly
e973a5e965
Properly fix monospace on Windows bug
The actual issue (workaround committed in #119) was that font-family names should _not_ be quoted.
2017-11-24 00:01:55 +00:00
Oliver Blanthorn
7a747312ee
Start work on history completions 2017-11-23 19:55:46 +00:00
Oliver Blanthorn
cdd928caa2
Fix some minor CSS errors 2017-11-23 11:15:52 +00:00
Bzly
ae09ce2b92
Update commandline.css
MS still doesn't know what monospace is. Pls not Times New Roman in my buffers.
2017-11-23 09:46:17 +00:00
Colin Caine
27aa53a3e0 completions: css MS needs Courier 2017-11-23 01:56:04 +00:00
Colin Caine
0e56648cdb completions: how 2 css variable. 2017-11-23 01:26:34 +00:00
Colin Caine
616255c8ea hinting: improve css
Black text on links now important. May remove some transitions (tested and failed on tex.stackexchange)
2017-11-23 01:10:16 +00:00
Colin Caine
2877934cc4 completions: use a table instead
Absolutely positioned elements are absolutely a pain in the arse.
2017-11-23 01:09:10 +00:00
Colin Caine
6d1117ce77 completions: improve css 2017-11-22 22:31:29 +00:00
Colin Caine
8a44732227 completions:
Done:
	Working completion for buffers
	Substitute values into command line
	Prepare for non-buffers completions
	Wrote too many classes and helper functions

Todo:
	Learn inferno and hopefully simplify
	If not, simplify the main functions so that people can actually
	build for it.
	Define an interface for tabbing through options
	Allow more than one CompletionSource per command
2017-11-22 21:43:29 +00:00
Colin Caine
8d771e578c completions 1 2017-11-22 21:30:37 +00:00
Koushien
f982233a49 completions: initial implementation
This commit squashes a load of work by @Koushien, a dozen hours from
@cmcaine and some CSS by @bovine3dom.

@cmcaine is writing this commit message, but the work was mostly by
Koushien so the author is set to them. Thanks Koushien!

The following issues need to be fixed:

 - The interface is over complicated (my fault)
 - commandline_frame is hard-coded to use BufferCompletionSource. This
   needs to be made more general
 - BufferCompletionSource should be generalised
 - completions.ts calls helper functions in commandline_frame. Should
   just use browser proxy. If that's too slow can define a
   completions_background.ts

After that's done, this should be fixed:

 - Completion hiding/unhiding is currently too messy.
2017-11-22 21:30:37 +00:00
Oliver Blanthorn
1af85b293f
Add keybind documentation to help page, link to help from newtab 2017-11-22 12:24:37 +00:00
Oliver Blanthorn
85d6eba2b5
Revert "Merge branch 'Koushien-completions'"
This reverts commit 0aa14bb754, reversing
changes made to eae9cd0dab.
2017-11-21 20:28:48 +00:00
Oliver Blanthorn
67d8efbeab
Tweak CSS to make it less offensive 2017-11-21 19:00:47 +00:00
Colin Caine
7bbe81f327 completions: works properly, but code expects only one completionsource 2017-11-21 09:14:22 +00:00
Colin Caine
71484e9873 excmds: documentation and minor changes 2017-11-19 06:16:33 +00:00
Oliver Blanthorn
24a4fa060b
Force font size, increase line height on newtab
The font size is to try to mitigate the silly defaults that Firefox
chooses for Monospace fonts, as described in #55.
2017-11-15 13:06:26 +00:00
Colin Caine
a8320c33a7 completions: fix buffer syntax 2017-11-15 01:05:17 +00:00
Colin Caine
bf6ac3e618 completions: fix html exec 2017-11-15 00:42:10 +00:00
Oliver Blanthorn
364c99d967
Hide URLs in buffer completions less zealously on small displays 2017-11-14 22:37:28 +00:00
Colin Caine
2d3342af4b build: don't trust webpack shell plugin, exclude large images 2017-11-12 01:44:04 +00:00
Colin Caine
549f33e28f newtab: add logo 2017-11-12 00:21:46 +00:00
Colin Caine
930420849f Add logo! 2017-11-11 23:57:19 +00:00
Colin Caine
7ede4149a6 help: improve newtab and :help 2017-11-10 13:12:07 +00:00
Oliver Blanthorn
850bf0633f Add more info to new tab page 2017-11-09 21:05:03 +00:00
Oliver Blanthorn
23ccd18598
Update userChrome-minimal.css 2017-11-09 13:54:05 +00:00