Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap-rubygem.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'assets/stylesheets/bootstrap/mixins/_tag.scss')
-rw-r--r--assets/stylesheets/bootstrap/mixins/_tag.scss11
1 files changed, 11 insertions, 0 deletions
diff --git a/assets/stylesheets/bootstrap/mixins/_tag.scss b/assets/stylesheets/bootstrap/mixins/_tag.scss
new file mode 100644
index 0000000..900c54e
--- /dev/null
+++ b/assets/stylesheets/bootstrap/mixins/_tag.scss
@@ -0,0 +1,11 @@
+// Tags
+
+@mixin tag-variant($color) {
+ background-color: $color;
+
+ &[href] {
+ @include hover-focus {
+ background-color: darken($color, 10%);
+ }
+ }
+}