ab6a68ec49
* Refactor out Placeholder from CardInfo.svelte * Add breakpoint parameter for Container - Use `Container` component inside `TitledContainer` * Build Item into Row - Use Row in DeckOptionsPage instead of just Item * Reengineer Container/Row/Col CSS * Inline Badges next to Labels when Lable spans multiple rows * Adjust margins for mobile * Implement Col component breakpoints * Move card-info to use new Container and Row components * Join StickyHeader and StickyFooter to StickyContainer * Remove default middle vertical-alignment for Badges again * Satisfy tests * Restore inline gutters in change-notetype Mapper * Add some comment to Col and Container * Fix breaking behavior in DeckOptionsPage when multi-column * Add back toolbar left padding to counter-act buttongroup right margins * Make Label in SwitchRow take more of available space
83 lines
1.5 KiB
Python
83 lines
1.5 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/codemirror",
|
|
],
|
|
)
|
|
|
|
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"],
|
|
)
|
|
|
|
exports_files(
|
|
["_vars.scss"],
|
|
visibility = ["//visibility:public"],
|
|
)
|