mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-14 18:42:30 +03:00
docs(examples): use RTLCSS for RTL examples
This commit is contained in:
@@ -16,11 +16,6 @@ body {
|
||||
background-size: 1em;
|
||||
}
|
||||
|
||||
[dir="rtl"] .bd-heading a::before {
|
||||
margin-right: 0;
|
||||
margin-left: .25rem;
|
||||
}
|
||||
|
||||
/* stylelint-disable-next-line selector-max-universal */
|
||||
.bd-heading + div > * + * {
|
||||
margin-top: 3rem;
|
||||
@@ -40,11 +35,6 @@ body {
|
||||
margin-left: -1rem;
|
||||
}
|
||||
|
||||
[dir="rtl"] .bd-aside a:not(:only-child) {
|
||||
margin-right: -1rem;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.bd-aside a:not(:only-child)::before {
|
||||
width: 1rem;
|
||||
line-height: 0;
|
||||
@@ -86,18 +76,6 @@ body {
|
||||
margin: 0 1rem 1rem 0;
|
||||
}
|
||||
|
||||
[dir="rtl"] [id="modal"] .bd-example .btn,
|
||||
[dir="rtl"] [id="buttons"] .bd-example .btn,
|
||||
[dir="rtl"] [id="tooltips"] .bd-example .btn,
|
||||
[dir="rtl"] [id="popovers"] .bd-example .btn,
|
||||
[dir="rtl"] [id="dropdowns"] .bd-example .btn-group,
|
||||
[dir="rtl"] [id="dropdowns"] .bd-example .dropdown,
|
||||
[dir="rtl"] [id="dropdowns"] .bd-example .dropup,
|
||||
[dir="rtl"] [id="dropdowns"] .bd-example .dropend,
|
||||
[dir="rtl"] [id="dropdowns"] .bd-example .dropstart {
|
||||
margin: 0 0 1rem 1rem;
|
||||
}
|
||||
|
||||
/* Layout */
|
||||
@media (min-width: 1200px) {
|
||||
body {
|
||||
@@ -110,8 +88,10 @@ body {
|
||||
.bd-header {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
/* rtl:begin:ignore */
|
||||
right: 0;
|
||||
left: 0;
|
||||
/* rtl:end:ignore */
|
||||
z-index: 1030;
|
||||
grid-column: 1 / span 3;
|
||||
min-height: 6rem;
|
||||
|
||||
Reference in New Issue
Block a user