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;
92 @media screen and (min-width: #{breakpoint(md)}) {
94 vertical-align: middle;
102 &:not(.modal-lg):not(.modal-xl) {
114 background-color: pvar(--mainBackgroundColor);
123 font-weight: $font-semibold;
137 &[iconName="cross"] {
148 .action-button-cancel {
149 @include peertube-button;
150 @include tertiary-button;
152 display: inline-block;
156 .action-button-submit {
157 @include peertube-button;
158 @include orange-button;
164 // On desktop browsers, make the content and header horizontally sticked to right not move when modal open and close
166 overflow-y: scroll !important; // Make sure vertical scroll bar is always visible on desktop browsers to get disabled scrollbar effect
167 width: 100vw; // Make sure the content fits all the available width
170 // On touchscreen devices, simply overflow: hidden to avoid detached overlay on scroll
171 @media (hover: none) and (pointer: coarse) {
172 .modal-open, .menu-open {
173 overflow: hidden !important;
176 // On touchscreen devices display content overlay when opened menu
180 background-color: black;
187 z-index: z('menu') - 1;
193 // Nav customizations
195 display: flex !important;
197 height: 30px !important;
198 padding: 10px 15px !important;
202 font-size: 16px !important;
203 font-weight: $font-semibold !important;
206 opacity: 0.6 !important;
208 &.active, &:hover, &:active, &:focus {
209 opacity: 1 !important;
214 @include disable-default-a-behaviour;
216 color: pvar(--mainForegroundColor);
220 .nav-tabs .nav-link {
221 @include disable-default-a-behaviour;
223 color: pvar(--mainForegroundColor);
224 font-weight: $font-semibold;
226 border-bottom: 2px solid transparent;
230 color: pvar(--mainForegroundColor);
231 background-color: pvar(--mainBackgroundColor) !important;
232 border-bottom-color: pvar(--mainColor);
235 &.active, &:hover, &:active, &:focus {
241 background-color: pvar(--mainBackgroundColor);
242 border-color: #dee2e6;
245 .collapse-transition {
246 // Animation when we show/hide the filters
247 transition: max-height 0.3s;
248 display: block !important;
249 overflow: hidden !important;
262 z-index: z(modal) - 1 !important;
266 z-index: z(modal) !important;
270 z-index: z(popover) !important;
274 z-index: z(tooltip) !important;
277 .btn-outline-secondary {
278 border-color: $input-border-color;
284 background-color: #6c757d;
288 .btn-outline-tertiary {
289 color: pvar(--secondaryColor);
290 border-color: pvar(--secondaryColor);
295 color: pvar(--mainBackgroundColor);
296 background-color: pvar(--secondaryColor);
300 // input box-shadow on focus
303 color: pvar(--mainForegroundColor);
304 background-color: pvar(--inputBackgroundColor);
309 box-shadow: #{$focus-box-shadow-form} pvar(--mainColorLightest);
312 box-shadow: #{$focus-box-shadow-form} #{scale-color($red, $alpha: -75%)};
322 width: unset !important;
326 .input-group-prepend + input {
327 border-top-left-radius: 0 !important;
328 border-bottom-left-radius: 0 !important;
332 .has-feedback.has-clear {
336 padding-right: 1.5rem !important;
339 .form-control-clear {
340 color: rgba(0, 0, 0, 0.4);
342 * Enable pointer events as they have been disabled since Bootstrap 3.3
343 * See https://github.com/twbs/bootstrap/pull/14104
347 justify-content: center;
355 color: rgba(0, 0, 0, 0.7);
360 input:placeholder-shown + .form-control-clear {
367 border: 1px solid #eee;
368 border-radius: .25rem;
374 color: #6c757d !important;
377 &:not(.callout-light) {
378 border-left-width: .25rem;
382 border-color: pvar(--mainColorLightest);
383 border-left-color: pvar(--mainColor);