Commit graph

207 commits

Author SHA1 Message Date
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
Oliver Blanthorn
6d2cfee6ac
Make hints a bit prettier 2017-11-09 13:00:19 +00:00
Oliver Blanthorn
4bb6e1de0b
Improve legibility of hint mode 2017-11-09 12:00:22 +00:00
Colin Caine
176941dbe0 newtab: include css 2017-11-09 06:58:48 +00:00
Colin Caine
927e19c818 hinting: First working version
state.ts also reworked into a sexy new machine. Check it out!
2017-11-09 05:44:48 +00:00
Colin Caine
6091c7d0c1 css: Set commandline frame to max z-index
Closes #36
2017-11-07 12:22:12 +00:00
Oliver Blanthorn
e01d34a329
Remove old example CSS, hide URL pop-ups 2017-11-04 18:30:36 +00:00
Oliver Blanthorn
faccc25830
Remove unused css 2017-11-04 18:14:55 +00:00
Colin Caine
ee03e47624 css: Auto-hide top bar. Thanks @aplaice!
See #31.
2017-10-31 00:02:33 +00:00
Anran
20edc42b3e cmdline iframe css refactor 2017-10-29 14:01:09 +00:00
Bzly
577b89a948 Update newtab.html
Blanthorn is bad at things
2017-10-24 14:31:53 +01:00
Oliver Blanthorn
0ab7decb4f
NFA 2017-10-22 16:48:35 +01:00
Oliver Blanthorn
4b4e4cb343
Merge branch 'master' of github.com:cmcaine/tridactyl into newtab 2017-10-22 15:35:23 +01:00
Oliver Blanthorn
f043e6902a
Initial new tab page. Feedback welcomed. 2017-10-22 15:34:27 +01:00
Oliver Blanthorn
7d859c041d
Merge branch 'master' of github.com:cmcaine/tridactyl 2017-10-22 15:25:10 +01:00
Oliver Blanthorn
75f960832f
Make favicons scale with em height 2017-10-22 15:24:56 +01:00