Henrik Giesel
74ffc2a4cd
Have a "default" highlight, but naturally follow focus if focus is in container
2020-10-05 22:54:23 +02:00
Henrik Giesel
0b434e484b
Give the focus on .focus element a red tint
2020-10-05 22:39:16 +02:00
Henrik Giesel
a08d83deda
Add focus class which mimics built-in focus
2020-10-05 22:18:46 +02:00
Damien Elmes
0564d4cf86
use css vars for graph styling as well; base webview.scss off core.scss
2020-09-01 10:24:38 +10:00
Damien Elmes
21616f67bf
most of the .nightMode redefinitions are no longer required
2020-09-01 10:24:38 +10:00
Damien Elmes
2d26280dab
migrate the majority of the sass vars to css variables
...
Allows add-ons to easily override the theme, and allows us to apply
styling to elements outside of the normal document flow (like applying
the normal background colour to a position: fixed element).
2020-09-01 10:24:38 +10:00
Damien Elmes
ab32623dde
move _vars to outer ts folder
...
First step in sharing styling with graphs + future .html files
2020-09-01 10:24:38 +10:00
Damien Elmes
97869d0f57
fix scrollbars on fields on Windows/Linux
2020-07-02 09:51:50 +10:00
Damien Elmes
6db954fbbe
don't allow table inside field to extend outside of field
...
https://anki.tenderapp.com/discussions/private/4498-adjust-textbox-geometry-in-add-note-window
2020-07-01 12:13:04 +10:00
Damien Elmes
4d7e23111e
change sync label to indicate sync state
...
- blue for normal sync, red for full sync required
- refactor status fetching code so we don't hold a collection lock
during the network request, which slows things down
- fix sync spinner restarting when returning to deck list
2020-06-02 13:23:01 +10:00
Simone Gaiarin
5410d27aaa
Fix editor buttons not highlighted
...
The selector 'button.linkb' takes precedence on '.highlighted' because
it is more specific, so that '.highlighted' is never applied.
2020-04-14 19:04:03 +02:00
evandrocoan
43f512992d
Added box-sizing: border-box; to typeans by default
...
https://anki.tenderapp.com/discussions/beta-testing/1854-using-margin-auto-causes-horizontal-scrollbar-on-typesomething
2020-03-18 20:31:11 -03:00
Damien Elmes
c2e14e6c98
fix dupe colour in day mode
2020-03-15 12:20:29 +10:00
Damien Elmes
50516a3074
fix missing zero count styling, and tweak colours
2020-03-12 20:01:25 +10:00
Damien Elmes
62aa3031b5
fix invert() in packaged builds
...
invert() was working in the QT 5.14 test environment, but failing
in 5.13
2020-03-06 18:02:22 +10:00
Damien Elmes
364f4152a8
change default night mode card background to dark grey
2020-02-25 15:43:56 +10:00
Damien Elmes
d7e4d10184
constant sync spin speed
2020-02-17 08:40:16 +10:00
Damien Elmes
cb0ce4146f
show spinner when media sync active, click to reveal dialog
2020-02-17 08:40:16 +10:00
Damien Elmes
d0284f759d
fix odd outline in replay button, and center align
...
https://anki.tenderapp.com/discussions/beta-testing/1708-anki-2120-beta#comment_48079637
2020-02-12 09:18:32 +10:00
Damien Elmes
4b0873cc9a
constrain editor and reviewer image width to container width
...
view height still makes more sense in the reviewing screen so images
are relative to the window instead of the document
2020-02-12 08:33:55 +10:00
Damien Elmes
ddebf5741d
ensure the inverted images don't appear over toolbar
2020-02-09 09:30:37 +10:00
Damien Elmes
20c51555a1
support AnkiMobile's drawings in night mode
2020-02-09 09:20:08 +10:00
Damien Elmes
5b01f0dad1
more legible graph colours in night mode
2020-02-07 13:21:46 +10:00
Damien Elmes
3c48cbff6f
more contrast on buttons and scrollbars
2020-02-02 12:53:35 +10:00
Damien Elmes
dd9812c7ed
match fusion bars to webview bars, bump size again
2020-02-02 12:25:07 +10:00
Damien Elmes
8b68512e0e
when dark mode not active, match fusion buttons
2020-01-31 13:39:52 +10:00
Damien Elmes
c42e118339
use night mode when dark mode active, using standard macOS theme
2020-01-31 13:15:08 +10:00
Damien Elmes
32b279f750
make link/filtered deck colour in night mode more blue
2020-01-31 07:38:14 +10:00
Damien Elmes
396f583e2a
disable elastic scrolling to work around Qt's buggy behaviour on macOS
2020-01-31 07:12:27 +10:00
Damien Elmes
fb696f3e3b
use SVG for the play icon, and reduce the default size to 40px
2020-01-28 10:11:29 +10:00
Damien Elmes
cb7a483d32
mac top toolbar looks better with a slightly whiter border
2020-01-27 17:02:40 +10:00
Damien Elmes
46733e8cd7
remove the extra margin in the editing area so everything lines up
2020-01-26 18:26:03 +10:00
Damien Elmes
d7d4fcb178
use a darker rather than lighter border in night mode
2020-01-26 18:16:21 +10:00
Damien Elmes
0480879c11
slightly lighter, larger night mode scrollbar
2020-01-26 10:39:53 +10:00
Damien Elmes
e4bbba4ec1
fix webview button alignment on Linux
...
caused by the height: specification inside webview.py
2020-01-26 10:18:24 +10:00
Damien Elmes
d428b3b4c0
Merge pull request #429 from zjosua/latex-nightmode
...
Invert LaTeX in night mode
2020-01-24 17:37:12 +10:00
zjosua
1450d1ca07
Invert LaTeX in night mode
2020-01-24 08:23:27 +01:00
Damien Elmes
cc648195e4
night mode scrollbars in webviews
2020-01-24 07:41:39 +10:00
Damien Elmes
73a5233f92
fix link colour
2020-01-24 07:17:24 +10:00
Damien Elmes
3ecc572103
fix filtered deck colour
2020-01-24 07:17:20 +10:00
Damien Elmes
9804105928
fix white background in day mode
2020-01-23 18:36:42 +10:00
Damien Elmes
4a25853c57
fix inconsistently sized buttons and add platform classes
2020-01-23 18:05:55 +10:00
Damien Elmes
3acf926fb0
better dupe color
2020-01-23 18:01:29 +10:00
Damien Elmes
7dcbc7efec
basic night mode support
...
Forces the Fusion theme when running night mode, so we don't need
to work around platform themes that don't respond to the defined
palette.
Feedback/suggestions on the chosen colours welcome - _vars.scss is the
file to change if you want to experiment with adjustments.
2020-01-23 17:27:07 +10:00
Damien Elmes
44f2f16546
move css files to scss
2020-01-23 17:27:07 +10:00