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;
12 .glyphicon-duplicate {
26 transform: scale(1) rotate(0deg);
29 transform: scale(1) rotate(360deg);
33 /* rules for dropdowns excepts when in button group, to avoid impacting the dropdown-toggle */
35 z-index: z(dropdown) !important;
40 z-index: z(header) - 1 !important;
48 z-index: inherit !important;
51 .btn-group > .btn:not(:first-child) {
52 border-top-left-radius: 0 !important;
53 border-bottom-left-radius: 0 !important;
57 z-index: z(dropdown) + 1 !important;
60 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);
71 color: pvar(--mainBackgroundColor) !important;
72 background-color: pvar(--mainHoverColor);
77 color: pvar(--mainForegroundColor) !important;
86 @include disable-default-a-behaviour;
90 @include disable-default-a-behaviour;
91 color: #000 !important;
99 @media screen and (min-width: #{breakpoint(md)}) {
101 vertical-align: middle;
109 &:not(.modal-lg):not(.modal-xl) {
121 background-color: pvar(--mainBackgroundColor);
122 word-break: break-all;
131 font-weight: $font-semibold;
145 &[iconName="cross"] {
156 .action-button-cancel {
157 @include peertube-button;
158 @include tertiary-button;
160 display: inline-block;
164 .action-button-submit {
165 @include peertube-button;
166 @include orange-button;
172 // On desktop browsers, make the content and header horizontally sticked to right not move when modal open and close
174 overflow-y: scroll !important; // Make sure vertical scroll bar is always visible on desktop browsers to get disabled scrollbar effect
175 width: 100vw; // Make sure the content fits all the available width
178 // On touchscreen devices, simply overflow: hidden to avoid detached overlay on scroll
179 @media (hover: none) and (pointer: coarse) {
180 .modal-open, .menu-open {
181 overflow: hidden !important;
184 // On touchscreen devices display content overlay when opened menu
188 background-color: black;
195 z-index: z('menu') - 1;
201 // Nav customizations
203 display: flex !important;
205 height: 30px !important;
206 padding: 10px 15px !important;
210 font-size: 16px !important;
211 font-weight: $font-semibold !important;
214 opacity: 0.6 !important;
216 &.active, &:hover, &:active, &:focus {
217 opacity: 1 !important;
222 @include disable-default-a-behaviour;
224 color: pvar(--mainForegroundColor);
228 .nav-tabs .nav-link {
229 @include disable-default-a-behaviour;
231 color: pvar(--mainForegroundColor);
232 font-weight: $font-semibold;
234 border-bottom: 2px solid transparent;
238 color: pvar(--mainForegroundColor);
239 background-color: pvar(--mainBackgroundColor) !important;
240 border-bottom-color: pvar(--mainColor);
243 &.active, &:hover, &:active, &:focus {
249 background-color: pvar(--mainBackgroundColor);
250 border-color: #dee2e6;
253 .collapse-transition {
254 // Animation when we show/hide the filters
255 transition: max-height 0.3s;
256 display: block !important;
257 overflow: hidden !important;
270 z-index: z(modal) - 1 !important;
274 z-index: z(modal) !important;
278 z-index: z(popover) !important;
282 z-index: z(tooltip) !important;
285 .btn-outline-secondary {
286 border-color: $input-border-color;
292 background-color: #6c757d;
296 .btn-outline-tertiary {
297 color: pvar(--secondaryColor);
298 border-color: pvar(--secondaryColor);
303 color: pvar(--mainBackgroundColor);
304 background-color: pvar(--secondaryColor);
308 // input box-shadow on focus
311 color: pvar(--mainForegroundColor);
312 background-color: pvar(--inputBackgroundColor);
317 box-shadow: #{$focus-box-shadow-form} pvar(--mainColorLightest);
320 box-shadow: #{$focus-box-shadow-form} #{scale-color($red, $alpha: -75%)};
330 width: unset !important;
334 .input-group-prepend + input {
335 border-top-left-radius: 0 !important;
336 border-bottom-left-radius: 0 !important;
340 .has-feedback.has-clear {
344 padding-right: 1.5rem !important;
347 .form-control-clear {
348 color: rgba(0, 0, 0, 0.4);
350 * Enable pointer events as they have been disabled since Bootstrap 3.3
351 * See https://github.com/twbs/bootstrap/pull/14104
355 justify-content: center;
363 color: rgba(0, 0, 0, 0.7);
368 input:placeholder-shown + .form-control-clear {
375 border: 1px solid #eee;
376 border-radius: .25rem;
382 color: #6c757d !important;
385 &:not(.callout-light) {
386 border-left-width: .25rem;
390 border-color: pvar(--mainColorLightest);
391 border-left-color: pvar(--mainColor);