diff options
author | XhmikosR <xhmikosr@gmail.com> | 2021-02-10 19:14:51 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-10 19:14:51 +0300 |
commit | e50c11b8c6434b6d68ea5897771e4d35fe12f5c3 (patch) | |
tree | bb52939845662ce21d01c370092a12fbb0875fb4 /dist/css/bootstrap.rtl.css | |
parent | 2bb42a9176e7ea361aa1ab0050da5be6a5cb56ea (diff) |
Release v5.0.0-beta2 (#32467)v5.0.0-beta2
* Bump version to 5.0.0-beta2
* Dist
Diffstat (limited to 'dist/css/bootstrap.rtl.css')
-rw-r--r-- | dist/css/bootstrap.rtl.css | 211 |
1 files changed, 109 insertions, 102 deletions
diff --git a/dist/css/bootstrap.rtl.css b/dist/css/bootstrap.rtl.css index ae48234474..f30e3351f0 100644 --- a/dist/css/bootstrap.rtl.css +++ b/dist/css/bootstrap.rtl.css @@ -1,8 +1,8 @@ @charset "UTF-8"; /*! - * Bootstrap v5.0.0-beta1 (https://getbootstrap.com/) - * Copyright 2011-2020 The Bootstrap Authors - * Copyright 2011-2020 Twitter, Inc. + * Bootstrap v5.0.0-beta2 (https://getbootstrap.com/) + * Copyright 2011-2021 The Bootstrap Authors + * Copyright 2011-2021 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) */ :root { @@ -309,9 +309,8 @@ button { border-radius: 0; } -button:focus { - outline: dotted 1px; - outline: -webkit-focus-ring-color auto 5px; +button:focus:not(:focus-visible) { + outline: 0; } input, @@ -1937,8 +1936,8 @@ progress { .table > :not(caption) > * > * { padding: 0.5rem 0.5rem; background-color: var(--bs-table-bg); - background-image: linear-gradient(var(--bs-table-accent-bg), var(--bs-table-accent-bg)); border-bottom-width: 1px; + box-shadow: inset 0 0 0 9999px var(--bs-table-accent-bg); } .table > tbody { vertical-align: inherit; @@ -2332,12 +2331,11 @@ textarea.form-control-lg { .form-select { display: block; width: 100%; - padding: 0.375rem 0.75rem 0.375rem 1.75rem; + padding: 0.375rem 0.75rem 0.375rem 2.25rem; font-size: 1rem; font-weight: 400; line-height: 1.5; color: #212529; - vertical-align: middle; background-color: #fff; background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e"); background-repeat: no-repeat; @@ -2407,12 +2405,6 @@ textarea.form-control-lg { appearance: none; -webkit-print-color-adjust: exact; color-adjust: exact; - transition: background-color 0.15s ease-in-out, background-position 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; -} -@media (prefers-reduced-motion: reduce) { - .form-check-input { - transition: none; - } } .form-check-input[type=checkbox] { border-radius: 0.25em; @@ -2461,6 +2453,12 @@ textarea.form-control-lg { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e"); background-position: right center; border-radius: 2em; + transition: background-position 0.15s ease-in-out; +} +@media (prefers-reduced-motion: reduce) { + .form-switch .form-check-input { + transition: none; + } } .form-switch .form-check-input:focus { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%2386b7fe'/%3e%3c/svg%3e"); @@ -2496,7 +2494,7 @@ textarea.form-control-lg { appearance: none; } .form-range:focus { - outline: none; + outline: 0; } .form-range:focus::-webkit-slider-thumb { box-shadow: 0 0 0 1px #fff, 0 0 0 0.25rem rgba(13, 110, 253, 0.25); @@ -2701,7 +2699,7 @@ textarea.form-control-lg { .input-group-lg > .form-select, .input-group-sm > .form-select { - padding-left: 1.75rem; + padding-left: 3rem; } .input-group:not(.has-validation) > :not(:last-child):not(.dropdown-toggle):not(.dropdown-menu), @@ -2769,9 +2767,9 @@ textarea.form-control-lg { .was-validated .form-select:valid, .form-select.is-valid { border-color: #198754; - padding-left: calc(0.75em + 2.3125rem); + padding-left: 4.125rem; background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e"), url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e"); - background-position: left 0.75rem center, center left 1.75rem; + background-position: left 0.75rem center, center left 2.25rem; background-size: 16px 12px, calc(0.75em + 0.375rem) calc(0.75em + 0.375rem); } .was-validated .form-select:valid:focus, .form-select.is-valid:focus { @@ -2845,9 +2843,9 @@ textarea.form-control-lg { .was-validated .form-select:invalid, .form-select.is-invalid { border-color: #dc3545; - padding-left: calc(0.75em + 2.3125rem); + padding-left: 4.125rem; background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e"), url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e"); - background-position: left 0.75rem center, center left 1.75rem; + background-position: left 0.75rem center, center left 2.25rem; background-size: 16px 12px, calc(0.75em + 0.375rem) calc(0.75em + 0.375rem); } .was-validated .form-select:invalid:focus, .form-select.is-invalid:focus { @@ -3426,12 +3424,11 @@ textarea.form-control-lg { .dropdown-menu { position: absolute; top: 100%; - right: 0; z-index: 1000; display: none; min-width: 10rem; padding: 0.5rem 0; - margin: 0.125rem 0 0; + margin: 0; font-size: 1rem; color: #212529; text-align: right; @@ -3441,18 +3438,23 @@ textarea.form-control-lg { border: 1px solid rgba(0, 0, 0, 0.15); border-radius: 0.25rem; } -.dropdown-menu[style] { - left: auto !important; +.dropdown-menu[data-bs-popper] { + right: 0; + margin-top: 0.125rem; } .dropdown-menu-start { --bs-position: start; +} +.dropdown-menu-start[data-bs-popper] { right: auto ; left: 0 ; } .dropdown-menu-end { --bs-position: end; +} +.dropdown-menu-end[data-bs-popper] { right: 0 ; left: auto ; } @@ -3460,12 +3462,16 @@ textarea.form-control-lg { @media (min-width: 576px) { .dropdown-menu-sm-start { --bs-position: start; + } + .dropdown-menu-sm-start[data-bs-popper] { right: auto ; left: 0 ; } .dropdown-menu-sm-end { --bs-position: end; + } + .dropdown-menu-sm-end[data-bs-popper] { right: 0 ; left: auto ; } @@ -3473,12 +3479,16 @@ textarea.form-control-lg { @media (min-width: 768px) { .dropdown-menu-md-start { --bs-position: start; + } + .dropdown-menu-md-start[data-bs-popper] { right: auto ; left: 0 ; } .dropdown-menu-md-end { --bs-position: end; + } + .dropdown-menu-md-end[data-bs-popper] { right: 0 ; left: auto ; } @@ -3486,12 +3496,16 @@ textarea.form-control-lg { @media (min-width: 992px) { .dropdown-menu-lg-start { --bs-position: start; + } + .dropdown-menu-lg-start[data-bs-popper] { right: auto ; left: 0 ; } .dropdown-menu-lg-end { --bs-position: end; + } + .dropdown-menu-lg-end[data-bs-popper] { right: 0 ; left: auto ; } @@ -3499,12 +3513,16 @@ textarea.form-control-lg { @media (min-width: 1200px) { .dropdown-menu-xl-start { --bs-position: start; + } + .dropdown-menu-xl-start[data-bs-popper] { right: auto ; left: 0 ; } .dropdown-menu-xl-end { --bs-position: end; + } + .dropdown-menu-xl-end[data-bs-popper] { right: 0 ; left: auto ; } @@ -3512,12 +3530,16 @@ textarea.form-control-lg { @media (min-width: 1400px) { .dropdown-menu-xxl-start { --bs-position: start; + } + .dropdown-menu-xxl-start[data-bs-popper] { right: auto ; left: 0 ; } .dropdown-menu-xxl-end { --bs-position: end; + } + .dropdown-menu-xxl-end[data-bs-popper] { right: 0 ; left: auto ; } @@ -3525,6 +3547,8 @@ textarea.form-control-lg { .dropup .dropdown-menu { top: auto; bottom: 100%; +} +.dropup .dropdown-menu[data-bs-popper] { margin-top: 0; margin-bottom: 0.125rem; } @@ -3546,6 +3570,8 @@ textarea.form-control-lg { top: 0; left: auto; right: 100%; +} +.dropend .dropdown-menu[data-bs-popper] { margin-top: 0; margin-right: 0.125rem; } @@ -3570,6 +3596,8 @@ textarea.form-control-lg { top: 0; left: 100%; right: auto; +} +.dropstart .dropdown-menu[data-bs-popper] { margin-top: 0; margin-left: 0.125rem; } @@ -3620,7 +3648,7 @@ textarea.form-control-lg { } .dropdown-item:hover, .dropdown-item:focus { color: #1e2125; - background-color: #f8f9fa; + background-color: #e9ecef; } .dropdown-item.active, .dropdown-item:active { color: #fff; @@ -3628,7 +3656,7 @@ textarea.form-control-lg { background-color: #0d6efd; } .dropdown-item.disabled, .dropdown-item:disabled { - color: #6c757d; + color: #adb5bd; pointer-events: none; background-color: transparent; } @@ -3807,12 +3835,14 @@ textarea.form-control-lg { } .nav-tabs .nav-link { margin-bottom: -1px; + background: none; border: 1px solid transparent; border-top-right-radius: 0.25rem; border-top-left-radius: 0.25rem; } .nav-tabs .nav-link:hover, .nav-tabs .nav-link:focus { border-color: #e9ecef #e9ecef #dee2e6; + isolation: isolate; } .nav-tabs .nav-link.disabled { color: #6c757d; @@ -3832,6 +3862,8 @@ textarea.form-control-lg { } .nav-pills .nav-link { + background: none; + border: 0; border-radius: 0.25rem; } .nav-pills .nav-link.active, @@ -3910,8 +3942,9 @@ textarea.form-control-lg { } .navbar-collapse { + flex-basis: 100%; + flex-grow: 1; align-items: center; - width: 100%; } .navbar-toggler { @@ -3947,6 +3980,11 @@ textarea.form-control-lg { background-size: 100%; } +.navbar-nav-scroll { + max-height: var(--bs-scroll-height, 75vh); + overflow-y: auto; +} + @media (min-width: 576px) { .navbar-expand-sm { flex-wrap: nowrap; @@ -3962,8 +4000,12 @@ textarea.form-control-lg { padding-left: 0.5rem; padding-right: 0.5rem; } + .navbar-expand-sm .navbar-nav-scroll { + overflow: visible; + } .navbar-expand-sm .navbar-collapse { display: flex !important; + flex-basis: auto; } .navbar-expand-sm .navbar-toggler { display: none; @@ -3984,8 +4026,12 @@ textarea.form-control-lg { padding-left: 0.5rem; padding-right: 0.5rem; } + .navbar-expand-md .navbar-nav-scroll { + overflow: visible; + } .navbar-expand-md .navbar-collapse { display: flex !important; + flex-basis: auto; } .navbar-expand-md .navbar-toggler { display: none; @@ -4006,8 +4052,12 @@ textarea.form-control-lg { padding-left: 0.5rem; padding-right: 0.5rem; } + .navbar-expand-lg .navbar-nav-scroll { + overflow: visible; + } .navbar-expand-lg .navbar-collapse { display: flex !important; + flex-basis: auto; } .navbar-expand-lg .navbar-toggler { display: none; @@ -4028,8 +4078,12 @@ textarea.form-control-lg { padding-left: 0.5rem; padding-right: 0.5rem; } + .navbar-expand-xl .navbar-nav-scroll { + overflow: visible; + } .navbar-expand-xl .navbar-collapse { display: flex !important; + flex-basis: auto; } .navbar-expand-xl .navbar-toggler { display: none; @@ -4050,8 +4104,12 @@ textarea.form-control-lg { padding-left: 0.5rem; padding-right: 0.5rem; } + .navbar-expand-xxl .navbar-nav-scroll { + overflow: visible; + } .navbar-expand-xxl .navbar-collapse { display: flex !important; + flex-basis: auto; } .navbar-expand-xxl .navbar-toggler { display: none; @@ -4071,8 +4129,12 @@ textarea.form-control-lg { padding-left: 0.5rem; padding-right: 0.5rem; } +.navbar-expand .navbar-nav-scroll { + overflow: visible; +} .navbar-expand .navbar-collapse { display: flex !important; + flex-basis: auto; } .navbar-expand .navbar-toggler { display: none; @@ -4316,6 +4378,7 @@ textarea.form-control-lg { padding: 1rem 1.25rem; font-size: 1rem; color: #212529; + text-align: right; background-color: transparent; border: 1px solid rgba(0, 0, 0, 0.125); border-radius: 0; @@ -5035,7 +5098,7 @@ textarea.form-control-lg { opacity: 0.75; } .btn-close:focus { - outline: none; + outline: 0; box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25); opacity: 1; } @@ -5098,6 +5161,7 @@ textarea.form-control-lg { .toast-body { padding: 0.75rem; + word-wrap: break-word; } .modal-open { @@ -5530,7 +5594,6 @@ textarea.form-control-lg { display: block; width: 1rem; height: 0.5rem; - margin: 0 0.3rem; } .popover .popover-arrow::before, .popover .popover-arrow::after { position: absolute; @@ -5540,9 +5603,6 @@ textarea.form-control-lg { border-style: solid; } -.bs-popover-top, .bs-popover-auto[data-popper-placement^=top] { - margin-bottom: 0.5rem !important; -} .bs-popover-top > .popover-arrow, .bs-popover-auto[data-popper-placement^=top] > .popover-arrow { bottom: calc(-0.5rem - 1px); } @@ -5557,14 +5617,10 @@ textarea.form-control-lg { border-top-color: #fff; } -.bs-popover-end, .bs-popover-auto[data-popper-placement^=right] { - margin-right: 0.5rem !important; -} .bs-popover-end > .popover-arrow, .bs-popover-auto[data-popper-placement^=right] > .popover-arrow { right: calc(-0.5rem - 1px); width: 0.5rem; height: 1rem; - margin: 0.3rem 0; } .bs-popover-end > .popover-arrow::before, .bs-popover-auto[data-popper-placement^=right] > .popover-arrow::before { right: 0; @@ -5577,9 +5633,6 @@ textarea.form-control-lg { border-left-color: #fff; } -.bs-popover-bottom, .bs-popover-auto[data-popper-placement^=bottom] { - margin-top: 0.5rem !important; -} .bs-popover-bottom > .popover-arrow, .bs-popover-auto[data-popper-placement^=bottom] > .popover-arrow { top: calc(-0.5rem - 1px); } @@ -5604,14 +5657,10 @@ textarea.form-control-lg { border-bottom: 1px solid #f0f0f0; } -.bs-popover-start, .bs-popover-auto[data-popper-placement^=left] { - margin-left: 0.5rem !important; -} .bs-popover-start > .popover-arrow, .bs-popover-auto[data-popper-placement^=left] > .popover-arrow { left: calc(-0.5rem - 1px); width: 0.5rem; height: 1rem; - margin: 0.3rem 0; } .bs-popover-start > .popover-arrow::before, .bs-popover-auto[data-popper-placement^=left] > .popover-arrow::before { left: 0; @@ -5725,8 +5774,11 @@ textarea.form-control-lg { align-items: center; justify-content: center; width: 15%; + padding: 0; color: #fff; text-align: center; + background: none; + border: 0; opacity: 0.5; transition: opacity 0.15s ease; } @@ -5778,29 +5830,32 @@ textarea.form-control-lg { z-index: 2; display: flex; justify-content: center; - padding-right: 0; + padding: 0; margin-left: 15%; + margin-bottom: 1rem; margin-right: 15%; list-style: none; } -.carousel-indicators li { +.carousel-indicators [data-bs-target] { box-sizing: content-box; flex: 0 1 auto; width: 30px; height: 3px; + padding: 0; margin-left: 3px; margin-right: 3px; text-indent: -999px; cursor: pointer; background-color: #fff; background-clip: padding-box; + border: 0; border-top: 10px solid transparent; border-bottom: 10px solid transparent; opacity: 0.5; transition: opacity 0.6s ease; } @media (prefers-reduced-motion: reduce) { - .carousel-indicators li { + .carousel-indicators [data-bs-target] { transition: none; } } @@ -5823,7 +5878,7 @@ textarea.form-control-lg { .carousel-dark .carousel-control-prev-icon { filter: invert(1) grayscale(100); } -.carousel-dark .carousel-indicators li { +.carousel-dark .carousel-indicators [data-bs-target] { background-color: #000; } .carousel-dark .carousel-caption { @@ -5970,7 +6025,7 @@ textarea.form-control-lg { } .ratio::before { display: block; - padding-top: var(--aspect-ratio); + padding-top: var(--bs-aspect-ratio); content: ""; } .ratio > * { @@ -5982,19 +6037,19 @@ textarea.form-control-lg { } .ratio-1x1 { - --aspect-ratio: 100%; + --bs-aspect-ratio: 100%; } .ratio-4x3 { - --aspect-ratio: calc(3 / 4 * 100%); + --bs-aspect-ratio: calc(3 / 4 * 100%); } .ratio-16x9 { - --aspect-ratio: calc(9 / 16 * 100%); + --bs-aspect-ratio: calc(9 / 16 * 100%); } .ratio-21x9 { - --aspect-ratio: calc(9 / 21 * 100%); + --bs-aspect-ratio: calc(9 / 21 * 100%); } .fixed-top { @@ -6061,7 +6116,7 @@ textarea.form-control-lg { } } .visually-hidden, -.visually-hidden-focusable:not(:focus) { +.visually-hidden-focusable:not(:focus):not(:focus-within) { position: absolute !important; width: 1px !important; height: 1px !important; @@ -10600,54 +10655,6 @@ textarea.form-control-lg { .fs-4 { font-size: 1.5rem !important; } - - .fs-sm-1 { - font-size: 2.5rem !important; - } - - .fs-sm-2 { - font-size: 2rem !important; - } - - .fs-sm-3 { - font-size: 1.75rem !important; - } - - .fs-sm-4 { - font-size: 1.5rem !important; - } - - .fs-md-1 { - font-size: 2.5rem !important; - } - - .fs-md-2 { - font-size: 2rem !important; - } - - .fs-md-3 { - font-size: 1.75rem !important; - } - - .fs-md-4 { - font-size: 1.5rem !important; - } - - .fs-lg-1 { - font-size: 2.5rem !important; - } - - .fs-lg-2 { - font-size: 2rem !important; - } - - .fs-lg-3 { - font-size: 1.75rem !important; - } - - .fs-lg-4 { - font-size: 1.5rem !important; - } } @media print { .d-print-inline { |