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

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartijn Cuppens <martijn.cuppens@gmail.com>2018-07-31 20:37:01 +0300
committerMark Otto <otto@github.com>2018-09-03 02:28:42 +0300
commit3ef2db1e856ae1155575a61ab2eab9ecdf6b4289 (patch)
tree6c6f827f8408005357b4bec90bf64d1288157de5
parent19afb12b65c8b737361a3959cdfe4dc41b7e30eb (diff)
Move transparent background to .btn and remove background-image
-rw-r--r--scss/_buttons.scss1
-rw-r--r--scss/mixins/_buttons.scss2
2 files changed, 1 insertions, 2 deletions
diff --git a/scss/_buttons.scss b/scss/_buttons.scss
index 7eff829a67..404851e190 100644
--- a/scss/_buttons.scss
+++ b/scss/_buttons.scss
@@ -10,6 +10,7 @@
text-align: center;
vertical-align: middle;
user-select: none;
+ background-color: transparent;
border: $btn-border-width solid transparent;
@include button-size($btn-padding-y, $btn-padding-x, $font-size-base, $btn-line-height, $btn-border-radius);
@include transition($btn-transition);
diff --git a/scss/mixins/_buttons.scss b/scss/mixins/_buttons.scss
index 06ad6772fa..646f473b3d 100644
--- a/scss/mixins/_buttons.scss
+++ b/scss/mixins/_buttons.scss
@@ -56,8 +56,6 @@
@mixin button-outline-variant($color, $color-hover: color-yiq($color), $active-background: $color, $active-border: $color) {
color: $color;
- background-color: transparent;
- background-image: none;
border-color: $color;
&:hover {