X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fsass%2Fbootstrap.scss;h=f3e7880ac0a23be5a5b14963b8c8747e9d6d41ed;hb=377efaf1e22fee5070f8702654e378e506da3645;hp=724c4ad69e9fa8a82d5a74e8e7b60a00645e1b02;hpb=4835b374d04705408e6c458f7ce100d929b2edc1;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/sass/bootstrap.scss b/client/src/sass/bootstrap.scss index 724c4ad69..f3e7880ac 100644 --- a/client/src/sass/bootstrap.scss +++ b/client/src/sass/bootstrap.scss @@ -30,11 +30,23 @@ @import 'bootstrap/scss/helpers'; @import 'bootstrap/scss/utilities/api'; +:root { + --bs-border-color-translucent: #{pvar(--inputBorderColor)}; +} + .accordion { --bs-accordion-color: #{pvar(--mainForegroundColor)}; --bs-accordion-bg: #{pvar(--mainBackgroundColor)}; } +.popover { + --bs-popover-bg: #{pvar(--mainBackgroundColor)}; + --bs-popover-body-color: #{pvar(--mainForegroundColor)}; + --bs-popover-header-color: #{pvar(--mainForegroundColor)}; + + font-family: $main-fonts; +} + .flex-auto { flex: auto; } @@ -48,12 +60,15 @@ // --------------------------------------------------------------------------- .dropdown-menu { + --bs-dropdown-link-hover-bg: #{pvar(--mainBackgroundHoverColor)}; + --bs-dropdown-link-color: #{pvar(--mainForegroundColor)}; + --bs-dropdown-border-color: #{pvar(--inputBorderColor)}; + .dropdown-header { @include padding-left(1rem); } .dropdown-item { - color: pvar(--mainForegroundColor); padding: 3px 15px; &.active { @@ -324,7 +339,8 @@ .input-group { > .btn, > .input-group-text { - height: $button-height; + padding-top: 4px; + padding-bottom: 4px; } > .input-group-text {