2021-06-12 10:40:47 +02:00
|
|
|
$tooltip-padding-y: 0.45rem;
|
|
|
|
$tooltip-padding-x: 0.65rem;
|
|
|
|
$tooltip-max-width: 300px;
|
|
|
|
|
2021-10-09 02:25:03 +02:00
|
|
|
@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";
|
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
|
|
|
}
|