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) {
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: var(--mainBackgroundColor) !important;
55 background-color: var(--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: var(--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;
146 // Nav customizations
148 display: flex !important;
150 height: 30px !important;
151 padding: 10px 15px !important;
155 font-size: 16px !important;
158 font-weight: $font-semibold !important;
162 @include disable-default-a-behaviour;
164 color: var(--mainForegroundColor);
171 @include disable-default-a-behaviour;
173 color: var(--mainForegroundColor) !important;
177 .nav-tabs .nav-link {
179 border-bottom: 3px solid transparent;
182 font-weight: $font-semibold;
183 background-color: var(--mainBackgroundColor) !important;
185 border-bottom: 2px solid var(--mainColor);
188 border-top-color: transparent;
189 border-left-color: transparent;
190 border-right-color: transparent;
195 background-color: var(--mainBackgroundColor);
196 border-color: #dee2e6;
199 .collapse-transition {
200 // Animation when we show/hide the filters
201 transition: max-height 0.3s;
202 display: block !important;
203 overflow: hidden !important;
216 z-index: z(modal) - 1 !important;
220 z-index: z(modal) !important;
224 z-index: z(popover) !important;
228 z-index: z(tooltip) !important;
231 .btn-outline-secondary {
232 border-color: $input-border-color;
238 background-color: #6c757d;
242 .btn-outline-tertiary {
243 color: var(--secondaryColor);
244 border-color: var(--secondaryColor);
249 color: var(--mainBackgroundColor);
250 background-color: var(--secondaryColor);
254 // input box-shadow on focus
257 color: var(--mainForegroundColor);
258 background-color: var(--inputBackgroundColor);
263 box-shadow: #{$focus-box-shadow-form} var(--mainColorLightest);
266 box-shadow: #{$focus-box-shadow-form} #{scale-color($red, $alpha: -75%)};
276 width: unset !important;
280 .input-group-prepend + input {
281 border-top-left-radius: 0 !important;
282 border-bottom-left-radius: 0 !important;
286 .has-feedback.has-clear {
290 padding-right: 1.5rem !important;
293 .form-control-clear {
294 color: rgba(0, 0, 0, 0.4);
296 * Enable pointer events as they have been disabled since Bootstrap 3.3
297 * See https://github.com/twbs/bootstrap/pull/14104
301 justify-content: center;
308 color: rgba(0, 0, 0, 0.7);
313 input:placeholder-shown + .form-control-clear {