Ian Prest
900caca4a7
Parse user-defined glyphs in CSS
9 years ago
Ian Prest
0bf77c0d8b
Removed redundant 'desc' field from character-picker data.
...
-- Prefer to use 'name', which wasn't otherwise used, but mirrors the
palettes better.
9 years ago
Ian Prest
443de95437
Added glyph-set for combining diacritical marks.
9 years ago
Ian Prest
ea21371be1
Add drag & drop for character-picker glyphs
9 years ago
Ian Prest
71d7b840b5
Added 'more info' links to the character picker sets.
9 years ago
Ian Prest
f2e839ccfb
Allow only one palette/picker to be visible at once.
9 years ago
Ian Prest
04447b9eaf
Using angular-ui-bootstrap for tooltip on character picker
...
-- Needed to escape the scrolling div, which wasn't possible with
hint.css.
-- Couldn't switch everywhere, unfortunately, because
angular-ui-bootstrap tooltips have some nasty bugs dealing with disabled
input fields where the tooltips wouldn't go away.
9 years ago
Ian Prest
50393a4f05
Scroll the character-picker list if too long
9 years ago
Ian Prest
8c758738e1
Load FontAwesome glyphs into character picker
9 years ago
Ian Prest
9e290bfe05
Fix CSS parser to handle at-rules with nested blocks
...
-- Specifically turns up in "@keyframe" at-rules.
9 years ago
Ian Prest
bbfa626bcc
Fix CSS parser to handle at-rules with no selector & no whitespace
9 years ago
Ian Prest
7ecf4d55a4
Initial character-picker implementation
...
-- Very similar to the color palettes
9 years ago
Ian Prest
9b2af5eff8
Added a button to swap primary & secondary keycap rectangles
...
-- sizes & positions are swapped so that the overall shape of the key is
maintained, but the labels will shift positions since they are always
rendered on the primary rectangle.
9 years ago
Ian Prest
4dbf5fc7e4
Call preventPropagation() to prevent browser addons from intercepting keystrokes
...
-- e.g., CrossFire for Chrome, which uses Shift+Arrows to navigate links
on a page, and this interferes with the ability to resize keys.
9 years ago
Ian Prest
bf694f3873
Updated README with new Jasmine tool dependency
9 years ago
Ian Prest
7093ae7aa4
Merge pull request #98 from ijprest/custom-css
...
Custom css
9 years ago
Ian Prest
92edbeaa68
Remove redundant CSS field from Keyboard Properties tab.
9 years ago
Ian Prest
aa0dda5b4c
Fix CSS generation when a rule has no style declarations.
9 years ago
Ian Prest
798607a78b
Allow @import-ing of Google Fonts.
9 years ago
Ian Prest
45b0e0b03b
Made renderer work with new CSS parser
9 years ago
Ian Prest
51813fbde0
Tweaked CSS parser to just return an array of rules
9 years ago
Ian Prest
fead76e37d
Fixed a small deserialization error with vertical centering (align&2)
9 years ago
Ian Prest
f9fcd4e8c4
Wrote my own CSS parser + unit-tests
9 years ago
iandoug
11111bb49d
Added code and data to support setting Default Keyswitch
9 years ago
iandoug
6797c23937
Added code and data for supporting the backgrounds
9 years ago
iandoug
659e8172ad
Added the backgrounds + acknowledge file
9 years ago
Ian Prest
7d51134458
Load /samples from localhost
9 years ago
Ian Prest
ee48716bfa
Updated VIC-20 sample, post fully-generic-legends
9 years ago
Ian Prest
448f0a355c
Updated makefile to copy new cssparser bower_component
9 years ago
Ian Prest
3f19d7f758
Merge branch 'master' into custom-css
...
Conflicts:
css/kb.css.map
kb.css
kb.html
9 years ago
Ian Prest
5e915c4379
Some fixes to the makefiles
...
-- 'make install' failed on Unix systems die to ampersand as
command-separator
-- 'make' would fail if target directories didn't exist; now creating
them (but Unix is untested)
9 years ago
Ian Prest
d989d34e86
Bumped version to v0.13; updated CHANGELOG
9 years ago
Ian Prest
051e29e75f
Cleaned up makefile & deploy scripts
...
-- I didn't want to deplot 100+MB of the bower_components folder
-- Makefile now copies over just the stuff we want from bower_components
-- Deploy scripts now only certain directories & files (opt-in vs.
opt-out)
-- Fixed "make install"
9 years ago
Ian Prest
09a4e62607
Merge pull request #97 from ijprest/fully-generic-legends
...
Fully generic legends
9 years ago
Ian Prest
8f09fbfdbd
Fix a problem where you couldn't type a question-mark
...
-- For some reason, showHelp() was no longer able to detect which
element had raised the event when you typed a question-mark, so the help
dialog would pop up when you were trying to edit a legend.
-- Fixed by consulting document.activeElement instead of the event's
srcElement
-- Also added some unit tests for this.
9 years ago
Ian Prest
66b278b84d
Merge branch 'master' into fully-generic-legends
...
Conflicts:
serial.js
tests/conf.js
tests/kb-serial.js
9 years ago
Ian Prest
aae8ffb740
Testing: New tests for additional color/size possibilities
9 years ago
Ian Prest
6fb87476da
Testing: Updated screenshots
...
-- Antialiasing around the key borders is slightly different now, with
the new rendering.
9 years ago
Ian Prest
4a8d9a0c37
Fix serialization of text colors & add unit-tests for text colors
9 years ago
Ian Prest
b4c0c6875a
Serialization for fully-generic-legends
...
-- Added tests for legends & text-size
-- Colors currently untested
9 years ago
Ian Prest
50d068b663
Merge remote-tracking branch 'origin/master' into fully-generic-legends
9 years ago
Ian Prest
72564b2765
Testing: Added a very simple serialization test
...
-- Modified serial.js a little so it could be loaded by the test harness
-- Removed dependency on some Angular/JQuery helper functions
9 years ago
Ian Prest
d0329db62d
Added dependency on "git-utils" to the README
9 years ago
Ian Prest
dcdf6b32b9
Testing: Updated harness to compare images against baselines
...
-- Just checks the Git status for the image file
-- If file was modified, then the test failed
9 years ago
Ian Prest
f0aad4265f
Merge remote-tracking branch 'origin/master' into fully-generic-legends
9 years ago
Ian Prest
328793bf93
Deleted compiled version of the stylesheet
9 years ago
Ian Prest
602ce2e55a
Added a custom-styles editor
...
-- Similar to the raw-data editor.
-- Styles are parsed, modified so that they can only affect keycaps,
then applied to the page.
-- Modified the VIC-20 sample to demonstrate; it now has a
FontAwesome-style stylesheet, for the C64ProMono font, and is using
those custom styles for all the PETSCII glyphs.
9 years ago
Ian Prest
925b3a0161
Merge branch 'jasonm23-add-css-link' into custom-css
9 years ago
Ian Prest
ebcd7a7144
Merge branch 'add-css-link' of git://github.com/jasonm23/keyboard-layout-editor into jasonm23-add-css-link
9 years ago
Ian Prest
b2a3eec5b1
Add a CSS parser
9 years ago