mirror of
https://github.com/ankitects/anki.git
synced 2025-11-20 03:27:13 -05:00
* Move up MathjaxOverlay to be initialized only once
* Move ImageOverlay to NoteEditor root
* Move Symbols Overlay to NoteEditor root
* Refactor image overlay to not require second mutation observer
* Use elevation + overflow:hidden in Editorfield
* Make it possible to show input next to each other again
* Set handle background color to code bg
* Make Collapsible unmount the component
* Simplify how decorated elements are mounted
* Set RichTextInput background to frame-bg again
* Strip out FocusTrap code
* Revert "Make Collapsible unmount the component"
This reverts commit 52722065ea.
* Allow clicking on label container to unfocus field
* Fix mathjax overlay resetting too its api too soon
* Allow scrolling on overlays
* Set focus-border border-color in focused field
* Fix background color of fields
* Add back grid-gap
removed it during merge to see if margin-top would behave any differently - which is not the case.
* Fix double border issue within Collapsible.svelte
* Format
* Edit appearance of focused fields a bit
* Remove unused properties
* Include elevation in button_mixins_lib
* Give label-container a background color
Co-authored-by: Henrik Giesel <hengiesel@gmail.com>
110 lines
2 KiB
Text
110 lines
2 KiB
Text
load("@io_bazel_rules_sass//:defs.bzl", "sass_library")
|
|
load("//ts:compile_sass.bzl", "compile_sass")
|
|
|
|
sass_library(
|
|
name = "base_lib",
|
|
srcs = [
|
|
"base.scss",
|
|
"bootstrap-dark.scss",
|
|
],
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"vars_lib",
|
|
"//sass/bootstrap",
|
|
],
|
|
)
|
|
|
|
sass_library(
|
|
name = "vars_lib",
|
|
srcs = [
|
|
"_colors.scss",
|
|
"_functions.scss",
|
|
"_vars.scss",
|
|
],
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
sass_library(
|
|
name = "buttons_lib",
|
|
srcs = [
|
|
"buttons.scss",
|
|
],
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
sass_library(
|
|
name = "card_counts_lib",
|
|
srcs = [
|
|
"card-counts.scss",
|
|
],
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
# minimal definitions used by AnkiMobile's editor - should be safe to remove
|
|
# once AnkiMobile switches to the new editor code in the future
|
|
sass_library(
|
|
name = "core_lib",
|
|
srcs = [
|
|
"_vars.scss",
|
|
"core.scss",
|
|
],
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
sass_library(
|
|
name = "scrollbar_lib",
|
|
srcs = [
|
|
"scrollbar.scss",
|
|
],
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
sass_library(
|
|
name = "panes_lib",
|
|
srcs = [
|
|
"panes.scss",
|
|
],
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
sass_library(
|
|
name = "breakpoints_lib",
|
|
srcs = [
|
|
"breakpoints.scss",
|
|
],
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
sass_library(
|
|
name = "button_mixins_lib",
|
|
srcs = [
|
|
"_button-mixins.scss",
|
|
],
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"vars_lib",
|
|
"elevation_lib",
|
|
],
|
|
)
|
|
|
|
sass_library(
|
|
name = "night_mode_lib",
|
|
srcs = [
|
|
"night-mode.scss",
|
|
],
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
sass_library(
|
|
name = "elevation_lib",
|
|
srcs = [
|
|
"elevation.scss",
|
|
],
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
compile_sass(
|
|
srcs = ["_vars.scss"],
|
|
group = "vars_css",
|
|
visibility = ["//visibility:public"],
|
|
)
|