Damien Elmes
5f44bf503e
make _vars.scss public
2021-06-04 14:39:53 +10:00
Damien Elmes
d38f57cf3c
Merge pull request #1213 from RumovZ/new-flags
...
Add pink, turquoise and purple flags
2021-06-02 11:22:26 +10:00
RumovZ
9e43c91a62
Tweak flag colors
2021-06-01 18:14:54 +02:00
Damien Elmes
b26385420e
Merge pull request #1211 from hgiesel/bettercolor
...
Implement new text color / highlight color buttons
2021-06-01 17:55:57 +10:00
Damien Elmes
170a177c60
ensure changes to current field are saved before saving deck opts
...
https://forums.ankiweb.net/t/anki-2-1-45-alpha/10061/70
2021-06-01 15:54:07 +10:00
Damien Elmes
9a76565101
add options to sort reviews by deck
...
https://forums.ankiweb.net/t/is-studying-subdeck-by-subdeck-broken-in-2-1-44-mac/10458/2
2021-06-01 13:22:39 +10:00
RumovZ
9e56a4421b
Add violet, turquoise and purple flags
2021-05-31 12:03:30 +02:00
Henrik Giesel
ecc8fed5a9
Change default icon size of IconButtons
2021-05-31 00:31:10 +02:00
Henrik Giesel
d358d0eb1e
Remove rainbow SCSS
2021-05-31 00:20:41 +02:00
Henrik Giesel
973cd59b29
Make ColorPicker buttons halfwidth
2021-05-31 00:17:06 +02:00
Henrik Giesel
6d72e7bc49
Implement new ColorPicker
2021-05-30 22:58:40 +02:00
Henrik Giesel
93c0770cd0
Implement WithColorHelper.svelte
2021-05-30 21:44:05 +02:00
Henrik Giesel
dcdca0ac7a
Implement new way to way to display icons in IconButtons
...
* allows for multiple icons overlay
* allows to make individual icons smaller/bigger
2021-05-30 21:05:16 +02:00
Henrik Giesel
794f9db637
Add new color icons
2021-05-30 20:09:09 +02:00
Damien Elmes
7108d8615b
Merge pull request #1202 from hgiesel/nowrapdeckoptionstoolbar
...
Uniformly use properties to Button{Toolbar,Group} for setting button properties
2021-05-29 10:39:11 +10:00
Henrik Giesel
1caf7ada72
Add overflow-x: hidden for SelectButton
2021-05-28 21:33:34 +02:00
Damien Elmes
098acaf665
round to whole seconds
...
the steps are serialized as f32, and the resulting imprecision was
leading to decimal values
closes #1203
2021-05-28 19:34:25 +10:00
Damien Elmes
8ca1360f38
allow running test with 'bazel run jest'
2021-05-28 19:24:58 +10:00
Henrik Giesel
054f96b726
Uniformly use variables to Button{Toolbar,Group} for setting button properties
...
Instead of using WithTheming around ButtonToolbar/ButtonGroup
2021-05-27 17:13:36 +02:00
Damien Elmes
4a575dbe0a
hook up some missing translations in deck options screen
2021-05-26 14:41:18 +10:00
Damien Elmes
6a823e53a1
add option to clone current config
2021-05-26 13:20:24 +10:00
Damien Elmes
ce9e1c3370
roll back sass for now to quieten deprecation warnings
...
https://github.com/twbs/bootstrap/issues/34051
2021-05-26 10:20:34 +10:00
Damien Elmes
3489257f41
update ts deps
...
- prettier's formatting has changed, so files needed to be reformatted
- dart is spitting out deprecation warnings like:
254 │ 2: $spacer / 2,
│ ^^^^^^^^^^^
╵
bazel-out/darwin-fastbuild/bin/ts/sass/bootstrap/_variables.scss 254:6 @import
ts/sass/button_mixins.scss 2:9 @use
ts/components/ColorPicker.svelte 2:5 root stylesheet
DEPRECATION WARNING: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.
Recommendation: math.div($grid-gutter-width, 2)
2021-05-26 09:37:40 +10:00
Damien Elmes
87cfd51cfa
update rules_nodejs
2021-05-26 09:12:23 +10:00
Henrik Giesel
a819fa6abe
Satisfy svelte_check
2021-05-26 08:46:12 +10:00
Henrik Giesel
e21947956f
Fix TextInputModal preset value
2021-05-26 08:46:12 +10:00
Henrik Giesel
9e02d3a92c
Use TextInputModal directly from svelte component
...
* the only important thing is that it is not positioned within elements
with display: none
* I think we can treat the existence of the modal to be a kind of
"precondition" that has to be met for the component to be used
2021-05-26 08:46:12 +10:00
Henrik Giesel
a55ab8e03a
Inline some bootstrap-dark styling
2021-05-26 08:40:00 +10:00
Henrik Giesel
ba1abf0353
Use min-{width,height} for legacy buttons
2021-05-25 20:29:42 +02:00
Henrik Giesel
e7f9eaf1ce
Restructure legacy scss / remove button_mixin import
2021-05-25 13:57:09 +02:00
Henrik Giesel
5b6fbad5bb
Base width/height off on --toolbar-size for legacy buttons
2021-05-25 13:29:55 +02:00
Damien Elmes
4b011c40ff
Merge pull request #1190 from kleinerpirat/main
...
Make legacy buttons look and feel like Svelte buttons
2021-05-25 14:20:47 +10:00
Henrik Giesel
1647538d63
Fix background on DropdownItem + make transitions on buttons quicker
2021-05-24 19:53:30 +02:00
Matthias M
3d50972489
Restrict inversion to images
2021-05-24 19:46:51 +02:00
Matthias M
3ecc7add82
Adjust active:hover behaviour
...
so it behaves like Svelte buttons, when clicking and dragging the mouse away from the button.
2021-05-24 13:11:50 +02:00
Matthias M
ee1fbf2a8f
Use !important instead of :not() selector
...
!important cannot be used with the radius mixin, so I had to state them explicitly.
2021-05-24 11:21:42 +02:00
Damien Elmes
c29c883e7c
mention new limit bound by reviews in tooltip
2021-05-24 19:04:00 +10:00
Matthias M
afd6e47799
Merge branch 'ankitects:main' into main
2021-05-24 10:59:02 +02:00
Matthias M
af75129974
Revert changes, add exceptions
...
to keep the PR changes as contained as possible without the use of !important.
2021-05-24 10:37:43 +02:00
Damien Elmes
822a360b40
round floats before comparing against default values
...
tabbing through the Advanced section was marking things like
'easy bonus' as modified
2021-05-24 18:26:01 +10:00
Damien Elmes
267e287c30
hard-code code color, as the tooltip background is always dark
2021-05-24 18:25:19 +10:00
Damien Elmes
5f8e895f3e
move v3 options into separate section; more description/section tweaks
2021-05-24 18:25:17 +10:00
Damien Elmes
120659fc22
Merge pull request #1183 from hgiesel/keykey
...
Switch to event.key for keyboard sequences
2021-05-24 10:53:24 +10:00
Matthias M
066eb57283
Remove background-color transition from .button
...
but keep color, border-color and box-shadow transition as it is.
2021-05-23 19:41:45 +02:00
Matthias M
a2980e04b0
Remove CSS variable button-bg again
...
The variable is not as useful as I thought, since night mode uses a gradient anyway (and day mode is simply white).
2021-05-23 19:39:57 +02:00
Matthias M
84670cc1c2
Exclude dropdown items from night mode style
...
Makes dropdown menu look cleaner.
:not() selector did not work because the color selector button would be affected for some reason.
2021-05-23 15:58:22 +02:00
Matthias M
6cefa0f1bf
Remove transition from .linkb to fix blinking
2021-05-23 15:55:22 +02:00
Matthias M
98788ca52e
Merge branch 'ankitects:main' into main
2021-05-23 01:45:42 +02:00
Matthias M
0063dcb3c8
Add CSS variable --button-bg
...
might be useful for add-on developers.
2021-05-23 01:18:00 +02:00
Matthias M
c612c41023
Make legacy buttons look like Svelte buttons
...
with extra night mode handling.
2021-05-23 00:50:02 +02:00