aboutsummaryrefslogtreecommitdiff
path: root/ext/css
Commit message (Collapse)AuthorAge
* Display pronunciation refactor (#1835)toasted-nutbread2021-07-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Simplify svg and container styles * Rename pitch-accent-details to pitch-accent-graph-container * Rename pitch-accent-graph* to pronunciation-graph* * Remove unused template * Omit quotes * Rename pitch-accent-character to pronunciation-mora * Simplify names * Replace pronunciation-mora-inner with pronunciation-character * Improve grouping of nasal characters * Simplify character replacement * Replace pseudo-elements with real elements * Use an element rather than a fragment * Rename functions * Add wrapper * Rename pitch-accent-characters to pronunciation-text-container * Update test data * Update downstep notation generation * Rename pitch-accent-position to pronunciation-downstep-notation-container * Space * Wrap pronunciations in a container node * Update preview * Embed pitch accent styles directly
* Pronunciation nasal improvement (#1834)toasted-nutbread2021-07-17
| | | | | | | | | * Organize * Add utility to get diacritic information about a character * Show mora without diacritic * Add a hidden handakuten for copy-paste purposes
* Display pronunciation separation (#1833)toasted-nutbread2021-07-17
| | | | | | | | | | | * Create PronunciationGenerator * Update DisplayGenerator * Update templates * Move pronunciation styles to a separate file * Simplify pitch-accents-preview.html
* Devoice and nasal pronunciation info (#1832)toasted-nutbread2021-07-15
| | | | | | | | | | | | | * Update schema to support information about nasal and devoiced mora * Expose nasalPositions and devoicePositions in dictionary entry data * Expose nasalPositions, devoicePositions in grouped pitch info * Update display generator * Update test dictionary data * Update test data
* Update Anki field marker menu (#1816)toasted-nutbread2021-07-09
| | | | | * Update anki field marker menu to have less vertical padding * Update positioning of field marker menu
* Update dictionary image link color (#1778)toasted-nutbread2021-06-28
|
* Update CSS rules for images (#1777)toasted-nutbread2021-06-28
|
* Structured content style json (#1771)toasted-nutbread2021-06-27
| | | | | | | | | | | | | * Install css * Remove unnecessary rule * Create CSS overrides file * Create script to generate CSS JSON file * Generate JSON * Add test
* Update structured content CSS styles (#1770)toasted-nutbread2021-06-27
|
* Move structured content CSS into a separate file (#1769)toasted-nutbread2021-06-27
|
* Structured content updates (#1753)toasted-nutbread2021-06-25
| | | | | | | | | | | * Update schema * Update content generation * Update styles * Update test data * Update style names
* Structured content updates (#1733)toasted-nutbread2021-06-06
| | | | | | | | | | | | | | | | | | | | | * Add support for imageRendering * Make crisp-edges appearance on Firefox more similar to Chrome * Refactor * Add background option * Move data-image-rendering attribute * Restructure * Organize * Add support for appearance * Update test dictionary * Update tests
* Primary audio fixes (#1719)toasted-nutbread2021-05-30
| | | | | | | | | * Fix case when subIndex is not assigned * Fix incorrect assignment of primary card audio * Improve opacity style * Improve styles for :focus-visible
* Improve multiple audio sources (#1718)toasted-nutbread2021-05-30
| | | | | | | | | | | | | * Add url/voice options to audio sources * Add help for TTS * Remove old settings * Update tests * Update use of audio source URL * Improve labels for sources with the same type
* Structured content image size units (#1692)toasted-nutbread2021-05-20
| | | | | * Add support for sizeUnits on image content * Update test data
* Add support for definitions with structured content (#1689)toasted-nutbread2021-05-19
| | | | | | | | | | | * Add structured content to schema * Add support for generating custom content * Update importer * Update test data * Add verticalAlign property
* Dictionary image display refactoring (#1687)toasted-nutbread2021-05-18
| | | | | | | | | | | | | | | * Generalize image definition generation * Enable optional aspect ratio * Move styles * Update styles * Add more options for collapsing images * Add image options for collapsing * Improve layout for images that are collapsed
* Sentence termination character mode (#1682)toasted-nutbread2021-05-16
| | | | | | | | | | | * Change enableTerminationCharacters to terminationCharacterMode * Update settings * Update sentence extraction * Update tests * Add tests
* Popup action search (#1678)toasted-nutbread2021-05-15
| | | | | | | | | * Set up search page in the action popup * Fix a style causing incorrect overflow * Fix error when trying to take a screenshot * Fix popup size on Firefox
* Improve overflow wrap (#1663)toasted-nutbread2021-05-10
|
* Improve internal page overflow (#1660)toasted-nutbread2021-05-10
| | | | | * Improve overflow of internal pages * Improve wrapping of the Origin: example text
* Fix secondary search dictionary options layout (#1654)toasted-nutbread2021-05-08
|
* Add "Move to" menu option for moving dictionary options to a specific ↵toasted-nutbread2021-05-02
| | | | | | | location (#1651) * Add "Move to" option * Fix IDs
* Update search tags to always be displayed in a consistent manner (#1645)toasted-nutbread2021-05-01
|
* Improve dictionary options (#1640)toasted-nutbread2021-04-30
| | | | | | | | | | | | | | | | | | | * Update dictionary options layout * Update extras * Improve display when no dictionaries are installed * Implement "All" toggle * Move modal * Update welcome page * Remove resizer button * Fix ordering * Fix extra closing tag
* Show any custom tags on words that have anki cards created (#1628)soriac2021-04-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Proof-of-concept for showing card tags (#1626) * Resolved most PR comments: - Added a snackbar notification when clicking tag button - Replaced magnifying glass icon with new tag icon - Button now contains a span w/icon, to use text color - Removed unnecessary attributes from button - Backend now returns full noteInfos object - Frontend now handles filtering tags * Add options to show/hide tag button & filter tags * Do not show tags button if, after filtering, we have zero tags. * Change tags option to enums, optimize tags intersection check & fix code style. * Update options-util.js to include new tag options. * Fix wording on new tag setting. * Add CSS to remove hidden buttons from the display layout. * getAnkiNoteInfo extra parameter for additional info. * Add new tag option to tests. * Remove unnecessary changes related to anki tags option. * Code style fixes.
* Fix triangle current selection indicator using incorrect rule (#1637)toasted-nutbread2021-04-28
|
* Add tag icon (#1629)toasted-nutbread2021-04-26
|
* Initial safari compatibility (#1609)toasted-nutbread2021-04-10
| | | | | | | | | | | | | | | | | | | * Update environment info to return the 'safari' browser * Fix popup display on Safari * Update environment assignment * Add data-loading-stalled property when loading takes longer than expected * Add notification when loading has stalled * Allow getDictionaryInfo invocation on non-privileged contexts * Update _validatePrivilegedMessageSender * Don't listen to 'voiceschanged' event unless addEventListener is present Also expose an event
* Remove settings-old.css (#1604)toasted-nutbread2021-04-08
|
* Add PermissionsOriginController (#1603)toasted-nutbread2021-04-08
|
* Minor updates to settings styles (#1601)toasted-nutbread2021-04-08
|
* More terminology updates (#1600)toasted-nutbread2021-04-08
| | | | | | | | | | | | | | | | | | | * Update terminology * Update display * Rename expression-list to headword-list * Rename expression-current-indicator * Rename expression classes * Update dictionary entry container * Rename glossary => gloss * Rename heading * Rename gloss classes to gloss-content
* Fix selectability of kanji text (#1586)toasted-nutbread2021-04-03
|
* Definition collapsing when overflowing (#1575)toasted-nutbread2021-03-31
| | | | | | | | | | | | | | | * Add double-down-chevron.svg * Add options * Update dictionary importers * Update settings * Add support for collapsible definitions * Improve case when there is a very small amount of overflow * Fix incorrect enabled state of newly imported dictionaries
* Toggle option hotkey (#1571)toasted-nutbread2021-03-28
| | | | | | | | | | | * Set up toggleOption hotkey action settings * Update styles * Disable spell check and autocomplete * Add OptionToggleHotkeyHandler * Improve auto-close behaviour
* Hotkey arguments (#1565)toasted-nutbread2021-03-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Update display * Move scope definitions * Update scopes button after changing action * Don't show menu if empty * Improve scope updating * Update style * Simplify * Add argument to settings * Update convertToNumber implementation * Add support for arguments * Pass argument to action handler * Update hotkey action definitions * Remove x3 options
* Update hotkey settings design (#1564)toasted-nutbread2021-03-27
| | | | | | | | | | | | | | | | | * Update PopupMenu event prevention * Use vars for button padding * Add button-inner-label style * Add input-button button * Update display of scope selection * Add hidden argument text input field * Remove unnecessary calls * Display a strike through the enabled button when no scopes are selected
* Fix tag disambiguation (#1556)toasted-nutbread2021-03-25
| | | | | * Update display generator to use new data format for tag disambiguation * Add separator for multiple disambiguations
* Update display results style (#1536)toasted-nutbread2021-03-16
| | | | | * Expose resultOutputMode * Update display styles
* Add css width var (#1523)toasted-nutbread2021-03-13
| | | | | * Rename --main-content-size to --content-width * Add --content-width-search variable
* Remove TODO comment from settings.css (#1522)toasted-nutbread2021-03-13
|
* Fix tag height (#1515)toasted-nutbread2021-03-10
|
* Add CSS variable to control tag height (#1495)toasted-nutbread2021-03-06
|
* Fix and improve some CSS vars (#1465)toasted-nutbread2021-02-28
|
* Update color of name tag to not overlap with frequency tag color (#1457)toasted-nutbread2021-02-27
|
* Misc display style updates (#1454)toasted-nutbread2021-02-27
| | | | | * Remove unused style * Update inflection separator
* Improve expression variables (#1453)toasted-nutbread2021-02-27
| | | | | * Improve how colors are used for expressions * Add more color definitions
* Organize display styles (#1452)toasted-nutbread2021-02-27
| | | | | | | | | | | | | * Improve grouping for inflection and expression styles * kanji-link => expression-kanji-link * Remove unnecessary entry-header2 and entry-header3 * Move tag list into header for consistency with term definitions * Move styles * Add clear
* Refactor display styles (#1451)toasted-nutbread2021-02-27
| | | | | | | | | | | | | | | * term-expression => expression * term-pitch-accent => pitch-accent * term-reason => inflection, term-reasons => inflection-list * term-details => expression-list-details * term-glossary => glossary * Update tag list classes * term-definition => definition