88217c5e7d
* Implement a first version of WithFloating and Portal * Add outside slot for Portal * Execute computePosition from WithFloating * Set up a first example of new WithFloating with the Latex menu * Use autoUpdate in WithFloating * Create sveltelib/position * Add event-store * Use event-store in close-on-click * Implement subscribeToUpdates * Introduce sass/elevation * Split close-on-click to closing-click and subscribe-trigger * Have closing-* stores return a symbol - This way they act more of an EventEmitter than a store * Allow passing show store * Remove styling on float on updatePosition removal * Implement a nice border for dropdowns * Apply different border and box-shadow to Popover in dark/light theme * Fix Ctrl+Shift+T not working * Satisfy formatters and tests * Add copyright header * move copyright header to top (dae)
90 lines
1.6 KiB
Python
90 lines
1.6 KiB
Python
load("@io_bazel_rules_sass//:defs.bzl", "sass_library")
|
|
|
|
sass_library(
|
|
name = "base_lib",
|
|
srcs = [
|
|
"_fusion-vars.scss",
|
|
"_vars.scss",
|
|
"base.scss",
|
|
"bootstrap-dark.scss",
|
|
],
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"//sass/bootstrap",
|
|
],
|
|
)
|
|
|
|
sass_library(
|
|
name = "buttons_lib",
|
|
srcs = [
|
|
"_fusion-vars.scss",
|
|
"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 = "breakpoints_lib",
|
|
srcs = [
|
|
"breakpoints.scss",
|
|
],
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
sass_library(
|
|
name = "button_mixins_lib",
|
|
srcs = [
|
|
"_button-mixins.scss",
|
|
"_fusion-vars.scss",
|
|
],
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
sass_library(
|
|
name = "night_mode_lib",
|
|
srcs = [
|
|
"night-mode.scss",
|
|
],
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
sass_library(
|
|
name = "elevation_lib",
|
|
srcs = [
|
|
"elevation.scss",
|
|
],
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
exports_files(
|
|
["_vars.scss"],
|
|
visibility = ["//visibility:public"],
|
|
)
|