53 lines
1.2 KiB
SCSS
53 lines
1.2 KiB
SCSS
$tooltip-padding-y: 0.45rem;
|
|
$tooltip-padding-x: 0.65rem;
|
|
$tooltip-max-width: 300px;
|
|
|
|
@use "vars";
|
|
@use "scrollbar";
|
|
|
|
@import "base";
|
|
@import "bootstrap/scss/containers";
|
|
@import "bootstrap/scss/grid";
|
|
@import "bootstrap/scss/dropdown";
|
|
@import "bootstrap/scss/forms";
|
|
@import "bootstrap/scss/buttons";
|
|
@import "bootstrap/scss/button-group";
|
|
@import "bootstrap/scss/transitions";
|
|
@import "bootstrap/scss/modal";
|
|
@import "bootstrap/scss/close";
|
|
@import "bootstrap/scss/alert";
|
|
@import "bootstrap/scss/tooltip";
|
|
@import "bootstrap/scss/badge";
|
|
|
|
.night-mode {
|
|
@include scrollbar.night-mode;
|
|
}
|
|
|
|
.form-control,
|
|
.form-select {
|
|
// the unprefixed version wasn't added until Chrome 81
|
|
-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;
|
|
}
|