summaryrefslogtreecommitdiffstats
path: root/bower_components/bootstrap/less/mixins
diff options
context:
space:
mode:
Diffstat (limited to 'bower_components/bootstrap/less/mixins')
-rw-r--r--bower_components/bootstrap/less/mixins/buttons.less5
-rw-r--r--bower_components/bootstrap/less/mixins/grid.less4
-rw-r--r--bower_components/bootstrap/less/mixins/hide-text.less2
-rw-r--r--bower_components/bootstrap/less/mixins/tab-focus.less6
-rw-r--r--bower_components/bootstrap/less/mixins/vendor-prefixes.less4
5 files changed, 9 insertions, 12 deletions
diff --git a/bower_components/bootstrap/less/mixins/buttons.less b/bower_components/bootstrap/less/mixins/buttons.less
index 6875a97..b294d8c 100644
--- a/bower_components/bootstrap/less/mixins/buttons.less
+++ b/bower_components/bootstrap/less/mixins/buttons.less
@@ -42,12 +42,9 @@
&.disabled,
&[disabled],
fieldset[disabled] & {
- &,
&:hover,
&:focus,
- &.focus,
- &:active,
- &.active {
+ &.focus {
background-color: @background;
border-color: @border;
}
diff --git a/bower_components/bootstrap/less/mixins/grid.less b/bower_components/bootstrap/less/mixins/grid.less
index f144c15..df496d0 100644
--- a/bower_components/bootstrap/less/mixins/grid.less
+++ b/bower_components/bootstrap/less/mixins/grid.less
@@ -6,8 +6,8 @@
.container-fixed(@gutter: @grid-gutter-width) {
margin-right: auto;
margin-left: auto;
- padding-left: (@gutter / 2);
- padding-right: (@gutter / 2);
+ padding-left: floor((@gutter / 2));
+ padding-right: ceil((@gutter / 2));
&:extend(.clearfix all);
}
diff --git a/bower_components/bootstrap/less/mixins/hide-text.less b/bower_components/bootstrap/less/mixins/hide-text.less
index bc70118..2bb84a3 100644
--- a/bower_components/bootstrap/less/mixins/hide-text.less
+++ b/bower_components/bootstrap/less/mixins/hide-text.less
@@ -6,7 +6,7 @@
//
// Source: https://github.com/h5bp/html5-boilerplate/commit/aa0396eae757
-// Deprecated as of v3.0.1 (will be removed in v4)
+// Deprecated as of v3.0.1 (has been removed in v4)
.hide-text() {
font: ~"0/0" a;
color: transparent;
diff --git a/bower_components/bootstrap/less/mixins/tab-focus.less b/bower_components/bootstrap/less/mixins/tab-focus.less
index 1f1f05a..d12d236 100644
--- a/bower_components/bootstrap/less/mixins/tab-focus.less
+++ b/bower_components/bootstrap/less/mixins/tab-focus.less
@@ -1,9 +1,9 @@
// WebKit-style focus
.tab-focus() {
- // Default
- outline: thin dotted;
- // WebKit
+ // WebKit-specific. Other browsers will keep their default outline style.
+ // (Initially tried to also force default via `outline: initial`,
+ // but that seems to erroneously remove the outline in Firefox altogether.)
outline: 5px auto -webkit-focus-ring-color;
outline-offset: -2px;
}
diff --git a/bower_components/bootstrap/less/mixins/vendor-prefixes.less b/bower_components/bootstrap/less/mixins/vendor-prefixes.less
index afd3331..2b5e74b 100644
--- a/bower_components/bootstrap/less/mixins/vendor-prefixes.less
+++ b/bower_components/bootstrap/less/mixins/vendor-prefixes.less
@@ -1,7 +1,7 @@
// Vendor Prefixes
//
// All vendor mixins are deprecated as of v3.2.0 due to the introduction of
-// Autoprefixer in our Gruntfile. They will be removed in v4.
+// Autoprefixer in our Gruntfile. They have been removed in v4.
// - Animations
// - Backface visibility
@@ -54,7 +54,7 @@
// Prevent browsers from flickering when using CSS 3D transforms.
// Default value is `visible`, but can be changed to `hidden`
-.backface-visibility(@visibility){
+.backface-visibility(@visibility) {
-webkit-backface-visibility: @visibility;
-moz-backface-visibility: @visibility;
backface-visibility: @visibility;