Commit 28b0ed33 authored by Clement Ho's avatar Clement Ho

[skip ci] polyfill .hidden selector

parent 9bcf8f43
/*
* Scss to help with bootstrap 3 to 4 migration
*/
$text-color: $gl-text-color; $text-color: $gl-text-color;
$brand-primary: $gl-primary; $brand-primary: $gl-primary;
...@@ -14,3 +18,15 @@ $input-border-focus: $focus-border-color; ...@@ -14,3 +18,15 @@ $input-border-focus: $focus-border-color;
$padding-base-vertical: $gl-vert-padding; $padding-base-vertical: $gl-vert-padding;
$padding-base-horizontal: $gl-padding; $padding-base-horizontal: $gl-padding;
html {
// Override default font size used in bs4
font-size: 14px;
}
// Polyfill deprecated selectors
.hidden {
@extend .d-none;
@extend .invisible;
}
// Override variables from bs4
html {
font-size: 14px;
}
@import "framework/variables"; @import "framework/variables";
@import "framework/mixins"; @import "framework/mixins";
@import "framework.bs4";
@import "../../../node_modules/bootstrap/scss/bootstrap"; @import "../../../node_modules/bootstrap/scss/bootstrap";
@import "framework.bs3"; @import "bootstrap_migration";
@import "framework/layout"; @import "framework/layout";
@import "framework/animations"; @import "framework/animations";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment