Commit graph

345 commits

Author SHA1 Message Date
Magnus Hovland Hoff
c82228f019 Propagate theme in ArticleRevisions from the state struct 2018-09-21 08:57:35 +02:00
Magnus Hovland Hoff
b777a92a48 Expose theme_from_str_hash to SQL.
To be used in a db migration for storing the previously implicit value
2018-09-20 23:17:25 +02:00
Magnus Hovland Hoff
ca1e072d9b Add more tests for using Theme with the database 2018-09-20 08:37:27 +02:00
Magnus Hovland Hoff
df066c611d Add support for using Theme with the database 2018-09-19 22:56:12 +02:00
Magnus Hovland Hoff
f961699f0f Rename function to avoid confusion 2018-09-19 08:20:43 +02:00
Magnus Hovland Hoff
6118f14bb0 Explicitly set theme for layout.
Refactoring in anticipation of letting the user choose theme
2018-09-18 23:11:25 +02:00
Magnus Hovland Hoff
c1dcb1de64 Make responsibility for converting a theme to a css class to the theme module 2018-09-18 19:43:33 +02:00
Magnus Hovland Hoff
d4e8277f2a Dependency for previous commit 2018-09-18 19:21:36 +02:00
Magnus Hovland Hoff
a65e85f242 Refactor Theme handling to a new module.
Fundamentals for communicating about themes with the database and over http
2018-09-18 07:56:58 +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
8d86e8937a Capitalize placeholder in search input.
I think I like this better
2018-09-16 12:06:20 +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
963d70ff7a Add dynamic-assets feature to facilitate rapid feedback when working on the assets 2018-07-09 21:27:34 +02:00
Magnus Hoff
8b0e58c24c Update about text 2018-07-08 22:34:04 +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
Magnus Hoff
0b5bff6356 Refactor handling of generated unique names for resources 2018-06-24 23:00:35 +02:00
cmal
77210a9692 Do not underline external link marker on hover (#69) 2018-06-24 15:04:37 +02:00
Magnus Hoff
e4fa7ed89a Credit cmal as new contributor 2018-06-24 14:56:01 +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
38c70f7b25 Select persistent theme per page based on title 2018-06-17 21:25:35 +02:00
Magnus Hoff
31ace5d4c2 Apply new style to search 2018-06-17 21:16:44 +02:00
Magnus Hoff
e4629d8edb Refactor rendering of pages to centralize header layout.
Convert all pages to new layout
2018-06-17 10:43:47 +02:00