projects
/
roojs1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sync
[roojs1]
/
scss
/
bootstrap
/
mixins
/
_badge.scss
diff --git a/scss/bootstrap/mixins/_badge.scss
b/scss/bootstrap/mixins/_badge.scss
new file mode 100644
(file)
index 0000000..
3075ddd
--- /dev/null
+++ b/
scss/bootstrap/mixins/_badge.scss
@@ -0,0
+1,12
@@
+@mixin badge-variant($bg) {
+ color: color-yiq($bg);
+ background-color: $bg;
+
+ &[href] {
+ @include hover-focus {
+ color: color-yiq($bg);
+ text-decoration: none;
+ background-color: darken($bg, 10%);
+ }
+ }
+}
\ No newline at end of file