1 $icon-font-path: '~@neos21/bootstrap3-glyphicons/assets/fonts/';
7 // Thanks https://gist.github.com/alexandrevicenzi/680147013e902a4eaa5d
8 .glyphicon-refresh-animate {
9 animation: spin .7s infinite linear;
12 .glyphicon-duplicate {
26 transform: scale(1) rotate(0deg);
29 transform: scale(1) rotate(360deg);
33 /* rules for dropdowns excepts when in button group, to avoid impacting the dropdown-toggle */
35 z-index: z(dropdown) !important;
40 z-index: z(header) - 1 !important;
48 z-index: inherit !important;
51 .btn-group > .btn:not(:first-child) {
52 border-top-left-radius: 0 !important;
53 border-bottom-left-radius: 0 !important;
57 z-index: z(dropdown) + 1 !important;
60 box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
71 color: pvar(--mainBackgroundColor) !important;
72 background-color: pvar(--mainHoverColor);
77 color: pvar(--mainForegroundColor) !important;
86 @include disable-default-a-behaviour;
90 @include disable-default-a-behaviour;
91 color: #000 !important;
99 @media screen and (min-width: #{breakpoint(md)}) {
101 vertical-align: middle;
109 &:not(.modal-lg):not(.modal-xl) {
121 background-color: pvar(--mainBackgroundColor);
122 word-break: break-all;
131 font-weight: $font-semibold;
145 &[iconName="cross"] {
156 > .peertube-button:not(:first-child) {
163 // On desktop browsers, make the content and header horizontally sticked to right not move when modal open and close
165 overflow-y: scroll !important; // Make sure vertical scroll bar is always visible on desktop browsers to get disabled scrollbar effect
166 width: 100vw; // Make sure the content fits all the available width
169 // On touchscreen devices, simply overflow: hidden to avoid detached overlay on scroll
170 @media (hover: none) and (pointer: coarse) {
171 .modal-open, .menu-open {
172 overflow: hidden !important;
175 // On touchscreen devices display content overlay when opened menu
179 background-color: black;
186 z-index: z('menu') - 1;
192 // Nav customizations
194 display: flex !important;
196 height: 30px !important;
197 padding: 10px 15px !important;
201 font-size: 16px !important;
202 font-weight: $font-semibold !important;
205 opacity: 0.6 !important;
207 &.active, &:hover, &:active, &:focus {
208 opacity: 1 !important;
213 @include disable-default-a-behaviour;
215 color: pvar(--mainForegroundColor);
219 .nav-tabs .nav-link {
220 @include disable-default-a-behaviour;
222 color: pvar(--mainForegroundColor);
223 font-weight: $font-semibold;
225 border-bottom: 2px solid transparent;
229 color: pvar(--mainForegroundColor);
230 background-color: pvar(--mainBackgroundColor) !important;
231 border-bottom-color: pvar(--mainColor);
234 &.active, &:hover, &:active, &:focus {
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;
261 z-index: z(modal) - 1 !important;
265 z-index: z(modal) !important;
269 z-index: z(popover) !important;
273 z-index: z(tooltip) !important;
276 .btn-outline-secondary {
277 border-color: $input-border-color;
283 background-color: #6c757d;
287 .btn-outline-tertiary {
288 color: pvar(--secondaryColor);
289 border-color: pvar(--secondaryColor);
294 color: pvar(--mainBackgroundColor);
295 background-color: pvar(--secondaryColor);
299 // input box-shadow on focus
302 color: pvar(--mainForegroundColor);
303 background-color: pvar(--inputBackgroundColor);
308 box-shadow: #{$focus-box-shadow-form} pvar(--mainColorLightest);
311 box-shadow: #{$focus-box-shadow-form} #{scale-color($red, $alpha: -75%)};
321 width: unset !important;
325 .input-group-prepend + input {
326 border-top-left-radius: 0 !important;
327 border-bottom-left-radius: 0 !important;
331 .has-feedback.has-clear {
335 padding-right: 1.5rem !important;
338 .form-control-clear {
339 color: rgba(0, 0, 0, 0.4);
341 * Enable pointer events as they have been disabled since Bootstrap 3.3
342 * See https://github.com/twbs/bootstrap/pull/14104
346 justify-content: center;
354 color: rgba(0, 0, 0, 0.7);
359 input:placeholder-shown + .form-control-clear {
366 border: 1px solid #eee;
367 border-radius: .25rem;
373 color: #6c757d !important;
376 &:not(.callout-light) {
377 border-left-width: .25rem;
381 border-color: pvar(--mainColorLightest);
382 border-left-color: pvar(--mainColor);