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);
126 font-weight: $font-semibold;
140 &[iconName="cross"] {
151 .action-button-cancel {
152 @include peertube-button;
153 @include tertiary-button;
155 display: inline-block;
159 .action-button-submit {
160 @include peertube-button;
161 @include orange-button;
167 // On desktop browsers, make the content and header horizontally sticked to right not move when modal open and close
169 overflow-y: scroll !important; // Make sure vertical scroll bar is always visible on desktop browsers to get disabled scrollbar effect
170 width: 100vw; // Make sure the content fits all the available width
173 // On touchscreen devices, simply overflow: hidden to avoid detached overlay on scroll
174 @media (hover: none) and (pointer: coarse) {
175 .modal-open, .menu-open {
176 overflow: hidden !important;
179 // On touchscreen devices display content overlay when opened menu
183 background-color: black;
190 z-index: z('menu') - 1;
196 // Nav customizations
198 display: flex !important;
200 height: 30px !important;
201 padding: 10px 15px !important;
205 font-size: 16px !important;
206 font-weight: $font-semibold !important;
209 opacity: 0.6 !important;
211 &.active, &:hover, &:active, &:focus {
212 opacity: 1 !important;
217 @include disable-default-a-behaviour;
219 color: pvar(--mainForegroundColor);
223 .nav-tabs .nav-link {
224 @include disable-default-a-behaviour;
226 color: pvar(--mainForegroundColor);
227 font-weight: $font-semibold;
229 border-bottom: 2px solid transparent;
233 color: pvar(--mainForegroundColor);
234 background-color: pvar(--mainBackgroundColor) !important;
235 border-bottom-color: pvar(--mainColor);
238 &.active, &:hover, &:active, &:focus {
244 background-color: pvar(--mainBackgroundColor);
245 border-color: #dee2e6;
248 .collapse-transition {
249 // Animation when we show/hide the filters
250 transition: max-height 0.3s;
251 display: block !important;
252 overflow: hidden !important;
265 z-index: z(modal) - 1 !important;
269 z-index: z(modal) !important;
273 z-index: z(popover) !important;
277 z-index: z(tooltip) !important;
280 .btn-outline-secondary {
281 border-color: $input-border-color;
287 background-color: #6c757d;
291 .btn-outline-tertiary {
292 color: pvar(--secondaryColor);
293 border-color: pvar(--secondaryColor);
298 color: pvar(--mainBackgroundColor);
299 background-color: pvar(--secondaryColor);
303 // input box-shadow on focus
306 color: pvar(--mainForegroundColor);
307 background-color: pvar(--inputBackgroundColor);
312 box-shadow: #{$focus-box-shadow-form} pvar(--mainColorLightest);
315 box-shadow: #{$focus-box-shadow-form} #{scale-color($red, $alpha: -75%)};
325 width: unset !important;
329 .input-group-prepend + input {
330 border-top-left-radius: 0 !important;
331 border-bottom-left-radius: 0 !important;
335 .has-feedback.has-clear {
339 padding-right: 1.5rem !important;
342 .form-control-clear {
343 color: rgba(0, 0, 0, 0.4);
345 * Enable pointer events as they have been disabled since Bootstrap 3.3
346 * See https://github.com/twbs/bootstrap/pull/14104
350 justify-content: center;
358 color: rgba(0, 0, 0, 0.7);
363 input:placeholder-shown + .form-control-clear {
370 border: 1px solid #eee;
371 border-radius: .25rem;
377 color: #6c757d !important;
380 &:not(.callout-light) {
381 border-left-width: .25rem;
385 border-color: pvar(--mainColorLightest);
386 border-left-color: pvar(--mainColor);