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 */
30 .dropdown:not(.btn-group):not(.dropdown-root):not(.action-dropdown):not(.input-group-prepend):not(.column-toggle) {
31 z-index: z(dropdown) !important;
35 z-index: z(header) - 1 !important;
40 z-index: z(dropdown) + 1 !important;
43 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);
54 color: pvar(--mainBackgroundColor) !important;
55 background-color: pvar(--mainHoverColor);
65 @include disable-default-a-behaviour;
69 @include disable-default-a-behaviour;
70 color: #000 !important;
75 @media screen and (min-width: #{breakpoint(md)}) {
77 vertical-align: middle;
85 &:not(.modal-lg):not(.modal-xl) {
97 background-color: pvar(--mainBackgroundColor);
106 font-weight: $font-semibold;
120 &[iconName="cross"] {
131 .action-button-cancel {
132 @include peertube-button;
133 @include tertiary-button;
135 display: inline-block;
139 .action-button-submit {
140 @include peertube-button;
141 @include orange-button;
147 // On desktop browsers, make the content and header horizontally sticked to right not move when modal open and close
149 overflow-y: scroll !important; // Make sure vertical scroll bar is always visible on desktop browsers to get disabled scrollbar effect
150 width: 100vw; // Make sure the content fits all the available width
153 // On touchscreen devices, simply overflow: hidden to avoid detached overlay on scroll
154 @media (hover: none) and (pointer: coarse) {
155 .modal-open, .menu-open {
156 overflow: hidden !important;
159 // On touchscreen devices display content overlay when opened menu
163 background-color: black;
170 z-index: z('header') - 1;
176 // Nav customizations
178 display: flex !important;
180 height: 30px !important;
181 padding: 10px 15px !important;
185 font-size: 16px !important;
186 font-weight: $font-semibold !important;
189 opacity: 0.6 !important;
191 &.active, &:hover, &:active, &:focus {
192 opacity: 1 !important;
197 @include disable-default-a-behaviour;
199 color: pvar(--mainForegroundColor);
203 .nav-tabs .nav-link {
204 @include disable-default-a-behaviour;
206 color: pvar(--mainForegroundColor);
207 font-weight: $font-semibold;
209 border-bottom: 2px solid transparent;
213 color: pvar(--mainForegroundColor);
214 background-color: pvar(--mainBackgroundColor) !important;
215 border-bottom-color: pvar(--mainColor);
218 &.active, &:hover, &:active, &:focus {
224 background-color: pvar(--mainBackgroundColor);
225 border-color: #dee2e6;
228 .collapse-transition {
229 // Animation when we show/hide the filters
230 transition: max-height 0.3s;
231 display: block !important;
232 overflow: hidden !important;
245 z-index: z(modal) - 1 !important;
249 z-index: z(modal) !important;
253 z-index: z(popover) !important;
257 z-index: z(tooltip) !important;
260 .btn-outline-secondary {
261 border-color: $input-border-color;
267 background-color: #6c757d;
271 .btn-outline-tertiary {
272 color: pvar(--secondaryColor);
273 border-color: pvar(--secondaryColor);
278 color: pvar(--mainBackgroundColor);
279 background-color: pvar(--secondaryColor);
283 // input box-shadow on focus
286 color: pvar(--mainForegroundColor);
287 background-color: pvar(--inputBackgroundColor);
292 box-shadow: #{$focus-box-shadow-form} pvar(--mainColorLightest);
295 box-shadow: #{$focus-box-shadow-form} #{scale-color($red, $alpha: -75%)};
305 width: unset !important;
309 .input-group-prepend + input {
310 border-top-left-radius: 0 !important;
311 border-bottom-left-radius: 0 !important;
315 .has-feedback.has-clear {
319 padding-right: 1.5rem !important;
322 .form-control-clear {
323 color: rgba(0, 0, 0, 0.4);
325 * Enable pointer events as they have been disabled since Bootstrap 3.3
326 * See https://github.com/twbs/bootstrap/pull/14104
330 justify-content: center;
338 color: rgba(0, 0, 0, 0.7);
343 input:placeholder-shown + .form-control-clear {