+}
+
+ngb-modal-backdrop {
+ z-index: z(modal) - 1 !important;
+}
+
+ngb-modal-window {
+ z-index: z(modal) !important;
+}
+
+ngb-popover-window {
+ z-index: z(popover) !important;
+}
+
+ngb-tooltip-window {
+ z-index: z(tooltip) !important;
+}
+
+.btn-outline-secondary {
+ border-color: $input-border-color;
+
+ &:focus-within,
+ &:focus,
+ &:hover {
+ color: #fff;
+ background-color: #6c757d;
+ }
+}
+
+.btn-outline-tertiary {
+ color: pvar(--secondaryColor);
+ border-color: pvar(--secondaryColor);
+
+ &:focus-within,
+ &:focus,
+ &:hover {
+ color: pvar(--mainBackgroundColor);
+ background-color: pvar(--secondaryColor);
+ }
+}
+
+.btn-group.select-button {
+ font-weight: $font-semibold;
+
+ .active {
+ @include orange-button;
+ }
+
+ :not(.active) {
+ @include grey-button;
+ }
+
+ > * {
+ @include peertube-button-link;
+
+ box-shadow: none !important;
+
+ &:not(:first-child) {
+ border-top-left-radius: 0 !important;
+ border-bottom-left-radius: 0 !important;
+ }
+
+ &:not(:last-child) {
+ border-top-right-radius: 0 !important;
+ border-bottom-right-radius: 0 !important;
+ }
+ }
+}
+
+// input box-shadow on focus
+.form-control {
+ font-size: 15px;
+ color: pvar(--mainForegroundColor);
+ background-color: pvar(--inputBackgroundColor);
+ outline: none;
+
+ &:focus-within,
+ &:focus {
+ box-shadow: #{$focus-box-shadow-form} pvar(--mainColorLightest);
+
+ &.input-error {
+ box-shadow: #{$focus-box-shadow-form} #{scale-color($red, $alpha: -75%)};
+ }
+ }
+}
+
+.input-group {
+ > .form-control {
+ flex: initial;
+ }
+
+ input.form-control {
+ width: unset !important;
+ flex-grow: 1;
+ }
+
+ .input-group-prepend + input {
+ border-top-left-radius: 0 !important;
+ border-bottom-left-radius: 0 !important;
+ }
+}
+
+.has-feedback.has-clear {
+ position: relative;
+
+ input {
+ @include padding-right(1.5rem !important);
+ }
+
+ .form-control-clear {
+ color: rgba(0, 0, 0, 0.4);
+ /*
+ * Enable pointer events as they have been disabled since Bootstrap 3.3
+ * See https://github.com/twbs/bootstrap/pull/14104
+ */
+ pointer-events: all;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ position: absolute;
+ right: .5rem;
+ height: 95%;
+ font-size: 14px;
+
+ &:hover {
+ color: rgba(0, 0, 0, 0.7);
+ cursor: pointer;
+ }
+ }
+
+ input:placeholder-shown + .form-control-clear {
+ display: none;
+ }
+}
+
+.callout {
+ padding: 1.25rem;
+ border: 1px solid #eee;
+ border-radius: .25rem;
+
+ > label {
+ position: relative;
+ top: -5px;
+ left: -10px;
+ color: #6c757d !important;
+ }
+
+ &:not(.callout-light) {
+ border-left-width: .25rem;
+ }
+
+ &.callout-info {
+ border-color: pvar(--mainColorLightest);
+ border-left-color: pvar(--mainColor);
+ }
+}
+
+// Override these properties for Bidi support
+@each $size, $length in $spacers {
+ .ml-#{$size} {
+ @include margin-left($length);
+ }
+
+ .mr-#{$size} {
+ @include margin-right($length);
+ }
+
+ .pl-#{$size} {
+ @include padding-left($length);
+ }
+
+ .pr-#{$size} {
+ @include padding-right($length);
+ }
+}