Henrik Giesel
7b01dd1719
Remove use of bootstrap-dark.night-mode for deckoptions
...
The CSS for the Switch component had a conflict regarding background color
Also generally it makes sense to put the CSS into the components
2021-06-21 21:16:40 +02:00
Damien Elmes
f695fac40b
remove explicit line-height
...
It was causing text in dropdowns to be slightly truncated
(eg "Tag Only")
2021-06-21 17:02:48 +02:00
Henrik Giesel
00fb0e7395
Add g-1 class to DeckoptionsPage. Include transitions.scss
...
* Modal misbehaved before
2021-06-21 17:02:48 +02:00
Henrik Giesel
e131f23037
Increase padding on tooltips + Remove erroneous closing angle bracket
2021-06-21 17:02:48 +02:00
Henrik Giesel
827ca7efe5
Alternative solution to markdown tooltips creating bottom margin
2021-06-21 17:02:48 +02:00
Henrik Giesel
4e11cade23
Factor RevertButton out of components
2021-06-21 17:01:44 +02:00
Henrik Giesel
a07dc2bd7a
Change margin and gutters off rows
2021-06-21 17:01:44 +02:00
Henrik Giesel
2ddc22f6c2
Turn icons into Bootstrap badges in deckoptions
2021-06-21 17:01:44 +02:00
Henrik Giesel
588faf5f50
Start using Bootstrap grid for deckoptions
2021-06-21 17:01:44 +02:00
Henrik Giesel
cb14011410
Use Bootstrap containers instead of CSS in base for deckoptions
2021-06-21 17:01:44 +02:00
Henrik Giesel
43b5ba42ba
Add container scss to deckoptions-base
2021-06-21 17:01:44 +02:00
Damien Elmes
e03cb50915
tooltip styling fix
...
Thanks Matthias!
https://forums.ankiweb.net/t/anki-2-1-45-alpha/10061/88
2021-06-04 15:27:27 +10:00
Damien Elmes
267e287c30
hard-code code color, as the tooltip background is always dark
2021-05-24 18:25:19 +10:00
Henrik Giesel
abf1418695
Switch to keyboard shortcuts based on event.key
2021-05-20 18:28:59 +02:00
Damien Elmes
2ecd91eeb2
fix invisible dropdown arrow in night mode; use bootstrap styling in top
2021-05-20 12:43:47 +10:00
Damien Elmes
818fe75721
simplify previous patch
...
The default 1 rem is fine, but we need to apply the default font size
to the html element instead of the body for the definition of rem to
update.
Fixes #1174
2021-05-19 19:06:20 +10:00
Damien Elmes
45edc42959
fix inconsistent font sizes
...
fixes #1174
2021-05-19 19:00:09 +10:00
Henrik Giesel
a602561612
Make SaveButton functional
2021-05-18 18:55:22 +02:00
Damien Elmes
a345ba1347
support markdown in JS tooltips
...
`marked` adds about 44k to the bundle size unfortunately :-(
2021-05-16 21:43:58 +10:00
Damien Elmes
fdb814cbcd
deckconfig->deckoptions
2021-04-25 19:02:30 +10:00