Commit Graph

216 Commits (master)

Author SHA1 Message Date
Gonçalo Silva e7359c5776 Encapsulate theme handling
The Theme class encapsulates theme handling, by listing default themes
and providing means to access their gtk/web css.

Besides cleaning things up, it makes it easy to support custom themes
in the future. The user just needs to provide two CSS files, and we'll
be able to instantiate and use a Theme from that.
2019-03-26 15:09:21 +00:00
Gonçalo Silva ea566b8d73 Make preview responsive
Uses the same breakpoints as the text editor.
2019-03-26 15:07:11 +00:00
Gonçalo Silva bbc4cec049 Add font assets 2019-03-24 21:52:52 +00:00
Gonçalo Silva da7bf940f3 Uniformize font-face font-family declarations 2019-03-24 21:37:05 +00:00
Gonçalo Silva 928254e992 Fix, cleanup and improve preview CSS
Fixes #121. Additional, fixes include:
* Light tables, title/hr underlines, code and quote blocks on the
dark theme
* Scrollbar not rendering on top of content

Cleanup includes:
* Removal of css rules that are internal to github (eg. octicon)
* Merging of duplicate or overridden declarations
* De-duplicating light and dark theme using import + custom properties

Improvements include:
* Using Fira / Fira Mono for rendering (as is done in the text editor)
* Using relative units as much as possible, making it much easier to
use a responsive design in the future
* Using the same background color for a more seamless experience
* Adjusting color contrast for the background changes, ensuring proper
accessibility while still using GitHub's style
2019-03-24 03:50:08 +00:00
Manuel Genovés 741cda968a v2.1.5 2019-03-23 00:47:26 +01:00
Manuel Genovés 284d582654 update translators data and uw version 2019-03-21 23:25:48 +01:00
somas95 8372eee85c
Merge branch 'master' into refactoring 2019-03-09 20:43:48 +01:00
somas95 d12f8b6ef7
Merge pull request #117 from UberWriter/ui
Ui
2019-03-09 20:38:21 +01:00
Manuel Genovés fb47539dd8 initial theme stylesheets support 2019-03-09 19:53:28 +01:00
Manuel Genovés 5618ff38b6 fix background color in dark mode preview for code blocks 2019-03-09 14:50:12 +01:00
Manuel Genovés a1a50d4890 Remember autospellchek status 2019-01-27 16:42:36 +01:00
Manuel Genovés 3375349d6b allow blank list elements 2019-01-26 20:22:48 +01:00
Manuel Genovés a2661be802 reorder things 2018-12-14 20:06:38 +01:00
Manuel Genovés 56e718be15 allow disabling overlay within preferences window 2018-12-14 20:01:00 +01:00
somas95 226b4e81dc
Merge pull request #96 from UberWriter/styles
update styles
2018-12-06 14:51:36 +01:00
Manuel Genovés 4bb6862f0e make headerbar autohidding toggeable 2018-12-06 14:29:10 +01:00
Manuel Genovés 47c169882e update styles 2018-12-06 14:22:07 +01:00
Manuel Genovés 772b1ba6db Make the overlay toggable 2018-12-05 20:27:19 +01:00
Manuel Genovés 65f2f987f7 added domain to menu ui file 2018-11-28 22:28:10 +01:00
Manuel Genovés 5ad641d959 updated version, contributors 2018-11-27 20:49:32 +01:00
Manuel Genovés 473cac657c updated icon by @bertob 2018-11-27 20:49:02 +01:00
Manuel Genovés 9288c54a36 delete unnecesary fmedia files 2018-11-27 20:48:28 +01:00
Manuel Genovés 5b63b75ad3 Merge branch 'use-hig-for-primary-menu' of git://github.com/BrainBlasted/uberwriter into BrainBlasted-use-hig-for-primary-menu
Follow gnome HIG on appmenu
2018-11-23 21:11:54 +01:00
Manuel Genovés 355880ab1a Merge branch 'add-tooltips-to-horizontal-buttons' of git://github.com/BrainBlasted/uberwriter into BrainBlasted-add-tooltips-to-horizontal-buttons
Change icons to labels
2018-11-23 21:07:25 +01:00
Christopher Davis 917a92485b Use labels instead of icons for preview, focus, and fullscreen
These actions were not immediately recognizable as icons;
With GMenuModel there's no way to either add tooltips or use
icons _and_ text, so labels-only are the best option
usability-wise.
2018-11-21 08:05:34 -05:00
Christopher Davis 03f2c21f8a Menu.ui: Use GNOME HIG for Primary Menu
As per https://gitlab.gnome.org/GNOME/Initiatives/wikis/App-Menu-Retirement,
the new HIG has a few requirements:

* About should be "About <Application Name>"
* Preferences should be in the same section as About and Keyboard Shortcuts
* Shortcuts should be Keyboard Shortcuts
* Quit should be removed, as it's redundant
2018-11-21 03:52:01 -05:00
Manuel Genovés fcab2687f1 recents menu refactoring 2018-11-03 13:35:47 +01:00
Manuel Genovés 540671186e fix popover styles 2018-11-02 19:30:02 +01:00
Manuel Genovés fbb5dc05db fixed some icons 2018-10-14 17:49:41 +02:00
somas95 2b2568128d update version 2018-07-27 19:46:04 +02:00
somas95 600f4b9c37 Delete unused images 2018-07-27 19:44:57 +02:00
somas95 b09fbba870 change icons to symbolic ones 2018-07-27 18:03:21 +02:00
somas95 ed164496a0 update version 2018-07-26 19:36:23 +02:00
somas95 a067f32832 Update version 2018-07-18 16:56:43 +02:00
somas95 c8313472f8 Added no texlive installed label 2018-07-18 16:24:06 +02:00
somas95 5bd1b1cd45 Fix some issues with the advanced options 2018-07-17 12:44:04 +02:00
somas95 0e18bdc19b solve CAN_DEFAULT error 2018-07-16 20:06:02 +02:00
somas95 ea45129bf1 new export dialog 2018-07-16 18:12:36 +02:00
somas95 59bfe731a3 new shinny export dialog 2018-07-02 01:22:35 +02:00
somas95 9e4be3e0c5 Add translation and donation links to AboutDialog 2018-07-02 01:02:41 +02:00
somas95 52def543fe Cleanup of preferencesdialog class 2018-07-01 03:20:56 +02:00
somas95 2ce88698d3 Add preferences dialog 2018-07-01 03:14:11 +02:00
somas95 96731ef8f6 Redesign of the headerbar 2018-06-30 02:11:47 +02:00
somas95 84f1cf28de add window shortcuts 2018-06-28 02:16:17 +02:00
somas95 3ae75a4b73 left menu to GMenuModel 2018-06-28 02:03:48 +02:00
somas95 b05628ab36 add a new headerbar and an eventboxx wich polls for motion 2018-06-27 01:46:01 +02:00
somas95 27eed48ba8 use stock icons 2018-06-24 00:23:29 +02:00
somas95 642f8f38e0 organize the appmenu 2018-06-24 00:23:20 +02:00
somas95 80635ac4c0 Migrate right menu to GMenuModel 2018-06-23 21:34:53 +02:00
somas95 93282de5c6 Migrate to Actions (fullscreen & focusmode) 2018-06-19 21:43:49 +02:00
somas95 8282fbad62 refactor and enhancement of the dark mode 2018-06-19 20:36:16 +02:00
somas95 c4d88677ee Migrate from GtkMenu to GMenuModel 2018-06-14 19:47:13 +02:00
somas95 4aec402b09 Add donation link 2018-06-14 19:46:54 +02:00
somas95 c672091b22 autospellcheck enabled at beggining 2018-06-12 20:38:24 +02:00
somas95 e0c4854613 Abstract the path base of open files 2018-05-06 20:00:14 +02:00
somas95 4e7275ae89 icon 2018-04-29 18:09:40 +02:00
somas95 1329ac5804 Added menu entry for the translation portal 2018-04-20 22:18:03 +02:00
somas95 c26902436c fix of web popover (inline preview) 2018-04-18 19:29:13 +02:00
somas95 4b180b27a9 Fix InlinePreview popup styles 2018-04-18 15:00:22 +02:00
somas95 fb34842a56 fixed some styles 2018-04-15 19:59:35 +02:00
somas95 9462a1117b better a whole style file than an import 2018-04-15 19:32:48 +02:00
somas95 8abc388486 set dark theme in preview if the main window has it 2018-04-15 19:24:55 +02:00
somas95 a2723068cf this doesn't belong here 2018-04-15 14:24:26 +02:00
somas95 4ec3f51cf8 gschema 2018-04-15 14:06:12 +02:00
somas95 ab3c043215 typo 2018-04-13 23:17:30 +02:00
somas95 b5b897b0c9 updated path 2018-04-13 21:59:41 +02:00
somas95 86ec754e4b support gsettings 2018-04-13 20:17:32 +02:00
somas95 5c19d9fecd delete unnecessary files 2018-04-13 20:16:47 +02:00
somas95 b31d642d6a removed unnecesary files 2018-04-13 00:24:26 +02:00
somas95 21137d7d84 Added spellcheck option 2018-04-13 00:24:10 +02:00
somas95 ac1774c848 convert relative paths to absolute on preview 2018-04-12 21:55:45 +02:00
somas95 251e6a7cc5 removed deprecated handlers 2018-04-12 17:09:36 +02:00
somas95 2e52a07dbb Added translations
Signed-off-by: somas95 <manuel.genoves@gmail.com>
2018-04-10 22:13:30 +02:00
somas95 0dfd95d86c Actually the icon needs to have this name.
For export it we'll need to rename it via the manifesto

Signed-off-by: somas95 <manuel.genoves@gmail.com>
2018-04-06 22:13:54 +02:00
somas95 fa9a088d77 Added prefix to icon
Signed-off-by: somas95 <manuel.genoves@gmail.com>
2018-04-05 15:15:14 +02:00
somas95 a55a0ee2ba Allowing margins without triggering the "ever growing window bug"
Signed-off-by: somas95 <manuel.genoves@gmail.com>
2018-04-04 22:04:29 +02:00
somas95 1ddf522df6 Fixed some icons
Signed-off-by: somas95 <manuel.genoves@gmail.com>
2018-03-27 21:20:35 +02:00
somas95 7882af12cd Shortcuts ui file
Signed-off-by: somas95 <manuel.genoves@gmail.com>
2018-03-24 17:41:09 +01:00
somas95 bc8142bb8d Added support for GFM' tasklist checkboxes
Signed-off-by: somas95 <manuel.genoves@gmail.com>
2018-03-24 17:40:31 +01:00
somas95 64cc82a0bc added ShortcutWindow
Signed-off-by: somas95 <manuel.genoves@gmail.com>
2018-03-22 14:10:14 +01:00
somas95 bae0c846e9 Window refactoring, added appmenu and abou dialog
Signed-off-by: somas95 <manuel.genoves@gmail.com>
2018-03-22 01:21:58 +01:00
somas95 7ed0ba1097 Window refactoring
Signed-off-by: somas95 <manuel.genoves@gmail.com>
2018-03-21 00:20:49 +01:00
somas95 12c43d414b UI Tweaks (consistency of toggle buttons)
Signed-off-by: somas95 <manuel.genoves@gmail.com>
2018-03-07 18:08:33 +01:00
somas95 9db4e9ab41 Make the shadow match the guidelines from most of the popular icon themes
(Numix, Papirus, etc)

Signed-off-by: somas95 <manuel.genoves@gmail.com>
2018-03-07 15:23:25 +01:00
somas95 0a82e551c3 Added tutorial to the new open_examples submenu
Signed-off-by: somas95 <manuel.genoves@gmail.com>
2018-03-07 15:22:19 +01:00
somas95 c0556da755 Hide not working options from menu
Signed-off-by: somas95 <manuel.genoves@gmail.com>
2018-03-07 01:49:28 +01:00
somas95 06d8cfb15d Changing from utf-8 to utf-16 2018-02-15 14:20:49 +01:00
somas95 c38b0a6f4c Revert "Changing classs type to make uberwriter.ui compatible with glade"
This reverts commit b9c9cf6ed7.
2017-12-28 13:24:57 +01:00
somas95 b9c9cf6ed7 Changing classs type to make uberwriter.ui compatible with glade 2017-12-27 14:25:57 +01:00
somas95 ecadcb5493 Redesigned searchbar 2017-12-22 16:01:37 +01:00
somas95 6c4e391f62 typo 2017-12-20 11:37:02 +01:00
somas95 b5cc3c9f35 Refactoring of style.css 2017-12-20 11:03:45 +01:00
somas95 0b4386c760 Fixed status_bar_box styles 2017-12-14 22:14:07 +01:00
somas95 cc49a3b820 Cursor and button label styles fixed 2017-12-14 20:57:18 +01:00
somas95 0ca6263763 Fixed HeaderBar opacity issues 2017-12-11 16:45:54 +01:00
somas95 20ae4c3aa2 Fixed bright and dark mode styles 2017-12-08 21:58:45 +01:00
Wolf Vollprecht dad4da1678 make usable on recent fedora/gnome/gtk 2017-12-07 07:56:39 +01:00
Wolf Vollprecht da4efb4b0b merged head 2016-02-05 23:54:57 +01:00
Wolf Vollprecht f02b5af858 fixed some bugs in gtk 3.18 and added some experimental stuff that DOES NOT WORK YET! 2016-02-05 23:52:43 +01:00
Wolf Vollprecht d521bdc385 adjustment ubuntu" 2015-05-20 00:51:02 +02:00
Wolf Vollprecht 86cd732902 modified style handling for GTK 3.16 2015-05-19 22:32:55 +02:00
Wolf Vollprecht a16f5d95d2 added uberquation plugin 2015-02-21 21:33:50 +01:00
Wolf Vollprecht 6dbb93e123 no more menubar showing up, no more revealing not working after window rearrangement 2015-02-12 19:12:02 +01:00
Wolf Vollprecht 469420d5c9 no more menubar showing up, no more revealing not working after window rearrangement 2015-02-12 19:10:09 +01:00
Wolf Vollprecht 4547c77500 fixed a small bug where cursor iter is not transmitted to check_scroll 2014-10-05 09:51:10 +02:00
Wolf Vollprecht 19f936dcbc added long overdue readme.md 2014-10-05 00:46:48 +02:00
Wolf Vollprecht 0c9e6263b9 added click support to autocorrections 2014-10-05 00:18:17 +02:00
Wolf Vollprecht 8fdc9f465a removed several deprecations, added experimental features option 2014-10-02 19:02:59 +02:00
Wolf Vollprecht 38a9687c4a added new translations, and reworked the lexikon bubble a bit; 2014-09-15 15:55:06 +02:00
Wolf Vollprecht ccf9e39201 working setup.py for the first time in .. years? 2014-09-12 01:59:05 +02:00
Wolf Vollprecht c2ac83492a several fixes, most importantly for fading out the headerbar 2014-09-11 17:44:50 +02:00
Wolf Vollprecht eed1c95a26 several improvements, also introducing several new bugs 2014-09-01 23:07:18 +02:00
Wolf Vollprecht 8a98c35af0 comitting all the fancy stuff done in denmark 2014-08-30 10:22:01 +02:00
Wolf Vollprecht 0da94c29db working on new version .. 2014-08-08 13:25:57 +02:00
Wolf Vollprecht c120288881 initial commit sidebar 2014-07-06 22:35:24 +02:00