summaryrefslogtreecommitdiff
path: root/src/assets/styles/vendor-overrides/bootstrap/_badge.scss
diff options
context:
space:
mode:
authorDerick Montague <derick.montague@ibm.com>2020-04-14 01:01:19 +0300
committerDerick Montague <derick.montague@ibm.com>2020-05-05 08:21:52 +0300
commit408657262515e015a2964aafb8a1c76fb5259699 (patch)
treee498979c96b0d4627f550aa915a08b637f7031a7 /src/assets/styles/vendor-overrides/bootstrap/_badge.scss
parent7e8f3a5278198760f6ddb480689b5abd16fafc1f (diff)
downloadwebui-vue-408657262515e015a2964aafb8a1c76fb5259699.tar.xz
Update Sass architecture to require helper imports
- Restructuring file strucure to support single file components use of Sass variables when imported into vuepress. - Creating a scalable file structure using Sass best practices Tested by building and testing both the vue web ui and the the documentation application. Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: Iddcefbf305c8dac978ee24e903df33b609e395e3
Diffstat (limited to 'src/assets/styles/vendor-overrides/bootstrap/_badge.scss')
-rw-r--r--src/assets/styles/vendor-overrides/bootstrap/_badge.scss19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/assets/styles/vendor-overrides/bootstrap/_badge.scss b/src/assets/styles/vendor-overrides/bootstrap/_badge.scss
new file mode 100644
index 00000000..68e7482f
--- /dev/null
+++ b/src/assets/styles/vendor-overrides/bootstrap/_badge.scss
@@ -0,0 +1,19 @@
+.badge-pill {
+ // Need to explicitly set border-radius
+ // for pill variant because global $enable-rounded
+ // Boostrap setting removes rounded pill style
+ border-radius: 10rem;
+ fill: currentColor;
+ font-weight: 400;
+ .close {
+ font-size: 1em;
+ margin-left: $spacer/2;
+ font-weight: inherit;
+ color: inherit;
+ }
+}
+
+.badge-primary {
+ background-color: $info-light;
+ color: $info;
+} \ No newline at end of file