2021-06-12 10:40:47 +02:00
|
|
|
$tooltip-padding-y: 0.45rem;
|
|
|
|
$tooltip-padding-x: 0.65rem;
|
|
|
|
$tooltip-max-width: 300px;
|
|
|
|
|
2021-05-18 18:55:22 +02:00
|
|
|
@use "ts/sass/vars";
|
2021-04-12 06:18:30 +02:00
|
|
|
@use "ts/sass/scrollbar";
|
|
|
|
|
2021-04-15 08:10:01 +02:00
|
|
|
@import "ts/sass/base";
|
2021-05-27 20:11:29 +02:00
|
|
|
@import "ts/sass/bootstrap/containers";
|
2021-05-27 21:35:55 +02:00
|
|
|
@import "ts/sass/bootstrap/grid";
|
2021-04-15 08:10:01 +02:00
|
|
|
@import "ts/sass/bootstrap/dropdown";
|
|
|
|
@import "ts/sass/bootstrap/forms";
|
|
|
|
@import "ts/sass/bootstrap/buttons";
|
|
|
|
@import "ts/sass/bootstrap/button-group";
|
2021-06-17 00:12:35 +02:00
|
|
|
@import "ts/sass/bootstrap/transitions";
|
2021-04-16 15:29:21 +02:00
|
|
|
@import "ts/sass/bootstrap/modal";
|
|
|
|
@import "ts/sass/bootstrap/close";
|
2021-04-17 14:53:47 +02:00
|
|
|
@import "ts/sass/bootstrap/alert";
|
2021-04-22 07:39:50 +02:00
|
|
|
@import "ts/sass/bootstrap/tooltip";
|
2021-05-27 22:01:14 +02:00
|
|
|
@import "ts/sass/bootstrap/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 {
|
|
|
|
text-align: left;
|
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-05-16 13:41:40 +02:00
|
|
|
}
|