Commit graph

110 commits

Author SHA1 Message Date
Magnus Hovland Hoff
d5410f2a22 Revert focusing the body text editor when entering edit mode.
This behaves badly in multiple mobile browsers, causing confusion. Perhaps it is better to disable this feature altogether
2018-10-01 09:02:55 +02:00
Magnus Hovland Hoff
17c23da9bf Better scroll handling when toggling editing.
It will now retain the scroll position relative to the full document height when entering and leaving editing mode. This places the viewport closer to the contents you were watching. This is likely less disorienting
2018-10-01 09:01:27 +02:00
Magnus Hovland Hoff
619ba14b3f Fix editor controls layout in narrow layout 2018-10-01 08:36:44 +02:00
Magnus Hoff
58283a601c Also disable form elements via CSS pointer-events when not in edit mode.
This lets us visually transition the controls without accidentally enabling interaction
2018-09-30 22:33:40 +02:00
Magnus Hoff
c6dd37ed9e Centralize handling of form elements state handling.
This makes it easier to maintain state changes. Seems to handle all states well now
2018-09-30 22:30:52 +02:00
Magnus Hovland Hoff
62378007b1 Reset theme when editing is canceled 2018-09-24 18:21:50 +02:00
Magnus Hoff
3bbe5840ee Implement theme picker UI 2018-09-24 08:43:36 +02:00
Magnus Hovland Hoff
ecf4c1e98e Disable save hotkey when it is not appropriate 2018-09-16 22:31:57 +02:00
Magnus Hovland Hoff
534dffdfe3 Show disabled cancel button instead of removing it.
This fixes two problems caused by the removal of the button: Broken layout and broken JS
2018-09-16 22:25:28 +02:00
Magnus Hovland Hoff
999253a778 Place text caret at end of text to reduce visual distraction caused by stuff moving around 2018-09-16 12:16:03 +02:00
Magnus Hovland Hoff
a00cdf6394 Position editor controls with units that are affected by the scroll bar 2018-09-16 12:10:02 +02:00
Magnus Hovland Hoff
830f641167 Fine-tune margin 2018-09-13 08:48:09 +02:00
Magnus Hoff
d6e1015197 Reset style for Safari to make transition between view and edit more seamless 2018-09-11 19:53:14 +02:00
Magnus Hoff
9c67333b87 Wider top margin for better visual balance 2018-09-11 19:19:22 +02:00
Magnus Hovland Hoff
7b1a0256e1 Add rainbow bar to test-themes 2018-08-31 21:30:46 +02:00
Magnus Hovland Hoff
94db59c44c Add hotkey for saving 2018-08-22 08:14:25 +02:00
Magnus Hovland Hoff
42e7857fcd Revert "Attempt to improve overscroll in Apple browsers"
This reverts commit 0847cb5c4d.
2018-08-21 21:57:40 +02:00
Magnus Hovland Hoff
0847cb5c4d Attempt to improve overscroll in Apple browsers 2018-08-21 19:06:53 +02:00
Magnus Hovland Hoff
b8da0ff753 Fix breakpoint size for editor controls 2018-08-21 19:02:38 +02:00
Magnus Hovland Hoff
096da6ef38 Iterate on editor controls design 2018-08-21 18:40:44 +02:00
Magnus Hoff
c94bf91fc2 Iterate on editor controls styling 2018-08-20 23:25:03 +02:00
Magnus Hoff
b93c79c479 Update styling of .notice 2018-08-20 22:47:52 +02:00
Magnus Hoff
b8a4368219 Improve contrast for placeholder text in search box 2018-08-20 22:32:04 +02:00
Magnus Hoff
8500075357 Update styling of hr 2018-08-20 22:31:35 +02:00
Magnus Hoff
53e983bee9 Iterate on themes
Select yellow alternate colors for some hues where blue works poorly
2018-07-21 11:54:03 +02:00
Magnus Hoff
c18b8f45d1 Iterate on the themes.
Always white text
2018-07-20 23:35:33 +02:00
Magnus Hoff
d3a50b0bc0 Iterate on color schemes.
Improve descision of proper contrast
2018-07-19 08:53:05 +02:00
Magnus Hoff
d905c1aa62 Unify appearence of placeholder text across browsers 2018-07-19 08:43:22 +02:00
Magnus Hoff
5a2be1d0a8 Update print style.
Hide outgoing link-indicator
2018-07-19 08:39:14 +02:00
Magnus Hoff
c2c0bae335 Avoid changing layout on hover 2018-07-19 08:36:47 +02:00
Magnus Hoff
e26e60ce2c Iterate on the design
Less box-shadow
2018-07-16 22:11:53 +02:00
Magnus Hoff
d5bb94dfb6 Iterate on the color palettes
Darker link color for light backgrounds
2018-07-16 20:10:30 +02:00
Magnus Hoff
05b12501a3 Iterate on the color palettes 2018-07-16 08:30:29 +02:00
Magnus Hoff
c201bb4bc4 Add test page for themes 2018-07-10 08:46:51 +02:00
Magnus Hoff
862632335b Minor
This CSS is now included directly from the HTML. The real fix, however, is to preprocess the CSS into one file
2018-06-25 08:05:42 +02:00
Magnus Hoff
c0ce03973a Update print style for new theme 2018-06-25 08:03:40 +02:00
cmal
77210a9692 Do not underline external link marker on hover (#69) 2018-06-24 15:04:37 +02:00
cmal
a85abf1ccb Added marker for external links (#63) 2018-06-23 10:35:22 +02:00
Magnus Hoff
bddf4c0225 CSS tweaks for iOS 2018-06-17 23:02:36 +02:00
Magnus Hoff
f7227bf3d4 Fix misalignment 2018-06-17 22:20:12 +02:00
Magnus Hoff
31ace5d4c2 Apply new style to search 2018-06-17 21:16:44 +02:00
Magnus Hoff
4516534b39 Start trying out implementing new layout 2018-06-16 10:58:00 +02:00
Magnus Hoff
67ac61ee42 Add CSS defining color schemes/themes 2018-06-16 10:51:51 +02:00
Magnus Hoff
28c8422e6b Tweak full text search representation of documents 2018-06-13 23:13:38 +02:00
Magnus Hoff
b1e598cb17 Experimentally transform markdown for better presentation in full text search results
For issue #37
2018-01-19 16:49:26 +01:00
Magnus Hoff
df05b1de79 Reset border-radius for <button> elements 2017-12-02 13:13:40 +01:00
Magnus Hoff
a6e329faf0 Simplify "Discard changes?" dialog 2017-12-02 11:06:20 +01:00
Magnus Hoff
bc0f8b8046 Restyle and refactor popup dialogs 2017-12-02 11:01:24 +01:00
Magnus Hoff
9f5b057266 Simplify styling of popups, get better results 2017-12-02 09:39:26 +01:00
Magnus Hoff
259c884045 Refactor popups a little 2017-12-01 16:52:39 +01:00