Jason Barnabe
7a72326f2f
Merge pull request #86 from tophf/resize-grip
...
Editor: add resize grip
2015-03-25 09:41:30 -05:00
Jason Barnabe
94b586a243
Merge pull request #87 from tophf/disable-all-styles-fix
...
Disable all styles fix
2015-03-25 09:33:42 -05:00
tophf
a4f602c7aa
Editor: add resize grip
2015-03-25 16:42:11 +03:00
Jason Barnabe
0b2a86337d
Merge pull request #83 from tophf/narrow-editor
...
Editor: webkit bug workaround; better alignment
2015-03-24 23:07:00 -05:00
tophf
f90c8bc6c7
Localization: remove the unused 'styleNameLabel'
2015-03-25 07:05:36 +03:00
tophf
f0f5a28c46
fixup for checkbox pos; add wrapper & visual feedback
2015-03-24 20:27:13 +03:00
hideheader
f45a6506be
Add 'Disable all styles' to popup
2015-03-24 20:21:19 +03:00
tophf
9c99495d65
Editor: webkit columns bug workaround; better alignment; rem units
2015-03-24 19:16:16 +03:00
Jason
c8ce70f964
Restore header for narrow width edit and standardize position
2015-03-23 19:52:18 -05:00
Jason
80691ed80e
Make the filter legend black instead of grey
2015-03-23 19:42:17 -05:00
Jason
02e1255580
Use columns instead of flex for narrow-width options
2015-03-23 19:39:21 -05:00
Jason
dac381fb57
Adjust display of name/enabled when in a narrow window
2015-03-23 19:25:39 -05:00
Jason
7a2d978d4a
Fix shadowy border thing on edit screen
2015-03-23 18:51:51 -05:00
Jason
00d5972cac
Drop logo from manage page
2015-03-23 18:44:26 -05:00
Jason
030f6df9bb
'Specify' should not stretch to full page width #82
2015-03-23 14:38:03 -05:00
Jason
50ac6b9c48
Remove non-functional 'From Mozilla format' button #79
2015-03-23 14:23:17 -05:00
Jason
d74dd20931
Fix pop-up when dealing with newtab #80
2015-03-23 13:56:11 -05:00
Jason Barnabe
d092cc7553
Merge pull request #78 from tophf/icons
...
Add SVG icon, compress PNG icons with pngquant+optipng
2015-03-23 11:15:22 -05:00
tophf
f7929cc8d1
fixup: limit the logo size for the narrow layout
2015-03-23 19:01:38 +03:00
tophf
dc715f697d
fixup: embed the SVG logo in html
2015-03-23 18:48:51 +03:00
Jason Barnabe
3558277533
Merge pull request #69 from tophf/editor-tweaks
...
Editor tweaks 2
2015-03-23 10:05:09 -05:00
tophf
1ab749b516
Add SVG icon, compress PNG icons with pngquant+optipng
2015-03-23 17:01:22 +03:00
tophf
da52ff7ee0
Editor: de-tablify options, support for responsive layout
2015-03-21 20:09:58 +03:00
tophf
e0650fde71
Editor: fixes for 0e391f9
, refactor, more fixes
...
* recognize changes in applies-to inputs
* recognize changes only in specified controls
* forget the dirty applies-to ids from a deleted section after the style was saved
* toMozillaFormat: use the actual contents of CodeMirror instances
* toMozillaFormat: allow empty code section with non-empty applies-to
* refactor: simplify, de-kludge, de-duplicate, de-obfuscate, use more descriptive names instead of "items", "a", "b" where appropriate
2015-03-21 20:09:58 +03:00
tophf
3ad6fd974b
Editor: fix findNext to not display Chrome's findbar
2015-03-21 05:53:59 +03:00
tophf
6b710e9f56
HTML fixes: close a tag, replace 0px with 0
2015-03-20 17:29:48 +03:00
tophf
3dd8eb1fc6
Manager: "Apply all updates" button
2015-03-20 17:29:48 +03:00
tophf
8e6e1f97b2
Manager: "Edit" button re-uses existing tabs, shift-click opens a new window
2015-03-20 17:29:47 +03:00
tophf
fec5306037
Editor: make Ctrl-S work in input boxes
2015-03-20 17:27:21 +03:00
tophf
603da2736f
Editor: don't scroll sections into view on click
2015-03-20 17:27:21 +03:00
tophf
31a9be7c2a
Editor: add "!important" word to autocomplete in css properties
2015-03-20 17:27:21 +03:00
tophf
ed9ce87d99
Editor: add sections asynchronously on init
...
Improves perceived responsiveness.
Becomes noticeable with ~3 sections.
Becomes indispensable with ~10 sections.
2015-03-20 17:27:21 +03:00
tophf
374244fceb
Editor: remember size/pos only for detached windows
2015-03-20 17:27:20 +03:00
Jason Barnabe
0e391f928f
Merge pull request #70 from hideheader/save-me-too
...
Manage dirty flags on all inputs
2015-03-20 09:20:28 -05:00
hideheader
4e7b15f491
Report element removals correctly
...
An element with a `defaultValue` now becomes dirty when removed; elements
without become clean. As a result, removing an existing section makes the
document dirty while removing a new section makes it clean(er).
2015-03-16 16:47:56 -04:00
hideheader
b7483035d5
Flatten the closure, simplify its functions
2015-03-15 16:16:12 -04:00
hideheader
d3f8e38936
Manage dirty flags on all inputs
...
(1) Record initial value of text, select, and checkbox elements and re/set a
dirty class on each when the value changes.
(2) Combine the individual flags into a global dirty flag.
(3) Add 'dirty' status to the document title.
2015-03-15 14:50:42 -04:00
Jason Barnabe
8811e9d441
Merge pull request #67 from hideheader/menu-item-order
...
[option] List actions before styles in the popup
2015-03-15 12:40:54 -05:00
Jason Barnabe
55f103125b
Merge pull request #64 from hideheader/editor-options
...
Add editor options
2015-03-15 12:35:57 -05:00
hideheader
284d4b8ec8
Add editor options
...
(1) Add UI controls for `keyMap`, `tabSize`, `indentWithTabs`, and
`lineWrapping`; `indentUnit` tracks `tabSize`.
(2) Dispatch `change` events from `loadPrefs` to initialize CM options
from the controls' event listener.
(3) Move stock options from the `CM.fromTextArea` call into `CM.defaults`.
Add `CM.setOption` method, analogous to the instance method, which updates
`CM.defaults` and sets the option in all instances; add `CM.getOption`
which simply returns `CM.defaults[option]`.
(4) Move the new editor functions into `CM.commands` and replace the
functions with commands.
2015-03-15 12:40:38 -04:00
hideheader
222f970d23
[option] List actions before styles in the popup
...
Styles are listed before actions by default. Actions are listed before
styles if `popup.stylesFirst` is false. A control for the option is shown
in "Manage" if `popup.stylesFirstUI` is true.
2015-03-14 21:35:45 -04:00
Jason Barnabe
d9ceb98f56
Merge pull request #54 from hideheader/filtered-manage
...
Listing filters for 'Manage'
2015-03-14 18:17:59 -05:00
hideheader
a0482d3f0b
Listing filters for 'Manage'
...
Two independent filters. One allows only styles that are enabled, the
other allows only styles that were written locally (that is, styles
without an update URL).
2015-03-14 13:33:36 -04:00
Jason Barnabe
3cf24400aa
Merge pull request #68 from hideheader/css-lint
...
Remove `eval` from css-lint
2015-03-13 12:28:59 -05:00
hideheader
ae327d4ee1
Remove eval
from css-lint
...
Evaluate string token with `RegExp.exec()` instead of `eval()`.
2015-03-12 19:35:20 -04:00
Jason Barnabe
83bcde6569
Merge pull request #61 from tophf/global-search-in-new
...
Edit style: more tweaks
2015-03-12 13:15:46 -05:00
tophf
a5594eb7f1
fixup: actually autofocus the added section
2015-03-12 20:59:45 +03:00
tophf
0be6f6dfe4
Edit style: remove CodeMirror's Ctrl-S handler, now redundant
2015-03-12 20:41:06 +03:00
tophf
55538f808d
Edit style: allow adding sections midway, autofocus on manual add
2015-03-12 13:21:11 +03:00
tophf
b8c918e502
Mostly mute CSSLint, re-enable gutter marks, hide squiggles
...
Only these rules are enabled:
* Parsing Errors
* Disallow empty rules
* Require use of known properties
* Require properties appropriate for display
2015-03-12 13:18:57 +03:00