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';
30 @import '~bootstrap/scss/helpers';
31 @import '~bootstrap/scss/utilities/api';
33 @import '~@neos21/bootstrap3-glyphicons/assets/stylesheets/bootstrap3-glyphicons';
35 // Thanks https://gist.github.com/alexandrevicenzi/680147013e902a4eaa5d
36 .glyphicon-refresh-animate {
37 animation: spin 0.7s infinite linear;
45 cursor: pointer !important;
50 transform: scale(1) rotate(0deg);
54 transform: scale(1) rotate(360deg);
60 color: pvar(--mainForegroundColor);
61 background-color: pvar(--mainBackgroundColor);
64 @include padding-left(1rem);
71 color: pvar(--mainBackgroundColor) !important;
72 background-color: pvar(--mainHoverColor);
82 @include disable-default-a-behaviour;
86 @media screen and (min-width: #{breakpoint(md)}) {
88 vertical-align: middle;
96 &:not(.modal-lg):not(.modal-xl) {
108 background-color: pvar(--mainBackgroundColor);
109 word-break: break-word;
118 font-weight: $font-semibold;
132 &[iconName=cross] { /* stylelint-disable-line selector-max-compound-selectors */
144 > *:not(:first-child) {
145 @include margin-left(10px);
151 // On desktop browsers, make the content and header horizontally sticked to right not move when modal open and close
153 overflow-y: scroll !important; // Make sure vertical scroll bar is always visible on desktop browsers to get disabled scrollbar effect
154 width: 100vw; // Make sure the content fits all the available width
157 // On touchscreen devices, simply overflow: hidden to avoid detached overlay on scroll
158 @media (hover: none) and (pointer: coarse) {
161 overflow: hidden !important;
164 // On touchscreen devices display content overlay when opened menu
168 background-color: #000;
181 // Nav customizations
183 display: flex !important;
185 height: 30px !important;
186 padding: 10px 15px !important;
190 font-size: 16px !important;
191 font-weight: $font-semibold !important;
194 opacity: 0.6 !important;
200 opacity: 1 !important;
205 @include disable-default-a-behaviour;
207 color: pvar(--mainForegroundColor);
211 .nav-tabs .nav-link {
212 @include disable-default-a-behaviour;
214 color: pvar(--mainForegroundColor);
215 font-weight: $font-semibold;
217 border-bottom: 2px solid transparent;
221 color: pvar(--mainForegroundColor);
222 background-color: pvar(--mainBackgroundColor) !important;
223 border-bottom-color: pvar(--mainColor);
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;
256 .btn-outline-secondary {
257 border-color: $input-border-color;
263 background-color: #6c757d;
267 .btn-outline-tertiary {
268 color: pvar(--secondaryColor);
269 border-color: pvar(--secondaryColor);
274 color: pvar(--mainBackgroundColor);
275 background-color: pvar(--secondaryColor);
279 .btn-group.select-button {
280 font-weight: $font-semibold;
283 @include orange-button;
287 @include grey-button;
291 @include peertube-button-link;
293 box-shadow: none !important;
295 &:not(:first-child) {
296 border-top-left-radius: 0 !important;
297 border-bottom-left-radius: 0 !important;
301 border-top-right-radius: 0 !important;
302 border-bottom-right-radius: 0 !important;
307 // input box-shadow on focus
310 color: pvar(--mainForegroundColor);
311 background-color: pvar(--inputBackgroundColor);
316 box-shadow: #{$focus-box-shadow-form} pvar(--mainColorLightest);
319 box-shadow: #{$focus-box-shadow-form} #{scale-color($red, $alpha: -75%)};
326 > .input-group-text {
327 height: $button-height;
330 > .input-group-text {
336 .input-group-text > .dropdown-toggle {
341 border-top-right-radius: 3px !important;
342 border-bottom-right-radius: 3px !important;
350 @include padding-right(1.5rem !important);
353 .form-control-clear {
354 color: rgba(0, 0, 0, 0.4);
356 justify-content: center;
364 color: rgba(0, 0, 0, 0.7);
369 input:placeholder-shown + .form-control-clear {