1 @use '_variables' as *;
4 @import './_bootstrap-variables';
6 @import '~bootstrap/scss/functions';
7 @import '~bootstrap/scss/variables';
8 @import '~bootstrap/scss/mixins';
9 @import '~bootstrap/scss/utilities';
11 @import '~bootstrap/scss/root';
12 @import '~bootstrap/scss/reboot';
13 @import '~bootstrap/scss/type';
14 @import '~bootstrap/scss/grid';
15 @import '~bootstrap/scss/forms';
16 @import '~bootstrap/scss/buttons';
17 @import '~bootstrap/scss/dropdown';
18 @import '~bootstrap/scss/button-group';
19 @import '~bootstrap/scss/nav';
20 @import '~bootstrap/scss/card';
21 @import '~bootstrap/scss/accordion';
22 @import '~bootstrap/scss/alert';
23 @import '~bootstrap/scss/close';
24 @import '~bootstrap/scss/modal';
25 @import '~bootstrap/scss/tooltip';
26 @import '~bootstrap/scss/popover';
27 @import '~bootstrap/scss/spinners';
29 @import '~bootstrap/scss/helpers';
30 @import '~bootstrap/scss/utilities/api';
37 cursor: pointer !important;
40 // ---------------------------------------------------------------------------
42 // ---------------------------------------------------------------------------
45 color: pvar(--mainForegroundColor);
46 background-color: pvar(--mainBackgroundColor);
49 @include padding-left(1rem);
56 color: pvar(--mainBackgroundColor) !important;
57 background-color: pvar(--mainHoverColor);
67 @include disable-default-a-behaviour;
75 // ---------------------------------------------------------------------------
77 // ---------------------------------------------------------------------------
85 // ---------------------------------------------------------------------------
87 // ---------------------------------------------------------------------------
89 @media screen and (min-width: #{breakpoint(md)}) {
91 vertical-align: middle;
99 &:not(.modal-lg):not(.modal-xl) {
111 background-color: pvar(--mainBackgroundColor);
112 word-break: break-word;
121 font-weight: $font-semibold;
139 > *:not(:first-child) {
140 @include margin-left(10px);
146 // On desktop browsers, make the content and header horizontally sticked to right not move when modal open and close
148 overflow-y: scroll !important; // Make sure vertical scroll bar is always visible on desktop browsers to get disabled scrollbar effect
149 width: 100vw; // Make sure the content fits all the available width
152 // On touchscreen devices, simply overflow: hidden to avoid detached overlay on scroll
153 @media (hover: none) and (pointer: coarse) {
156 overflow: hidden !important;
159 // On touchscreen devices display content overlay when opened menu
163 background-color: #000;
174 // ---------------------------------------------------------------------------
176 // ---------------------------------------------------------------------------
179 display: flex !important;
181 height: 30px !important;
182 padding: 10px 15px !important;
186 font-size: 16px !important;
187 font-weight: $font-semibold !important;
190 opacity: 0.7 !important;
196 opacity: 1 !important;
201 @include disable-default-a-behaviour;
203 color: pvar(--mainForegroundColor);
207 .nav-tabs .nav-link {
208 @include disable-default-a-behaviour;
210 color: pvar(--mainForegroundColor);
211 font-weight: $font-semibold;
213 border-bottom: 2px solid transparent;
217 color: pvar(--mainForegroundColor);
218 background-color: pvar(--mainBackgroundColor) !important;
219 border-bottom-color: pvar(--mainColor);
230 // ---------------------------------------------------------------------------
231 // Card, collapse and accordion
232 // ---------------------------------------------------------------------------
235 background-color: pvar(--mainBackgroundColor);
236 border-color: #dee2e6;
239 .collapse-transition {
240 // Animation when we show/hide the filters
241 transition: max-height 0.3s;
242 display: block !important;
243 overflow: hidden !important;
248 overflow: inherit !important;
252 // ---------------------------------------------------------------------------
253 // Buttons & form controls
254 // ---------------------------------------------------------------------------
257 font-size: $button-font-size;
261 .btn-outline-secondary {
262 border-color: $input-border-color;
268 background-color: #6c757d;
272 .btn-group.select-button {
273 font-weight: $font-semibold;
276 @include orange-button;
280 @include grey-button;
284 @include peertube-button-link;
286 box-shadow: none !important;
288 &:not(:first-child) {
289 border-top-left-radius: 0 !important;
290 border-bottom-left-radius: 0 !important;
294 border-top-right-radius: 0 !important;
295 border-bottom-right-radius: 0 !important;
301 color: pvar(--mainForegroundColor);
302 background-color: pvar(--inputBackgroundColor);
305 // Input box-shadow on focus
308 box-shadow: #{$focus-box-shadow-form} pvar(--mainColorLightest);
311 box-shadow: #{$focus-box-shadow-form} #{scale-color($red, $alpha: -75%)};
318 > .input-group-text {
319 height: $button-height;
322 > .input-group-text {
327 .input-group-text > .dropdown-toggle {
332 border-top-right-radius: 3px !important;
333 border-bottom-right-radius: 3px !important;
339 @include padding-right(1.5rem !important);
342 .form-control-clear {
343 color: rgba(0, 0, 0, 0.4);
345 justify-content: center;
353 color: rgba(0, 0, 0, 0.7);
358 input:placeholder-shown + .form-control-clear {