anki/ts/deck-options/deck-options-base.scss

53 lines
1.3 KiB
SCSS
Raw Normal View History

$tooltip-padding-y: 0.45rem;
$tooltip-padding-x: 0.65rem;
$tooltip-max-width: 300px;
@use "sass/vars";
@use "sass/scrollbar";
@import "sass/base";
@import "sass/bootstrap/scss/containers";
@import "sass/bootstrap/scss/grid";
@import "sass/bootstrap/scss/dropdown";
@import "sass/bootstrap/scss/forms";
@import "sass/bootstrap/scss/buttons";
@import "sass/bootstrap/scss/button-group";
@import "sass/bootstrap/scss/transitions";
@import "sass/bootstrap/scss/modal";
@import "sass/bootstrap/scss/close";
@import "sass/bootstrap/scss/alert";
@import "sass/bootstrap/scss/tooltip";
@import "sass/bootstrap/scss/badge";
.night-mode {
@include scrollbar.night-mode;
}
2021-04-22 03:41:41 +02:00
2021-05-28 23:59:20 +02:00
.form-control,
.form-select {
2021-05-28 01:58:22 +02:00
// the unprefixed version wasn't added until Chrome 81
2021-04-22 03:41:41 +02:00
-webkit-appearance: none;
}
.tooltip-inner {
text-align: start;
// marked transpiles tooltips into multiple paragraphs
// where trailing <p>s cause a bottom margin
> p:last-child {
display: inline;
}
// the default code color in tooltips is difficult to read; we'll probably
// want to add more of our own styling in the future
code {
color: #ffaaaa;
direction: inherit;
}
}
textarea.form-control {
color: var(--text-fg);
background-color: var(--frame-bg) !important;
}