diff options
| author | Mark Otto <[email protected]> | 2014-07-08 02:04:48 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2014-07-08 02:04:48 -0700 |
| commit | d7b38d8c4a2669f54f204bc2e555bf58b9717441 (patch) | |
| tree | e042db88d9a9c9ec77e684d50d867b8230fac9a8 /less | |
| parent | 6fda4098538693259226b1f67d57ff4905a4c173 (diff) | |
| download | bootstrap-d7b38d8c4a2669f54f204bc2e555bf58b9717441.tar.xz bootstrap-d7b38d8c4a2669f54f204bc2e555bf58b9717441.zip | |
Drop: all vendor prefix mixins because autoprefixer
Diffstat (limited to 'less')
| -rw-r--r-- | less/button-groups.less | 4 | ||||
| -rw-r--r-- | less/buttons.less | 10 | ||||
| -rw-r--r-- | less/carousel.less | 2 | ||||
| -rw-r--r-- | less/close.less | 4 | ||||
| -rw-r--r-- | less/component-animations.less | 4 | ||||
| -rw-r--r-- | less/dropdowns.less | 2 | ||||
| -rw-r--r-- | less/forms.less | 10 | ||||
| -rw-r--r-- | less/mixins.less | 1 | ||||
| -rw-r--r-- | less/mixins/forms.less | 7 | ||||
| -rw-r--r-- | less/mixins/vendor-prefixes.less | 224 | ||||
| -rw-r--r-- | less/modals.less | 14 | ||||
| -rw-r--r-- | less/navbar.less | 7 | ||||
| -rw-r--r-- | less/panels.less | 2 | ||||
| -rw-r--r-- | less/popovers.less | 2 | ||||
| -rw-r--r-- | less/progress-bars.less | 8 | ||||
| -rw-r--r-- | less/scaffolding.less | 8 | ||||
| -rw-r--r-- | less/theme.less | 24 | ||||
| -rw-r--r-- | less/thumbnails.less | 2 | ||||
| -rw-r--r-- | less/tooltip.less | 4 | ||||
| -rw-r--r-- | less/utilities.less | 2 |
20 files changed, 55 insertions, 286 deletions
diff --git a/less/button-groups.less b/less/button-groups.less index c2e2260f0..912d2e68f 100644 --- a/less/button-groups.less +++ b/less/button-groups.less @@ -117,11 +117,11 @@ // The clickable button for toggling the menu // Remove the gradient and set the same inset shadow as the :active state .btn-group.open .dropdown-toggle { - .box-shadow(inset 0 3px 5px rgba(0,0,0,.125)); + box-shadow: inset 0 3px 5px rgba(0,0,0,.125); // Show no shadow for `.btn-link` since it has no other button styles. &.btn-link { - .box-shadow(none); + box-shadow: none; } } diff --git a/less/buttons.less b/less/buttons.less index 3faac5351..fe5d8c990 100644 --- a/less/buttons.less +++ b/less/buttons.less @@ -18,7 +18,7 @@ border: 1px solid transparent; white-space: nowrap; .button-size(@padding-base-vertical; @padding-base-horizontal; @font-size-base; @line-height-base; @border-radius-base); - .user-select(none); + user-select: none; &, &:active, @@ -40,7 +40,7 @@ &.active { outline: 0; background-image: none; - .box-shadow(inset 0 3px 5px rgba(0,0,0,.125)); + box-shadow: inset 0 3px 5px rgba(0,0,0,.125); } &.disabled, @@ -48,8 +48,8 @@ fieldset[disabled] & { cursor: not-allowed; pointer-events: none; // Future-proof disabling of clicks - .opacity(.65); - .box-shadow(none); + opacity: .65; + box-shadow: none; } } @@ -95,7 +95,7 @@ &[disabled], fieldset[disabled] & { background-color: transparent; - .box-shadow(none); + box-shadow: none; } &, &:hover, diff --git a/less/carousel.less b/less/carousel.less index c832c654a..612e5c289 100644 --- a/less/carousel.less +++ b/less/carousel.less @@ -16,7 +16,7 @@ > .item { display: none; position: relative; - .transition(.6s ease-in-out left); + transition: .6s ease-in-out left; // Account for jankitude on images > img, diff --git a/less/close.less b/less/close.less index 9b4e74f2b..556af1ee4 100644 --- a/less/close.less +++ b/less/close.less @@ -10,14 +10,14 @@ line-height: 1; color: @close-color; text-shadow: @close-text-shadow; - .opacity(.2); + opacity: .2; &:hover, &:focus { color: @close-color; text-decoration: none; cursor: pointer; - .opacity(.5); + opacity: .5; } // Additional properties for button version diff --git a/less/component-animations.less b/less/component-animations.less index 9400a0d32..a771ec96b 100644 --- a/less/component-animations.less +++ b/less/component-animations.less @@ -9,7 +9,7 @@ .fade { opacity: 0; - .transition(opacity .15s linear); + transition: opacity .15s linear; &.in { opacity: 1; } @@ -27,5 +27,5 @@ position: relative; height: 0; overflow: hidden; - .transition(height .35s ease); + transition: height .35s ease; } diff --git a/less/dropdowns.less b/less/dropdowns.less index 3eb7fc05c..e74fe6c4e 100644 --- a/less/dropdowns.less +++ b/less/dropdowns.less @@ -43,7 +43,7 @@ border: 1px solid @dropdown-fallback-border; // IE8 fallback border: 1px solid @dropdown-border; border-radius: @border-radius-base; - .box-shadow(0 6px 12px rgba(0,0,0,.175)); + box-shadow: 0 6px 12px rgba(0,0,0,.175); background-clip: padding-box; // Aligns the dropdown menu to right diff --git a/less/forms.less b/less/forms.less index e0e6c98e2..2db2f5c07 100644 --- a/less/forms.less +++ b/less/forms.less @@ -45,7 +45,7 @@ label { // Override content-box in Normalize (* isn't specific enough) input[type="search"] { - .box-sizing(border-box); + box-sizing: border-box; } // Position radios and checkboxes better @@ -124,14 +124,16 @@ output { background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214 border: 1px solid @input-border; border-radius: @input-border-radius; - .box-shadow(inset 0 1px 1px rgba(0,0,0,.075)); - .transition(~"border-color ease-in-out .15s, box-shadow ease-in-out .15s"); + box-shadow: inset 0 1px 1px rgba(0,0,0,.075); + transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; // Customize the `:focus` state to imitate native WebKit styles. .form-control-focus(); // Placeholder - .placeholder(); + &::placeholder { + color: @input-color-placeholder; + } // Disabled and read-only inputs // diff --git a/less/mixins.less b/less/mixins.less index af4408fc2..2db62a71d 100644 --- a/less/mixins.less +++ b/less/mixins.less @@ -13,7 +13,6 @@ @import "mixins/tab-focus.less"; @import "mixins/text-emphasis.less"; @import "mixins/text-overflow.less"; -@import "mixins/vendor-prefixes.less"; // Components @import "mixins/alerts.less"; diff --git a/less/mixins/forms.less b/less/mixins/forms.less index 6f55ed967..088df2ac4 100644 --- a/less/mixins/forms.less +++ b/less/mixins/forms.less @@ -20,11 +20,10 @@ // Set the border and box shadow on specific inputs to match .form-control { border-color: @border-color; - .box-shadow(inset 0 1px 1px rgba(0,0,0,.075)); // Redeclare so transitions work + box-shadow: inset 0 1px 1px rgba(0,0,0,.075); // Redeclare so transitions work &:focus { border-color: darken(@border-color, 10%); - @shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px lighten(@border-color, 20%); - .box-shadow(@shadow); + box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px lighten(@border-color, 20%); } } // Set validation states also for addons @@ -57,7 +56,7 @@ &:focus { border-color: @color; outline: 0; - .box-shadow(~"inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px @{color-rgba}"); + box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px @color-rgba; } } diff --git a/less/mixins/vendor-prefixes.less b/less/mixins/vendor-prefixes.less deleted file mode 100644 index e2008c8b2..000000000 --- a/less/mixins/vendor-prefixes.less +++ /dev/null @@ -1,224 +0,0 @@ -// 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. - -// - Animations -// - Backface visibility -// - Box shadow -// - Box sizing -// - Content columns -// - Hyphens -// - Placeholder text -// - Transformations -// - Transitions -// - User Select - - -// Animations -.animation(@animation) { - -webkit-animation: @animation; - -o-animation: @animation; - animation: @animation; -} -.animation-name(@name) { - -webkit-animation-name: @name; - animation-name: @name; -} -.animation-duration(@duration) { - -webkit-animation-duration: @duration; - animation-duration: @duration; -} -.animation-timing-function(@timing-function) { - -webkit-animation-timing-function: @timing-function; - animation-timing-function: @timing-function; -} -.animation-delay(@delay) { - -webkit-animation-delay: @delay; - animation-delay: @delay; -} -.animation-iteration-count(@iteration-count) { - -webkit-animation-iteration-count: @iteration-count; - animation-iteration-count: @iteration-count; -} -.animation-direction(@direction) { - -webkit-animation-direction: @direction; - animation-direction: @direction; -} -.animation-fill-mode(@fill-mode) { - -webkit-animation-fill-mode: @fill-mode; - animation-fill-mode: @fill-mode; -} - -// Backface visibility -// Prevent browsers from flickering when using CSS 3D transforms. -// Default value is `visible`, but can be changed to `hidden` - -.backface-visibility(@visibility){ - -webkit-backface-visibility: @visibility; - -moz-backface-visibility: @visibility; - backface-visibility: @visibility; -} - -// Drop shadows -// -// Note: Deprecated `.box-shadow()` as of v3.1.0 since all of Bootstrap's -// supported browsers that have box shadow capabilities now support it. - -.box-shadow(@shadow) { - -webkit-box-shadow: @shadow; // iOS <4.3 & Android <4.1 - box-shadow: @shadow; -} - -// Box sizing -.box-sizing(@boxmodel) { - -webkit-box-sizing: @boxmodel; - -moz-box-sizing: @boxmodel; - box-sizing: @boxmodel; -} - -// CSS3 Content Columns -.content-columns(@column-count; @column-gap: @grid-gutter-width) { - -webkit-column-count: @column-count; - -moz-column-count: @column-count; - column-count: @column-count; - -webkit-column-gap: @column-gap; - -moz-column-gap: @column-gap; - column-gap: @column-gap; -} - -// Optional hyphenation -.hyphens(@mode: auto) { - word-wrap: break-word; - -webkit-hyphens: @mode; - -moz-hyphens: @mode; - -ms-hyphens: @mode; // IE10+ - -o-hyphens: @mode; - hyphens: @mode; -} - -// Placeholder text -.placeholder(@color: @input-color-placeholder) { - &::-moz-placeholder { color: @color; // Firefox - opacity: 1; } // See https://github.com/twbs/bootstrap/pull/11526 - &:-ms-input-placeholder { color: @color; } // Internet Explorer 10+ - &::-webkit-input-placeholder { color: @color; } // Safari and Chrome -} - -// Transformations -.scale(@ratio) { - -webkit-transform: scale(@ratio); - -ms-transform: scale(@ratio); // IE9 only - -o-transform: scale(@ratio); - transform: scale(@ratio); -} -.scale(@ratioX; @ratioY) { - -webkit-transform: scale(@ratioX, @ratioY); - -ms-transform: scale(@ratioX, @ratioY); // IE9 only - -o-transform: scale(@ratioX, @ratioY); - transform: scale(@ratioX, @ratioY); -} -.scaleX(@ratio) { - -webkit-transform: scaleX(@ratio); - -ms-transform: scaleX(@ratio); // IE9 only - -o-transform: scaleX(@ratio); - transform: scaleX(@ratio); -} -.scaleY(@ratio) { - -webkit-transform: scaleY(@ratio); - -ms-transform: scaleY(@ratio); // IE9 only - -o-transform: scaleY(@ratio); - transform: scaleY(@ratio); -} -.skew(@x; @y) { - -webkit-transform: skewX(@x) skewY(@y); - -ms-transform: skewX(@x) skewY(@y); // See https://github.com/twbs/bootstrap/issues/4885; IE9+ - -o-transform: skewX(@x) skewY(@y); - transform: skewX(@x) skewY(@y); -} -.translate(@x; @y) { - -webkit-transform: translate(@x, @y); - -ms-transform: translate(@x, @y); // IE9 only - -o-transform: translate(@x, @y); - transform: translate(@x, @y); -} -.translate3d(@x; @y; @z) { - -webkit-transform: translate3d(@x, @y, @z); - transform: translate3d(@x, @y, @z); -} -.rotate(@degrees) { - -webkit-transform: rotate(@degrees); - -ms-transform: rotate(@degrees); // IE9 only - -o-transform: rotate(@degrees); - transform: rotate(@degrees); -} -.rotateX(@degrees) { - -webkit-transform: rotateX(@degrees); - -ms-transform: rotateX(@degrees); // IE9 only - -o-transform: rotateX(@degrees); - transform: rotateX(@degrees); -} -.rotateY(@degrees) { - -webkit-transform: rotateY(@degrees); - -ms-transform: rotateY(@degrees); // IE9 only - -o-transform: rotateY(@degrees); - transform: rotateY(@degrees); -} -.perspective(@perspective) { - -webkit-perspective: @perspective; - -moz-perspective: @perspective; - perspective: @perspective; -} -.perspective-origin(@perspective) { - -webkit-perspective-origin: @perspective; - -moz-perspective-origin: @perspective; - perspective-origin: @perspective; -} -.transform-origin(@origin) { - -webkit-transform-origin: @origin; - -moz-transform-origin: @origin; - -ms-transform-origin: @origin; // IE9 only - transform-origin: @origin; -} - - -// Transitions - -.transition(@transition) { - -webkit-transition: @transition; - -o-transition: @transition; - transition: @transition; -} -.transition-property(@transition-property) { - -webkit-transition-property: @transition-property; - transition-property: @transition-property; -} -.transition-delay(@transition-delay) { - -webkit-transition-delay: @transition-delay; - transition-delay: @transition-delay; -} -.transition-duration(@transition-duration) { - -webkit-transition-duration: @transition-duration; - transition-duration: @transition-duration; -} -.transition-timing-function(@timing-function) { - -webkit-transition-timing-function: @timing-function; - transition-timing-function: @timing-function; -} -.transition-transform(@transition) { - -webkit-transition: -webkit-transform @transition; - -moz-transition: -moz-transform @transition; - -o-transition: -o-transform @transition; - transition: transform @transition; -} - - -// User select -// For selecting text on the page - -.user-select(@select) { - -webkit-user-select: @select; - -moz-user-select: @select; - -ms-user-select: @select; // IE10+ - user-select: @select; -} diff --git a/less/modals.less b/less/modals.less index 6da50ba92..3fc697541 100644 --- a/less/modals.less +++ b/less/modals.less @@ -30,10 +30,10 @@ // When fading in the modal, animate it to slide down &.fade .modal-dialog { - .translate3d(0, -25%, 0); - .transition-transform(~"0.3s ease-out"); + transform: translate3d(0, -25%, 0); + transform: transition .3s ease-out; } - &.in .modal-dialog { .translate3d(0, 0, 0) } + &.in .modal-dialog { transform: translate3d(0, 0, 0) } } .modal-open .modal { overflow-x: hidden; @@ -54,7 +54,7 @@ border: 1px solid @modal-content-fallback-border-color; //old browsers fallback (ie8 etc) border: 1px solid @modal-content-border-color; border-radius: @border-radius-large; - .box-shadow(0 3px 9px rgba(0,0,0,.5)); + box-shadow: 0 3px 9px rgba(0,0,0,.5); background-clip: padding-box; // Remove focus outline from opened modal outline: 0; @@ -70,8 +70,8 @@ z-index: @zindex-modal-background; background-color: @modal-backdrop-bg; // Fade for backdrop - &.fade { .opacity(0); } - &.in { .opacity(@modal-backdrop-opacity); } + &.fade { opacity: 0; } + &.in { opacity: @modal-backdrop-opacity; } } // Modal header @@ -138,7 +138,7 @@ margin: 30px auto; } .modal-content { - .box-shadow(0 5px 15px rgba(0,0,0,.5)); + box-shadow: 0 5px 15px rgba(0,0,0,.5); } // Modal sizes diff --git a/less/navbar.less b/less/navbar.less index dbfd7f1a7..a9515a158 100644 --- a/less/navbar.less +++ b/less/navbar.less @@ -141,7 +141,7 @@ right: 0; left: 0; z-index: @zindex-navbar-fixed; - .translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); // Undo the rounded corners @media (min-width: @grid-float-breakpoint) { @@ -290,8 +290,7 @@ padding: 10px @navbar-padding-horizontal; border-top: 1px solid transparent; border-bottom: 1px solid transparent; - @shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.1); - .box-shadow(@shadow); + box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.1); // Mixin behavior for optimum display .form-inline(); @@ -313,7 +312,7 @@ margin-right: 0; padding-top: 0; padding-bottom: 0; - .box-shadow(none); + box-shadow: none; } } diff --git a/less/panels.less b/less/panels.less index 2dc21316d..b67d7f3f6 100644 --- a/less/panels.less +++ b/less/panels.less @@ -9,7 +9,7 @@ background-color: @panel-bg; border: 1px solid transparent; border-radius: @panel-border-radius; - .box-shadow(0 1px 1px rgba(0,0,0,.05)); + box-shadow: 0 1px 1px rgba(0,0,0,.05); } // Panel contents diff --git a/less/popovers.less b/less/popovers.less index bf6af40a0..555173c3a 100644 --- a/less/popovers.less +++ b/less/popovers.less @@ -17,7 +17,7 @@ border: 1px solid @popover-fallback-border-color; border: 1px solid @popover-border-color; border-radius: @border-radius-large; - .box-shadow(0 5px 10px rgba(0,0,0,.2)); + box-shadow: 0 5px 10px rgba(0,0,0,.2); // Overrides for proper insertion white-space: normal; diff --git a/less/progress-bars.less b/less/progress-bars.less index d5fbfb7db..04499daa1 100644 --- a/less/progress-bars.less +++ b/less/progress-bars.less @@ -30,7 +30,7 @@ margin-bottom: @line-height-computed; background-color: @progress-bg; border-radius: @border-radius-base; - .box-shadow(inset 0 1px 2px rgba(0,0,0,.1)); + box-shadow: inset 0 1px 2px rgba(0,0,0,.1); } // Bar of progress @@ -43,8 +43,8 @@ color: @progress-bar-color; text-align: center; background-color: @progress-bar-bg; - .box-shadow(inset 0 -1px 0 rgba(0,0,0,.15)); - .transition(width .6s ease); + box-shadow: inset 0 -1px 0 rgba(0,0,0,.15); + transition: width .6s ease; } // Striped bars @@ -64,7 +64,7 @@ // `.progress-bar.active` approach. .progress.active .progress-bar, .progress-bar.active { - .animation(progress-bar-stripes 2s linear infinite); + animation: progress-bar-stripes 2s linear infinite; } // Account for lower percentages diff --git a/less/scaffolding.less b/less/scaffolding.less index f5b037dd1..41b3e2636 100644 --- a/less/scaffolding.less +++ b/less/scaffolding.less @@ -8,12 +8,10 @@ // Heads up! This reset may cause conflicts with some third-party widgets. // For recommendations on resolving such conflicts, see // http://getbootstrap.com/getting-started/#third-box-sizing -* { - .box-sizing(border-box); -} +*, *:before, *:after { - .box-sizing(border-box); + box-sizing: border-box; } @@ -96,7 +94,7 @@ img { background-color: @thumbnail-bg; border: 1px solid @thumbnail-border; border-radius: @thumbnail-border-radius; - .transition(all .2s ease-in-out); + transition: all .2s ease-in-out; // Keep them at most 100% wide .img-responsive(inline-block); diff --git a/less/theme.less b/less/theme.less index b089424cf..1f3ef8964 100644 --- a/less/theme.less +++ b/less/theme.less @@ -20,13 +20,12 @@ .btn-warning, .btn-danger { text-shadow: 0 -1px 0 rgba(0,0,0,.2); - @shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 1px 1px rgba(0,0,0,.075); - .box-shadow(@shadow); + box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 1px 1px rgba(0,0,0,.075); // Reset the shadow &:active, &.active { - .box-shadow(inset 0 3px 5px rgba(0,0,0,.125)); + box-shadow: inset 0 3px 5px rgba(0,0,0,.125); } } @@ -81,7 +80,7 @@ .thumbnail, .img-thumbnail { - .box-shadow(0 1px 2px rgba(0,0,0,.075)); + box-shadow: 0 1px 2px rgba(0,0,0,.075); } @@ -113,12 +112,11 @@ #gradient > .vertical(@start-color: lighten(@navbar-default-bg, 10%); @end-color: @navbar-default-bg); .reset-filter(); // Remove gradient in IE<10 to fix bug where dropdowns don't get triggered border-radius: @navbar-border-radius; - @shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 1px 5px rgba(0,0,0,.075); - .box-shadow(@shadow); + box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 1px 5px rgba(0,0,0,.075); .navbar-nav > .active > a { #gradient > .vertical(@start-color: darken(@navbar-default-bg, 5%); @end-color: darken(@navbar-default-bg, 2%)); - .box-shadow(inset 0 3px 9px rgba(0,0,0,.075)); + box-shadow: inset 0 3px 9px rgba(0,0,0,.075); } } .navbar-brand, @@ -133,7 +131,7 @@ .navbar-nav > .active > a { #gradient > .vertical(@start-color: @navbar-inverse-bg; @end-color: lighten(@navbar-inverse-bg, 2.5%)); - .box-shadow(inset 0 3px 9px rgba(0,0,0,.25)); + box-shadow: inset 0 3px 9px rgba(0,0,0,.25); } .navbar-brand, @@ -158,8 +156,7 @@ // Common styles .alert { text-shadow: 0 1px 0 rgba(255,255,255,.2); - @shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 1px 2px rgba(0,0,0,.05); - .box-shadow(@shadow); + box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 1px 2px rgba(0,0,0,.05); } // Mixin for generating new styles @@ -210,7 +207,7 @@ .list-group { border-radius: @border-radius-base; - .box-shadow(0 1px 2px rgba(0,0,0,.075)); + box-shadow: 0 1px 2px rgba(0,0,0,.075); } .list-group-item.active, .list-group-item.active:hover, @@ -228,7 +225,7 @@ // Common styles .panel { - .box-shadow(0 1px 2px rgba(0,0,0,.05)); + box-shadow: 0 1px 2px rgba(0,0,0,.05); } // Mixin for generating new styles @@ -253,6 +250,5 @@ .well { #gradient > .vertical(@start-color: darken(@well-bg, 5%); @end-color: @well-bg); border-color: darken(@well-bg, 10%); - @shadow: inset 0 1px 3px rgba(0,0,0,.05), 0 1px 0 rgba(255,255,255,.1); - .box-shadow(@shadow); + box-shadow: inset 0 1px 3px rgba(0,0,0,.05), 0 1px 0 rgba(255,255,255,.1); } diff --git a/less/thumbnails.less b/less/thumbnails.less index c428920bc..42968cd9a 100644 --- a/less/thumbnails.less +++ b/less/thumbnails.less @@ -12,7 +12,7 @@ background-color: @thumbnail-bg; border: 1px solid @thumbnail-border; border-radius: @thumbnail-border-radius; - .transition(all .2s ease-in-out); + transition: all .2s ease-in-out; > img, a > img { diff --git a/less/tooltip.less b/less/tooltip.less index bd626996f..420b2c4d2 100644 --- a/less/tooltip.less +++ b/less/tooltip.less @@ -11,9 +11,9 @@ visibility: visible; font-size: @font-size-small; line-height: 1.4; - .opacity(0); + opacity: 0; - &.in { .opacity(@tooltip-opacity); } + &.in { opacity: @tooltip-opacity; } &.top { margin-top: -3px; padding: @tooltip-arrow-width 0; } &.right { margin-left: 3px; padding: 0 @tooltip-arrow-width; } &.bottom { margin-top: 3px; padding: @tooltip-arrow-width 0; } diff --git a/less/utilities.less b/less/utilities.less index c0becabe3..0ca3c85b7 100644 --- a/less/utilities.less +++ b/less/utilities.less @@ -53,5 +53,5 @@ .affix { position: fixed; - .translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); } |
