mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00

* Fix footer moving upwards
* Fix column detection
Was broken because escaped line breaks were not considered.
Also removes delimiter detection on `#columns:` line. User must use tabs
or set delimiter beforehand.
* Add CSV preview
* Parse `#tags column:`
* Optionally export deck and notetype with CSV
* Avoid clones in CSV export
* Prevent bottom of page appearing under footer (dae)
* Increase padding to 1em (dae)
With 0.5em, when a vertical scrollbar is shown, it sits right next to
the right edge of the content, making it look like there's no right
margin.
* Experimental changes to make table fit+scroll (dae)
- limit individual cells to 15em, and show ellipses when truncated
- limit total table width to body width, so that inner table is shown
with scrollbar
- use class rather than id - ids are bad practice in Svelte components,
as more than one may be displayed on a single page
* Skip importing foreign notes with filtered decks
Were implicitly imported into the default deck before.
Also some refactoring to fetch deck ids and names beforehand.
* Hide spacer below hidden field mapping
* Fix guid being replaced when updating note
* Fix dupe identity check
Canonify tags before checking if dupe is identical, but only add update
tags later if appropriate.
* Fix deck export for notes with missing card 1
* Fix note lines starting with `#`
csv crate doesn't support escaping a leading comment char. :(
* Support import/export of guids
* Strip HTML from preview rows
* Fix initially set deck if current is filtered
* Make isHtml toggle reactive
* Fix `html_to_text_line()` stripping sound names
* Tweak export option labels
* Switch to patched rust-csv fork
Fixes writing lines starting with `#`, so revert 5ece10ad05
.
* List column options with first column field
* Fix flag for exports with HTML stripped
32 lines
864 B
SCSS
32 lines
864 B
SCSS
@use "sass/vars";
|
|
@use "sass/bootstrap-dark";
|
|
|
|
@import "sass/base";
|
|
|
|
@import "sass/bootstrap/scss/alert";
|
|
@import "sass/bootstrap/scss/buttons";
|
|
@import "sass/bootstrap/scss/button-group";
|
|
@import "sass/bootstrap/scss/close";
|
|
@import "sass/bootstrap/scss/grid";
|
|
@import "sass/bootstrap-forms";
|
|
|
|
.night-mode {
|
|
@include bootstrap-dark.night-mode;
|
|
}
|
|
|
|
body {
|
|
width: min(100vw, 70em);
|
|
margin: 0 auto;
|
|
padding: 1em;
|
|
// pad out the underside of the footer
|
|
padding-bottom: 5em;
|
|
}
|
|
|
|
html {
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
// override the default down arrow colour in <select> elements
|
|
.night-mode select {
|
|
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23FFFFFF' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
|
|
}
|