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;
49 z-index: z(dropdown) + 1 !important;
52 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);
63 color: pvar(--mainBackgroundColor) !important;
64 background-color: pvar(--mainHoverColor);
74 @include disable-default-a-behaviour;
78 @include disable-default-a-behaviour;
79 color: #000 !important;
84 @media screen and (min-width: #{breakpoint(md)}) {
86 vertical-align: middle;
94 &:not(.modal-lg):not(.modal-xl) {
106 background-color: pvar(--mainBackgroundColor);
115 font-weight: $font-semibold;
129 &[iconName="cross"] {
140 .action-button-cancel {
141 @include peertube-button;
142 @include tertiary-button;
144 display: inline-block;
148 .action-button-submit {
149 @include peertube-button;
150 @include orange-button;
156 // On desktop browsers, make the content and header horizontally sticked to right not move when modal open and close
158 overflow-y: scroll !important; // Make sure vertical scroll bar is always visible on desktop browsers to get disabled scrollbar effect
159 width: 100vw; // Make sure the content fits all the available width
162 // On touchscreen devices, simply overflow: hidden to avoid detached overlay on scroll
163 @media (hover: none) and (pointer: coarse) {
164 .modal-open, .menu-open {
165 overflow: hidden !important;
168 // On touchscreen devices display content overlay when opened menu
172 background-color: black;
179 z-index: z('menu') - 1;
185 // Nav customizations
187 display: flex !important;
189 height: 30px !important;
190 padding: 10px 15px !important;
194 font-size: 16px !important;
195 font-weight: $font-semibold !important;
198 opacity: 0.6 !important;
200 &.active, &:hover, &:active, &:focus {
201 opacity: 1 !important;
206 @include disable-default-a-behaviour;
208 color: pvar(--mainForegroundColor);
212 .nav-tabs .nav-link {
213 @include disable-default-a-behaviour;
215 color: pvar(--mainForegroundColor);
216 font-weight: $font-semibold;
218 border-bottom: 2px solid transparent;
222 color: pvar(--mainForegroundColor);
223 background-color: pvar(--mainBackgroundColor) !important;
224 border-bottom-color: pvar(--mainColor);
227 &.active, &:hover, &:active, &:focus {
233 background-color: pvar(--mainBackgroundColor);
234 border-color: #dee2e6;
237 .collapse-transition {
238 // Animation when we show/hide the filters
239 transition: max-height 0.3s;
240 display: block !important;
241 overflow: hidden !important;
254 z-index: z(modal) - 1 !important;
258 z-index: z(modal) !important;
262 z-index: z(popover) !important;
266 z-index: z(tooltip) !important;
269 .btn-outline-secondary {
270 border-color: $input-border-color;
276 background-color: #6c757d;
280 .btn-outline-tertiary {
281 color: pvar(--secondaryColor);
282 border-color: pvar(--secondaryColor);
287 color: pvar(--mainBackgroundColor);
288 background-color: pvar(--secondaryColor);
292 // input box-shadow on focus
295 color: pvar(--mainForegroundColor);
296 background-color: pvar(--inputBackgroundColor);
301 box-shadow: #{$focus-box-shadow-form} pvar(--mainColorLightest);
304 box-shadow: #{$focus-box-shadow-form} #{scale-color($red, $alpha: -75%)};
314 width: unset !important;
318 .input-group-prepend + input {
319 border-top-left-radius: 0 !important;
320 border-bottom-left-radius: 0 !important;
324 .has-feedback.has-clear {
328 padding-right: 1.5rem !important;
331 .form-control-clear {
332 color: rgba(0, 0, 0, 0.4);
334 * Enable pointer events as they have been disabled since Bootstrap 3.3
335 * See https://github.com/twbs/bootstrap/pull/14104
339 justify-content: center;
347 color: rgba(0, 0, 0, 0.7);
352 input:placeholder-shown + .form-control-clear {