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;
48 z-index: z(dropdown) + 1 !important;
51 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);
62 color: pvar(--mainBackgroundColor) !important;
63 background-color: pvar(--mainHoverColor);
68 color: pvar(--mainForegroundColor) !important;
77 @include disable-default-a-behaviour;
81 @include disable-default-a-behaviour;
82 color: #000 !important;
87 @media screen and (min-width: #{breakpoint(md)}) {
89 vertical-align: middle;
97 &:not(.modal-lg):not(.modal-xl) {
109 background-color: pvar(--mainBackgroundColor);
118 font-weight: $font-semibold;
132 &[iconName="cross"] {
143 .action-button-cancel {
144 @include peertube-button;
145 @include tertiary-button;
147 display: inline-block;
151 .action-button-submit {
152 @include peertube-button;
153 @include orange-button;
159 // On desktop browsers, make the content and header horizontally sticked to right not move when modal open and close
161 overflow-y: scroll !important; // Make sure vertical scroll bar is always visible on desktop browsers to get disabled scrollbar effect
162 width: 100vw; // Make sure the content fits all the available width
165 // On touchscreen devices, simply overflow: hidden to avoid detached overlay on scroll
166 @media (hover: none) and (pointer: coarse) {
167 .modal-open, .menu-open {
168 overflow: hidden !important;
171 // On touchscreen devices display content overlay when opened menu
175 background-color: black;
182 z-index: z('menu') - 1;
188 // Nav customizations
190 display: flex !important;
192 height: 30px !important;
193 padding: 10px 15px !important;
197 font-size: 16px !important;
198 font-weight: $font-semibold !important;
201 opacity: 0.6 !important;
203 &.active, &:hover, &:active, &:focus {
204 opacity: 1 !important;
209 @include disable-default-a-behaviour;
211 color: pvar(--mainForegroundColor);
215 .nav-tabs .nav-link {
216 @include disable-default-a-behaviour;
218 color: pvar(--mainForegroundColor);
219 font-weight: $font-semibold;
221 border-bottom: 2px solid transparent;
225 color: pvar(--mainForegroundColor);
226 background-color: pvar(--mainBackgroundColor) !important;
227 border-bottom-color: pvar(--mainColor);
230 &.active, &:hover, &:active, &:focus {
236 background-color: pvar(--mainBackgroundColor);
237 border-color: #dee2e6;
240 .collapse-transition {
241 // Animation when we show/hide the filters
242 transition: max-height 0.3s;
243 display: block !important;
244 overflow: hidden !important;
257 z-index: z(modal) - 1 !important;
261 z-index: z(modal) !important;
265 z-index: z(popover) !important;
269 z-index: z(tooltip) !important;
272 .btn-outline-secondary {
273 border-color: $input-border-color;
279 background-color: #6c757d;
283 .btn-outline-tertiary {
284 color: pvar(--secondaryColor);
285 border-color: pvar(--secondaryColor);
290 color: pvar(--mainBackgroundColor);
291 background-color: pvar(--secondaryColor);
295 // input box-shadow on focus
298 color: pvar(--mainForegroundColor);
299 background-color: pvar(--inputBackgroundColor);
304 box-shadow: #{$focus-box-shadow-form} pvar(--mainColorLightest);
307 box-shadow: #{$focus-box-shadow-form} #{scale-color($red, $alpha: -75%)};
317 width: unset !important;
321 .input-group-prepend + input {
322 border-top-left-radius: 0 !important;
323 border-bottom-left-radius: 0 !important;
327 .has-feedback.has-clear {
331 padding-right: 1.5rem !important;
334 .form-control-clear {
335 color: rgba(0, 0, 0, 0.4);
337 * Enable pointer events as they have been disabled since Bootstrap 3.3
338 * See https://github.com/twbs/bootstrap/pull/14104
342 justify-content: center;
350 color: rgba(0, 0, 0, 0.7);
355 input:placeholder-shown + .form-control-clear {