anki/ts/deck-options/deck-options-base.scss
Abdo e2e9e37a31
Fix some RTL issues in help modals (#2857)
* Fix RTL position of close button in help modals

* Fix position of active button's border

* Fix margin of modal's title

* Fix alignment of modal buttons' text

* Add missing translation
2023-12-01 15:07:44 +10:00

35 lines
810 B
SCSS

@import "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 "sass/bootstrap-forms";
@import "sass/bootstrap-tooltip";
input[type="text"] {
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;
}