1 $icon-font-path: '~@neos21/bootstrap3-glyphicons/assets/fonts/';
3 @use '_variables' as *;
6 @import './_bootstrap-variables';
8 @import '~bootstrap/scss/functions';
9 @import '~bootstrap/scss/variables';
10 @import '~bootstrap/scss/mixins';
11 @import '~bootstrap/scss/utilities';
13 @import '~bootstrap/scss/root';
14 @import '~bootstrap/scss/reboot';
15 @import '~bootstrap/scss/type';
16 @import '~bootstrap/scss/grid';
17 @import '~bootstrap/scss/forms';
18 @import '~bootstrap/scss/buttons';
19 @import '~bootstrap/scss/dropdown';
20 @import '~bootstrap/scss/button-group';
21 @import '~bootstrap/scss/nav';
22 @import '~bootstrap/scss/card';
23 @import '~bootstrap/scss/accordion';
24 @import '~bootstrap/scss/alert';
25 @import '~bootstrap/scss/close';
26 @import '~bootstrap/scss/modal';
27 @import '~bootstrap/scss/tooltip';
28 @import '~bootstrap/scss/popover';
29 @import '~bootstrap/scss/spinners';
31 @import '~bootstrap/scss/helpers';
32 @import '~bootstrap/scss/utilities/api';
34 @import '~@neos21/bootstrap3-glyphicons/assets/stylesheets/bootstrap3-glyphicons';
41 cursor: pointer !important;
44 // ---------------------------------------------------------------------------
46 // ---------------------------------------------------------------------------
50 color: pvar(--mainForegroundColor);
51 background-color: pvar(--mainBackgroundColor);
54 @include padding-left(1rem);
61 color: pvar(--mainBackgroundColor) !important;
62 background-color: pvar(--mainHoverColor);
72 @include disable-default-a-behaviour;
80 // ---------------------------------------------------------------------------
82 // ---------------------------------------------------------------------------
84 @media screen and (min-width: #{breakpoint(md)}) {
86 vertical-align: middle;
94 &:not(.modal-lg):not(.modal-xl) {
106 background-color: pvar(--mainBackgroundColor);
107 word-break: break-word;
116 font-weight: $font-semibold;
130 &[iconName=cross] { /* stylelint-disable-line selector-max-compound-selectors */
142 > *:not(:first-child) {
143 @include margin-left(10px);
149 // On desktop browsers, make the content and header horizontally sticked to right not move when modal open and close
151 overflow-y: scroll !important; // Make sure vertical scroll bar is always visible on desktop browsers to get disabled scrollbar effect
152 width: 100vw; // Make sure the content fits all the available width
155 // On touchscreen devices, simply overflow: hidden to avoid detached overlay on scroll
156 @media (hover: none) and (pointer: coarse) {
159 overflow: hidden !important;
162 // On touchscreen devices display content overlay when opened menu
166 background-color: #000;
179 // ---------------------------------------------------------------------------
181 // ---------------------------------------------------------------------------
184 display: flex !important;
186 height: 30px !important;
187 padding: 10px 15px !important;
191 font-size: 16px !important;
192 font-weight: $font-semibold !important;
195 opacity: 0.6 !important;
201 opacity: 1 !important;
206 @include disable-default-a-behaviour;
208 color: pvar(--mainForegroundColor);
212 .nav-tabs .nav-link {
213 @include disable-default-a-behaviour;
215 color: pvar(--mainForegroundColor);
216 font-weight: $font-semibold;
218 border-bottom: 2px solid transparent;
222 color: pvar(--mainForegroundColor);
223 background-color: pvar(--mainBackgroundColor) !important;
224 border-bottom-color: pvar(--mainColor);
235 // ---------------------------------------------------------------------------
236 // Card, collapse and accordion
237 // ---------------------------------------------------------------------------
240 background-color: pvar(--mainBackgroundColor);
241 border-color: #dee2e6;
244 .collapse-transition {
245 // Animation when we show/hide the filters
246 transition: max-height 0.3s;
247 display: block !important;
248 overflow: hidden !important;
253 overflow: inherit !important;
257 // ---------------------------------------------------------------------------
258 // Buttons & form controls
259 // ---------------------------------------------------------------------------
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;
302 color: pvar(--mainForegroundColor);
303 background-color: pvar(--inputBackgroundColor);
306 // Input box-shadow on focus
309 box-shadow: #{$focus-box-shadow-form} pvar(--mainColorLightest);
312 box-shadow: #{$focus-box-shadow-form} #{scale-color($red, $alpha: -75%)};
319 > .input-group-text {
320 height: $button-height;
323 > .input-group-text {
329 .input-group-text > .dropdown-toggle {
334 border-top-right-radius: 3px !important;
335 border-bottom-right-radius: 3px !important;
343 @include padding-right(1.5rem !important);
346 .form-control-clear {
347 color: rgba(0, 0, 0, 0.4);
349 justify-content: center;
357 color: rgba(0, 0, 0, 0.7);
362 input:placeholder-shown + .form-control-clear {