Anki/ts/routes/base.scss
Abdo 6232d0aec8
Fix deck config input's background color regression (#3258)
* Fix deck config input's background color regression

* Move styles to base stylesheet
2024-06-28 18:52:51 +07:00

36 lines
855 B
SCSS

@import "$lib/sass/base";
// override Bootstrap transition duration
$carousel-transition: var(--transition);
@import "bootstrap/scss/buttons";
@import "bootstrap/scss/button-group";
@import "bootstrap/scss/transitions";
@import "bootstrap/scss/modal";
@import "bootstrap/scss/carousel";
@import "bootstrap/scss/close";
@import "bootstrap/scss/alert";
@import "bootstrap/scss/badge";
@import "$lib/sass/bootstrap-forms";
@import "$lib/sass/bootstrap-tooltip";
input[type="text"],
input[type="date"],
textarea {
padding-inline: 0.5rem;
background: var(--canvas-inset);
}
input {
color: var(--fg);
}
// Setting 100% height causes the sticky element to hide as you scroll down on Safari.
html {
height: initial;
}
[dir="rtl"] .modal-header .btn-close {
padding: 1rem 1rem !important;
margin: -1rem auto -1rem -1rem !important;
}