summaryrefslogtreecommitdiff
path: root/ext/bg/css
Commit message (Collapse)AuthorAge
* Update keyboard shortcut controller (#1258)toasted-nutbread2021-01-16
| | | | | | | * Change attribute * Update hidden style * Hide scope checkboxes when they are not supported for that action
* Clarify Anki card type dropdown (#1253)toasted-nutbread2021-01-16
|
* Popup window options (#1245)toasted-nutbread2021-01-16
| | | | | | | | | | | | | | | * Add popupWindow options * Add toBoolean converter * Add settings * Use new options * Add test link * Fix window state not working * Make the window section advanced only
* Hotkeys (#1236)toasted-nutbread2021-01-14
| | | | | | | | | | | * Set up hotkey inputs * Improve key display * Add setInput * Add KeyboardShortcutController * Update how display handles hotkeys
* Customizable sentence parsing (#1217)toasted-nutbread2021-01-10
| | | | | | | | | | | | | | | * Add new sentenceParsing options * Update TextScanner.setOptions * Assign terminator/quote maps * Pass sentence parsing info to extractSentence * Simplify setting * Add setting for enableTerminationCharacters * Create new settings for sentence termination characters
* Add links to settings v2 headings (#1212)toasted-nutbread2021-01-09
|
* CSS lint (#1201)toasted-nutbread2021-01-03
| | | | | | | | | | | | | * Use single quotes instead of double * Install stylelint * Set up config * Update package/tests * Fix lint issues * Update CSS rules
* Translator regex replacements (#1199)toasted-nutbread2021-01-03
| | | | | | | | | | | | | | | | | | | * Add support for regex replacements during the translation process * Allow assignment of textReplacements * Rename * Set up test data * Write expected data * Set up options * Prevent infinite loop if regex matches empty string * Implement setting controller * Add support for testing pattern replacements
* Update copyright year (#1194)toasted-nutbread2021-01-01
| | | | | * Update copyright year * Remove redundant Author info
* Fix incorrect body height on pitch accents preview page (#1186)toasted-nutbread2020-12-31
|
* Simplify CSS rule (#1182)toasted-nutbread2020-12-30
|
* Improve wrapping layout for small resolutions (#1181)toasted-nutbread2020-12-30
|
* Improve location of Anki error message (#1180)toasted-nutbread2020-12-30
|
* Split material css (#1175)toasted-nutbread2020-12-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Separate material styles into a separate file * Improve action button styles * Rename --font-size-default to --font-size * Remove px units * Remove some material vars * Fix some variable names * Define variables * Remove --shadow-vertical * Revert name change * Move var * Rename var * Update vars * Remove redundant vars * Update search styles * Update styles * Update colors * Update variable names * Include material.css on float.html page
* Improve element hiding (#1171)toasted-nutbread2020-12-28
| | | | | * Use multi-line definition for transition * Update how PopupElement visibility is controlled
* Remove "Top" link from settings v2 page (#1169)toasted-nutbread2020-12-28
|
* Improve document focus control (#1167)toasted-nutbread2020-12-28
| | | | | | | | | * Improve styles for #content-scroll-focus * Create new class to manage and control document focus * Use new focus class * Add a check to prevent redundant .blur calls
* Add window settings (#1160)toasted-nutbread2020-12-22
| | | | | * Add window icon * Move some options to a new "Window" section
* Improve settings item button styles (#1155)toasted-nutbread2020-12-21
| | | | | | | * Improve styles for settings-item-button * Add hover/active styles to settings-item-button * Use consistent phrasing for setting buttons and include ellipsis
* Update the popup preview to always be visible on the settings v2 page (#1151)toasted-nutbread2020-12-20
|
* Settings v2 modal size toggle (#1149)toasted-nutbread2020-12-20
| | | | | | | | | | | | | * Add collapse/expand icons * Update header layout * Allow size animation * Add styles for modal header buttons * Support action buttons * Update modals to support size changing
* Settings v2 headings improvements (#1148)toasted-nutbread2020-12-20
| | | | | | | * Improve spacing on h2 * Add icons to headings * Clarify font-size
* Settings v2 icon improvements (#1147)toasted-nutbread2020-12-20
| | | | | | | | | | | * Update navigation icons * Improve outline layout, fixing badge indicators * Change attribute value * Update icon buttons * Update settings page
* Dictionary display updates (#1146)toasted-nutbread2020-12-20
| | | | | | | | | | | | | | | | | * Display dictionary-list as flex * Move styles * Move enabled toggle * Update details * Disable sorting based on priority * Update styles * Update title color when disabled * Update display style of secondary search dictionaries
* Improve styles for invalid inputs (#1143)toasted-nutbread2020-12-20
|
* Manifest version CSS rules (#1126)toasted-nutbread2020-12-18
| | | | | * Add CSS rules for hiding content based on manifest version * Organize other rules
* Display an indication when Anki field order/existence doesn't match (#1119)toasted-nutbread2020-12-18
|
* Updated welcome page (#1107)toasted-nutbread2020-12-13
| | | | | | | | | | | | | | | * Make storage controller optional * Make more elements optional * Update styles * Create new welcome page * Update URL for welcome guide * Remove old guide * Fix unused global
* Update style of legal.html to match settings v2 (#1092)toasted-nutbread2020-12-10
|
* Settings page v2 (#606)toasted-nutbread2020-12-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Initial setup of settings page v2 * Add security options * Add layout-aware scanning option * Fix style * Set up simple setting bindings * Convert colors to variables * Refactor, remove unused * Set up variables for some size values * Mark expandable entries with a pointer cursor * Add scroll top link * Update sidebar styles * Update icon button styles * Fix padding when settings are wrapped * Update shadow styles * Use animation timings * Add support for being able to open the sidebar on small-screen/mobile devices * Update styles and preview sidebar * Add ability to expand the preview sidebar * Scroll to initial target only after advanced setting is set * Fix rebase issues * Update z-index of modal * Use Modal for testing * Set up modal controller * Update button styles * Update modal design * Update styling of multi-part inputs * Fix button styles * Create SettingsDisplayController * Update scanning inputs * Use nested option * Update animation timings * Update modals to be display:none when not open * Update included scripts * Move modal link/input control to SettingsDisplayController * Simplify event handlers * Add audio sources options modal * Allow certain nodes to be selected on click * Implement top link * Add environment-specific display styles * Implement storage info * Update modal controller * Remove TODO * Remove unnecessary <br> * Add primary dictionary option under result grouping option * Simplify transform * Update styles for short inputs * Add toggleable status footer * Update modal styles * Fix more-toggle elements sometimes affecting wrong targets * Add selector-observer.js reference * Add support for dynamically-generated more-toggle elements * Rename result grouping modes and add descriptions * Update icon button style * Add a no-more-only class * Use absolute URLs * Add kebab-menu icon button * Update text styles * Add disabled styles * Update toggle styles to support default pointer when disabled * Update modal.js reference * Disable box shadow for disabled buttons * Add support for menus, use menus for audio source removal * Disable pointer events when a modal is closing * Update the escape key to close menus before closing modals * Add support for dictionary modals * Remove debug log * Remove redundant spinner * Update nested option visibility * Add support for import/export/reset * Update URL * Reorganize * Add comments * Fix toggle highlight not working * Add radio style * Fix dictionary separator line * Add mouse icon * Add support for an icon button container with input height * Update profile selects * Add support for editing profiles and profile conditions * Enable overflow scrolling for popup menus * Add support for input suffix buttons * Style updates * Implement Anki card controls * Improve dictionary information * Punctuation * Add support for Anki card templates * Add support for using the tab key * Add support for custom CSS modal * Add support for simple scanning inputs * Simplify * Don't exit modals/menus when pressing escape while an input is focused * Add checkbox styles * Set up advanced scanning inpugs * Reorganize * Add outer theme option * Add controller for nested popups * Update scannings inputs * Set up settings for touch/pen inputs * Add modal for input prevention * Update label styles * Options updates * Update duplicate scope options * Only show quality when format is JPEG * Add auto-scaling options * Update navigation options * Rearrange options * Fix icon * Add group for popup-size * Update styles for inputs * Update description * Update appearance of checkboxes, toggles, and radios * Add more advanced popup options * Add debug option * Add pitch accent display options * Update input fields * Add conjugation * Update guide link * Update and simplify primary/secondary dictionaries * Update link * Un-nest a setting * Update wordings * Use consistent styling for lists * Fix custom CSS modal fade affecting the layout * Fix z-index of the top link * Disable word wrap on some text * Disable highlight color * Update FAB positioning and sizing * Update button spacing * Remove preview frame controller code * Remove welcome.html * Update seconds units * Use all appearance styles * Add option for anki.checkForDuplicates * Rearrange options * Fix redundant margin assignment * Move scanning.enableOnSearchPage option such that it is not nested * Organize/update options
* Hide profile button if only one profile exists (#1045)toasted-nutbread2020-11-19
|
* Context popup improvements (#1039)toasted-nutbread2020-11-19
| | | | | | | | | | | | | | | | | | | | | * Refactor context-main.js * Simplify tags * Use flex layout * Use image masks for icons, update styles * Remove old classes * Add profile button * Add support for profile selection * Add title * Swap the options and search link order * Fix title
* Popup preview update (#994)toasted-nutbread2020-11-06
| | | | | | | | | * Add options.global.showPopupPreview option * Add preview visibility control using a checkbox * Add attribute on page load * Disable animation until page is loaded
* Pitch accents preview (#987)toasted-nutbread2020-11-03
| | | | | * Add public preparePitchAccents function to DisplayGenerator * Add pitch accents preview HTML, CSS, and JS
* Anki templates refactor (#970)toasted-nutbread2020-10-30
| | | | | * Support menus with multiple sources * Update anki templates controller
* Anki controller refactor (#954)toasted-nutbread2020-10-25
| | | | | | | | | * Simplify data transform for anki.enable setting * Refactor AnkiController * Implement marker link clicking * Request permissions for clipboard
* Profile controller refactor (#953)toasted-nutbread2020-10-24
| | | | | | | | | | | * Udpate selectors * Optional remove button * Add menu * Refactor ProfileController * Fix selector
* Popup preview fixes (#948)toasted-nutbread2020-10-20
| | | | | * Select just the text node and not its container * Make background color transparent by default
* Popup preview improvements (#947)toasted-nutbread2020-10-20
| | | | | | | | | | | | | * Move CSS * Update indent * Refactor HTML/CSS * Add support for editing the source text * Add WanaKana binding for input * Rename file
* Add simple scan input UI (#921)toasted-nutbread2020-10-14
| | | | | | | | | | | | | | | | | * Add simple scan input UI * Create helper function * Add controller for old scanning input UI * Add refresh functions * Add abstraction function * Fix incomplete middle mouse support detection * Make scanning inputs update eachother * Fix global declaration order
* Dictionary controller refactor (#912)toasted-nutbread2020-10-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Support multiple main dictionary selects * Update progress container * Change class name * Simplify dictionary info * Update outdated node visibility * Simplify node usage * Simplify title * Update classes * Update IDs/classes * Remove details container visibility assignment * Use a template for dictionary details * Fix progress bar visibility * Fix incorrect property * Rename dict-details to dictionary-details * Remove unused classes * Update class names for dictionary templates * Rename templates * More id renaming * Remove unused id * Rename more IDs
* Storage controller refactor (#905)toasted-nutbread2020-10-10
| | | | | | | | | | | | | | | | | | | | | | | | | * Use hidden instead of storage-hidden class * Refactor storage events * Make ID more generic * Update how persistent storage is activated * Add null checks * Update HTML/ID * Disallow disabling persistent storage * Refactoring * Update more IDs * Disable multiple simultaneous stats updates * Store node references * Move undefined assignment
* Dictionary controller refactor (#831)toasted-nutbread2020-09-15
| | | | | * Create new DictionaryController * Update input disabling when modifying the database
* More scanning options (#815)toasted-nutbread2020-09-12
| | | | | | | | | * Reorganize options * Add advanced options * Add a setting transform 'setRelativeAttribute' * Add advanced options to HTML/CSS
* Use a grid layout for scanning inputs (#814)toasted-nutbread2020-09-12
|
* Input type filters (#806)toasted-nutbread2020-09-11
| | | | | | | | | | | | | * Add options for scanning input types * Move buttons in layout, refactor CSS * Add options for input types * Use input type filters * Add _getMatchingInputGroupFromEvent * Use input filters for touch events
* Scanning input generalization (#789)toasted-nutbread2020-09-09
| | | | | | | | | | | | | | | | | | | | | | | | | * Add inputs to options.scanning * Update CSS for mouse buttons * Update list counters * Set up HTML/CSS * Add input controller * Use new inputs * Include mouse buttons * Update how button inputs are detected * Add index/empty fields to the input details object * Update none check for scanning modifier * Remove old settings * Remove unused global
* Mouse inputs (#783)toasted-nutbread2020-09-07
| | | | | | | | | | | | | | | * Add mouse icon * Add _updateModifiers * Add support for mouse button modifiers * Improve names of mouse inputs * Improve mouse input sorting * Rename getModifierKeyStrings to getModifierInputStrings * Refactor keyboard/mouse inputs into KeyboardMouseInputField
* Settings dictionary import refactor (#759)toasted-nutbread2020-09-04
| | | | | | | * Fix .purge not re-opening the database after deletion failure * Create DictionaryImportController * Remove backend dictionary import
* Json schema profile conditions (#758)toasted-nutbread2020-09-04
| | | | | | | | | | | | | | | * Add clearCache function * Add upgrade * Use schema-based profile condition validation * Update profile conditions settings controller * Remove unnecessary async * Remove old * Remove unused templates