Commit graph

18 commits

Author SHA1 Message Date
djmaze
0158a5fe1e Improve Squire toolbar
Cleanup some JS code
2021-02-22 17:28:54 +01:00
djmaze
bc64fe6d0d Use custom dropdown icon on <select> 2021-02-19 14:40:13 +01:00
djmaze
158991ed55 Improve Squire UI design 2021-02-19 12:11:20 +01:00
djmaze
65e1b58877 Hide Squire toolbar in mobile mode when not focused 2020-11-03 15:54:35 +01:00
djmaze
efcefbaf78 Cleanup CSS and drop bMobileDevice detection.
Touch devices can be any size and can use (bluetooth/usb-c mouse/keyboard) these days.
It's all about pixels and currently if the mode is mobile/no-mobile (this can be improved later).
2020-09-30 12:31:34 +02:00
djmaze
48971df2ad Partially found a solution for issue #12
But we shouldn't solve it the DIV way.
2020-09-24 16:24:35 +02:00
djmaze
a8ddeecb49 Improved Webkit and Gecko :empty selector.
But the real block level unfocusable bug is still not solved.
2020-09-24 16:11:46 +02:00
djmaze
0fde531dd3 Issue #12 has something todo with Webkit and Gecko
A DIV has no height, but we solve this with CSS :empty
It's not perfect because we can still not focus when there's no BR.
Will keep digging!
2020-09-24 15:13:33 +02:00
djmaze
067c502592 Fix SquireUI on mobile 2020-09-22 11:19:52 +02:00
djmaze
6bffc452b0 Improve some SquireUI mobile styling 2020-09-20 11:47:18 +02:00
djmaze
d33f9710c2 Improve SquireUI on mobile by placing toolbar fixed at bottom of screen (and top of touch keyboard) 2020-09-15 23:36:42 +02:00
djmaze
29cf711a6a Converted *Ajax into *Fetch (because we use the Fetch API, not jQuery.ajax) 2020-09-14 19:40:56 +02:00
djmaze
8b53b189f8 Cleanup CSS and fix SquireUI css 2020-09-13 14:13:16 +02:00
djmaze
99bd895090 Fix some mobile view css issues 2020-09-12 13:57:09 +02:00
djmaze
19f5ea149a Bugfix: squire wysiwyg had no overflow scrollbar 2020-09-11 19:57:29 +02:00
djmaze
ecb9bd8ac1 Added the insertSignature code in SquireUI
Added hints/title (in english) to SquireUI toolbar buttons
2020-09-10 21:44:01 +02:00
djmaze
bdc961dfab Improved Squire with the missing 'plain' mode. 2020-09-10 18:47:28 +02:00
djmaze
72cbdfa7f2 Split SquireUI from HtmlEditor.js and improved SquireUI with styling 2020-09-10 12:56:45 +02:00