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;
22 transform: scale(1) rotate(0deg);
25 transform: scale(1) rotate(360deg);
29 /* rules for dropdowns excepts when in button group, to avoid impacting the dropdown-toggle */
31 z-index: z(dropdown) !important;
36 z-index: z(header) - 1 !important;
44 z-index: inherit !important;
47 .btn-group > .btn:not(:first-child) {
48 border-top-left-radius: 0 !important;
49 border-bottom-left-radius: 0 !important;
53 z-index: z(dropdown) + 1 !important;
56 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);
67 color: pvar(--mainBackgroundColor) !important;
68 background-color: pvar(--mainHoverColor);
73 color: pvar(--mainForegroundColor) !important;
82 @include disable-default-a-behaviour;
86 @include disable-default-a-behaviour;
87 color: #000 !important;
95 @media screen and (min-width: #{breakpoint(md)}) {
97 vertical-align: middle;
105 &:not(.modal-lg):not(.modal-xl) {
117 background-color: pvar(--mainBackgroundColor);
118 word-break: break-all;
127 font-weight: $font-semibold;
141 &[iconName="cross"] {
152 .action-button-cancel {
153 @include peertube-button;
154 @include tertiary-button;
156 display: inline-block;
160 .action-button-submit {
161 @include peertube-button;
162 @include orange-button;
168 // On desktop browsers, make the content and header horizontally sticked to right not move when modal open and close
170 overflow-y: scroll !important; // Make sure vertical scroll bar is always visible on desktop browsers to get disabled scrollbar effect
171 width: 100vw; // Make sure the content fits all the available width
174 // On touchscreen devices, simply overflow: hidden to avoid detached overlay on scroll
175 @media (hover: none) and (pointer: coarse) {
176 .modal-open, .menu-open {
177 overflow: hidden !important;
180 // On touchscreen devices display content overlay when opened menu
184 background-color: black;
191 z-index: z('menu') - 1;
197 // Nav customizations
199 display: flex !important;
201 height: 30px !important;
202 padding: 10px 15px !important;
206 font-size: 16px !important;
207 font-weight: $font-semibold !important;
210 opacity: 0.6 !important;
212 &.active, &:hover, &:active, &:focus {
213 opacity: 1 !important;
218 @include disable-default-a-behaviour;
220 color: pvar(--mainForegroundColor);
224 .nav-tabs .nav-link {
225 @include disable-default-a-behaviour;
227 color: pvar(--mainForegroundColor);
228 font-weight: $font-semibold;
230 border-bottom: 2px solid transparent;
234 color: pvar(--mainForegroundColor);
235 background-color: pvar(--mainBackgroundColor) !important;
236 border-bottom-color: pvar(--mainColor);
239 &.active, &:hover, &:active, &:focus {
245 background-color: pvar(--mainBackgroundColor);
246 border-color: #dee2e6;
249 .collapse-transition {
250 // Animation when we show/hide the filters
251 transition: max-height 0.3s;
252 display: block !important;
253 overflow: hidden !important;
266 z-index: z(modal) - 1 !important;
270 z-index: z(modal) !important;
274 z-index: z(popover) !important;
278 z-index: z(tooltip) !important;
281 .btn-outline-secondary {
282 border-color: $input-border-color;
288 background-color: #6c757d;
292 .btn-outline-tertiary {
293 color: pvar(--secondaryColor);
294 border-color: pvar(--secondaryColor);
299 color: pvar(--mainBackgroundColor);
300 background-color: pvar(--secondaryColor);
304 // input box-shadow on focus
307 color: pvar(--mainForegroundColor);
308 background-color: pvar(--inputBackgroundColor);
313 box-shadow: #{$focus-box-shadow-form} pvar(--mainColorLightest);
316 box-shadow: #{$focus-box-shadow-form} #{scale-color($red, $alpha: -75%)};
326 width: unset !important;
330 .input-group-prepend + input {
331 border-top-left-radius: 0 !important;
332 border-bottom-left-radius: 0 !important;
336 .has-feedback.has-clear {
340 padding-right: 1.5rem !important;
343 .form-control-clear {
344 color: rgba(0, 0, 0, 0.4);
346 * Enable pointer events as they have been disabled since Bootstrap 3.3
347 * See https://github.com/twbs/bootstrap/pull/14104
351 justify-content: center;
359 color: rgba(0, 0, 0, 0.7);
364 input:placeholder-shown + .form-control-clear {
371 border: 1px solid #eee;
372 border-radius: .25rem;
378 color: #6c757d !important;
381 &:not(.callout-light) {
382 border-left-width: .25rem;
386 border-color: pvar(--mainColorLightest);
387 border-left-color: pvar(--mainColor);