1 @use '_variables' as *;
4 @import './_bootstrap-variables';
6 @import 'bootstrap/scss/functions';
7 @import 'bootstrap/scss/variables';
8 @import 'bootstrap/scss/maps';
9 @import 'bootstrap/scss/mixins';
10 @import 'bootstrap/scss/utilities';
12 @import 'bootstrap/scss/root';
13 @import 'bootstrap/scss/reboot';
14 @import 'bootstrap/scss/type';
15 @import 'bootstrap/scss/grid';
16 @import 'bootstrap/scss/forms';
17 @import 'bootstrap/scss/buttons';
18 @import 'bootstrap/scss/dropdown';
19 @import 'bootstrap/scss/button-group';
20 @import 'bootstrap/scss/nav';
21 @import 'bootstrap/scss/card';
22 @import 'bootstrap/scss/accordion';
23 @import 'bootstrap/scss/alert';
24 @import 'bootstrap/scss/close';
25 @import 'bootstrap/scss/modal';
26 @import 'bootstrap/scss/tooltip';
27 @import 'bootstrap/scss/popover';
28 @import 'bootstrap/scss/spinners';
30 @import 'bootstrap/scss/helpers';
31 @import 'bootstrap/scss/utilities/api';
34 --bs-accordion-color: #{pvar(--mainForegroundColor)};
35 --bs-accordion-bg: #{pvar(--mainBackgroundColor)};
43 cursor: pointer !important;
46 // ---------------------------------------------------------------------------
48 // ---------------------------------------------------------------------------
52 @include padding-left(1rem);
56 color: pvar(--mainForegroundColor);
60 color: pvar(--mainBackgroundColor) !important;
61 background-color: pvar(--mainHoverColor);
71 @include disable-default-a-behaviour;
79 // ---------------------------------------------------------------------------
81 // ---------------------------------------------------------------------------
89 // ---------------------------------------------------------------------------
91 // ---------------------------------------------------------------------------
93 @media screen and (min-width: #{breakpoint(md)}) {
95 vertical-align: middle;
103 &:not(.modal-lg):not(.modal-xl) {
115 background-color: pvar(--mainBackgroundColor);
116 word-break: break-word;
125 font-weight: $font-semibold;
143 > *:not(:first-child) {
144 @include margin-left(10px);
150 // On desktop browsers, make the content and header horizontally sticked to right not move when modal open and close
152 overflow-y: scroll !important; // Make sure vertical scroll bar is always visible on desktop browsers to get disabled scrollbar effect
153 width: 100vw; // Make sure the content fits all the available width
156 // On touchscreen devices, simply overflow: hidden to avoid detached overlay on scroll
157 @media (hover: none) and (pointer: coarse) {
160 overflow: hidden !important;
163 // On touchscreen devices display content overlay when opened menu
167 background-color: #000;
180 // ---------------------------------------------------------------------------
182 // ---------------------------------------------------------------------------
185 display: flex !important;
187 height: 30px !important;
188 padding: 10px 15px !important;
192 font-size: 16px !important;
193 font-weight: $font-semibold !important;
196 opacity: 0.7 !important;
202 opacity: 1 !important;
207 @include disable-default-a-behaviour;
209 color: pvar(--mainForegroundColor);
213 .nav-tabs .nav-link {
214 @include disable-default-a-behaviour;
216 color: pvar(--mainForegroundColor);
217 font-weight: $font-semibold;
219 border-bottom: 2px solid transparent;
223 color: pvar(--mainForegroundColor);
224 background-color: pvar(--mainBackgroundColor) !important;
225 border-bottom-color: pvar(--mainColor);
236 // ---------------------------------------------------------------------------
237 // Card, collapse and accordion
238 // ---------------------------------------------------------------------------
241 background-color: pvar(--mainBackgroundColor);
242 border-color: #dee2e6;
245 .collapse-transition {
246 // Animation when we show/hide the filters
247 transition: max-height 0.3s;
248 display: block !important;
249 overflow: hidden !important;
254 overflow: inherit !important;
262 font-weight: $font-bold;
265 color: pvar(--mainColorLighter);
270 // ---------------------------------------------------------------------------
271 // Buttons & form controls
272 // ---------------------------------------------------------------------------
275 font-size: $button-font-size;
279 .btn-outline-secondary {
280 border-color: pvar(--inputBorderColor);
286 background-color: #6c757d;
290 .btn-group.select-button {
291 font-weight: $font-semibold;
294 @include orange-button;
298 @include grey-button;
302 @include peertube-button-link;
304 box-shadow: none !important;
306 &:not(:first-child) {
307 border-top-left-radius: 0 !important;
308 border-bottom-left-radius: 0 !important;
312 border-top-right-radius: 0 !important;
313 border-bottom-right-radius: 0 !important;
319 color: pvar(--mainForegroundColor);
320 background-color: pvar(--inputBackgroundColor);
326 > .input-group-text {
327 height: $button-height;
330 > .input-group-text {
335 .input-group-text > .dropdown-toggle {
343 border-top-right-radius: 3px !important;
344 border-bottom-right-radius: 3px !important;
350 @include padding-right(1.5rem !important);
353 .form-control-clear {
355 justify-content: center;
369 input:placeholder-shown + .form-control-clear {