2021-06-12 10:40:47 +02:00
|
|
|
$tooltip-padding-y: 0.45rem;
|
|
|
|
$tooltip-padding-x: 0.65rem;
|
|
|
|
$tooltip-max-width: 300px;
|
|
|
|
|
2021-08-17 22:07:28 +02:00
|
|
|
@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";
|
2021-04-12 06:18:30 +02:00
|
|
|
|
|
|
|
.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;
|
|
|
|
}
|
2021-04-22 07:39:50 +02:00
|
|
|
|
2021-04-22 08:47:10 +02:00
|
|
|
.tooltip-inner {
|
2021-07-09 23:45:10 +02:00
|
|
|
text-align: start;
|
2021-06-04 07:27:27 +02:00
|
|
|
|
2021-06-12 00:32:07 +02:00
|
|
|
// marked transpiles tooltips into multiple paragraphs
|
|
|
|
// where trailing <p>s cause a bottom margin
|
|
|
|
> p:last-child {
|
|
|
|
display: inline;
|
2021-06-04 07:27:27 +02:00
|
|
|
}
|
2021-05-16 13:41:40 +02:00
|
|
|
|
2021-06-12 00:32:07 +02:00
|
|
|
// 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;
|
2021-07-09 23:45:10 +02:00
|
|
|
direction: inherit;
|
2021-06-12 00:32:07 +02:00
|
|
|
}
|
2021-05-16 13:41:40 +02:00
|
|
|
}
|
2021-06-24 06:38:10 +02:00
|
|
|
|
2021-06-24 09:59:30 +02:00
|
|
|
textarea.form-control {
|
2021-06-24 06:38:10 +02:00
|
|
|
color: var(--text-fg);
|
2021-06-24 09:59:30 +02:00
|
|
|
background-color: var(--frame-bg) !important;
|
2021-06-24 06:38:10 +02:00
|
|
|
}
|