aboutsummaryrefslogtreecommitdiff
path: root/ext/css/display.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
* 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 CSS rules for images (#1777)toasted-nutbread2021-06-28
|
* 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
* 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
* Update search tags to always be displayed in a consistent manner (#1645)toasted-nutbread2021-05-01
|
* 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
|
* 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
* 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
* 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
* Refactor expression vars (#1449)toasted-nutbread2021-02-27
| | | | | | | | | | | | | * Group expression styles * Rename var * Update var name and style * Group --kanji* vars * Rename var * Rename vars
* Add standalone reading (#1448)toasted-nutbread2021-02-27
| | | | | | | | | * Add option * Update display * Hide redundant readings * Improve label and description
* Disambiguation style strings (#1442)toasted-nutbread2021-02-25
| | | | | | | | | * Add strings section * Add disambiguation prefix/suffix strings * Add separator strings * Add padding definition
* Improve frequency display (#1438)toasted-nutbread2021-02-25
| | | | | | | | | | | * Add frequencyDisplayMode option * Update tests * Add setting * Update frequency display styles * Improve wrapping
* Update tag styles (#1437)toasted-nutbread2021-02-23
|
* Update tag display styles (#1433)toasted-nutbread2021-02-21
|
* Fix missing spacing after frequency disambiguation (#1432)toasted-nutbread2021-02-21
|
* Improve tag styles (#1431)toasted-nutbread2021-02-21
| | | | | | | * Update tag styles * Refactor _createTag * Update padding
* Improve some values based on the font-size (#1430)toasted-nutbread2021-02-21
|
* Improve button styles (#1427)toasted-nutbread2021-02-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Update variable names * Update standard button styles * Update styles * Update button styles * Update styles * Add current styles * Update button styles * Update styles * Update outline item styles * Update styles * Update styles * Update notification button styles * Update button styles
* Focus visible styles (#1426)toasted-nutbread2021-02-20
| | | | | | | | | | | * Add focus-visible styles * Add focus-visible styles * Add focus-visible styles * Add focus-visible styles * Add focus-visible styles
* Refactor styles (#1425)toasted-nutbread2021-02-20
| | | | | | | | | | | | | | | * Replace :not(:disabled) styles * Use var for style * Update active styles * Update disabled styles for <input> elements * Update button disabled styles * Add focus styles to checkbox * Update style name
* Remove section headings (#1413)toasted-nutbread2021-02-16
|
* Fix search tags in split and grouped display modes (#1412)toasted-nutbread2021-02-16
|
* Audio popup menu primary card audio selection (#1406)toasted-nutbread2021-02-15
| | | | | | | | | | | | | | | | | | | * Add card icon to audio menu items * Update cache data format * Create _getCacheItem * Add _playAudioFromSource function * Implement default card audio info * Specify exact audio to download when an override is assigned * Abstract using _getMenuItemSourceInfo * Update downloadability check * Update the main audio menu buttons to also assign the default source
* Display audio menu refactor (#1404)toasted-nutbread2021-02-15
| | | | | * Update display and generation of the audio menu * Wrap menu items in a div to allow for horizontal layout groupings
* Move css files (#1374)toasted-nutbread2021-02-12
* Move bg/css/ to css/ * Move mixed/css/ to css/