summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClement Ho <ClemMakesApps@gmail.com>2018-04-06 17:23:46 -0500
committerClement Ho <ClemMakesApps@gmail.com>2018-04-06 17:23:46 -0500
commite8490c4121f80af9b39903c0a1be393e1ab99e1a (patch)
treec807ed733ac53571d0159a5860936fb20ff081af
parent33dee95eab597dd85656c44968dad38b8f8716d7 (diff)
downloadgitlab-ce-e8490c4121f80af9b39903c0a1be393e1ab99e1a.tar.gz
Add bootstrap 3 variable shim
-rw-r--r--app/assets/stylesheets/framework.bs3.scss13
-rw-r--r--app/assets/stylesheets/framework.scss1
2 files changed, 14 insertions, 0 deletions
diff --git a/app/assets/stylesheets/framework.bs3.scss b/app/assets/stylesheets/framework.bs3.scss
new file mode 100644
index 00000000000..c990c251a6b
--- /dev/null
+++ b/app/assets/stylesheets/framework.bs3.scss
@@ -0,0 +1,13 @@
+$text-color: $gl-text-color;
+
+$brand-primary: $gl-primary;
+$brand-success: $gl-success;
+$brand-info: $gl-info;
+$brand-warning: $gl-warning;
+$brand-danger: $gl-danger;
+
+$border-radius-base: 3px !default;
+
+$modal-body-bg: $white-light;
+$input-border: $border-color;
+$input-border-focus: $focus-border-color;
diff --git a/app/assets/stylesheets/framework.scss b/app/assets/stylesheets/framework.scss
index 3b53d9f66c4..8bab0e1ec13 100644
--- a/app/assets/stylesheets/framework.scss
+++ b/app/assets/stylesheets/framework.scss
@@ -1,6 +1,7 @@
@import "framework/variables";
@import "framework/mixins";
@import "../../../node_modules/bootstrap/scss/bootstrap";
+@import "framework.bs3";
@import "framework/layout";
@import "framework/animations";